]> git.ipfire.org Git - thirdparty/glibc.git/blame - ChangeLog
Update version.h and include/features.h for 2.20 release
[thirdparty/glibc.git] / ChangeLog
CommitLineData
1cd9b65c
AM
12014-09-07 Allan McRae <allan@archlinux.org
2
b8079dd0
AM
3 * version.h (RELEASE): Set to "stable".
4 (VERSION): Set to "2.20"
5 * include/features.h (__GLIBC_MINOR__): Set to 20.
6
c46303ef
AM
7 * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
8 Liebler.
9
1cd9b65c
AM
10 * po/ko.po: Update Korean translation from translation project.
11
8622092d
CM
122014-09-06 Chris Metcalf <cmetcalf@tilera.com>
13
14 [BZ #17354]
15 * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
16 macro for handling signed relocations.
17
41488498
FW
182014-09-03 Florian Weimer <fweimer@redhat.com>
19
20 [BZ #17325]
21 * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
22 * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
23 assert.
24 * iconvdata/ibm933.c (BODY): Fix check for sentinel.
25 * iconvdata/ibm935.c (BODY): Likewise.
26 * iconvdata/ibm937.c (BODY): Likewise.
27 * iconvdata/ibm939.c (BODY): Likewise.
28 * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
29 assert.
30 * iconvdata/Makefile (iconv-test.out): Pass module list to test
31 script.
32 * iconvdata/run-iconv-test.sh: New test loop for checking for
33 decoder crashers.
34
a78b712d
KR
352014-09-02 Khem Raj <raj.khem@gmail.com>
36
37 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
38 libm_hidden_ver.
39
cb08abc6
AM
402014-09-01 Allan McRae <allan@archlinux.org>
41
2c31e102
AM
42 * po/eo.po: Update Esperanto translation from translation project.
43
cb08abc6
AM
44 * po/ca.po: Update Catalan translation from translation project.
45
17a62de1
ST
462014-08-28 Samuel Thibault <samuel.thibault@ens-lyon.org>
47
48 * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
49 __proc_dostop call.
50
9570bc53
MW
512014-08-27 Mark Wielaard <mjw@redhat.com>
52
53 [BZ #17319]
54 * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
55 to call set_thread_area instead of hand written asm.
56 (__NR_set_thread_area): Removed define.
57 (TLS_FLAG_WRITABLE): Likewise.
58 (__ASSUME_SET_THREAD_AREA): Remove check.
59 (TLS_EBX_ARG): Remove define.
60 (TLS_LOAD_EBX): Likewise.
61
b0f955c9
ST
622014-08-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
63
64 Simplify atomicity of socket creation in bind.
65
66 * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
67 looking up the name after linking the file.
68
529bf515
AM
692014-08-27 Allan McRae <allan@archlinux.org>
70
71 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
72
a1a6a401
FW
732014-08-26 Florian Weimer <fweimer@redhat.com>
74
75 [BZ #17187]
76 * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
77 trans_compare, open_translit, __gconv_translit_find):
78 Remove module loading code.
79
686ab290
AM
802014-08-26 Allan McRae <allan@archlinux.org>
81
e4e7cfd2
AM
82 * po/vi.po: Update Vietnamese translation from translation project.
83
6aa09f71
AM
84 * po/uk.po: Update Ukrainian translation from translation project.
85
edc0660e
AM
86 * po/fr.po: Update French translation from translation project.
87
7eea72ac
AM
88 * po/ru.po: Update Russian translation from translation project.
89
93c49eff
AM
90 * po/pl.po: Update Polish translation from translation project.
91
46acaf63
AM
92 * po/cs.po: Update Czech translation from translation project.
93
a9f5ce98
AM
94 * po/de.po: Update German translation from translation project.
95
373f2b78
AM
96 * po/bg.po: Update Bulgarian translation from translation project.
97
e7548bd8
AM
98 * po/sv.po: Update Sweedish translation from translation project.
99
c526bf4d
AM
100 * po/nl.po: Update Dutch translation from translation project.
101
686ab290
AM
102 * po/es.po: Update Spanish translation from translation project.
103
eb72478a
SP
1042014-08-21 Siddhesh Poyarekar <siddhesh@redhat.com>
105
dd763fdb
SP
106 * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
107
318c7a58
SP
108 * catgets/Makefile (CPPFLAGS-gencat): Remove.
109 * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
110 (CPPFLAGS-iconvconfig): Likewise.
111 * timezone/Makefile (CPPFLAGS-zic): Likewise.
112
eb72478a
SP
113 * include/libc-symbols.h: Remove unnecessary check for
114 NOT_IN_libc.
115 * nptl/pthreadP.h: Likewise.
116 * sysdeps/aarch64/setjmp.S: Likewise.
117 * sysdeps/alpha/setjmp.S: Likewise.
118 * sysdeps/arm/sysdep.h: Likewise.
119 * sysdeps/i386/setjmp.S: Likewise.
120 * sysdeps/m68k/setjmp.c: Likewise.
121 * sysdeps/posix/getcwd.c: Likewise.
122 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
123 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
124 * sysdeps/s390/s390-32/setjmp.S: Likewise.
125 * sysdeps/s390/s390-64/setjmp.S: Likewise.
126 * sysdeps/sh/sh3/setjmp.S: Likewise.
127 * sysdeps/sh/sh4/setjmp.S: Likewise.
128 * sysdeps/unix/alpha/sysdep.h: Likewise.
129 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
130 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
131 * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
132 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
133 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
134 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
135 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
136 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
137 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
138 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
139 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
140 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
141 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
142 * sysdeps/x86_64/setjmp.S: Likewise.
143
d44a052c
JM
1442014-08-13 Joseph Myers <joseph@codesourcery.com>
145
146 [BZ #17263]
147 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
148 <stdint.h>.
149 (__get_clockfreq): Use uint64_t instead of hp_timing_t in
150 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
151
508ce3ac
SP
1522014-08-13 Siddhesh Poyarekar <siddhesh@redhat.com>
153
e44c8b0e
SP
154 * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
155
508ce3ac
SP
156 [BZ #17262]
157 * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
158 and __x86_64__ when disabling x87 inline functions.
159
b4acef1f
L
1602014-08-12 H.J. Lu <hongjiu.lu@intel.com>
161
162 [BZ #17259]
163 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
164 asm statement with __cpuid_count.
165
61b1ef6e
MF
1662014-08-12 Mike Frysinger <vapier@gentoo.org>
167
168 * configure.ac: Change __ehdr_start code to dereference the struct.
169 Run readelf on the output to look for relocations.
170 * configure: Regenerated.
171
898c62f4
JM
1722014-08-12 Joseph Myers <joseph@codesourcery.com>
173
174 [BZ #17261]
175 * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
176 value to 0.
177 (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
178
9a8a5720
RM
1792014-08-12 Roland McGrath <roland@hack.frob.com>
180
181 * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
182
4e75751c
BO
1832014-08-12 Bernard Ogden <bernie.ogden@linaro.org>
184
185 [BZ #16892]
186 * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
187 atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
188
bb2ce416
SA
1892014-08-12 Sean Anderson <seanga2@gmail.com>
190
191 * malloc/malloc.c: Fix typo in comment.
192
7950a4ee
AM
1932014-08-09 Allan McRae <allan@archlinux.org>
194
195 * Regenerate libc.po.
196
f469c49f
MF
1972014-08-08 Mike Frysinger <vapier@gentoo.org>
198
199 * intl/tst-gettext2.sh: Check every lang file for creation.
200
656b84c2
WD
2012014-08-07 Wilco Dijkstra <wdijkstr@arm.com>
202
203 * sysdeps/aarch64/fpu/math_private.h
204 (libc_feholdsetround_noex_aarch64_ctx): New function.
205
538e9e45
W
2062014-08-07 Wilco Dijkstra <wdijkstr@arm.com>
207
208 * sysdeps/arm/armv6/strcpy.S (strcpy):
209 Fix performance issue in misaligned cases.
210
d4795e4a
AZ
2112014-08-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
212
213 * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
214 Move definition from termios.h.
215 (struct termio): Likewise.
216 (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
217 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
218 N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
219 N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
220 Likewise.
221 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
222 Move definition to ioctl-types.h
223 (struct termio): Likewise.
224 (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
225 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
226 N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
227 N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
228 Likewise.
229
64accb62
RH
2302014-08-05 Richard Henderson <rth@redhat.com>
231
27bb6dc0
RH
232 * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
233 exceptions.
234 * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
235 Add fraiseexcpt.
236 * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
237 Use __feraiseexcept.
238 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
239 Protect libm symbols with IS_IN_libm.
240
64accb62
RH
241 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
242
e5292691
BO
2432014-08-04 Bernard Ogden <bernie.ogden@linaro.org>
244
245 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
246
5b4bd2d4
WN
2472014-08-04 Will Newton <will.newton@linaro.org>
248
249 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
250 file.
251
fcadaeef
MF
2522014-08-04 Mike Frysinger <vapier@gentoo.org>
253
254 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
255 variants for each function.
256
43a94c64
RM
2572014-08-04 Roland McGrath <roland@hack.frob.com>
258
259 * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
260 appended ...
261 * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
262 * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
263 appended ...
264 * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
265 * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
266 * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
267 * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
268 * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
269 * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
270 * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
271 * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
272 * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
273 * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
274 * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
275 * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
276 * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
277 * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
278 * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
279 * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
280 * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
281 * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
282 * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
283 * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
284 * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
285 * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
286 * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
287 * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
288 * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
289 * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
290 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
291 * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
292 * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
293 * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
294 * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
295 * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
296 * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
297 * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
298 * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
299 * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
300 * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
301 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
302 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
303 * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
304 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
305 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
306 * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
307 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
308 * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
309 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
310 * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
311 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
312 * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
313 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
314 * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
315 * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
316 * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
317 Update #include.
318 * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
319 * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
320
8f3c1fa4
RM
3212014-08-04 Roland McGrath <roland@hack.frob.com>
322
323 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
324 * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
325 * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
326 * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
327 * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
328 * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
329
ca08746f
RM
3302014-08-04 Roland McGrath <roland@hack.frob.com>
331
332 * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
333 * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
334 * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
335 * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
336
9c925ff9
RM
3372014-08-04 Roland McGrath <roland@hack.frob.com>
338
339 * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
340 * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
341 (__libc_vfork): Define function under this name.
342 (__vfork): Define as an alias.
343 * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
344 * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
345
e641054c
RM
3462014-08-04 Roland McGrath <roland@hack.frob.com>
347
348 * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
349 that was previously under [RESET_PID].
350 * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
351
dacdc867
AS
3522014-08-04 Andreas Schwab <schwab@suse.de>
353
354 * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
355
41f725ff
MF
3562014-08-03 Mike Frysinger <vapier@gentoo.org>
357
358 * stdlib/tst-setcontext.c (test_stack): Fix coding style.
359 (main): Likewise.
360
277cfb31
RM
3612014-08-01 Roland McGrath <roland@hack.frob.com>
362
363 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
364
4896f049
RH
3652014-08-01 Richard Henderon <rth@redhat.com>
366
367 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
368 feclearexcept; use math_opt_barrier instead of open-coded asm; fix
369 typo in exact zero test.
370 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
371 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
372 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
373
6f64e7d7
RM
3742014-08-01 Roland McGrath <roland@hack.frob.com>
375
376 * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
377 (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
378 * sysdeps/arm/sysdep.h: ... here.
379 [!__ASSEMBLER__]: Include <stdint.h>.
380
3f3dd810
SP
3812014-08-01 Siddhesh Poyarekar <siddhesh@redhat.com>
382
a476ac4b
SP
383 * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
384 (HAVE_WCTYPE_H): Likewise.
385 (HAVE_ISWCTYPE): Likewise.
386 (ENABLE_NLS): Likewise.
387 * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
388 && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
389
78dd658a
SP
390 * posix/regex_internal.c: Check if DEBUG is defined and is
391 set.
392
3f3dd810
SP
393 * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
394 (HAVE_MBSRTOWCS): Likewise.
395 * posix/fnmatch.c: Include string.h unconditionally.
396
95ee7fb1
SL
3972014-08-01 Stefan Liebler <stli@linux.vnet.ibm.com>
398
399 * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
400 reversal.
401
23fe486b
RM
4022014-07-31 Roland McGrath <roland@hack.frob.com>
403
f61a113f
RM
404 * sysdeps/generic/safe-fatal.h: New file.
405 * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
406 * nptl/forward.c: Include it.
407 (__pthread_unwind): Use __safe_fatal as default action, rather
408 than a bogus use of INTERNAL_SYSCALL that could never work.
409
9fe7e787
RM
410 * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
411 * configure.ac (libc_cv_builtin_trap): New test.
412 * configure: Regenerated.
413 * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
414 (ABORT_INSTRUCTION): Define using __builtin_trap.
415
23fe486b
RM
416 * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
417 * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
418 * sysdeps/nptl/nptl-signals.h: New file.
419 * nptl/pthreadP.h: Include <nptl-signals.h>.
420
f349489e
SL
4212014-07-31 Stefan Liebler <stli@linux.vnet.ibm.com>
422
423 * sysdeps/s390/s390-64/utf16-utf32-z9.c
424 (ONE_DIRECTION): Define.
425 * sysdeps/s390/s390-64/utf8-utf16-z9.c
426 (ONE_DIRECTION): Define.
427 * sysdeps/s390/s390-64/utf8-utf32-z9.c
428 (ONE_DIRECTION): Define.
429
2f438e20
SL
4302014-07-31 Stefan Liebler <stli@linux.vnet.ibm.com>
431
432 * sysdeps/s390/Makefile: Delete file.
433 * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
434 * sysdeps/s390/__longjmp.c: Delete file.
435 * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
436 Remove fields __flags and __reserved.
437 * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
438 and add versioning.
439 * sysdeps/s390/rtld-__longjmp.c: Delete file.
440 * sysdeps/s390/rtld-global-offsets.sym: Likewise.
441 * sysdeps/s390/rtld-setjmp.S: Likewise.
442 * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
443 * sysdeps/s390/s390-32/__longjmp.c: ... here.
444 * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
445 * sysdeps/s390/s390-32/setjmp.S: ... here.
446 Add versioning.
447 (__sigsetjmp): Remove setting __flags field.
448 * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
449 * sysdeps/s390/s390-64/__longjmp.c: ... here.
450 * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
451 * sysdeps/s390/s390-64/setjmp.S: ... here.
452 Add versioning.
453 (__sigsetjmp): Remove setting __flags field.
454 * sysdeps/s390/setjmp.S: Delete file.
455 * sysdeps/s390/sigjmp.c: Likewise.
456 * sysdeps/s390/v1-longjmp.c: Likewise.
457 * sysdeps/s390/v1-setjmp.h: Likewise.
458 * sysdeps/s390/v1-sigjmp.c: Likewise.
459 * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
460 Remove v1-longjmp_chk.
461 * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
462 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
463 Include debug/longjmp_chk.c and add versioning.
464 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
465 Include nptl/pt-longjmp.c and add versioning.
466 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
467 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
468 Include __longjmp.c.
469 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
470 Move to ...
471 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
472 (__getcontext): Remove setting __flags field.
473 Add versioning.
474 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
475 Don't restore upper high grps.
476 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
477 Likewise.
478 (__swapcontext): Remove setting uc_flags field.
479 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
480 Delete file.
481 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
482 Include __longjmp.c.
483 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
484 Move to ...
485 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
486 (__getcontext): Remove setting __flags field.
487 Add versioning.
488 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
489 (__swapcontext): Remove setting uc_flags field.
490 * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
491 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
492 Remove fields uc_high_gprs and __reserved.
493 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
494 New file with reverted content.
495 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
496 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
497 Regenerated.
498 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
499 Regenerated.
500
6c9578a2
AS
5012014-07-31 Andreas Schwab <schwab@suse.de>
502
503 * config.h.in (HAVE_IFUNC): Define to 0.
504 * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
505 definedness.
506
05f3633d
LM
5072014-07-30 Ling Ma <ling.ml@alibaba-inc.com>
508
509 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
510 memmove-avx-unaligned, memcpy-avx-unaligned and
511 mempcpy-avx-unaligned.
512 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
513 Add tests for AVX memcpy functions.
514 * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
515 * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
516 memcpy_chk.
517 * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
518 * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
519 memmove_chk.
520 * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
521 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
522 mempcpy_chk.
523 * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
524 * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
525 * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
526
a53fbd8e
AZ
5272013-07-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
528
529 [BZ #17213]
530 * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
531 powerpc64le.
532
0961f7e1
JL
5332014-07-29 Jeff Layton <jlayton@poochiereds.net>
534
535 [BZ #16839]
536 * manual/llio.texi: Add section about open file description locks.
537 * manual/examples/ofdlocks.c: Example of open file description
538 lock usage.
539 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
540 F_OFD_SETLK, and F_OFD_SETLKW.
541
cc5fb300
AM
5422014-07-23 Allan McRae <allan@archlinux.org>
543
544 * po/es.po: Update Spanish translation from translation project.
545
23329dca
AS
5462014-07-18 Andreas Schwab <schwab@linux-m68k.org>
547
548 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
549
9c82da17
MR
5502014-07-17 Maciej W. Rozycki <macro@codesourcery.com>
551
552 [BZ #17078]
553 * sysdeps/arm/dl-machine.h (elf_machine_rela)
554 [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
555 (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
556
29c4f53e
JM
5572014-07-17 Joseph Myers <joseph@codesourcery.com>
558
831b9896
JM
559 [BZ #17088]
560 * math/fesetenv.c (__fesetenv)
561 [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
562 * math/feupdateenv.c (__feupdateenv)
563 [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
564
b21c2d50
JM
565 * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
566 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
567 (__ASSUME_SOCKETCALL): Do not define.
568
067764ef
JM
569 * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
570 * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
571 (__ASSUME_SOCKETCALL): Do not define.
572 (__ASSUME_ST_INO_64_BIT): Define unconditionally.
573 [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
574 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
575 [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
576 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
577 [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
578 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
579 [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
580
642530c1
JM
581 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
582 * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
583 (__ASSUME_SOCKETCALL): Do not define.
584 (__ASSUME_IPC64): Define unconditionally.
585 [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
586 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
587 [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
588 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
589 [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
590 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
591 [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
592 Likewise.
593
03f77315
JM
594 * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
595 * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
596 (__ASSUME_SOCKETCALL): Do not define.
597 (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
598 (__ASSUME_FUTEX_LOCK_PI): Likewise.
599 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
600 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
601 (__ASSUME_REQUEUE_PI): Define unconditionally.
602 [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
603 (__ASSUME_RECVMMSG_SYSCALL): Do not define.
604 [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
605 [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
606 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
607 [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
608
083b1f7c
JM
609 * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
610 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
611 (__ASSUME_SOCKETCALL): Do not define.
612 [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
613 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
614 [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
615 [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
616 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
617 [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
618
5be44ea6
JM
619 * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
620 * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
621 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
622 [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
623 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
624 [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
625 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
626 [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
627 (__ASSUME_GETCPU_SYSCALL): Likewise.
628
d95ffd4c
JM
629 * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
630 * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR. Remove
631 cases for individual architectures.
632 * sysdeps/gnu/configure: Regenerated.
633 * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
634 LIBC_SLIBDIR_RTLDDIR.
635 * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
636 * sysdeps/unix/sysv/linux/mips/configure.ac: Use
637 LIBC_SLIBDIR_RTLDDIR.
638 * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
639 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
640 LIBC_SLIBDIR_RTLDDIR.
641 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
642 Regenerated.
643 * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
644 * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
645 file.
646 * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
647 * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
648 file.
649 * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
650 * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
651 * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
652 * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
653
29c4f53e
JM
654 * sysdeps/aarch64/shlib-versions: Move to ...
655 * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
656 * sysdeps/alpha/shlib-versions: Move to ...
657 * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
658 * sysdeps/arm/shlib-versions: Move to ...
659 * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
660 * sysdeps/hppa/shlib-versions: Move all contents except for
661 libgcc_s entry to ...
662 * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here. Merge in
663 entry from ...
664 * sysdeps/hppa/nptl/shlib-versions: ... here. Remove file.
665 * sysdeps/ia64/shlib-versions: Move to ...
666 * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here. Merge in
667 entry from ...
668 * sysdeps/ia64/nptl/shlib-versions: ... here. Remove file.
669 * sysdeps/m68k/coldfire/shlib-versions: Move to ...
670 * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
671 * sysdeps/microblaze/shlib-versions: Move to ...
672 * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
673 * sysdeps/mips/shlib-versions: Move to ...
674 * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here. Merge in
675 entry from ...
676 * sysdeps/mips/nptl/shlib-versions: ... here. Remove file.
677 * sysdeps/tile/shlib-versions: Move to ...
678 * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
679 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
680 from ...
681 * sysdeps/x86_64/64/shlib-versions: ... here. Remove file.
682 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
683 entry from ...
684 * sysdeps/x86_64/x32/shlib-versions: ... here. Remove file.
685
32bead5b
WN
6862014-07-17 Will Newton <will.newton@linaro.org>
687
57977c4b
WN
688 * sysdeps/arm/bits/atomic.h
689 (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
690 (__arch_compare_and_exchange_bool_16_int): Likewise.
691 (__arch_compare_and_exchange_bool_64_int): Likewise.
692
32bead5b
WN
693 * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
694 into an #else block.
695
37fccd41
RM
6962014-07-16 Roland McGrath <roland@hack.frob.com>
697
698 * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
699 just Linux configurations. Test empirically that the compiler sets
700 __ARM_EABI__, rather than using the tuple to decide.
701 * sysdeps/arm/preconfigure: Regenerated.
702 * sysdeps/unix/sysv/linux/arm/configure: File removed.
703 * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
704 contents appended ...
705 * sysdeps/arm/configure.ac: ... here.
706 * sysdeps/arm/configure: Regenerated.
707
b365f3ec
RM
7082014-07-15 Roland McGrath <roland@hack.frob.com>
709
8badf496
RM
710 * nptl/pthread_kill.c: New file.
711 * nptl/pthread_sigmask.c: New file.
712 * nptl/pthread_sigqueue.c: New file.
713
3df6f22e
RM
714 * sysdeps/nptl/lowlevellock.h: New file.
715 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
716 * sysdeps/nptl/lowlevellock-futex.h: New file.
717
b365f3ec
RM
718 * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
719 Remove dead declarations.
720
f2fef657
L
7212014-07-14 H.J. Lu <hongjiu.lu@intel.com>
722
723 * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
724 * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
725 config-cflags-avx2.
726 * sysdeps/x86_64/configure.ac: Likewise.
727 * sysdeps/i386/configure: Regenerated.
728 * sysdeps/x86_64/configure: Likewise.
729 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
730 memset-avx2 only if config-cflags-avx2 is yes.
731 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
732 Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
733 defined.
734 * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
735 only if HAVE_AVX2_SUPPORT is defined.
736 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
737
f6c44d47
AM
7382014-07-14 Alan Modra <amodra@gmail.com>
739
740 [BZ #17153]
741 * elf/elf.h (DT_PPC64_NUM): Correct value.
742 * NEWS: Add to fixed bug list.
743
7ee03f00
JM
7442014-07-13 Jim Meyering <meyering@fb.com>
745
746 [BZ 17150]
747 regex: don't deref NULL upon heap allocation failure
748 * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
749 failure in one more place.
750 To trigger the segfault, configure grep -with-included-regex,
751 build it, and run these commands:
752 ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
753
9d39d517
AS
7542014-07-13 Andreas Schwab <schwab@linux-m68k.org>
755
756 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
757
a75b89b7
RH
7582014-07-11 Richard Henderson <rth@redhat.com>
759
760 * sysdeps/aarch64/libm-test-ulps: Update.
761
771eb141
FW
7622014-07-10 Florian Weimer <fweimer@redhat.com>
763
764 [BZ #17135]
765 * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
766 * nptl/allocatestack.c (__nptl_setxid_error): New function.
767 (__nptl_setxid): Initialize error member. Call
768 __nptl_setxid_error.
769 * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
770 * nptl/descr.h (struct xid_command): Add error member.
771 * nptl/tst-setuid3.c: New file.
772 * nptl/Makefile (tests): Add it.
773
bc1da176
AZ
7742014-07-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
775
776 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
777 New define.
778 (__lll_trylock): Use __lll_base_trylock.
779 (__lll_cond_trylock): Likewise.
780
887865fc
RM
7812014-07-10 Roland McGrath <roland@hack.frob.com>
782
c0c6bac9
RM
783 * nptl/pthread_create.c (start_thread): Use atomic_or and
784 lll_futex_wake directly rather than lll_robust_dead.
785 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
786 (lll_robust_dead): Macro removed.
6a42be57 787 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
c0c6bac9
RM
788 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
789 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
790 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
791 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
792 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
793 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
794 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
795 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
796 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
797 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
798 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
799 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
800 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
801 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
802
887865fc
RM
803 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
804 Use atomic_compare_and_exchange_val_acq directly rather than
805 lll_robust_trylock.
806 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
807 (__lll_robust_trylock, lll_robust_trylock): Removed.
808 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
809 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
810 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
811 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
812 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
813 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
814 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
815 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
816 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
817 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
818 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
819 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
820 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
821 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
822
58536726
FW
8232014-07-02 Florian Weimer <fweimer@redhat.com>
824
825 * manual/locale.texi (Locale Names): New section documenting
826 locale name syntax. Adjust menu and node chaining accordingly.
827 (Choosing Locale): Reference Locale Names, Locale Categories.
828 Mention setting LC_ALL=C. Reflect that name syntax is now
829 documented.
830 (Locale Categories): New section title. Reference Locale Names.
831 LC_ALL is an environment variable, but not a category.
832 (Setting the Locale): Remove "locale -a" invocation and LOCPATH
833 description, now in Locale Name. Reference that section. Locale
834 name syntax is now documented.
835
4e8f95a0
FW
8362014-07-02 Florian Weimer <fweimer@redhat.com>
837
838 [BZ #17137]
839 * locale/findlocale.c (name_present, valid_locale_name): New
840 functions.
841 (_nl_find_locale): Use the loc_name variable to store name
842 candidates. Call name_present and valid_locale_name to check and
843 validate locale names. Return an error if the locale is invalid.
844
d1836456
FW
8452014-07-02 Florian Weimer <fweimer@redhat.com>
846
847 * locale/setlocale.c (setlocale): Use strdup for allocating
848 composite name copy.
849
d69b7f5a
SP
8502014-07-10 Siddhesh Poyarekar <siddhesh@redhat.com>
851
888c679b
SP
852 Sync up with gnulib.
853 * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
854 [!_LIBC && ENABLE_NLS]: Include gettext.h.
855 [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
856 and _GL_ARG_NONNULL.
857 [USE_UNLOCKED_IO]: Include unlocked-io.h.
858 [!_LIBC]: Include code for Windows and Cygwin.
859 [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
860 Include prototype for int strerror_r.
861 [!_LIBC] (is_open): New function.
862 (flush_stdout): New function.
863 (print_errno_message): Use it.
864 (error): Likewise.
865 (error_at_line): Likewise.
866 (error_tail) Add function attribute macros. Use
867 __builtin_expect.
868
180e0e4b
SP
869 * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
870
d22f1fe2
SP
871 * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
872
12f2254b
SP
873 * io/ftw.c: Include sys/param.h unconditionally.
874
c3c7c360
SP
875 * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
876
d62aa75a
SP
877 [BZ #17125]
878 * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
879 libc_freeres_ptr.
880 (freecache): New function to free CACHE on exit.
881
d69b7f5a
SP
882 * sunrpc/xdr.c (xdr_string): Add comment about SIZE
883 initialization.
884
5efe06a1
DM
8852014-07-09 David S. Miller <davem@davemloft.net>
886
887 * sysdeps/sparc/fpu/libm-test-ulps: Update.
888
7000d82e
DM
889 * sysdeps/sparc/nptl/internaltypes.h: Delete.
890 * sysdeps/sparc/nptl/sparc-nptl.h: New file.
891 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
892 * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
893 * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
894 * sysdeps/sparc/nptl/sem_init.c: Likewise.
895 * sysdeps/sparc/nptl/sem_post.c: Likewise.
896 * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
897 * sysdeps/sparc/nptl/sem_wait.c: Likewise.
898 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
899 * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
900 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
901 * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
902
c213442d
AS
9032014-07-09 Andreas Schwab <schwab@suse.de>
904
4a2552c3
AS
905 * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
906 output.
907 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
908 (do_test): Likewise.
909
c213442d
AS
910 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
911
82374e65
WN
9122014-07-09 Will Newton <will.newton@linaro.org>
913
914 * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
915 * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
916 * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
917 * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
918 * sysdeps/hppa/start.S (_start): Likewise.
919
6680738a
SP
9202014-07-09 Siddhesh Poyarekar <siddhesh@redhat.com>
921
6ee3eab4
SP
922 * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
923
6680738a
SP
924 * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
925 defined.
926
80b5c505
SP
9272014-07-08 Siddhesh Poyarekar <siddhesh@redhat.com>
928
e35c53e3
SP
929 * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
930 after checking that it is non-NULL.
931
80b5c505
SP
932 * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
933
91f4b564
AZ
9342014-07-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
935
27b75f56
AZ
936 * sysdeps/powerpc/memmove.c: Remove file.
937 * sysdeps/powerpc/powerpc32/power4/memcopy.h
938 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
939 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
940 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
941 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
942 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
943 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
944 string memmove instead of removed powerpc one.
945
e7f95bb5
AZ
946 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
947 [weak_alias]: Fix compiler warning due trailing data.
948 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
949 [weak_alias]: Likewise.
950 * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
951 warnigs due missing definition of __strcpy_power7 and __strlen_power7.
952
91f4b564
AZ
953 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
954 (__libc_ifunc_impl_list): Add memmove functions.
955
7c33f1e5
SP
9562014-07-08 Siddhesh Poyarekar <siddhesh@redhat.com>
957
958 * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
959 Remove code.
960 * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
961 Likewise
962 * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
963 Likewise
964 * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
965 Likewise
966 * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
967 Likewise
968 * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
969 Likewise
970 * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
971 Likewise
972 * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
973 Likewise
974 * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
975 Likewise
976 * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
977 Likewise
978 * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
979 Likewise
980 * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
981 Likewise
982 * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
983 Likewise
984 * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
985 Likewise
986 * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
987 Likewise
988 * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
989 Likewise
990 * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
991 Likewise
992
3f17b03b
AZ
9932014-07-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
994
87868c24
AZ
995 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
996 to avoid alignment traps in non-cacheable memory.
997 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
998
07aedd78
AZ
999 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
1000 multiarch objects.
1001 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
1002 file: multiarch power7 memmove.
1003 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
1004 multiarch default memmove.
1005 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
1006 multiarch memove for powerpc32/power4.
1007
17762f66
AZ
1008 * string/bcopy.c: Use full path to include memmove.c.
1009 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
1010 multiarch objects.
1011 * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
1012 bcopy for powerpc64.
1013 * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
1014 bcopy for powerpc64.
1015 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
1016 and memmove implementations.
1017 * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
1018 optimized multiarch memmove for POWER7/powerpc64.
1019 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
1020 default multiarch memmove for powerpc64.
1021 * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
1022 multiarch for powerpc64.
1023 * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
1024 for POWER7/powerpc64.
1025 * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
1026 memmove for POWER7/powerpc64.
1027
d6f68bbe
AZ
1028 * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
1029 glibc default one.
1030
3f17b03b
AZ
1031 * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
1032 __ELF_NATIVE_CLASS equal to 64.
1033
08192659
RM
10342014-07-07 Roland McGrath <roland@hack.frob.com>
1035
f4c4021b
RM
1036 * sysdeps/nptl/lowlevellock.h: File removed.
1037
f083450f
RM
1038 * NEWS: NPTL is no longer an add-on!
1039 * nptl/internaltypes.h: Moved ...
1040 * sysdeps/nptl/internaltypes.h: ... here.
1041 * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
1042 * sysdeps/nptl/fork.c: Likewise.
1043 * sysdeps/nptl/gai_misc.h: Likewise.
1044 * sysdeps/nptl/librt-cancellation.c: Likewise.
1045 * sysdeps/nptl/jmp-unwind.c: Likewise.
1046 * sysdeps/nptl/setxid.h: Likewise.
1047 * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
1048 * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
1049 * sysdeps/unix/sysv/linux/arm/Implies: New file.
1050 * sysdeps/unix/sysv/linux/hppa/Implies: New file.
1051 * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
1052 * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
1053 * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
1054 * sysdeps/unix/sysv/linux/m68k/Implies: New file.
1055 * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
1056 * sysdeps/unix/sysv/linux/mips/Implies: New file.
1057 * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
1058 * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
1059 * sysdeps/unix/sysv/linux/sh/Implies: New file.
1060 * sysdeps/unix/sysv/linux/sparc/Implies: New file.
1061 * sysdeps/unix/sysv/linux/tile/Implies: New file.
1062 * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
1063 * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
1064 * nptl/Makeconfig: Moved ...
1065 * sysdeps/nptl/Makeconfig: ... here.
1066 * nptl/configure: File removed.
1067 * nptl/ANNOUNCE: File removed.
1068 * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
1069 * sysdeps/unix/sysv/linux/configure: Regenerated.
1070
08192659
RM
1071 * nptl/Makefile (routines): Add libc_pthread_init,
1072 libc_multiple_threads, register-atfork and unregister-atfork.
1073 (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
1074 (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
1075 lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
1076 pthread-pi-defines.sym, structsem.sym.
1077 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
1078 (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
1079 [$(subdir) = nptl] (tests): Add tst-setgetname.
1080 * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
1081 * sysdeps/unix/sysv/linux/sigaction.c: Just include
1082 <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
1083 [!LIBC_SIGACTION]: Remove aliases.
1084 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
1085 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
1086 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
1087 * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
1088 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
1089 * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
1090 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
1091 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
1092 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
1093 * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
1094 (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
1095 __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
1096 __libc_allocate_rtsig_private.
1097 * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
1098 * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
1099 * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
1100 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
1101 * sysdeps/unix/sysv/linux/sleep.c: Likewise.
1102 * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
1103 * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
1104 * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
1105 * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
1106 * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
1107 * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
1108 * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
1109 * nptl/internaltypes.h: ... here.
1110 * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
1111 * sysdeps/nptl/jmp-unwind.c: ... here.
1112 * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
1113 * nptl/libc-lowlevellock.c: ... here.
1114 * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
1115 * nptl/libc_multiple_threads.c: ... here.
1116 * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
1117 * nptl/libc_pthread_init.c: ... here.
1118 * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
1119 * nptl/lowlevelbarrier.sym: ... here.
1120 * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
1121 * nptl/lowlevelcond.sym: ... here.
1122 * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
1123 * nptl/lowlevellock.c: ... here.
1124 * nptl/lowlevellock.h: Moved ...
1125 * sysdeps/nptl/lowlevellock.h: ... here.
1126 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
1127 * nptl/lowlevelrobustlock.c: ... here.
1128 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
1129 * nptl/lowlevelrobustlock.sym: ... here.
1130 * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
1131 * nptl/lowlevelrwlock.sym: ... here.
1132 * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
1133 * nptl/pt-fork.c: ... here.
1134 * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
1135 * nptl/pthread-pi-defines.sym: ... here.
1136 * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
1137 * nptl/pthread_attr_getaffinity.c: ... here.
1138 * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
1139 * nptl/pthread_attr_setaffinity.c: ... here.
1140 * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
1141 * nptl/pthread_mutex_cond_lock.c: ... here.
1142 * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
1143 Update #include.
1144 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
1145 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
1146 * nptl/pthread_once.c: ... here, replacing old file.
1147 * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
1148 * nptl/pthread_yield.c: ... here.
1149 * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
1150 * nptl/register-atfork.c: ... here.
1151 * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
1152 * nptl/sem_post.c: ... here.
1153 * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
1154 * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
1155 * nptl/sem_timedwait.c: ... here.
1156 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
1157 * nptl/sem_trywait.c: ... here.
1158 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
1159 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
1160 * nptl/sem_wait.c: ... here.
1161 * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
1162 * nptl/structsem.sym: ... here.
1163 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
1164 * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
1165 * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
1166 * nptl/unregister-atfork.c: ... here.
1167 * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
1168 * nptl/unwindbuf.sym: ... here.
1169 * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
1170 * sysdeps/nptl/fork.c: ... here.
1171 * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
1172 * sysdeps/nptl/fork.h: ... here.
1173 * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
1174 * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
1175 * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
1176 * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
1177 * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
1178 * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
1179 * sysdeps/unix/sysv/linux/getpid.c: ... here.
1180 * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
1181 * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
1182 * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
1183 * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
1184 * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
1185 * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
1186 * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
1187 * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
1188 * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
1189 * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
1190 * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
1191 * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
1192 * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
1193 * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
1194 * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
1195 * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
1196 * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
1197 * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
1198 * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
1199 * sysdeps/unix/sysv/linux/raise.c: ... here.
1200 * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
1201 * sysdeps/unix/sysv/linux/timer_create.c: ... here.
1202 * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
1203 * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
1204 * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
1205 * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
1206 * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
1207 * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
1208 * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
1209 * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
1210 * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
1211 * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
1212 * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
1213 * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
1214 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
1215
96baf6ff
SP
12162014-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
1217
1218 * sysdeps/generic/memcopy.h: Add comment for
1219 MEMCPY_OK_FOR_FWD_MEMMOVE.
1220
6b7b14b2
WN
12212014-07-04 Will Newton <will.newton@linaro.org>
1222
1570a72b
WN
1223 * string/memchr.c: Merge from gnulib.
1224 [_LIBC]: Remove conditionals.
1225 (__ptr_t): Remove define.
1226 (LONG_MAX_32_BITS): Likewise.
1227 (LONG_MAX): Likewise.
1228 (MEMCHR): Use ANSI prototype and optimize algorithm.
1229
6b7b14b2
WN
1230 * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
1231
38851324
SP
12322014-07-03 Roland McGrath <roland@hack.frob.com>
1233
3d9eb57c
RM
1234 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
1235 (lll_futex_timed_wait_bitset): Fix syscall argument count.
1236
78b984ae
RM
1237 * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
1238 Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
1239 in a bare environment with no <stdlib.h> installed.
1240 * sysdeps/nptl/configure: Regenerated.
1241
2d5976a5
RM
1242 * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
1243
c1f5acd4
RM
1244 * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
1245 AC_EGREP_CPP for kernel header checks, so they only succeed if
1246 including <linux/version.h> actually works right.
1247 * sysdeps/unix/sysv/linux/configure: Regenerated.
1248
4d614fe5
RM
1249 * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
1250 value so it's not diagnosed as unused.
1251
38851324
SP
1252 * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
1253 thing) with "ifeq ($(subdir),rt)".
1254
b3ec00e5
RH
12552014-07-03 Richard Henderson <rth@redhat.com>
1256
69862e25
RH
1257 * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
1258 * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
1259 include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
1260
d5e16ade
RH
1261 * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
1262 (math_force_eval): New.
1263
ca7b945c
RH
1264 * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
1265 * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
1266
cd1175a3
RH
1267 * sysdeps/alpha/fpu/s_round.c: Remove file.
1268 * sysdeps/alpha/fpu/s_roundf.c: Remove file.
1269
b3ec00e5
RH
1270 * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
1271 (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
1272 * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
1273 (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
1274 (_dl_start, print_statistics): Likewise.
1275 * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
1276 HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
1277
1278 * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
1279 * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
1280 * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
1281 * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
1282 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
1283 (HP_SMALL_TIMING_AVAIL): Define.
1284 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
1285 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
1286 (HP_SMALL_TIMING_AVAIL): Define.
1287 * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
1288 * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
1289
1290 * sysdeps/aarch64/hp-timing.h: New file.
1291
1292 * sysdeps/generic/hp-timing.h: Remove dead comment.
1293 * sysdeps/generic/hp-timing-common.h: New file.
1294 * sysdeps/alpha/hp-timing.h: Include it.
1295 (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
1296 * sysdeps/i386/i686/hp-timing.h: Likewise.
1297 * sysdeps/ia64/hp-timing.h: Likewise.
1298 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
1299 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
1300 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
1301 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
1302 * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
1303 (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
1304 (hp_timing_t): New.
1305
1306 * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
1307 * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
1308 (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
1309 * elf/rtld.c (_dl_start_final): Likewise.
1310 * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
1311 * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
1312 * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
1313 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
1314 * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
1315 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
1316 (HP_TIMING_DIFF_INIT): Remove.
1317 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
1318 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
1319 (HP_TIMING_DIFF_INIT): Remove.
1320 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
1321 * sysdeps/i386/i686/hp-timing.c: Remove file.
1322 * sysdeps/x86_64/hp-timing.c: Remove file.
1323 * sysdeps/ia64/hp-timing.c: Remove file.
1324 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
1325 * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
1326 * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
1327 * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
1328
1329 * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
1330 * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
1331 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
1332 * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
1333 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
1334 (HP_TIMING_ACCUM): Remove.
1335 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
1336 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
1337 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
1338
1339 * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
1340 * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
1341 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
1342 * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
1343 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
1344 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
1345 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
1346 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
1347
1348 * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
1349
225f410f
MR
13502014-07-03 Maciej W. Rozycki <macro@codesourcery.com>
1351
1352 * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
1353
3247f285
SP
13542014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
1355
1356 Sync up with gettext.
1357 * intl/loadmsgcat.c: Define O_BINARY if not defined.
1358 [_MSC_VER]: Include malloc.h
1359 [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
1360 (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
1361 (_nl_load_domain): Open DOMAIN_FILE in binary mode. Don't use
1362 TEMP_FAILURE_RETRY. Cast return of alloca.
1363 [!_LIBC] Call gl_rwlock_init.
1364 [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
1365
d12704c7
SP
13662014-07-02 Roland McGrath <roland@hack.frob.com>
1367
1368 * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
1369 before checking its value.
1370
99f8dc92
SP
13712014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
1372
05fdac77
SP
1373 * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
1374
99f8dc92
SP
1375 * debug/memcpy_chk.c: Don't include pagecopy.h.
1376 * debug/mempcpy_chk.c: Likewise.
1377 * string/memcpy.c: Likewise.
1378 * string/memmove.c: Likewise.
1379 * sysdeps/powerpc/memmove.c: Likewise.
1380 * sysdeps/generic/memcopy.h: Include pagecopy.h. Move
1381 definition of PAGE_COPY_FWD_MAYBE here...
1382 * sysdeps/generic/pagecopy.h: ... from here.
1383 * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
1384
bc8ea385
VR
13852014-07-02 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
1386 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1387
1388 * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
1389 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
1390 optimizations.
1391 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
1392 (__libc_ifunc_impl_list): Likewise.
1393 * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
1394 multiarch strcat for PPC64.
1395 * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
1396 * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
1397
fe5f34e4
RM
13982014-07-02 Roland McGrath <roland@hack.frob.com>
1399
1400 * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
1401
256aa665
SP
14022014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
1403
d4eb8195
SP
1404 * intl/loadmsgcat.c: Remove declaration of
1405 get_sysdep_segment_value.
1406 (get_sysdep_segment_value): Use ISO C style.
1407 (_nl_load_domain): Use ISO C style. Get rid of redundant
1408 semicolon. Fix typo and formatting in comment.
1409 (_nl_unload_domain): Use ISO C style.
1410
256aa665
SP
1411 * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
1412
b100f9aa
WN
14132014-07-02 Will Newton <will.newton@linaro.org>
1414
1415 * malloc/obstack.c: Merge from gnulib master.
1416 [HAVE_CONFIG_H]: Remove conditional code.
1417 [!_LIBC]: Include config.h.
1418 [!ELIDE_CODE]: Don't include inttypes.h, include
1419 stdint.h unconditionally.
1420 (print_and_abort): Mark as _Noreturn.
1421 (_obstack_allocated_p): Mark as __attribute_pure__.
1422 (obstack_free): Rename to __obstack_free.
1423 [!__attribute__]: Remove conditional code.
1424 * malloc/obstack.h: Merge from gnulib master.
1425 [__cplusplus]: Move conditional down.
1426 [!__attribute_pure__]: Define __attribute_pure__ here
1427 if it is not already defined.
1428 (_obstack_memory_used): Mark as __attribute_pure__.
1429 [!__obstack_free]: Define as obstack_free.
1430 [__GNUC__]: Remove check for ancient NeXT gcc.
1431
c4c41244
PE
14322014-07-02 Will Newton <will.newton@linaro.org>
1433 Paul Eggert <eggert@cs.ucla.edu>
1434
1435 * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
1436
e1e041c4
SP
14372014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
1438
1439 * resolv/gethnamaddr.c: Add comment warning that the file is
1440 not maintained.
1441
ccf431ff
CD
14422014-07-01 Carlos O'Donell <carlos@redhat.com>
1443
d34570a6
CD
1444 * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
1445 entries.
1446
ccf431ff
CD
1447 * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
1448 entry for aio_cancel and aio_cancel64.
1449 * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
1450 * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
1451 * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
1452 * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
1453 * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
1454 * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
1455 * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
1456 * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
1457 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
1458 * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
1459 * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
1460 * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
1461 * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
1462
ca06321d
RM
14632014-07-01 Roland McGrath <roland@hack.frob.com>
1464
1465 * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
1466 * nptl/pthread_mutex_lock.c: Likewise.
1467 * nptl/pthread_mutex_timedlock.c: Likewise.
1468 * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
1469
a1ac3184
RH
14702014-07-01 Richard henderson <rth@redhat.com>
1471
631021e0
RH
1472 * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
1473 (__isnan, __isnanl): Remove.
1474 * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
1475
a1ac3184
RH
1476 * sysdeps/alpha/fpu/libm-test-ulps: Update.
1477
0c1d731f
SL
14782014-07-01 Stefan Liebler <stli@linux.vnet.ibm.com>
1479
1480 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
1481
76985d3e
SP
14822014-07-01 Siddhesh Poyarekar <siddhesh@redhat.com>
1483
1484 * resolv/nss_dns/dns-host.c (getanswer_r)
1485 [MULTI_PTRS_ARE_ALIASES]: Remove code.
1486
b0cb3096
JM
14872014-07-01 Joseph Myers <joseph@codesourcery.com>
1488
1489 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
1490 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
1491 undefine.
1492 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
1493 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
1494
4d76cb39
RM
14952014-07-01 Roland McGrath <roland@hack.frob.com>
1496
1497 * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
1498 * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
1499
1500 * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
1501 * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
1502
1503 * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
1504 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
1505 ... here.
1506 * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
1507 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
1508
1509 * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
1510 * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
1511 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
1512 * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
1513
1514 * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
1515 * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
1516 * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
1517 * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
1518 * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
1519 Moved ...
1520 * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
1521 ... here.
1522 * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
1523 * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
1524 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
1525 * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
1526 * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
1527 * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
1528 * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
1529 * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
1530 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
1531 * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
1532 * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
1533 * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
1534 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
1535 * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
1536 * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
1537 * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
1538 * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
1539 * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
1540 * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
1541 * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
1542 ... here.
1543 * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
1544 * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
1545 * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
1546 * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
1547 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
1548 * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
1549 * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
1550 * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
1551
0cdcad17
DH
15522014-07-01 David Holsgrove <david.holsgrove@xilinx.com>
1553
1554 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
1555 * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
1556 * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
1557 Add sysdep.
1558
9b71d0e3
AZ
15592014-06-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1560
1561 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1562
665390c2
JM
15632014-06-30 Joseph Myers <joseph@codesourcery.com>
1564
ae05a9d7
JM
1565 * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
1566 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
1567
a7672a2f
JM
1568 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
1569
665390c2
JM
1570 * sysdeps/arm/libm-test-ulps: Regenerated.
1571
d7a05d07
MR
15722014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
1573 Roland McGrath <roland@hack.frob.com>
1574
1575 * test-skeleton.c (signal_handler): Kill the whole process group
1576 before killing the child individually.
1577 (main): Report any failure on `setpgid'.
1578
46f1d8a6
RM
15792014-06-30 Roland McGrath <roland@hack.frob.com>
1580
1581 * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
1582 from _TLS_H to _ARM_NPTL_TLS_H.
1583 (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
1584 * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
1585
9c37ec0b
JM
15862014-06-30 Joseph Myers <joseph@codesourcery.com>
1587
ce9c5b3e
JM
1588 [BZ #16539]
1589 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
1590 (__expm1l): Return argument unchanged when small but not
1591 subnormal.
1592
3a6e9887
JM
1593 * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
1594 include macro name.
1595 (_FP_UNPACK_RAW_1_P): Likewise.
1596 (_FP_PACK_RAW_1): Likewise.
1597 (_FP_PACK_RAW_1_P): Likewise.
1598 (_FP_MUL_MEAT_1_wide): Likewise.
1599 (_FP_MUL_MEAT_DW_1_hard): Likewise.
1600 (_FP_MUL_MEAT_1_hard): Likewise.
1601 (_FP_DIV_MEAT_1_imm): Likewise.
1602 (_FP_DIV_MEAT_1_udiv_norm): Likewise.
1603 (_FP_DIV_MEAT_1_udiv): Likewise.
1604 * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
1605 (_FP_UNPACK_RAW_2): Likewise.
1606 (_FP_UNPACK_RAW_2_P): Likewise.
1607 (_FP_PACK_RAW_2): Likewise.
1608 (_FP_PACK_RAW_2_P): Likewise.
1609 (_FP_MUL_MEAT_DW_2_wide): Likewise.
1610 (_FP_MUL_MEAT_2_wide): Likewise.
1611 (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
1612 (_FP_MUL_MEAT_2_wide_3mul): Likewise.
1613 (_FP_MUL_MEAT_DW_2_gmp): Likewise.
1614 (_FP_MUL_MEAT_2_gmp): Likewise.
1615 (_FP_DIV_MEAT_2_udiv): Likewise.
1616 * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
1617 (_FP_FRAC_SRL_4): Likewise.
1618 (_FP_FRAC_SRST_4): Likewise.
1619 (_FP_FRAC_SRS_4): Likewise.
1620 (_FP_UNPACK_RAW_4): Likewise.
1621 (_FP_UNPACK_RAW_4_P): Likewise.
1622 (_FP_PACK_RAW_4): Likewise.
1623 (_FP_PACK_RAW_4_P): Likewise.
1624 (_FP_MUL_MEAT_DW_4_wide): Likewise.
1625 (_FP_MUL_MEAT_4_wide): Likewise.
1626 (_FP_MUL_MEAT_4_gmp): Likewise.
1627 (umul_ppppmnnn): Likewise.
1628 (_FP_DIV_MEAT_4_udiv): Likewise.
1629 (__FP_FRAC_ADD_4): Likewise.
1630 (__FP_FRAC_SUB_3): Likewise.
1631 (__FP_FRAC_SUB_4): Likewise.
1632 (__FP_FRAC_DEC_3): Likewise.
1633 (__FP_FRAC_DEC_4): Likewise.
1634 (__FP_FRAC_ADDI_4): Likewise.
1635 * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
1636 (_FP_FRAC_SRL_8): Likewise.
1637 (_FP_FRAC_SRS_8): Likewise.
1638
9c37ec0b
JM
1639 * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
1640 include macro name.
1641 (FP_UNPACK_RAW_EP): Likewise.
1642 (FP_PACK_RAW_E): Likewise.
1643 (FP_PACK_RAW_EP): Likewise.
1644 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
1645 (_FP_ISSIGNAN): Likewise.
1646 (_FP_ADD_INTERNAL): Likewise.
1647 (_FP_FMA): Likewise.
1648 (_FP_CMP): Likewise.
1649 (_FP_SQRT): Likewise.
1650 (_FP_TO_INT): Likewise.
1651 (_FP_FROM_INT): Likewise.
1652 (FP_EXTEND): Likewise.
1653 (_FP_DIV_MEAT_N_loop): Likewise.
1654
2125f674
MR
16552014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
1656
1657 * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
1658 throughout.
1659
edea4028
JM
16602014-06-29 Joseph Myers <joseph@codesourcery.com>
1661
1662 [BZ #17097]
1663 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
1664 result with correct sign in case of exponents that produce
1665 overflow except for X very close to 1.
1666
dd0ba018
PE
16672014-06-28 Paul Eggert <eggert@cs.ucla.edu>
1668
1669 mktime: merge #if/#ifdef usage from glibc
1670 * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
1671 as that works with both Glibc's and Gnulib's style.
1672 See thread starting at Siddhesh Poyarekar's bug report at:
1673 http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
1674
64df73c2
SP
16752014-06-28 Siddhesh Poyarekar <siddhesh@redhat.com>
1676
1677 * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
1678 * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
1679 * sysdeps/tile/tilegx/memmove.c: Remove file.
1680
f1eafb41
JM
16812014-06-27 Joseph Myers <joseph@codesourcery.com>
1682
1683 * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
1684 abi-name definition.
1685 * scripts/soversions.awk: Do not handle or generate ABI lines.
1686 * shlib-versions: Remove ABI entries.
1687 * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
1688 * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
1689
58eb0862
RM
16902014-06-27 Roland McGrath <roland@hack.frob.com>
1691
37caf178
RM
1692 * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
1693 * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
1694 * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
1695 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
1696 * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
1697 * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
1698 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
1699 Moved ...
1700 * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
1701 ... here.
1702 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
1703 * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
1704 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
1705 * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
1706 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
1707 * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
1708 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
1709 * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
1710 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
1711 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
1712 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
1713 * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
1714 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
1715 Moved ...
1716 * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
1717 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
1718 * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
1719 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
1720 * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
1721 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
1722 Moved ...
1723 * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
1724 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
1725 Moved ...
1726 * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
1727 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
1728 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
1729 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
1730 Moved ...
1731 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
1732 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
1733 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
1734 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
1735 * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
1736 * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
1737 * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
1738 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
1739 Moved ...
1740 * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
1741 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
1742 * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
1743 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
1744 Moved ...
1745 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
1746 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
1747 Moved ...
1748 * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
1749 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
1750 * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
1751 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
1752 Moved ...
1753 * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
1754 ... here.
1755 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
1756 Identical file removed.
1757 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
1758 Moved ...
1759 * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
1760 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
1761 Identical file removed.
1762 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
1763 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
1764 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
1765 Moved ...
1766 * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
1767 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
1768 Identical file removed.
1769 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
1770 * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
1771 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
1772 Identical file removed.
1773 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
1774 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
1775 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
1776 Identical file removed.
1777 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
1778 * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
1779 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
1780 Identical file removed.
1781 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
1782 Moved ...
1783 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
1784 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
1785 Identical file removed.
1786 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
1787 Moved ...
1788 * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
1789 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
1790 * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
1791 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
1792 Identical file removed.
1793 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
1794 Moved ...
1795 * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
1796 ... here.
1797 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
1798 Identical file removed.
1799 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
1800 Moved ...
1801 * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
1802 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
1803 Identical file removed.
1804 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
1805 Moved ...
1806 * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
1807 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
1808 * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
1809 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
1810 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
1811 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
1812 Moved ...
1813 * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
1814 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
1815 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
1816
58eb0862
RM
1817 * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
1818 SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
1819 * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
1820 * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
1821 * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
1822
6f12d062
AS
18232014-06-27 Arjun Shankar <arjun.is@lostca.se>
1824
1825 [BZ #17092]
1826 * nscd/nscd.c (monitor_child): Return exit status of child
1827 instead of return value from wait syscall.
1828
be254932
JM
18292014-06-27 Joseph Myers <joseph@codesourcery.com>
1830
cb403c34
JM
1831 * configure.ac (libc_commonpagesize): Remove variable.
1832 (libc_relro_required): Likewise.
1833 (libc_cv_z_relro): Remove configure test.
1834 * configure: Regenerated.
1835 * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
1836 variable.
1837 (libc_relro_required): Likewise.
1838 * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
1839 (libc_relro_required): Likewise.
1840 * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
1841 (libc_relro_required): Likewise.
1842 * sysdeps/arm/preconfigure: Regenerated.
1843 * sysdeps/ia64/preconfigure: Remove file.
1844 * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
1845 variable.
1846 (libc_relro_required): Likewise.
1847
be254932
JM
1848 [BZ #16561]
1849 [BZ #16562]
1850 * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
1851 (__ieee754_yn): Set FE_TONEAREST mode internally and then
1852 recompute overflowing results in original rounding mode.
1853 * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
1854 (__ieee754_ynf): Set FE_TONEAREST mode internally and then
1855 recompute overflowing results in original rounding mode.
1856 * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
1857 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
1858 recompute overflowing results in original rounding mode.
1859 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
1860 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
1861 recompute overflowing results in original rounding mode.
1862 * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
1863 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
1864 recompute overflowing results in original rounding mode.
1865 * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
1866 (libc_feholdsetround_ctx): New macro.
1867 * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
1868 * sysdeps/i386/fpu/libm-test-ulps: Update.
1869 * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
1870
b351d85a
JM
18712014-06-26 Joseph Myers <joseph@codesourcery.com>
1872
1873 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
1874 [__PIC__] (PSEUDO): Use name of _nocancel entry point in
1875 corresponding .cpsetup call.
1876
3cb4de47
RM
18772014-06-26 Roland McGrath <roland@hack.frob.com>
1878
1879 * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
1880 * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
1881 * sysdeps/arm/Makefile [$(subdir) = csu]
1882 (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
1883 (static-only-routines): Add aeabi_read_tp here.
1884 (shared-only-routines): Add libc-aeabi_read_tp here.
1885 (CFLAGS-libc-start.c): Add -fexceptions here.
1886 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
1887 (sysdep_routines, static-only-routines, shared-only-routines):
1888 Don't add to these here.
1889 (CFLAGS-libc-start.c): Likewise.
1890
1891 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
1892 * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
1893 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
1894 * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
1895 * sysdeps/arm/Makefile [$(subdir) = rt]
1896 (librt-sysdep_routines, librt-shared-only-routines):
1897 Append rt-aeabi_unwind_cpp_pr1 here.
1898 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
1899 (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
1900 * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
1901 (libpthread-sysdep_routines, libpthread-shared-only-routines):
1902 Append nptl-aeabi_unwind_cpp_pr1 here.
1903 (tests): Filter out tst-cleanupx4 here.
1904 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
1905 (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
1906 Don't do those here.
1907
354426bb
JM
19082014-06-26 Joseph Myers <joseph@codesourcery.com>
1909
1910 * scripts/list-sources.sh: Do not handle ports specially.
1911
28b0a8c9
RM
19122014-06-26 Roland McGrath <roland@hack.frob.com>
1913
a3dd035d
RM
1914 * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
1915 * sysdeps/arm/feupdateenv.c: Likewise.
1916
28b0a8c9
RM
1917 * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
1918
e66a8203
JM
19192014-06-26 Joseph Myers <joseph@codesourcery.com>
1920
1921 * manual/texinfo.tex: Update to version 2014-05-05.10 with
1922 trailing whitespace removed.
1923 * scripts/config.guess: Update to version 2014-03-23.
1924 * scripts/config.sub: Update to version 2014-05-01
1925 * scripts/install-sh: Update to version 2013-12-25.23.
1926 * scripts/move-if-change: Update from gnulib.
1927
74171115
SP
19282014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
1929
b97c9ce5
SP
1930 * debug/memmove_chk.c: Remove pagecopy.h include.
1931
4000f892
SP
19322014-06-26 Paul Eggert <eggert@cs.ucla.edu>
1933
74171115
SP
1934 * time/mktime.c (leapyear): Remove inline keyword. The code is now
1935 identical to gnulib mktime.
1936
a8779c28
JM
19372014-06-26 Joseph Myers <joseph@codesourcery.com>
1938
e64708de
JM
1939 * configure.ac: Do not test for machine being rs6000. Do not test
1940 for powerpc*-*soft.
1941 * configure: Regenerated.
1942
a8779c28
JM
1943 * configure.ac (libc_cv_asm_cfi_directives): Remove configure
1944 test.
1945 * configure: Regenerated.
1946 * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
1947 * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
1948 Remove configure test.
1949 * sysdeps/arm/configure: Regenerated.
1950 * sysdeps/nptl/configure.ac: Do not check
1951 libc_cv_asm_cfi_directives.
1952 * sysdeps/nptl/configure: Regenerated.
1953 * sysdeps/x86_64/nptl/configure.ac: Remove file.
1954 * sysdeps/x86_64/nptl/configure: Remove generated file.
1955 * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
1956 unconditional.
1957 [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
1958
2aac0a86
SP
19592014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
1960
059bf913
SP
1961 * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
1962 * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
1963 (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
1964 it is defined.
1965
4cf5b6d0
SP
1966 * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
1967 instead of whether it is defined.
1968 * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
1969 * sysdeps/hppa/dl-machine.h: Likewise.
1970 * sysdeps/ia64/dl-machine.h: Likewise.
1971 * sysdeps/m68k/dl-machine.h: Likewise.
1972 * sysdeps/microblaze/dl-machine.h: Likewise.
1973 * sysdeps/mips/dl-machine.: Likewise.
1974 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
1975 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
1976 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
1977 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
1978 * sysdeps/sh/dl-machine.h: Likewise.
1979 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
1980 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
1981 * sysdeps/tile/dl-machine.h: Likewise.
1982 * sysdeps/x86_64/dl-machine.h: Likewise.
1983
2aac0a86
SP
1984 * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
1985 code.
1986 (verify_persistent_db): Likewise.
1987
6ad2df0b
RM
19882014-06-26 Roland McGrath <roland@hack.frob.com>
1989
d8a483f3
RM
1990 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
1991 * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
1992 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
1993 * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
1994 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
1995 Moved ...
1996 * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
1997 ... here.
1998 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
1999 * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
2000 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
2001 Identical file removed.
2002 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
2003 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
2004 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
2005 * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
2006 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
2007 * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
2008 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
2009 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
2010 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
2011 * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
2012 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
2013 Moved ...
2014 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
2015 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
2016 * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
2017 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
2018 * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
2019 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
2020 Moved ...
2021 * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
2022 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
2023 * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
2024 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
2025 * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
2026 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
2027 Identical file removed.
2028 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
2029 * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
2030 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
2031 * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
2032 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
2033 Moved ...
2034 * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
2035 ... here.
2036 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
2037 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
2038 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
2039 * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
2040 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
2041 * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
2042 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
2043 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
2044 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
2045 * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
2046 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
2047 Moved ...
2048 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
2049 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
2050 Moved ...
2051 * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
2052 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
2053 * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
2054 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
2055 Moved ...
2056 * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
2057 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
2058 * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
2059
52ae23b4
RM
2060 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
2061 folded into ...
2062 * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
2063 * sysdeps/unix/sysv/linux/s390/Versions
2064 (libpthread: GLIBC_2.19): New version set.
2065 * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
2066 * sysdeps/unix/sysv/linux/s390/s390-64/Versions
2067 (librt: GLIBC_2.3.3): New version set.
2068 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
2069 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
2070 * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
2071 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
2072 * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
2073 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
2074 * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
2075 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
2076 * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
2077 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
2078 * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
2079 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
2080 * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
2081 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
2082 * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
2083 * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
2084 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
2085 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
2086 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
2087 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
2088 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
2089 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
2090 * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
2091 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
2092 * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
2093 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
2094 * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
2095 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
2096 * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
2097 * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
2098 * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
2099 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
2100 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
2101 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
2102 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
2103 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
2104 * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
2105 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
2106 * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
2107 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
2108 * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
2109 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
2110 * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
2111 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
2112 * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
2113
39507e4a
RM
2114 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
2115 * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
2116 (__libc_vfork): Define the function under this name.
2117 [!NOT_IN_libc] (__vfork): Make this an alias.
2118 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
2119 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
2120 * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
2121 (__libc_vfork): Define the function under this name.
2122 [!NOT_IN_libc] (__vfork): Make this an alias.
2123 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
2124 * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
2125 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
2126 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
2127 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
2128 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
2129
e549ee56
RM
2130 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
2131 code that was previously under [RESET_PID].
2132 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
2133 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
2134 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
2135
6ad2df0b
RM
2136 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
2137 * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
2138 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
2139 * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
2140 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
2141 * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
2142 * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
2143 * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
2144 * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
2145 * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
2146 * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
2147 Moved ...
2148 * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
2149 * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
2150 * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
2151 * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
2152 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
2153 * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
2154 * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
2155 * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
2156 * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
2157 * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
2158 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
2159 * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
2160 * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
2161 * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
2162 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
2163 * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
2164 * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
2165 * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
2166 * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
2167 * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
2168 * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
2169 * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
2170 * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
2171 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
2172 * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
2173 * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
2174 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
2175 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
2176 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
2177
7c1c1d8e
RM
21782014-06-25 Roland McGrath <roland@hack.frob.com>
2179
2180 * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
2181 that was previously under [RESET_PID].
2182 * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
2183
3e239be6
JM
21842014-06-25 Joseph Myers <joseph@codesourcery.com>
2185
74385da5
JM
2186 * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
2187 not undefine and redefine.
2188 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
2189 [O_CLOEXEC]: Make code unconditional.
2190 (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
2191 * sysdeps/unix/sysv/linux/shm_open.c: Do not include
2192 <kernel-features.h>.
2193 [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
2194 conditional variable definition.
2195 (shm_open) [O_CLOEXEC]: Make code unconditional.
2196 (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
2197 code.
2198
c2570a0b
JM
2199 * configure.ac (USE_REGPARMS): Don't define here.
2200 * configure: Regenerated.
2201 * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
2202 * sysdeps/i386/configure: Regenerated.
2203
11b076bb
JM
2204 * nptl/createthread.c: Don't include kernel-features.h.
2205 * nptl/pthread_cancel.c: Likewise.
2206 * nptl/pthread_condattr_setclock.c: Likewise.
2207 * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
2208 * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
2209 * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
2210 * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
2211 * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
2212 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
2213 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
2214 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
2215 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
2216 * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
2217 * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
2218 * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
2219 * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
2220 * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
2221 * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
2222 * nscd/gai.c: Likewise.
2223 * nss/nss_db/db-open.c: Likewise.
2224 * sysdeps/generic/ldsodefs.h: Likewise.
2225 * sysdeps/sh/nptl/tls.h: Likewise.
2226 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
2227 * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
2228 * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
2229 * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
2230 * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
2231 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
2232 * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
2233 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
2234 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
2235 * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
2236 * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
2237 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
2238 * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
2239 * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
2240 * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
2241 * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
2242 * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
2243 * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
2244 * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
2245 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
2246 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
2247 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
2248 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
2249 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
2250 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
2251 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
2252 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
2253 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
2254 * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
2255 * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
2256 * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
2257 * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
2258 * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
2259 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
2260 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
2261 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
2262 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
2263 * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
2264 * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
2265 * sysdeps/unix/sysv/linux/if_index.c: Likewise.
2266 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
2267 * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
2268 * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
2269 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
2270 * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
2271 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
2272 * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
2273 * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
2274 * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
2275 * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
2276 * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
2277 * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
2278 * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
2279 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
2280 * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
2281 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
2282 * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
2283 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
2284 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
2285 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
2286 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
2287 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
2288 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
2289 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
2290 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
2291 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
2292 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
2293 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
2294 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
2295 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
2296 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
2297 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
2298 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
2299 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
2300 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
2301 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
2302 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
2303 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
2304 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
2305 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
2306 * sysdeps/unix/sysv/linux/pread.c: Likewise.
2307 * sysdeps/unix/sysv/linux/pread64.c: Likewise.
2308 * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
2309 * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
2310 * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
2311 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
2312 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
2313 * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
2314 * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
2315 * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
2316 * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
2317 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
2318 * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
2319 * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
2320 * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
2321 * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
2322 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
2323 * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
2324 * sysdeps/unix/sysv/linux/syslog.c: Likewise.
2325 * sysdeps/unix/sysv/linux/system.c: Likewise.
2326 * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
2327 * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
2328 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
2329 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
2330 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
2331 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
2332 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
2333
92072d57
JM
2334 * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
2335 * configure: Regenerated.
2336 * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
2337
3e239be6
JM
2338 * configure.ac (base_machine): Do not set specially for particular
2339 machines here.
2340 * configure: Regenerated.
2341 * sysdeps/powerpc/preconfigure: Move machine and base_machine
2342 settings from configure.ac.
2343 * sysdeps/i386/preconfigure: New file.
2344 * sysdeps/s390/preconfigure: Likewise.
2345 * sysdeps/sh/preconfigure: Likewise.
2346 * sysdeps/sparc/preconfigure: Likewise.
2347
06d50baa
RM
23482014-06-25 Roland McGrath <roland@hack.frob.com>
2349
74836003
RM
2350 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
2351 * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
2352 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
2353 * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
2354 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
2355 * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
2356 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
2357 * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
2358 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
2359 * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
2360 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
2361 * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
2362 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
2363 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
2364 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
2365 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
2366 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
2367 * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
2368 * sysdeps/sparc/sparc64/Makefile: ... appended here.
2369
2370 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
2371 * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
2372 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
2373 * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
2374 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
2375 * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
2376 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
2377 * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
2378 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
2379 * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
2380 * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
2381 * sysdeps/sparc/sparc32/sem_post.c: ... here.
2382 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
2383 * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
2384 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
2385 * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
2386 * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
2387 * sysdeps/sparc/sparc32/sem_wait.c: ... here.
2388 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
2389 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
2390 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
2391 * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
2392 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
2393 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
2394 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
2395 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
2396 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
2397 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
2398 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
2399 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
2400 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
2401 * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
2402 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
2403 * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
2404 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
2405 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
2406 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
2407 * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
2408
06d50baa
RM
2409 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
2410 * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
2411 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
2412 * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
2413 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
2414 Moved ...
2415 * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
2416 ... here.
2417 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
2418 * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
2419 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
2420 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
2421 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
2422 Moved ...
2423 * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
2424 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
2425 * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
2426 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
2427 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
2428 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
2429 * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
2430 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
2431 Moved ...
2432 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
2433 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
2434 Moved ...
2435 * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
2436 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
2437 * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
2438 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
2439 Moved ...
2440 * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
2441 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
2442 * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
2443 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
2444 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
2445 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
2446 * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
2447 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
2448 * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
2449 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
2450 Moved ...
2451 * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
2452 ... here.
2453 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
2454 * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
2455 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
2456 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
2457 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
2458 Moved ...
2459 * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
2460 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
2461 * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
2462 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
2463 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
2464 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
2465 * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
2466 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
2467 Moved ...
2468 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
2469 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
2470 Moved ...
2471 * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
2472 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
2473 * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
2474 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
2475 Moved ...
2476 * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
2477 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
2478 * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
2479 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
2480 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
2481
a4ccbc9b
JM
24822014-06-25 Joseph Myers <joseph@codesourcery.com>
2483
0828edbf
JM
2484 * timezone/checktab.awk: Update from tzcode 2014e.
2485 * timezone/private.h: Likewise.
2486 * timezone/tzfile.h: Likewise.
2487 * timezone/zdump.c: Likewise.
2488 * timezone/zic.c: Likewise.
2489
a4ccbc9b
JM
2490 * sysdeps/unix/sysv/linux/kernel-features.h
2491 (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
2492 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
2493 [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
2494 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
2495 Remove conditional code.
2496
9aea0cb8
WN
24972014-06-25 Will Newton <will.newton@linaro.org>
2498
2499 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
2500 (_dl_arm_cap_flags): Add HWCAP2 values.
2501 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
2502 (_DL_HWCAP_COUNT): Increase to 37.
2503 (_DL_HWCAP_LAST): New define.
2504 (_DL_HWCAP2_LAST): New define.
2505 (_dl_procinfo): Add support for printing
2506 AT_HWCAP2 entries.
2507 (_dl_string_hwcap): Use _dl_hwcap_string.
2508
6eaa65ce
AZ
25092014-06-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2510
2511 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2512
0f5b7185
JM
25132014-06-25 Joseph Myers <joseph@codesourcery.com>
2514
cfd2ea50
JM
2515 * README: Do not mention ports directory.
2516
cecf2ed4
JM
2517 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
2518 Remove macro.
2519 * sysdeps/unix/sysv/linux/futimes.c: Do not include
2520 <kernel-features.h>.
2521 [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
2522 conditional variable definition.
2523 (__futimes): Update comment.
2524 (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
2525 (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
2526
a638de82
JM
2527 [BZ #16560]
2528 * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
2529 arguments close to 0.
2530 * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
2531 Likewise.
2532 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
2533 Likewise.
2534 * math/auto-libm-test-in: Add more tests of exp10.
2535 * math/auto-libm-test-out: Regenerated.
2536 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
2537
0f5b7185
JM
2538 * sysdeps/unix/sysv/linux/kernel-features.h
2539 (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
2540 * sysdeps/unix/sysv/linux/readv.c: Do not include
2541 <kernel-features.h>.
2542 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
2543 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
2544 (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
2545 unconditional.
2546 (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
2547 conditional code.
2548 * sysdeps/unix/sysv/linux/writev.c: Do not include
2549 <kernel-features.h>.
2550 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
2551 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
2552 (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
2553 unconditional.
2554 (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
2555 conditional code.
2556
c7aec4be
WN
25572014-06-25 Will Newton <will.newton@linaro.org>
2558
2559 * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
2560 comment changes throughout the file. Remove checks
2561 for HAVE_*_H definitions that are not required.
2562 (__gen_tempname): Call abort if an unknown kind value is
2563 passed.
2564
c5241f95
AS
25652014-06-25 Andreas Schwab <schwab@suse.de>
2566
2567 [BZ #17086]
2568 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
2569 scalbln, scalblnf, scalblnl in libc.
2570
911422da
SP
25712014-06-25 Siddhesh Poyarekar <siddhesh@redhat.com>
2572
2573 [BZ #17086]
2574 * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
2575 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
2576 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
2577
0d749bbe
RM
25782014-06-24 Roland McGrath <roland@hack.frob.com>
2579
2580 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
2581 * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
2582 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
2583 * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
2584 Update #include.
2585 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
2586 * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
2587 Update #include.
2588 * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
2589 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
2590 * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
2591 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
2592 * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
2593 * sysdeps/x86/bits/pthreadtypes.h: ... here.
2594 * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
2595 * sysdeps/x86/bits/semaphore.h: ... here.
2596 * sysdeps/x86/nptl/elide.h: Moved ...
2597 * sysdeps/x86/elide.h: ... here.
2598 * sysdeps/x86_64/nptl/Implies: File removed.
2599 * sysdeps/i386/nptl/Implies: File removed.
2600
0ea5d373
JM
26012014-06-24 Joseph Myers <joseph@codesourcery.com>
2602
4060283d
JM
2603 [BZ #16539]
2604 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
2605 return the argument for normal arguments with exponent below -64.
2606 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
2607 Likewise.
2608 * math/auto-libm-test-in: Add another test of expm1.
2609 * math/auto-libm-test-out: Regenerated.
2610
e7dd3c8c
JM
2611 [BZ #16287]
2612 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
2613 calling __erfcl for arguments at least 16.
2614 * math/auto-libm-test-in: Add more tests of erf.
2615 * math/auto-libm-test-out: Regenerated.
2616
0ea5d373
JM
2617 * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
2618 individual architectures.
2619 * sysdeps/unix/sysv/linux/configure: Regenerated.
2620 * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
2621 * sysdeps/unix/sysv/linux/i386/configure: New generated file.
2622 * sysdeps/unix/sysv/linux/powerpc/configure.ac
2623 (ldd_rewrite_script): Define variable.
2624 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
2625 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
2626 file.
2627 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
2628 generated file.
2629 * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
2630 * sysdeps/unix/sysv/linux/s390/configure: New generated file.
2631 * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
2632 * sysdeps/unix/sysv/linux/sh/configure: New generated file.
2633 * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
2634 * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
2635 * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
2636 * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
2637
2307e126
SP
26382014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
2639
2640 [BZ #17084]
2641 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
2642 Rename member __data.d to __data.__elision_data.
2643
c0a4ed77
W
26442014-06-24 Wilco <wdijkstr@arm.com>
2645
2646 * NEWS: Add 16918 to fixed bug list.
2647
b8c00573
W
26482014-06-24 Wilco <wdijkstr@arm.com>
2649
2650 * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
2651
b5570d92
W
26522014-06-24 Wilco <wdijkstr@arm.com>
2653
2654 * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
2655 * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
2656 (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
2657 (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
2658 (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
2659 * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
2660 * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
2661 Use _FPU_MASK_RM.
2662
947bdca2
W
26632014-06-24 Wilco <wdijkstr@arm.com>
2664
2665 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
2666
00f669ed
W
26672014-06-24 Wilco <wdijkstr@arm.com>
2668
2669 * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
2670 * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
2671 * sysdeps/arm/fesetround.c (fesetround): Remove space.
2672 * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
2673
db59bad3
W
26742014-06-24 Wilco <wdijkstr@arm.com>
2675
2676 [BZ #16918]
2677 * sysdeps/arm/feupdateenv.c (feupdateenv):
2678 Rewrite to reduce FPSCR accesses and fix return value.
2679
001f7b77
W
26802014-06-24 Wilco <wdijkstr@arm.com>
2681
2682 * sysdeps/arm/fclrexcpt.c (feclearexcept):
2683 Optimize to avoid unnecessary FPSCR writes.
2684 * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
2685 * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
2686 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
2687 * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
2688
4841e6a6
W
26892014-06-24 Wilco <wdijkstr@arm.com>
2690
2691 * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
2692 * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
2693 * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
2694 * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
2695 Call libc_fetestexcept_vfp.
2696 * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
2697 * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
2698 __SOFTFP__ ifdef so that they can be built for softfp.
2699
0813022c
SP
27002014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
2701
08e5862f
SP
2702 * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
2703 argument type signed char.
2704
0813022c
SP
2705 * Makerules (check-abi): Dump diff of symlist if the test
2706 fails.
2707
3fc7236a
RM
27082014-06-23 Roland McGrath <roland@hack.frob.com>
2709
aba8ef95
RM
2710 * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
2711 using abort.
2712
3fc7236a
RM
2713 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
2714 Remove unused variable ST.
2715
4da6db51
JM
27162014-06-23 Joseph Myers <joseph@codesourcery.com>
2717
4648909d
JM
2718 [BZ #16354]
2719 [BZ #17061]
2720 * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
2721 small arguments before calling __expm1.
2722 * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
2723 small arguments before calling __expm1f.
2724 * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
2725 small arguments before calling __expm1l.
2726 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
2727 Likewise.
2728 * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
2729 * math/auto-libm-test-in: Add more cosh tests. Do not allow
2730 spurious underflow for some cosh tests.
2731 * math/auto-libm-test-out: Regenerated.
2732 * sysdeps/i386/fpu/libm-test-ulps: Update.
2733
46a3d3c7
JM
2734 [BZ #17050]
2735 * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
2736 (__ieee754_y1): Set errno if return value overflows.
2737 * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
2738 (__ieee754_y1f): Set errno if return value overflows.
2739 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
2740 (__ieee754_y1l): Set errno if return value overflows.
2741 * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
2742 (__ieee754_y1l): Set errno if return value overflows.
2743 * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
2744 * math/auto-libm-test-out: Regenerated.
2745
863893ec
JM
2746 * math/gen-auto-libm-tests.c: Document use of
2747 ignore-zero-inf-sign.
2748 (input_flag_type): Add value flag_ignore_zero_inf_sign.
2749 (input_flags): Add ignore-zero-inf-sign.
2750 (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
2751 * math/gen-libm-test.pl (generate_testfile): Handle
2752 ignore-zero-inf-sign.
2753 * math/auto-libm-test-in: Mark some cpow tests with
2754 ignore-zero-inf-sign and some with xfail-rounding.
2755 * math/auto-libm-test-out: Regenerated.
2756 * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
2757 * sysdeps/i386/fpu/libm-test-ulps: Update.
2758 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2759
4da6db51
JM
2760 [BZ #16315]
2761 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
2762 overflowing or underflowing operations take place with sign of
2763 result.
2764 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
2765 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
2766 * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
2767 (__ieee754_pow): Recompute overflowing and underflowing results in
2768 original rounding mode.
2769 * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
2770 (__powl_helper): Allow negative argument X and scale negated value
2771 as needed. Avoid passing value outside [-1, 1] to f2xm1.
2772 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
2773 overflowing or underflowing operations take place with sign of
2774 result.
2775 * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
2776 Include <math.h>.
2777 * math/auto-libm-test-in: Add more tests of pow.
2778 * math/auto-libm-test-out: Regenerated.
2779 * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
2780 (pow_tonearest_test_data): Remove.
2781 (pow_test_tonearest): Likewise.
2782 (pow_towardzero_test_data): Likewise.
2783 (pow_test_towardzero): Likewise.
2784 (pow_downward_test_data): Likewise.
2785 (pow_test_downward): Likewise.
2786 (pow_upward_test_data): Likewise.
2787 (pow_test_upward): Likewise.
2788 (main): Don't call removed functions.
2789 * sysdeps/i386/fpu/libm-test-ulps: Update.
2790 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2791
5686b236
RM
27922014-06-23 Roland McGrath <roland@hack.frob.com>
2793
2794 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
2795 Moved ...
2796 * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
2797 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
2798 Moved ...
2799 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
2800 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
2801 Moved ...
2802 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
2803 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
2804 Moved ...
2805 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
2806 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
2807 File removed.
2808 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
2809 File removed.
2810 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
2811 File removed.
2812 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
2813 File removed.
2814 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
2815 File removed.
2816 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
2817 File removed.
2818 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
2819 File removed.
2820 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
2821 File removed.
2822 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
2823 File removed.
2824 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
2825 File removed.
2826 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
2827 File removed.
2828 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
2829 File removed.
2830 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
2831 Moved ...
2832 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
2833 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
2834 Moved ...
2835 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
2836 ... here.
2837 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
2838 Moved ...
2839 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
2840 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
2841 Moved ...
2842 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
2843 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
2844 Moved ...
2845 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
2846 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
2847 Moved ...
2848 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
2849 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
2850 Moved ...
2851 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
2852 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
2853 Moved ...
2854 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
2855 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
2856 Moved ...
2857 * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
2858 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
2859 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
2860 ... here.
2861 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
2862 Moved ...
2863 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
2864 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
2865 Moved ...
2866 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
2867 ... here.
2868 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
2869 Moved ...
2870 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
2871 ... here.
2872 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
2873 Moved ...
2874 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
2875 ... here.
2876 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
2877 Moved ...
2878 * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
2879 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
2880 Moved ...
2881 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
2882 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
2883 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
2884 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
2885 Moved ...
2886 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
2887 ... here.
2888 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
2889 Moved ...
2890 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
2891 ... here.
2892 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
2893 Moved ...
2894 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
2895 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
2896 Moved ...
2897 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
2898 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
2899 Moved ...
2900 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
2901 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
2902 Moved ...
2903 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
2904 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
2905 Moved ...
2906 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
2907 ... here.
2908 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
2909 Moved ...
2910 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
2911 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
2912 Moved ...
2913 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
2914 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
2915 Moved ...
2916 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
2917 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
2918 Moved ...
2919 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
2920 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
2921 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
2922 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
2923 Moved ...
2924 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
2925 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
2926 Moved ...
2927 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
2928 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
2929 Moved ...
2930 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
2931 ... here.
2932 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
2933 Moved ...
2934 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
2935 ... here.
2936 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
2937 Moved ...
2938 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
2939 ... here.
2940 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
2941 Moved ...
2942 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
2943 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
2944 Moved ...
2945 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
2946 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
2947 Moved ...
2948 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
2949 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
2950 Moved ...
2951 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
2952 ... here.
2953 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
2954 Moved ...
2955 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
2956 ... here.
2957 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
2958 Moved ...
2959 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
2960 ... here.
2961 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
2962 Moved ...
2963 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
2964 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
2965 Moved ...
2966 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
2967
e6d90d67
WD
29682014-06-23 Will Newton <will.newton@linaro.org>
2969 Wilco <wdijkstr@arm.com>
2970
2971 * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
2972 implementation. Include get-rounding-mode.h.
2973 [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
2974 [!libc_feholdsetround_noex_ctx]: Define
2975 libc_feholdsetround_noex_ctx.
2976 [!libc_feholdsetround_noexf_ctx]: Define
2977 libc_feholdsetround_noexf_ctx.
2978 [!libc_feholdsetround_noexl_ctx]: Define
2979 libc_feholdsetround_noexl_ctx.
2980 (libc_feholdsetround_ctx): New function.
2981 (libc_feresetround_ctx): New function.
2982 (libc_feholdsetround_noex_ctx): New function.
2983 (libc_feresetround_noex_ctx): New function.
2984
d42df555
RM
29852014-06-23 Roland McGrath <roland@hack.frob.com>
2986
88a46474
RM
2987 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
2988 * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
2989 * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
2990 * sysdeps/mips/nptl/bits/semaphore.h: ... here.
2991 * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
2992 * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
2993
15bed472
RM
2994 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
2995 * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
2996 * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
2997 * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
2998 * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
2999 * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
3000 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
3001 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
3002 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
3003 * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
3004 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
3005 Moved ...
3006 * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
3007 ... here.
3008 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
3009 * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
3010 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
3011 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
3012 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
3013 Moved ...
3014 * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
3015 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
3016 * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
3017 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
3018 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
3019 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
3020 * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
3021 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
3022 Moved ...
3023 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
3024 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
3025 Moved ...
3026 * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
3027 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
3028 * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
3029 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
3030 Moved ...
3031 * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
3032 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
3033 * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
3034 * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
3035 * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
3036 * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
3037 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
3038 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
3039 * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
3040 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
3041 Moved ...
3042 * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
3043 ... here.
3044 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
3045 * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
3046 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
3047 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
3048 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
3049 * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
3050 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
3051 * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
3052 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
3053 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
3054 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
3055 * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
3056 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
3057 Moved ...
3058 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
3059 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
3060 * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
3061 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
3062 * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
3063 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
3064 Moved ...
3065 * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
3066 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
3067 * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
3068 * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
3069 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
3070
d42df555
RM
3071 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
3072 * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
3073 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
3074 * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
3075 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
3076 * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
3077 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
3078 * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
3079 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
3080 * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
3081 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
3082 * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
3083 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
3084 * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
3085 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
3086 * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
3087 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
3088 * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
3089 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
3090 * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
3091 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
3092 * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
3093 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
3094 * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
3095 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
3096 * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
3097 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
3098 * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
3099
76e5216e
JM
31002014-06-23 Joseph Myers <joseph@codesourcery.com>
3101
3102 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
3103 (FALLOC_FL_COLLAPSE_RANGE): New macro.
3104 [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
3105 * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
3106 (IPV6_PMTUDISC_INTERFACE): Likewise.
3107 (IPV6_PMTUDISC_OMIT): Likewise.
3108
7a81cbcc
AS
31092014-06-23 Andreas Schwab <schwab@suse.de>
3110
3111 * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
3112 Remove unused errout label.
3113
db224009
AZ
31142014-06-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3115
3116 * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
3117 macro: hardware supports Vector Crypto instructions.
3118
f393b4aa
WN
31192014-06-23 Will Newton <will.newton@linaro.org>
3120
cc7d0447
WN
3121 * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
3122 rather than __builtin_expect.
3123
d6d06225
WN
3124 * elf/dl-lookup.c (undefined_msg): Remove variable.
3125 (_dl_lookup_symbol_x): Replace undefined_msg with string
3126 literal.
3127
f393b4aa
WN
3128 * elf/dl-lookup.c (do_lookup_unique): New function.
3129 (do_lookup_x): Move STB_GNU_UNIQUE handling code
3130 to a separate function.
3131
ac60763e
AS
31322014-06-23 Andreas Schwab <schwab@suse.de>
3133
3134 [BZ #17079]
3135 * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
3136 before reading the next line.
3137
c5c13355
WN
31382014-06-23 Will Newton <will.newton@linaro.org>
3139
3140 * test-skeleton.c (signal_handler): Use printf and %m
3141 rather than perror. Use printf rather than fprintf to
3142 stderr. Use puts rather than fputs to stderr.
3143 (main): Likewise.
3144
bd3675f9
LC
31452014-06-22 Ludovic Courtès <ludo@gnu.org>
3146
3147 * nscd/nscd.c (thread_info_t): Remove typedef.
3148 (thread_info): Remove variable.
3149
d03efb2f
AM
31502014-06-21 Allan McRae <allan@archlinux.org>
3151
3152 * NEWS: Mention CVE-2014-4043.
3153
bc4a86fa
RM
31542014-06-20 Roland McGrath <roland@hack.frob.com>
3155
dc9a54f8
RM
3156 * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
3157 * nptl/smp.h: ... here.
3158
bd7022c4
RM
3159 * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
3160
26ffd5e6
RM
3161 * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
3162 * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
3163 * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
3164 * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
3165
93a6d082
RM
3166 * nptl/allocatestack.c: Include <stack-aliasing.h>.
3167 * nptl/stack-aliasing.h: New file.
3168 * sysdeps/i386/i686/stack-aliasing.h: New file.
3169 * sysdeps/i386/i686/nptl/Makefile: File removed.
3170 * sysdeps/x86_64/stack-aliasing.h: New file.
3171 * sysdeps/x86_64/nptl/Makefile
3172 (CFLAGS-pthread_create.c): Variable removed.
3173
bc4a86fa
RM
3174 * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
3175 * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
3176 old file.
3177 * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
3178 * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
3179 old file.
3180
2272ffc1
JM
31812014-06-21 Joseph Myers <joseph@codesourcery.com>
3182
3183 * sysdeps/unix/sysv/linux/arm/kernel-features.h
3184 (__ASSUME_SIGFRAME_V2): Remove macro.
3185 * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
3186 [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
3187 (__default_sa_restorer_v2): Rename to __default_sa_restorer.
3188 (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
3189 * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
3190 Declare as function. Remove conditional macro definitions.
3191 (__default_rt_sa_restorer): Likewise.
3192 (__default_sa_restorer_v1): Remove declaration.
3193 (__default_sa_restorer_v2): Likewise.
3194 (__default_rt_sa_restorer_v1): Likewise.
3195 (__default_rt_sa_restorer_v2): Likewise.
3196 * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
3197 __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
3198 __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
3199
4b88139b
RM
32002014-06-20 Roland McGrath <roland@hack.frob.com>
3201
3202 * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
3203 (libpthread-routines): Add sysdep.
3204 * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
3205 * sysdeps/unix/sysv/linux/sparc/Versions
3206 (libpthread: GLIBC_2.3.3): New version set.
3207 * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
3208 * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
3209 * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
3210 * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
3211 * sysdeps/sparc/nptl/internaltypes.h: ... here. Use #include_next.
3212 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
3213 Moved ...
3214 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
3215 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
3216 * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
3217 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
3218 * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
3219 * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
3220 * sysdeps/sparc/nptl/sem_init.c: ... here.
3221 * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
3222 * sysdeps/sparc/nptl/sem_post.c: ... here.
3223 * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
3224 * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
3225 * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
3226 * sysdeps/sparc/nptl/sem_wait.c: ... here.
3227 * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
3228 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
3229 * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
3230 (libpthread-routines): Add cpu_relax.
3231 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
3232 File removed.
3233 * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
3234 (librt: GLIBC_2.3.3): New version set.
3235 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
3236 * sysdeps/sparc/sparc64/nptl/Makefile: New file.
3237 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
3238 (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
3239 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
3240 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
3241 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
3242 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
3243 Moved ...
3244 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
3245 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
3246 * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
3247 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
3248 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
3249 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
3250 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
3251 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
3252 * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
3253 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
3254 Moved ...
3255 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
3256 Update #include.
3257 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
3258 Moved ...
3259 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
3260 Update #include.
3261 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
3262 Moved ...
3263 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
3264 Update #include.
3265 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
3266 Moved ...
3267 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
3268 Update #include.
3269 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
3270 Moved ...
3271 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
3272 Update #include.
3273 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
3274 Moved ...
3275 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
3276 Update #include.
3277 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
3278 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
3279 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
3280 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
3281 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
3282 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
3283 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
3284 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
3285 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
3286 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
3287 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
3288 Moved ...
3289 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
3290 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
3291 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
3292 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
3293 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
3294
d7109027
JM
32952014-06-20 Joseph Myers <joseph@codesourcery.com>
3296
9bc6103d
JM
3297 * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
3298 * nptl/pthread_rwlock_timedrdlock.c: Likewise.
3299 * nptl/pthread_rwlock_timedwrlock.c: Likewise.
3300 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
3301 * nscd/nscd.c: Likewise.
3302 * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
3303 * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
3304 * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
3305 * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
3306
d7109027
JM
3307 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
3308 <kernel-features.h>.
3309 (init_mq_netlink): Remove conditional have_sock_cloexec
3310 definitions. Remove code conditional on have_sock_cloexec < 0.
3311 (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
3312 (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
3313 * sysdeps/unix/sysv/linux/opensock.c: Do not include
3314 <kernel-features.h>.
3315 (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
3316 (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
3317
d92d8f8a
L
33182014-06-20 H.J. Lu <hongjiu.lu@intel.com>
3319
3320 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
3321 Add tests for memset_chk and memset.
3322
3323 * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
3324 with AVX2_Usable.
3325
4e6d2347
MR
33262014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
3327
257ce712
MR
3328 [BZ #16046]
3329 * elf/tst-dl-iter-static.c: New file.
3330 * elf/Makefile (tests-static): Add tst-dl-iter-static.
3331
4e6d2347
MR
3332 * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
3333 error.
3334
a2a76afe
JM
33352014-06-20 Joseph Myers <joseph@codesourcery.com>
3336
7fd00f99
JM
3337 * sysdeps/unix/sysv/linux/kernel-features.h
3338 (__ASSUME_F_GETOWN_EX): Remove macro.
3339 * sysdeps/unix/sysv/linux/fcntl.c: Do not include
3340 <kernel-features.h>.
3341 (miss_F_GETOWN_EX): Remove variable or macro.
3342 (do_fcntl): Do not check miss_F_GETOWN_EX.
3343 (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
3344
4a103975
JM
3345 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
3346 Remove macro.
3347 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
3348 [!__ASSUME_AT_RANDOM]: Remove conditional code.
3349 (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
3350
a2a76afe
JM
3351 * sysdeps/unix/sysv/linux/kernel-features.h
3352 (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
3353 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
3354 [ADJ_OFFSET_SS_READ]: Make code unconditional.
3355 (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
3356
90e5dd48
MR
33572014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
3358
3359 [BZ #17075]
3360 * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
3361 Fix calculation of the symbol's value.
3362 * sysdeps/arm/tst-armtlsdescloc.c: New file.
3363 * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
3364 * sysdeps/arm/tst-armtlsdescextnow.c: New file.
3365 * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
3366 * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
3367 * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
3368 * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
3369 `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
3370 (modules-names): Add `tst-armtlsdescmod',
3371 `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
3372 (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
3373 (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
3374 (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
3375 (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
3376 (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
3377 (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
3378 ($(objpfx)tst-armtlsdescloc): New dependency.
3379 ($(objpfx)tst-armtlsdescextnow): Likewise.
3380 ($(objpfx)tst-armtlsdescextlazy): Likewise.
3381 * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
3382 TLS scheme support.
3383 * sysdeps/arm/configure: Regenerate.
3384
809fdf0d
JM
33852014-06-20 Joseph Myers <joseph@codesourcery.com>
3386
3387 * include/fcntl.h (__atfct_seterrno): Remove prototype.
3388 (__atfct_seterrno_2): Likewise.
3389 * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
3390 <kernel-features.h>.
3391 (__ASSUME_ATFCTS): Do not undefine and redefine.
3392 * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
3393 (__have_atfcts): Remove conditional definition.
3394 (__fxstatat([__NR_fstatat64]: Make code unconditional.
3395 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
3396 unreachable if [__ASSUME_ATFCTS].
3397 * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
3398 not undefine and redefine.
3399 * sysdeps/unix/sysv/linux/faccessat.c: Do not include
3400 <kernel-features.h>.
3401 (faccessat) [__NR_faccessat]: Make code unconditional.
3402 (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
3403 * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
3404 <kernel-features.h>.
3405 (fchmodat) [__NR_fchmodat]: Make code unconditional.
3406 (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
3407 * sysdeps/unix/sysv/linux/fchownat.c: Do not include
3408 <kernel-features.h>.
3409 (fchownat) [__NR_fchownat]: Make code unconditional.
3410 (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
3411 * sysdeps/unix/sysv/linux/futimesat.c: Do not include
3412 <kernel-features.h>.
3413 (futimesat) [__NR_futimesat]: Make code unconditional.
3414 (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
3415 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
3416 <kernel-features.h>.
3417 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
3418 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
3419 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
3420 <kernel-features.h>.
3421 (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
3422 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
3423 * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
3424 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
3425 <kernel-features.h>.
3426 (__fxstatat) [__NR_fstatat64]: Make code unconditional.
3427 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
3428 * sysdeps/unix/sysv/linux/linkat.c: Do not include
3429 <kernel-features.h>.
3430 (linkat) [__NR_linkat]: Make code unconditional.
3431 (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
3432 * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
3433 * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
3434 <kernel-features.h>.
3435 (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
3436 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
3437 * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
3438 <kernel-features.h>.
3439 (mkdirat) [__NR_mkdirat]: Make code unconditional.
3440 (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
3441 * sysdeps/unix/sysv/linux/openat.c: Do not include
3442 <kernel-features.h>.
3443 [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
3444 [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
3445 (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
3446 (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
3447 * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
3448 * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
3449 <kernel-features.h>.
3450 (readlinkat) [__NR_readlinkat]: Make code unconditional.
3451 (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code. Return
3452 result of INLINE_SYSCALL directly, not via int variable.
3453 * sysdeps/unix/sysv/linux/renameat.c: Do not include
3454 <kernel-features.h>.
3455 [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
3456 (renameat) [__NR_renameat]: Make code unconditional.
3457 (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
3458 * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
3459 * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
3460 * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
3461 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
3462 (__ASSUME_ATFCTS): Do not undefine and redefine.
3463 * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
3464 <kernel-features.h>.
3465 (symlinkat) [__NR_symlinkat]: Make code unconditional.
3466 (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
3467 * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
3468 <kernel-features.h>.
3469 (unlinkat) [__NR_unlinkat]: Make code unconditional.
3470 (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
3471 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
3472 (__ASSUME_ATFCTS): Do not undefine and redefine.
3473 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
3474 <kernel-features.h>.
3475 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
3476 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
3477 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
3478 <kernel-features.h>.
3479 (__xmknodat) [__NR_mknodat]: Make code unconditional.
3480 (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
3481
224c6c51
L
34822014-06-20 H.J. Lu <hongjiu.lu@intel.com>
3483
3484 * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
3485
aa6ec754
AS
34862014-06-20 Andreas Schwab <schwab@linux-m68k.org>
3487
3488 [BZ #17069]
3489 * posix/regcomp.c (parse_reg_exp): Deallocate partially
3490 constructed tree before returning error.
3491 * posix/bug-regexp36.c: Expand test case.
3492
d8c2869d
SL
34932014-06-20 Stefan Liebler <stli@linux.vnet.ibm.com>
3494
3ef6b850
SL
3495 [BZ #6803]
3496 * math/libm-test.inc (scalbln_test_date):
3497 Add errno expectations.
3498 * math/w_scalblnf.c: New File.
3499 Add wrapper which checks for setting errno to ERANGE.
3500 Add weak_alias for corresponding scalbln function.
3501 * math/w_scalbln.c: Likewise.
3502 * math/w_scalblnl.c: Likewise.
3503 * math/Makefile (libm-calls): Add w_scalbln.
3504 * sysdeps/ieee754/flt-32/s_scalblnf.c:
3505 Remove weak_alias for corresponding scalbln function.
3506 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
3507 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
3508 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
3509 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
3510 * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
3511 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
3512 * sysdeps/i386/fpu/s_scalbn.S: Likewise.
3513 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
3514 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
3515 * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
3516 Remove long_double_symbol for scalblnl function in libm, libc.
3517 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
3518 Add wrapper which checks for setting errno to ERANGE.
3519 Add long_double_symbol for scalblnl function in libm, libc.
3520 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
3521 Remove long_double_symbol for scalblnl in libm.
3522 * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
3523 Add wrapper which checks for setting errno to ERANGE.
3524 Add long_double_symbol for scalblnl function in libm.
3525 * sysdeps/ia64/fpu/w_scalblnf.c: New File.
3526 Do not use wrapper because of own implementation.
3527
c8daec5c
L
35282014-06-19 H.J. Lu <hongjiu.lu@intel.com>
3529
3530 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
3531 3 bytes for __pad1 for x32.
3532 (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
3533
5c74e47c
LM
35342014-06-19 Ling Ma <ling.ml@alibaba-inc.com>
3535 H.J. Lu <hongjiu.lu@intel.com>
3536
3537 * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
3538 * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
3539 * sysdeps/x86_64/multiarch/memset.S: Likewise.
3540 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
3541 * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
3542
4d43ef1e
AS
35432014-06-19 Andreas Schwab <schwab@linux-m68k.org>
3544
3545 [BZ #17069]
3546 * posix/regcomp.c (parse_expression): Deallocate partially
3547 constructed tree before returning error.
3548 * posix/Makefile.c (tests): Add bug-regex36.
3549 (generated): Add bug-regex36.mtrace.
3550 (tests-special): Add $(objpfx)bug-regex36-mem.out
3551 (bug-regex36-ENV): New variable.
3552 ($(objpfx)bug-regex36-mem.out): New rule.
3553 * posix/bug-regex36.c: New file.
3554
51a7380b
WN
35552014-06-19 Will Newton <will.newton@linaro.org>
3556
3557 * malloc/malloc.c (systrim): If extra is zero then return
3558 early.
3559
91b84fe5
SP
35602014-06-19 Siddhesh Poyarekar <siddhesh@redhat.com>
3561
3562 * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
3563
f940b965
RE
35642014-06-19 Richard Earnshaw <rearnsha@arm.com>
3565
3566 * sysdeps/aarch64/strchr.S: New file.
3567
4ba7a00f
JM
35682014-06-18 Joseph Myers <joseph@codesourcery.com>
3569
3570 [BZ #17022]
3571 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
3572 from arguments -2 or below.
3573 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
3574 * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
3575
b3a9f56b
AS
35762014-06-18 Andreas Schwab <schwab@suse.de>
3577
3578 [BZ #17062]
3579 * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
3580 of a bracket expr not to run off the end of the string.
3581 * posix/Makefile (tests): Add tst-fnmatch3.
3582 * posix/tst-fnmatch3.c: New file.
3583
85d89278
JM
35842014-06-18 Joseph Myers <joseph@codesourcery.com>
3585
3586 * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
3587 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
3588 [$(cross-compiling) = no]: Likewise.
3589 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
3590 [$(cross-compiling) = no]: Likewise.
3591
754c5a08
RS
35922014-16-17 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
3593
3594 [BZ #17031]
3595 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
3596 double, adjusted for any remainder from the high double.
3597 * math/libm-test.inc (nearbyint): Add tests.
3598 (rint): Likewise.
3599
556f529d
AZ
36002014-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3601
3602 * nptl/sysdeps/powerpc/Makefile: Moved ...
3603 * sysdeps/powerpc/nptl/Makefile: ... here.
3604 * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
3605 * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
3606 * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
3607 * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
3608 * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
3609 * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
3610 * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
3611 * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
3612 * nptl/sysdeps/powerpc/tls.h: Moved ...
3613 * sysdeps/powerpc/nptl/tls.h: ... here.
3614
91c03c53
JM
36152014-06-16 Joseph Myers <joseph@codesourcery.com>
3616
3617 [BZ #16681]
3618 * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
3619 * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
3620 * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
3621 * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
3622 * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
3623 * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
3624 * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
3625 * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
3626 * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
3627
a76e63c5
AS
36282014-06-17 Andreas Schwab <schwab@linux-m68k.org>
3629
3630 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
3631
f2f6d82f
AS
36322014-06-16 Andreas Schwab <schwab@linux-m68k.org>
3633
ea8a15f6
AS
3634 * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
3635 defined operator.
3636
f2f6d82f
AS
3637 * scripts/cross-test-ssh.sh (timeoutfactor): Default to
3638 $TIMEOUTFACTOR.
3639
a7291117
FW
36402014-06-16 Florian Weimer <fweimer@redhat.com>
3641
3642 [BZ #17058]
3643 * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
3644 non-executed part of the test.
3645
3d7c00e3
AS
36462014-06-16 Andreas Schwab <schwab@suse.de>
3647
3648 * string/bits/string2.h (strdup, strndup): Update feature guard.
3649
6957fb31
DM
36502014-06-14 David S. Miller <davem@davemloft.net>
3651
3652 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3653
11b9e55b
AS
36542014-06-14 Andreas Schwab <schwab@linux-m68k.org>
3655
1d2a0492
AS
3656 * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
3657 that was previously under [RESET_PID].
3658 * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
3659
11b9e55b
AS
3660 * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
3661 * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
3662 * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
3663 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
3664 (__libc_vfork): New strong alias.
3665 * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
3666
0f6901d0
AK
36672014-06-14 Andi Kleen <ak@linux.intel.com>
3668
3669 * sysdeps/generic/elide.h: New file.
3670
38bbbb9f
SL
36712014-06-13 Stefan Liebler <stli@linux.vnet.ibm.com>
3672
3673 * Makefile (installed-headers): Adjust path of pthread.h header.
3674
45193bb8
RM
36752014-06-13 Roland McGrath <roland@hack.frob.com>
3676
9a25fd1e
RM
3677 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
3678 * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
3679 * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
3680 * sysdeps/s390/nptl/bits/semaphore.h: ... here.
3681
4004f7e4
RM
3682 * nptl/sysdeps/s390/Makefile: Moved ...
3683 * sysdeps/s390/nptl/Makefile: ... here.
3684 * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
3685 * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
3686 * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
3687 * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
3688 * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
3689 * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
3690 * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
3691 * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
3692 * nptl/sysdeps/s390/pthreaddef.h: Moved ...
3693 * sysdeps/s390/nptl/pthreaddef.h: ... here.
3694 * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
3695 * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
3696 * nptl/sysdeps/s390/tls.h: Moved ...
3697 * sysdeps/s390/nptl/tls.h: ... here.
3698
45193bb8
RM
3699 * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
3700 * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
3701
f6fdf533
DM
37022014-06-13 David S. Miller <davem@davemloft.net>
3703
3704 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
3705 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
3706 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
3707 * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
3708 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
3709 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
3710 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
3711 * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
3712 * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
3713 * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
3714 * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
3715 Remove RESET_PID cpp guards.
3716 * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
3717 Remove RESET_PID cpp guards.
3718 * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
3719
f5d71e14
AS
37202014-06-13 Andreas Schwab <schwab@linux-m68k.org>
3721
3722 * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
3723 __sp to uintptr_t.
3724
b7aa8caa
AK
37252014-06-13 Andi Kleen <ak@linux.intel.com>
3726
4b266200
AZ
3727 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
3728 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
3729 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
3730 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
3731 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
3732 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
3733 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
3734 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
3735 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
3736 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
3737 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
3738 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
3739 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
3740 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
3741 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
3742 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
3743 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
3744 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
3745 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
3746 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
8491ed6d
AK
3747
3748 * nptl/pthread_rwlock_rdlock.c: Include elide.h.
4b266200
AZ
3749 (pthread_rwlock_rdlock): Add elision.
3750 * nptl/pthread_rwlock_wrlock.c: Include elide.h.
3751 (pthread_rwlock_wrlock): Add elision.
3752 * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
3753 (pthread_rwlock_trywrlock): Add elision.
3754 * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
3755 (pthread_rwlock_tryrdlock): Add elision.
3756 * nptl/pthread_rwlock_unlock.c: Include elide.h.
3757 (pthread_rwlock_tryrdlock): Add elision unlock.
3758 * nptl/sysdeps/pthread/pthread.h:
3759 (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
3760 (PTHREAD_RWLOCK_INITIALIZER,
3761 PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
3762 Handle new elision field.
3763 * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
3764 * sysdeps/arm/nptl/bits/pthreadtypes.h
3765 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
3766 * sysdeps/sh/nptl/bits/pthreadtypes.h
3767 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
3768 * sysdeps/tile/nptl/bits/pthreadtypes.h
3769 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
3770 * sysdeps/a/nptl/bits/pthreadtypes.h
3771 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
3772 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
3773 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
3774 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
3775 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
3776 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
3777 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
3778 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
3779 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
3780 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
3781 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
3782 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
3783 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
3784 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
3785 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
3786 * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
3787 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
3788 * sysdeps/unix/sysv/linux/x86/elision-conf.c:
3789 (elision_init): Set try_xbegin to zero when no RTM.
3790 * sysdeps/x86/nptl/bits/pthreadtypes.h
3791 (pthread_rwlock_t): Change __pad1 to __rwelision.
3792 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
8491ed6d 3793
a832bdd3
AK
37942014-06-13 Andi Kleen <ak@linux.intel.com>
3795
3796 * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
3797 Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
3798 * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
3799 Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
3800
995a46bb
MI
38012014-06-13 Meador Inge <meadori@codesourcery.com>
3802
3803 [BZ #16996]
03ed7738 3804 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
995a46bb
MI
3805 that the cached result has been set before returning it.
3806
45262aee
RM
38072014-06-12 Roland McGrath <roland@hack.frob.com>
3808
febf6cc5
RM
3809 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
3810 * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
3811 * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
3812 * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
3813 * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
3814 * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
3815
e2682246
RM
3816 * nptl/sysdeps/sparc/Makefile: Moved ...
3817 * sysdeps/sparc/nptl/Makefile: ... here.
3818 * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
3819 * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
3820 * nptl/sysdeps/sparc/tls.h: Moved ...
3821 * sysdeps/sparc/nptl/tls.h: ... here.
3822 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
3823 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
3824 * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
3825 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
3826 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
3827 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
3828 * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
3829 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
3830 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
3831 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
3832 * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
3833 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
3834 * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
3835 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
3836 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
3837 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
3838 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
3839 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
3840 Update #include.
3841 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
3842 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
3843 Update #include.
3844 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
3845 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
3846 Update #include.
3847 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
3848 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
3849 Update #include.
3850
b0725f43
RM
3851 * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
3852
b14368b8
RM
3853 * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
3854 * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
3855
c5620eb3
RM
3856 * sysdeps/pthread/posix-timer.h: Include <list.h>.
3857 (struct list_links): Type removed.
3858 (struct thread_node, struct timer_node): Replace struct list_links
3859 with struct list_head.
3860 (list_unlink_ip): Likewise.
3861 * sysdeps/pthread/timer_routines.c
3862 (timer_free_list, thread_free_list, thread_active_list): Likewise.
3863 (list_append, list_insbefore): Likewise.
3864 (list_init): Function removed.
3865 (thread_init, init_module): Use INIT_LIST_HEAD instead.
463dc947
RM
3866 * sysdeps/nptl/Makefile: Move tst-timer bits to ...
3867 * sysdeps/pthread/Makefile: ... here, new file.
3868
3869 * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
3870 * sysdeps/nptl/Implies: ... here.
3871 * sysdeps/unix/sysv/linux/Implies: Add nptl.
3872 * nptl/sysdeps/pthread/list.h: Moved ...
3873 * include/list.h: ... here.
3874 * nptl/sysdeps/pthread/createthread.c: Moved ...
3875 * nptl/createthread.c: ... here.
3876 * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
3877 * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
3878 * nptl/pt-longjmp.c: ... here.
3879 * nptl/sysdeps/pthread/Makefile: Moved ...
3880 * sysdeps/nptl/Makefile: ... here.
3881 * nptl/sysdeps/pthread/Subdirs: Moved ...
3882 * sysdeps/nptl/Subdirs: ... here.
3883 * nptl/sysdeps/pthread/aio_misc.h: Moved ...
3884 * sysdeps/nptl/aio_misc.h: ... here.
3885 * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
3886 * sysdeps/nptl/bits/libc-lock.h: ... here.
3887 * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
3888 * sysdeps/nptl/bits/libc-lockP.h: ... here.
3889 * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
3890 * sysdeps/nptl/bits/stdio-lock.h: ... here.
3891 * nptl/sysdeps/pthread/configure: Moved ...
3892 * sysdeps/nptl/configure: ... here.
3893 * nptl/sysdeps/pthread/configure.ac: Moved ...
3894 * sysdeps/nptl/configure.ac: ... here.
3895 * nptl/sysdeps/pthread/gai_misc.h: Moved ...
3896 * sysdeps/nptl/gai_misc.h: ... here.
3897 * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
3898 * sysdeps/nptl/librt-cancellation.c: ... here.
3899 * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
3900 * sysdeps/nptl/malloc-machine.h: ... here.
3901 * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
3902 * sysdeps/nptl/pthread-functions.h: ... here.
3903 * nptl/sysdeps/pthread/pthread.h: Moved ...
3904 * sysdeps/nptl/pthread.h: ... here.
3905 * nptl/sysdeps/pthread/setxid.h: Moved ...
3906 * sysdeps/nptl/setxid.h: ... here.
3907 * nptl/sysdeps/pthread/sigfillset.c: Moved ...
3908 * sysdeps/nptl/sigfillset.c: ... here.
3909 * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
3910 * sysdeps/nptl/tcb-offsets.h: ... here.
3911 * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
3912 * sysdeps/nptl/tst-mqueue8x.c: ... here.
3913 * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
3914 * sysdeps/nptl/unwind-forcedunwind.c: ... here.
3915 * nptl/sysdeps/pthread/allocalim.h: Moved ...
3916 * sysdeps/pthread/allocalim.h: ... here.
3917 * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
3918 * sysdeps/pthread/bits/sigthread.h: ... here.
3919 * nptl/sysdeps/pthread/flockfile.c: Moved ...
3920 * sysdeps/pthread/flockfile.c: ... here.
3921 * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
3922 * sysdeps/pthread/ftrylockfile.c: ... here.
3923 * nptl/sysdeps/pthread/funlockfile.c: Moved ...
3924 * sysdeps/pthread/funlockfile.c: ... here.
3925 * nptl/sysdeps/pthread/posix-timer.h: Moved ...
3926 * sysdeps/pthread/posix-timer.h: ... here.
3927 * nptl/sysdeps/pthread/timer_create.c: Moved ...
3928 * sysdeps/pthread/timer_create.c: ... here.
3929 * nptl/sysdeps/pthread/timer_delete.c: Moved ...
3930 * sysdeps/pthread/timer_delete.c: ... here.
3931 * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
3932 * sysdeps/pthread/timer_getoverr.c: ... here.
3933 * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
3934 * sysdeps/pthread/timer_gettime.c: ... here.
3935 * nptl/sysdeps/pthread/timer_routines.c: Moved ...
3936 * sysdeps/pthread/timer_routines.c: ... here.
3937 * nptl/sysdeps/pthread/timer_settime.c: Moved ...
3938 * sysdeps/pthread/timer_settime.c: ... here.
3939 * nptl/sysdeps/pthread/tst-timer.c: Moved ...
3940 * sysdeps/pthread/tst-timer.c: ... here.
3941 * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
3942 * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
3943
e876b090
RM
3944 * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
3945 * nptl/sysdeps/pthread/sigprocmask.c: File removed.
3946
f6b07b3d
RM
3947 * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
3948 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
3949 * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
3950 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
3951 Update #include target.
3952 * nptl/sysdeps/i386/i686/Makefile: Moved ...
3953 * sysdeps/i386/i686/nptl/Makefile: ... here.
3954 * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
3955 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
3956 Update #include target.
3957 * nptl/sysdeps/i386/i686/tls.h: Moved ...
3958 * sysdeps/i386/i686/nptl/tls.h: ... here. Use #include_next.
3959 * nptl/sysdeps/i386/Makefile: Moved ...
3960 * sysdeps/i386/nptl/Makefile: ... here.
3961 * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
3962 * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
3963 * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
3964 * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
3965 * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
3966 * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
3967 * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
3968 * nptl/sysdeps/i386/pthreaddef.h: Moved ...
3969 * sysdeps/i386/nptl/pthreaddef.h: ... here.
3970 * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
3971 * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
3972 * nptl/sysdeps/i386/tls.h: Moved ...
3973 * sysdeps/i386/nptl/tls.h: ... here.
3974
45262aee
RM
3975 * sysdeps/sh/Makefile [$(subdir) = csu]
3976 (gen-as-const-headers): Add tcb-offsets.sym.
3977 * nptl/sysdeps/sh/Makefile: File removed.
3978 * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
3979 * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
3980 * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
3981 * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
3982 * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
3983 * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
3984 * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
3985 * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
3986 * nptl/sysdeps/sh/pthreaddef.h: Moved ...
3987 * sysdeps/sh/nptl/pthreaddef.h: ... here.
3988 * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
3989 * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
3990 * nptl/sysdeps/sh/tls.h: Moved ...
3991 * sysdeps/sh/nptl/tls.h: ... here.
3992 * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
3993 * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
3994 * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
3995 * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
3996 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
3997 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
3998 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
3999 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
4000 * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
4001 * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
4002 * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
4003 * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
4004 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
4005 * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
4006 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
4007 * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
4008 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
4009 * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
4010 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
4011 * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
4012 * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
4013 * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
4014 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
4015 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
4016 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
4017 Moved ...
4018 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
4019 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
4020 Moved ...
4021 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
4022 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
4023 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
4024 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
4025 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
4026 * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
4027 * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
4028 * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
4029 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
4030 * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
4031 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
4032 * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
4033 * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
4034 * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
4035 * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
4036 * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
4037 * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
4038 * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
4039 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
4040
35a5e3e3
SL
40412014-06-12 Stefan Liebler <stli@linux.vnet.ibm.com>
4042
4043 * posix/spawn_faction_addopen.c: Include string.h.
4044
14642b85
RM
40452014-06-11 Roland McGrath <roland@hack.frob.com>
4046
4047 * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
4048 * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
4049 * nptl/sysdeps/x86_64/Makefile: Moved ...
4050 * sysdeps/x86_64/nptl/Makefile: ... here.
4051 * nptl/sysdeps/x86_64/configure: Moved ...
4052 * sysdeps/x86_64/nptl/configure: ... here.
4053 * nptl/sysdeps/x86_64/configure.ac: Moved ...
4054 * sysdeps/x86_64/nptl/configure.ac: ... here.
4055 * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
4056 * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
4057 * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
4058 * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
4059 * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
4060 * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
4061 * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
4062 * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
4063 * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
4064 * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
4065 * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
4066 * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
4067 * nptl/sysdeps/x86_64/tls.h: Moved ...
4068 * sysdeps/x86_64/nptl/tls.h: ... here.
4069 * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
4070 * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
4071 * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
4072 * sysdeps/x86_64/x32/nptl/tls.h: ... here.
4073
4074 * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
4075
31c44fea
AZ
40762014-06-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4077
4078 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4079
e81a4f9a
JM
40802014-06-11 Joseph Myers <joseph@codesourcery.com>
4081
4082 * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
4083 type.
4084 [POSIX] (off_t): Likewise.
4085 * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
4086 [POSIX] (S_ISBLK): Require macro.
4087 [POSIX] (S_ISCHR): Likewise.
4088 [POSIX] (S_ISDIR): Likewise.
4089 [POSIX] (S_ISFIFO): Likewise.
4090 [POSIX] (S_ISREG): Likewise.
4091 [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
4092 optional-macro.
4093 * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
4094 type.
4095 [POSIX] (time_t): Likewise.
4096 [POSIX] (timer_t): Likewise.
4097
89e435f3
FW
40982014-06-11 Florian Weimer <fweimer@redhat.com>
4099
4100 [BZ #17048]
4101 * posix/spawn_int.h (struct __spawn_action): Make the path string
4102 non-const to support deallocation.
4103 * posix/spawn_faction_addopen.c
4104 (posix_spawn_file_actions_addopen): Make a copy of the pathname.
4105 * posix/spawn_faction_destroy.c
4106 (posix_spawn_file_actions_destroy): Adjust comment. Deallocate
4107 path in all spawn_do_open actions.
4108 * posix/tst-spawn.c (do_test): Exercise the copy operation in
4109 posix_spawn_file_actions_addopen.
4110
c3a2ebe1
CM
41112014-06-11 Chris Metcalf <cmetcalf@tilera.com>
4112
4113 * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
4114 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
4115 * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
4116 conditional code always true.
4117 (__libc_vfork): New alias.
4118
9503784a
RM
41192014-06-11 Roland McGrath <roland@hack.frob.com>
4120
c9cab3d2
RM
4121 * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
4122 * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
4123
d3996c79
RM
4124 * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
4125
ba5ec611
RM
4126 * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
4127 * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
4128
f12b4814
RM
4129 * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
4130 * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
4131
9503784a
RM
4132 * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
4133 * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
4134
e23d3d26
VR
41352014-06-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
4136
4137 * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
4138 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
4139 multiarch strcmp for PPC64.
4140 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
4141 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
4142 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
4143 multiarch optimizations.
4144 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
4145 (__libc_ifunc_impl_list): Likewise.
4146
42b1161e
SP
41472014-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
4148
4149 * benchtests/scripts/validate_benchout.py: New script.
4150 * benchtests/Makefile (bench-func): Call it.
4151 * benchtests/scripts/benchout.schema.json: New file.
4152
2d0fc4dc
CM
41532014-06-10 Chris Metcalf <cmetcalf@tilera.com>
4154
4a594c34
AZ
4155 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
4156 * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
4157 * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
4158 * sysdeps/tile/nptl/bits/semaphore.h: ... here.
4159 * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
4160 * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
4161 * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
4162 * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
4163 * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
4164 * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
4165 * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
4166 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
4167 * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
4168 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
4169 * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
4170 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
4171 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
2d0fc4dc 4172 Moved ...
4a594c34 4173 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
2d0fc4dc 4174 ... here.
4a594c34 4175 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
2d0fc4dc 4176 Moved ...
4a594c34
AZ
4177 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
4178 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
2d0fc4dc 4179 Moved ...
4a594c34 4180 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
2d0fc4dc 4181 ... here.
4a594c34 4182 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
2d0fc4dc 4183 Moved ...
4a594c34 4184 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
2d0fc4dc 4185 ... here.
4a594c34 4186 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
2d0fc4dc 4187 Moved ...
4a594c34
AZ
4188 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
4189 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
2d0fc4dc 4190 Moved ...
4a594c34 4191 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
2d0fc4dc 4192 ... here.
4a594c34 4193 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
2d0fc4dc 4194 Moved ...
4a594c34 4195 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
2d0fc4dc 4196 ... here.
4a594c34 4197 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
2d0fc4dc 4198 Moved ...
4a594c34
AZ
4199 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
4200 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
2d0fc4dc 4201 Moved ...
4a594c34 4202 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
2d0fc4dc 4203 ... here.
4a594c34 4204 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
2d0fc4dc 4205 Moved ...
4a594c34 4206 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
2d0fc4dc 4207 ... here.
4a594c34 4208 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
2d0fc4dc 4209 Moved ...
4a594c34 4210 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
2d0fc4dc 4211 ... here.
4a594c34 4212 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
2d0fc4dc 4213 Moved ...
4a594c34
AZ
4214 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
4215 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
2d0fc4dc 4216 Moved ...
4a594c34 4217 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
2d0fc4dc 4218 ... here.
4a594c34 4219 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
2d0fc4dc 4220 Moved ...
4a594c34 4221 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
2d0fc4dc 4222 ... here.
4a594c34 4223 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
2d0fc4dc 4224 Moved ...
4a594c34 4225 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
2d0fc4dc 4226 ... here.
4a594c34 4227 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
2d0fc4dc 4228 Moved ...
4a594c34
AZ
4229 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
4230 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
2d0fc4dc 4231 Moved ...
4a594c34 4232 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
2d0fc4dc 4233 ... here.
4a594c34 4234 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
2d0fc4dc 4235 Moved ...
4a594c34 4236 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
2d0fc4dc 4237 ... here.
4a594c34 4238 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
2d0fc4dc 4239 Moved ...
4a594c34
AZ
4240 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
4241 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
2d0fc4dc 4242 Moved ...
4a594c34 4243 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
2d0fc4dc 4244 ... here.
4a594c34 4245 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
2d0fc4dc 4246 Moved ...
4a594c34
AZ
4247 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
4248 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
2d0fc4dc 4249 Moved ...
4a594c34
AZ
4250 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
4251 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
2d0fc4dc 4252 Moved ...
4a594c34 4253 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
2d0fc4dc 4254 ... here.
4a594c34 4255 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
2d0fc4dc 4256 Moved ...
4a594c34 4257 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
2d0fc4dc 4258 ... here.
4a594c34 4259 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
2d0fc4dc 4260 Moved ...
4a594c34 4261 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
2d0fc4dc 4262 ... here.
4a594c34 4263 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
2d0fc4dc 4264 Moved ...
4a594c34
AZ
4265 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
4266 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
2d0fc4dc 4267 Moved ...
4a594c34 4268 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
2d0fc4dc 4269 ... here.
4a594c34 4270 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
2d0fc4dc 4271 Moved ...
4a594c34 4272 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
2d0fc4dc 4273 ... here.
4a594c34
AZ
4274 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
4275 * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
4276 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
4277 * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
4278 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
2d0fc4dc 4279 Moved ...
4a594c34 4280 * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
2d0fc4dc 4281 ... here.
4a594c34
AZ
4282 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
4283 * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
4284 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
4285 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
4286 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
4287 * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
4288 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
4289 * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
4290 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
4291 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
4292 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
4293 * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
4294 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
2d0fc4dc 4295 Moved ...
4a594c34
AZ
4296 * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
4297 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
2d0fc4dc 4298 Moved ...
4a594c34
AZ
4299 * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
4300 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
4301 * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
4302 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
2d0fc4dc 4303 Moved ...
4a594c34
AZ
4304 * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
4305 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
4306 * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
4307 * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
4308 * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
4309 * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
4310 * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
2d0fc4dc 4311
0570cfed
W
43122014-06-10 Wilco <wdijkstr@arm.com>
4313
4314 * math/test-fenv-return.c: New file.
4315 * math/Makefile: Add new test test-fenv-return.
4316
f8ba1b56
JM
43172014-06-10 Joseph Myers <joseph@codesourcery.com>
4318
4319 [BZ #17042]
4320 * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
4321 when x - 1 is zero.
4322 * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
4323 * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
4324 * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
4325 0.0L for an argument of 1.0L.
4326 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
4327 Likewise.
4328 * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
4329 value when x - 1 is zero.
4330 * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
4331 * sysdeps/i386/fpu/libm-test-ulps: Update.
4332 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4333
2c3520d9
BO
43342014-06-09 Bernard Ogden <bernie.ogden@linaro.org>
4335
4336 [BZ #15119]
4337 * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
4338
acaa4d24
RM
43392014-06-09 Roland McGrath <roland@hack.frob.com>
4340
4341 * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
4342 * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
4343
962b744d
RM
43442014-06-09 Roland McGrath <roland@hack.frob.com>
4345
d752f0cc
RM
4346 * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
4347 * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
4348
34eda6d1
RM
4349 * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
4350 * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
4351
50f0a637
RM
4352 * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
4353 * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
4354
08f41f04
RM
4355 * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
4356 * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
4357
962b744d
RM
4358 * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
4359 if not already defined.
4360 (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
4361 * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
4362 * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
4363 (TLS_INIT_TP): Use it.
4364 (TLS_DEFINE_INIT_TP): New macro.
4365 * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
4366
09f19b05
JM
43672014-06-09 Joseph Myers <joseph@codesourcery.com>
4368
4369 * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
4370 constant.
4371 [POSIX] (IXANY): Likewise.
4372 [POSIX] (OLCUC): Likewise.
4373 [POSIX || POSIX2008] (CBAUD): Do not allow.
4374 [POSIX || POSIX2008] (DEFECHO): Likewise.
4375 [POSIX || POSIX2008] (ECHOCTL): Likewise.
4376 [POSIX || POSIX2008] (ECHOKE): Likewise.
4377 [POSIX || POSIX2008] (ECHOPRT): Likewise.
4378 [POSIX || POSIX2008] (EXTA): Likewise.
4379 [POSIX || POSIX2008] (EXTB): Likewise.
4380 [POSIX || POSIX2008] (FLUSHO): Likewise.
4381 [POSIX || POSIX2008] (LOBLK): Likewise.
4382 [POSIX || POSIX2008] (PENDIN): Likewise.
4383 [POSIX || POSIX2008] (SWTCH): Likewise.
4384 [POSIX || POSIX2008] (VDISCARD): Likewise.
4385 [POSIX || POSIX2008] (VDSUSP): Likewise.
4386 [POSIX || POSIX2008] (VLNEXT): Likewise.
4387 [POSIX || POSIX2008] (VREPRINT): Likewise.
4388 [POSIX || POSIX2008] (VSTATUS): Likewise.
4389 [POSIX || POSIX2008] (VWERASE): Likewise.
4390 (B*): Change to B[0123456789]*.
4391 * conform/data/time.h-data [POSIX || UNIX98]
4392 (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
4393 [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
4394 [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
4395 [POSIX] (tm_*): Do not allow.
4396
686554bf
JM
43972014-06-07 Joseph Myers <joseph@codesourcery.com>
4398
4399 * Makefile (install): Don't set LANGUAGE.
4400 * Makefile.in (install): Likewise.
4401 * assert/Makefile (test-assert-ENV): Remove variable.
4402 (test-assert-perr-ENV): Likewise.
4403 * elf/Makefile (neededtest4-ENV): Likewise.
4404 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
4405 [$(cross-compiling) = no]: Don't set LANGUAGE.
4406 * io/ftwtest-sh (LANG): Remove variable.
4407 * libio/Makefile (tst-widetext-ENV): Likewise.
4408 * manual/install.texi (Running make install): Don't refer to
4409 environment settings for make install.
4410 * INSTALL: Regenerated.
4411 * nptl/tst-tls6.sh: Don't set LANG.
4412 * posix/globtest.sh (LANG): Remove variable.
4413 * string/Makefile (tester-ENV): Likewise.
4414 (inl-tester-ENV): Likewise.
4415 (noinl-tester-ENV): Likewise.
4416 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
4417 [$(cross-compiling) = no]: Don't set LANGUAGE.
4418 * timezone/Makefile (build-testdata): Use $(built-program-cmd)
4419 without explicit environment settings.
4420
68e6b6b1
RM
44212014-06-06 Roland McGrath <roland@hack.frob.com>
4422
4423 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
4424 * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
4425 * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
4426 * sysdeps/sh/nptl/bits/semaphore.h: ... here.
4427
4d3ae034
CM
44282014-06-06 Chris Metcalf <cmetcalf@tilera.com>
4429
4430 * crypt/crypt-private.h [DOS]: Add some includes taken from the
4431 other files in the crypt directory.
4432 * crypt/crypt.c: Remove duplicate includes.
4433 * crypt/crypt-entry.c: Likewise.
4434 * crypt/crypt_util.c: Likewise.
4435
8540f6d2
JM
44362014-06-06 Joseph Myers <joseph@codesourcery.com>
4437
4438 * Makeconfig (run-program-env): New variable.
4439 (run-program-prefix-before-env): Likewise.
4440 (run-program-prefix-after-env): Likewise.
4441 (run-program-prefix): Define in terms of new variables.
4442 (built-program-cmd-before-env): New variable.
4443 (built-program-cmd-after-env): Likewise.
4444 (built-program-cmd): Define in terms of new variables.
4445 (test-program-prefix-before-env): New variable.
4446 (test-program-prefix-after-env): Likewise.
4447 (test-program-prefix): Define in terms of new variables.
4448 (test-program-cmd-before-env): New variable.
4449 (test-program-cmd-after-env): Likewise.
4450 (test-program-cmd): Define in terms of new variables.
4451 * Rules (make-test-out): Use $(run-program-env).
4452 * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
4453 (help): Do not mention environment variables. Mention
4454 --timeoutfactor option.
4455 (timeoutfactor): New variable.
4456 (blacklist_exports): Remove function.
4457 (exports): Remove variable.
4458 (command): Do not include ${exports}.
4459 * manual/install.texi (Configuring and compiling): Do not mention
4460 test wrappers preserving environment variables. Mention that last
4461 assignment to a variable must take precedence.
4462 * INSTALL: Regenerated.
4463 * benchtests/Makefile (run-bench): Use $(run-program-env).
4464 * catgets/Makefile ($(objpfx)test1.cat): Use
4465 $(built-program-cmd-before-env), $(run-program-env) and
4466 $(built-program-cmd-after-env).
4467 ($(objpfx)test2.cat): Do not specify environment variables
4468 explicitly.
4469 ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
4470 $(run-program-env) and $(built-program-cmd-after-env).
4471 ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
4472 $(run-program-env) and $(test-program-cmd-after-env).
4473 ($(objpfx)sample.SJIS.cat): Do not specify environment variables
4474 explicitly.
4475 * catgets/test-gencat.sh: Use test_program_cmd_before_env,
4476 run_program_env and test_program_cmd_after_env arguments.
4477 * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
4478 * elf/tst-pathopt.sh: Use run_program_env argument.
4479 * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
4480 $(test-wrapper-env) and $(run-program-env).
4481 * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
4482 run_program_env arguments.
4483 * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
4484 * intl/Makefile ($(objpfx)tst-gettext.out): Use
4485 $(test-program-prefix-before-env), $(run-program-env) and
4486 $(test-program-prefix-after-env).
4487 ($(objpfx)tst-gettext2.out): Likewise.
4488 * intl/tst-gettext.sh: Use test_program_prefix_before_env,
4489 run_program_env and test_program_prefix_after_env arguments.
4490 * intl/tst-gettext2.sh: Likewise.
4491 * intl/tst-gettext4.sh: Do not set environment variables
4492 explicitly.
4493 * intl/tst-gettext6.sh: Likewise.
4494 * intl/tst-translit.sh: Likewise.
4495 * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
4496 $(test-program-prefix-before-env), $(run-program-env) and
4497 $(test-program-prefix-after-env).
4498 * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
4499 run_program_env and test_program_prefix_after_env arguments.
4500 * math/Makefile (run-regen-ulps): Use $(run-program-env).
4501 * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
4502 * nptl/tst-tls6.sh: Use run_program_env argument. Set LANG=C
4503 explicitly with each use of ${test_wrapper_env}.
4504 * posix/Makefile ($(objpfx)wordexp-tst.out): Use
4505 $(test-program-prefix-before-env), $(run-program-env) and
4506 $(test-program-prefix-after-env).
4507 * posix/tst-getconf.sh: Do not set environment variables
4508 explicitly.
4509 * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
4510 run_program_env and test_program_prefix_after_env arguments.
4511 * stdio-common/tst-printf.sh: Do not set environment variables
4512 explicitly.
4513 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
4514 $(test-program-prefix-before-env), $(run-program-env) and
4515 $(test-program-prefix-after-env).
4516 * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
4517 run_program_env and test_program_prefix_after_env arguments.
4518 Split $test calls into $test_pre and $test.
4519 * timezone/Makefile (build-testdata): Use
4520 $(built-program-cmd-before-env), $(run-program-env) and
4521 $(built-program-cmd-after-env).
4522
ed36bfa1
AZ
45232014-06-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4524
4525 * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
4526 strlen for non SHARED builds.
4527
fc75bf46
SP
45282014-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
4529
4530 * nptl/allocatestack.c (check_list): Inlined function...
4531 (__reclaim_stacks): ... here.
4532
d89b3d80
OB
45332014-06-05 Ondřej Bílka <neleai@seznam.cz>
4534
4535 [BZ #15698]
4536 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
4537 memory overrun.
4538
2bf18041
JM
45392014-06-05 Joseph Myers <joseph@codesourcery.com>
4540
4541 * Rules (make-test-out): Include
4542 LOCPATH=$(common-objpfx)localedata in default environment.
4543 * debug/Makefile (tst-chk1-ENV): Remove variable.
4544 (tst-chk2-ENV): Likewise.
4545 (tst-chk3-ENV): Likewise.
4546 (tst-chk4-ENV): Likewise.
4547 (tst-chk5-ENV): Likewise.
4548 (tst-chk6-ENV): Likewise.
4549 (tst-lfschk1-ENV): Likewise.
4550 (tst-lfschk2-ENV): Likewise.
4551 (tst-lfschk3-ENV): Likewise.
4552 (tst-lfschk4-ENV): Likewise.
4553 (tst-lfschk5-ENV): Likewise.
4554 (tst-lfschk6-ENV): Likewise.
4555 * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
4556 (tst-iconv7-ENV): Likewise.
4557 * intl/Makefile (LOCPATH-ENV): Likewise.
4558 (tst-codeset-ENV): Likewise.
4559 (tst-gettext3-ENV): Likewise.
4560 (tst-gettext5-ENV): Likewise.
4561 * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
4562 (tst-fopenloc-ENV): Likewise.
4563 (tst-fgetws-ENV): Remove variable.
4564 (tst-ungetwc1-ENV): Likewise.
4565 (tst-ungetwc2-ENV): Likewise.
4566 (bug-ungetwc2-ENV): Likewise.
4567 (tst-swscanf-ENV): Likewise.
4568 (bug-ftell-ENV): Likewise.
4569 (tst-fgetwc-ENV): Likewise.
4570 (tst-fseek-ENV): Likewise.
4571 (tst-ftell-partial-wide-ENV): Likewise.
4572 (tst-ftell-active-handler-ENV): Likewise.
4573 (tst-ftell-append-ENV): Likewise.
4574 * posix/Makefile (tst-fnmatch-ENV): Likewise.
4575 (tst-regexloc-ENV): Likewise.
4576 (bug-regex1-ENV): Likewise.
4577 (tst-regex-ENV): Likewise.
4578 (tst-regex2-ENV): Likewise.
4579 (bug-regex5-ENV): Likewise.
4580 (bug-regex6-ENV): Likewise.
4581 (bug-regex17-ENV): Likewise.
4582 (bug-regex18-ENV): Likewise.
4583 (bug-regex19-ENV): Likewise.
4584 (bug-regex20-ENV): Likewise.
4585 (bug-regex22-ENV): Likewise.
4586 (bug-regex23-ENV): Likewise.
4587 (bug-regex25-ENV): Likewise.
4588 (bug-regex26-ENV): Likewise.
4589 (bug-regex30-ENV): Likewise.
4590 (bug-regex32-ENV): Likewise.
4591 (bug-regex33-ENV): Likewise.
4592 (bug-regex34-ENV): Likewise.
4593 (bug-regex35-ENV): Likewise.
4594 (tst-rxspencer-ENV): Likewise.
4595 (tst-rxspencer-no-utf8-ENV): Likewise.
4596 * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
4597 (tst-sscanf-ENV): Likewise.
4598 (tst-swprintf-ENV): Likewise.
4599 (tst-swscanf-ENV): Likewise.
4600 (test-vfprintf-ENV): Likewise.
4601 (scanf13-ENV): Likewise.
4602 (bug14-ENV): Likewise.
4603 (tst-grouping-ENV): Likewise.
4604 * stdlib/Makefile (tst-strtod-ENV): Likewise.
4605 (tst-strtod3-ENV): Likewise.
4606 (tst-strtod4-ENV): Likewise.
4607 (tst-strtod5-ENV): Likewise.
4608 (testmb2-ENV): Likewise./
4609 * string/Makefile (tst-strxfrm-ENV): Likewise.
4610 (tst-strxfrm2-ENV): Likewise.
4611 (bug-strcoll1-ENV): Likewise.
4612 (test-strcasecmp-ENV): Likewise.
4613 (test-strncasecmp-ENV): Likewise.
4614 * time/Makefile (tst-strptime-ENV): Likewise.
4615 (tst-ftime_l-ENV): Likewise.
4616 * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
4617 (tst-mbrtowc-ENV): Likewise.
4618 (tst-wcrtomb-ENV): Likewise.
4619 (tst-mbrtowc2-ENV): Likewise.
4620 (tst-c16c32-1-ENV): Likewise.
4621 (tst-mbsnrtowcs-ENV): Likewise.
4622
cd1fb604
OB
46232014-06-05 Ondřej Bílka <neleai@seznam.cz>
4624
4625 * manual/resource.texi (How to get information about the memory
4626 subsystem?): Fix typo.
4627 Reported by Peon de la Parra Ivan <peon@keba.com>
4628
b42eca7d
GY
46292014-06-03 Guo Yixuan <culu.gyx@gmail.com>
4630
4631 [BZ #16882]
4632 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
4633 (pthread_spin_lock): Branch out of spin loop to proper location.
4634 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
4635 (pthread_spin_lock): Likewise.
4636
902b71f9
DM
4637 * nptl/tst-spin4.c: New test.
4638 * nptl/Makefile (tests): Add tst-spin4.
4639
f9d2d032
AS
46402014-06-03 Andreas Schwab <schwab@suse.de>
4641
4642 [BZ #15946]
4643 * resolv/res_send.c (send_dg): Reload file descriptor after
4644 calling reopen.
4645
cf7bfd28
SL
46462014-06-03 Stefan Liebler <stli@linux.vnet.ibm.com>
4647
4648 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
4649
111cc714
RH
46502014-06-03 Richard Henderson <rth@redhat.com>
4651
89b4bd6b
RH
4652 * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
4653 * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
4654 * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
4655 SAVE_PID and RESTORE_PID blocks from pt-vfork.S. Map 0 to INT_MIN
4656 in the SAVE_PID block.
4657 (__libc_vfork): New alias.
71840409 4658 * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
89b4bd6b 4659
111cc714
RH
4660 * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
4661 child in registers, not on the stack. Remove RESET_PID conditionals.
4662 * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
4663
ccc39911
MS
46642014-06-03 Marcus Shawcroft <marcus.shawcroft@arm.com>
4665
4666 * sysdeps/aarch64/libm-test-ulps: Regenerate.
4667
693096cc
W
46682014-06-03 Wilco <wdijkstr@arm.com>
4669
4670 * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
4671 (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
4672 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
4673 Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
4674 * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
4675 Likewise.
4676
0b4366bc
W
46772014-06-03 Wilco <wdijkstr@arm.com>
4678
4679 * sysdeps/aarch64/fpu/math_private.h
4680 (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
4681 (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
4682 (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
4683 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
4684 Fix declarations.
4685
8747cd03
KS
46862014-06-03 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
4687
4688 * crypt/crypt-private.h: Include ufc-crypt.h.
4689 (__b64_from_24bit): Declare extern.
4690 * crypt/crypt_util.c(__b64_from_24bit): New function.
4691 (b64t): New static const variable.
4692 * crypt/md5-crypt.c (b64_from_24bit): Remove function.
4693 (b64t): Remove variable.
4694 (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
4695 * crypt/sha256-crypt.c: Include crypt-private.h.
4696 (b64t): Remove variable.
4697 (__sha256_crypt_r): Remove b64_from_24bit and replace
4698 with __b64_from_24bit.
4699 * crypt/sha512-crypt.c: Likewise.
4700
d936d379
RM
47012014-06-02 Roland McGrath <roland@hack.frob.com>
4702
4703 * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
4704 * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
4705 Label the code __libc_vfork rather than __vfork.
4706 [!NOT_IN_libc] (vfork): Define as weak alias.
4707 [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
4708 * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
4709 * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
4710
9fa76613
SP
47112014-06-02 Siddhesh Poyarekar <siddhesh@redhat.com>
4712
4713 * malloc/malloc.c (malloc_info): Fix format specifier for
4714 n_mmaps.
4715
a88dadbe
W
47162014-06-02 Wilco <wdijkstr@arm.com>
4717
4718 * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
4719 FPCR write.
4720
c95b3011
W
47212014-06-02 Wilco <wdijkstr@arm.com>
4722
4723 [BZ #17009]
4724 * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
4725 Rewrite to reduce FPCR/FPSR accesses.
4726
6b4d7a90
DM
47272014-06-01 David S. Miller <davem@davemloft.net>
4728
4729 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4730
30f3d07c
DM
47312014-05-31 David S. Miller <davem@davemloft.net>
4732
4733 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
4734 to occur in round to nearest mode when |x| >= 2.0
4735
74f31c18
RH
47362014-05-30 Richard Henderson <rth@twiddle.net>
4737
f0712b54
RH
4738 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
4739 (PSEUDO_RET_NOERRNO): Remove.
4740 (ret): Don't redefine.
4741 (ret_NOERRNO): Define in terms of ret.
4742 (ret_ERRVAL): Likewise.
4743
74f31c18
RH
4744 * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
4745 use of PSEUDO_RET; perform the error check directly.
4746
30477995
MM
47472014-05-30 Marko Myllynen <myllynen@redhat.com>
4748
4749 * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
4750 with __int128_t.
4751
62a58816
SP
47522014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
4753
4754 * malloc/malloc (malloc_info): Fix formatting.
4755
4d653a59
SP
47562014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
4757 Roland McGrath <roland@hack.frob.com>
4758
4759 * malloc/malloc (malloc_info): Also print mmapped statistics.
4760
5190c17f
RM
47612014-05-30 Roland McGrath <roland@hack.frob.com>
4762
4763 * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
4764 * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
4765
987c0269
OB
47662014-05-30 Ondřej Bílka <neleai@seznam.cz>
4767
4768 * malloc/malloc.c (malloc_info): Inline mi_arena.
4769
af4e8ef9
RH
47702014-05-29 Richard Henderson <rth@twiddle.net>
4771
1670e207
RH
4772 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
4773 Remove comma before expanding ASM_ARGS_##nr.
4774 (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
4775 Make _x0 a strict output; make _x8 a strict input; adjust expansion
4776 of ASM_ARGS_##nr.
4777 (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
4778 (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
4779 (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
4780 (ASM_ARGS_1): Add leading comma.
4781
11a28aee
RH
4782 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
4783 (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
4784 to __errno_location.
4785 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
4786 Remove the expected plt for __errno_location.
4787
a17e5ffb 4788 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
11a28aee 4789 [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
a17e5ffb
RH
4790 call to __read_tp.
4791
b5be4597
RH
4792 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
4793 Always allocate 64 bytes of stack frame. Use ldp/stp to create
4794 it and break it down.
4795 (DOCARGS_0, DOCARGS_1): Do nothing.
4796 (DOCARGS_2): Update to store into the new stack frame.
4797 (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
4798 (UNDOCARGS_1): Update to restore from the new stack frame.
4799 (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
4800 (UNDOCARGS_5, UNDOCARGS_6): Likewise.
4801
645d44ab
RH
4802 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
4803 (SINGLE_THREAD_P): New parameter for result regno.
4804 (PSEUDO): Update to match; use cbz instead of beq.
4805
a8b4f04a
RH
4806 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
4807 Use ENTRY to define the _nocancel entry point. Share the syscall
4808 and syscall error check paths with the cancel path.
4809 (PSEUDO_END): New.
4810
af4e8ef9
RH
4811 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
4812 whitespace; tabs before and after asm mnemonics.
4813
26b0d2e1
EW
48142014-05-29 Eric Wong <normalperson@yhbt.net>
4815
4816 [BZ #15132]
4817 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
4818 Call fstat64 or stat64 internally, depending on arguments passed.
4819 Replace stat buffer argument with file descriptor argument.
4820 (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
4821 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
4822 Pass fd to __internal_statvfs instead of calling fstat64.
4823 * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
4824 Pass fd to __internal_statvfs64 instead of calling fstat64.
4825 * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
4826 Pass -1 to __internal_statvfs instead of calling stat64.
4827 * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
4828 Pass -1 to __internal_statvfs64 instead of calling stat64.
4829
1efe2bd9
RM
48302014-05-28 Roland McGrath <roland@hack.frob.com>
4831
0d3b7a19
RM
4832 * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
4833 that was previously under [RESET_PID].
4834 * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
4835
1efe2bd9
RM
4836 * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
4837 * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
4838
a6bea3ca
RM
48392014-05-27 Roland McGrath <roland@hack.frob.com>
4840
30b6629e
RM
4841 * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
4842
a6bea3ca
RM
4843 * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
4844 * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
4845
3dfb9a5c
OB
48462014-05-27 Ondřej Bílka <neleai@seznam.cz>
4847
4848 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
4849
774f9285
AS
48502014-05-27 Andreas Schwab <schwab@suse.de>
4851
4852 * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
4853 TLS_INIT_TP macro.
4854 * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
4855 * elf/rtld.c (init_tls, dl_main): Likewise.
4856 * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
4857 * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
4858 * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
4859 * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
4860 * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
4861 * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
4862 * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
4863 * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
4864 * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
4865 * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
4866 * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
4867 * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
4868 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
4869 * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
4870 * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
4871 * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
4872 * sysdeps/generic/tls.h: Update description.
4873
36ffe739
WN
48742014-05-27 Will Newton <will.newton@linaro.org>
4875
4876 [BZ #16990]
4877 * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
4878 and restore r2 rather than just restoring.
4879
2482ae43
SP
48802014-05-27 Siddhesh Poyarekar <siddhesh@redhat.com>
4881
4882 [BZ #16724]
4883 * libio/tst-ftell-append.c: New test case.
4884 * libio/Makefile (tests): Add test case.
4885 * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
4886 append mode.
4887 * libio/wfileops.c (do_ftell_wide): Likewise.
4888
3d1024e8
AZ
48892014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4890
bab90016
AZ
4891 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4892
c7a8d667
AZ
4893 * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
4894 ...
4895 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
4896 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
4897 * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
4898 * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
4899 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
4900 * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
4901 * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
4902 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
4903 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
4904 Moved ...
4905 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
4906 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
4907 Moved ...
4908 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
4909 * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
4910 * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
4911 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
4912 * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
4913 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
4914 ...
4915 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
4916 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
4917 Moved ...
4918 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
4919 here.
4920 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
4921 ...
4922 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
4923 * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
4924 * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
4925
daee7851
AZ
4926 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
4927 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
4928 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
4929 * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
4930
50a40819
AZ
4931 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
4932 merge into ...
4933 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
4934 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
4935 ...
4936 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
4937 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
4938 ...
4939 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
4940 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
4941 Moved ...
4942 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
4943 here.
4944 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
4945 Moved ...
4946 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
4947 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
4948 Moved ...
4949 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
4950
8464c2a1
AZ
4951 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
4952 conditional [RESET_PID].
4953 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
4954 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
4955 removed.
4956 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
4957 removed.
4958
3d1024e8
AZ
4959 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
4960 <tcb-offsets.h>.
4961 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
4962 (__libc_vfork): New strong alias.
4963 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
4964 removed.
4965 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
4966 Removed.
4967
4968 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
4969 <tcb-offsets.h>.
4970 (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
4971 (__libc_vfork): New strong alias.
4972 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
4973 removed.
4974 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
4975 removed.
4976
fdfd175d
CD
49772014-05-26 Carlos O'Donell <carlos@redhat.com>
4978
4979 * malloc/malloc.c (mi_arena): New function.
4980 (malloc_info): Remove nested function mi_arena. Call non-nosted
4981 function mi_arena.
4982
d298c416
AZ
49832014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4984
4985 * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
4986 by insrwi.
4987 * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
4988 * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
4989 * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
4990 * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
4991 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
4992 * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
4993 * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
4994
b60ea6ff
AS
49952014-05-26 Andreas Schwab <schwab@suse.de>
4996
4997 [BZ #16984]
4998 * locale/programs/repertoire.c (repertoire_read): Add slash
4999 between I18NPATH element and file name.
5000 * locale/programs/locfile.c (locfile_read): Likewise.
5001
67365926
SL
50022014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
5003
5004 * nptl/pthread_mutexattr_settype.c
5005 (__pthread_mutexattr_settype):
5006 Disable lock elision for PTHREAD_MUTEX_NORMAL.
5007
f8bdf1f0
SL
50082014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
5009
5010 * nptl/tst-mutex5 (do_test):
5011 Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
5012
15eaf6ff
SP
50132014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
5014
5015 * benchtests/README: Document 'init' directive.
5016 * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
5017 BENCH_INIT.
5018 * scripts/bench.py (gen_source): Define BENCH_INIT macro.
5019 (parse_file): Recognize 'init' directive.
5020
75f11331
KM
50212014-05-26 Kyle McMartin <kyle@redhat.com>
5022
5023 [BZ #16796]
5024 * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
5025 alignment of struct pthread.
5026
c3ec475c
SP
50272014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
5028
5029 [BZ #16878]
5030 * nscd/netgroupcache.c (addgetnetgrentX): Look for
5031 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
5032 * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
5033 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
5034
82aab97c
RH
50352014-05-25 Richard Henderson <rth@twiddle.net>
5036
aa2f176d
RH
5037 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
5038 (SINGLE_THREAD_P_PIC): Remove.
5039 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
5040 (SINGLE_THREAD_P_PIC): Remove.
5041
ca3cfa40
RH
5042 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
5043 branch to syscall error ...
5044 (PSEUDO): ... here.
5045 [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
5046 from __local_syscall_error to .Lsyscall_error.
5047 [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
5048 (SYSCALL_ERROR): Update label name.
5049
6e6c2d01
RH
5050 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
5051 Do not use DOARGS/UNDOARGS.
5052 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
5053 (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
5054 (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
5055 (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
5056 (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
5057
c69abcee
RH
5058 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
5059 block comment.
5060
82aab97c
RH
5061 * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
5062 define if !NOT_IN_libc.
5063 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
5064 define with non-default symbol versions.
5065
8820e3ac
RH
50662014-05-23 Richard Henderson <rth@twiddle.net>
5067
900e445f
RH
5068 * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
5069 (vfork, __vfork): Define via compat_symbol.
5070
8820e3ac
RH
5071 * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
5072 [!HAVE_IFUNC] (vfork_compat): Remove.
5073 [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
5074
e59252a5
JM
50752014-05-23 Joseph Myers <joseph@codesourcery.com>
5076
5077 [BZ #16978]
5078 * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
5079 * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
5080 variable.
5081
132c7f5f
RH
50822014-05-23 Richard Henderson <rth@twiddle.net>
5083
bc89e962
RH
5084 * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
5085 * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
5086 * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
5087 * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
5088
5089 * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
5090 * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
5091 * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
5092 * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
5093 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
5094 * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
5095 * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
5096 * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
5097 * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
5098 * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
5099 * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
5100 * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
5101 * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
5102 * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
5103 * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
5104 * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
5105 * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
5106 * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
5107 * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
5108 * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
5109 * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
5110 * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
5111 * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
5112 * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
5113 * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
5114 * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
5115 * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
5116 * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
5117 * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
5118 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
5119 * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
5120 * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
5121 * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
5122 * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
5123 * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
5124 * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
5125 * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
5126 * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
5127 * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
5128 * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
5129 * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
5130 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
5131 * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
5132 * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
5133 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
5134 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
5135 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
5136 * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
5137 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
5138 * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
5139 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
5140 * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
5141 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
5142 * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
5143 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
5144 * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
5145
e2fa4bc2
RH
5146 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
5147 * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
5148 * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here. Restore PID
5149 before exiting on error.
5150 (__libc_vfork): New strong alias.
5151 * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
5152 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
5153
279b24e2
RH
5154 * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
5155 that was previously under [RESET_PID].
5156 * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
5157
132c7f5f
RH
5158 * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
5159
b72592e7
JM
51602014-05-23 Joseph Myers <joseph@codesourcery.com>
5161
5162 [BZ #16977]
5163 * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
5164 value when x - 1 is zero.
5165 * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
5166 * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
5167 * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
5168 0.0L for an argument of 1.0L.
5169 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
5170 Likewise.
5171 * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
5172 value when x - 1 is zero.
5173 * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
5174 * sysdeps/i386/fpu/libm-test-ulps: Update.
5175 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5176
2302d679
RV
51772014-05-23 Rasmus Villemoes <rv@rasmusvillemoes.dk>
5178
5179 * manual/filesys.texi (Scanning Directory Content): Fix prototype of
5180 alphasort and versionsort.
5181
32999d63
AZ
51822014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5183
5184 * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
5185 macro.
5186 [copysignf]: Likewise.
5187
019324d0
SP
51882014-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
5189
5190 * crypt/md5-crypt.c: Fix formatting.
5191
34fff5c2
KS
51922014-05-22 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
5193
5194 * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
5195 (b64_from_24bit): New function.
5196
3d2badac
AZ
51972014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5198
5199 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
5200 libc_hidden_builtin_def to ifunc.
5201 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
5202 [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
5203
f7bb179f 52042014-05-21 Roland McGrath <roland@hack.frob.com>
df54acbb
RM
5205
5206 * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
5207 * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
5208
4134b50d
JM
52092014-05-21 Joseph Myers <joseph@codesourcery.com>
5210
bb7d0337
JM
5211 * nscd/Depend (linuxthreads): Remove.
5212 (nptl): Add.
5213 * resolv/Depend (linuxthreads): Remove.
5214 * rt/Depend (linuxthreads): Remove.
5215
4134b50d
JM
5216 * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
5217 (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
5218 $(common-objpfx)elf/.
5219 (link-libc-before-gnulib): Likewise.
5220 (elfobjdir): Remove variable.
5221 * Makefile (install): Use $(elf-objpfx) instead of
5222 $(common-objpfx)elf/.
5223 * Makerules (link-libc-args): Use $(elf-objpfx) instead of
5224 $(elfobjdir)/.
5225 (link-libc-deps): Likewise.
5226 ($(common-objpfx)libc.so): Likewise.
5227 ($(common-objpfx)linkobj/libc.so): Likewise.
5228 [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
5229 instead of $(common-objpfx)elf/.
5230 (symbolic-link-list): Likewise.
5231 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
5232 [$(cross-compiling) = no]: Likewise.
5233 * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
5234 $(elfobjdir)/.
5235 (static-gnulib-arch): Likewise.
5236 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
5237 [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
5238 $(common-objpfx)elf/.
5239
3612eb8f
RH
52402014-05-21 Richard Henderson <rth@redhat.com>
5241
a6b3657b
RH
5242 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
5243 (SINGLE_THREAD_P): Use the correct width load. Fold
5244 into the ldr offset.
5245
3612eb8f
RH
5246 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
5247 (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
5248
175cef41
JM
52492014-05-20 Joseph Myers <joseph@codesourcery.com>
5250
5251 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
5252 (libgcc_s_resume): Use __attribute_used__.
5253 * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
5254 Likewise.
5255
e13bccd3
AZ
52562014-05-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5257
5258 * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
5259 optimization when used with float constants.
5260
7c112a38
AZ
5261 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5262
ae75a883
AJ
52632014-05-20 Aurelien Jarno <aurelien@aurel32.net>
5264
5265 [BZ #16915]
5266 * locale/nl_langinfo_l.c: Make direct reference to every
5267 _nl_current_CATEGORY symbol.
5268 * localedata/Makefile (test-srcs): Add tst-langinfo-static.
5269 (tests-static): Add tst-langinfo-static.
5270 (tests-special): Add tst-langinfo-static.out.
5271 ($(objpfx)tst-langinfo.out): Redirect output.
5272 ($(objpfx)tst-langinfo-static.out): New.
5273 * localedata/tst-langinfo.sh: Send output to stdout.
5274 * localedata/tst-langinfo-static.c: New file.
5275
4406c41c
AJ
5276 [BZ #16965]
5277 * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
5278 when the shift amount is modulo the limb size.
5279
4c0a1e63
RH
52802014-05-20 Richard Henderson <rth@redhat.com>
5281
de9d8f20
RH
5282 [BZ #16967]
5283 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
5284 Change type of sa_flags from unsigned int to int.
5285
4c0a1e63
RH
5286 [BZ #16966]
5287 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
57cce706
RH
5288
5289 * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
5290
a60339aa
WN
52912014-05-20 Will Newton <will.newton@linaro.org>
5292
5293 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
5294 Test the return value of the system call in the nocancel case.
5295
7d05a816
YR
52962014-05-20 Will Newton <will.newton@linaro.org>
5297 Yvan Roux <yvan.roux@linaro.org>
5298
5299 * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
5300 #include of asm/ptrace.h.
5301 (PTRACE_GET_THREAD_AREA): Remove #undef.
5302 (PTRACE_GETHBPREGS): Likewise.
5303 (PTRACE_SETHBPREGS): Likewise.
5304 (struct user_regs_struct): New structure.
5305 (struct user_fpsimd_struct): New structure.
5306 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
5307 #include of asm/ptrace.h and second #include of sys/user.h.
5308 (PTRACE_GET_THREAD_AREA): Remove #undef.
5309 (PTRACE_GETHBPREGS): Likewise.
5310 (PTRACE_SETHBPREGS): Likewise.
5311 (ELF_NGREG): Use new struct user_regs_struct.
5312 (elf_fpregset_t): Use new struct user_fpsimd_struct.
5313
af121e37
AZ
53142014-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5315
5316 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
5317 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
5318
834caf06
JM
53192014-05-17 Jose E. Marchesi <jose.marchesi@oracle.com>
5320
5321 [BZ #16958]
5322 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
5323 membar to avoid block loads/stores to overlap previous stores.
5324
e184a918
RH
53252014-05-17 Richard Henderson <rth@redhat.com>
5326
5327 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
5328 Create the __##syscall_name##_nocancel entry point.
5329 * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
5330 Remove; let the sysdep-cancel.h code create it.
5331
f56c7a6a
DM
53322014-05-17 David S. Miller <davem@davemloft.net>
5333
5334 * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
5335 Protect with __USE_GNU.
5336 (TIOCSET_TEMPT): Likewise.
5337 (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
5338 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
5339 these are already provided in bits/ioctl-types.h
5340
f75616b2
RM
53412014-05-16 Roland McGrath <roland@hack.frob.com>
5342
3edeca86
RM
5343 * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
5344 * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
5345
f75616b2
RM
5346 * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
5347 Use wait4 regardless of [__NR_waitpid].
5348
deb0f7f6
MR
53492014-05-16 Maciej W. Rozycki <macro@codesourcery.com>
5350
5351 PR libgcc/60166
5352 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
5353 (_FP_NANSIGN_Q): Set the quiet bit.
5354
79520f4b
JM
53552014-05-16 Joseph Myers <joseph@codesourcery.com>
5356
5357 * benchtests/Makefile
5358 ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
5359 not $(common-objpfx)math/libm.so.
5360 ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
5361 $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
5362 * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
5363 $(common-objpfx)dlfcn/libdl.so.
5364 ($(objpfx)tst-audit8): Depend on $(libm), not
5365 $(common-objpfx)math/libm.so.
5366 * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
5367 not $(common-objpfx)dlfcn/libdl.so.
5368 * math/Makefile
5369 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
5370 Depend on $(libm), not $(objpfx)libm.so. Do not condition on
5371 [$(build-shared) = yes].
5372 ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
5373 $(common-objpfx)nptl/libpthread.so.
5374 * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
5375 $(common-objpfx)math/libm.so$(libm.so-version) or
5376 $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
5377 * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
5378 $(common-objpfx)dlfcn/libdl.so.
5379 * setjmp/Makefile (link-libm): Remove variable.
5380 ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
5381 * stdio-common/Makefile (link-libm): Remove variable.
5382 ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
5383 * stdlib/Makefile (link-libm): Remove variable.
5384 ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
5385 ($(objpfx)tst-strtod-round): Likewise.
5386 ($(objpfx)tst-tininess): Likewise.
5387 ($(objpfx)tst-strtod-underflow): Likewise.
5388 ($(objpfx)tst-strtod6): Likewise.
5389 ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
5390 $(libdl), not $(common-objpfx)nptl/libpthread.so and
5391 $(common-objpfx)dlfcn/libdl.so.
5392
026b0fe4
AZ
53932014-05-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5394
5395 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
5396 BSD terminal modes definitions.
5397
def4bcb2
RM
53982014-05-16 Roland McGrath <roland@hack.frob.com>
5399
fe39b021
RM
5400 * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
5401 * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
5402
1d1fc46e 5403 * sysdeps/unix/sysv/linux/arch-fork.h: New file.
def4bcb2
RM
5404 * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
5405 * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
5406 Don't do #include_next.
5407 * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
5408 * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
5409 Don't do #include_next.
5410 * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
5411 * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
5412 * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
5413 * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
5414
c72399fb
AM
54152014-05-16 Allan McRae <allan@archlinux.org>
5416
d51d659d
AM
5417 * po/sv.po: Update Swedish translation from translation project.
5418
c72399fb
AM
5419 * timezone/Makefile ($(objpfx)tzselect): Use correct variable
5420 in sed expression.
5421
d0583c40
AJ
54222014-05-16 Aurelien Jarno <aurelien@aurel32.net>
5423
5424 [BZ #16917]
5425 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
5426 errno if the TIOCGPTN ioctl fails with an error different than
5427 EINVAL.
5428 * login/tst-ptsname.c: New file.
5429 * login/Makefile (tests): Add tst-ptsname.
5430
d16e6ec7
AJ
5431 [BZ #16943]
5432 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
5433 and prlimit64.
5434
cf26a0cb
SP
54352014-05-15 Siddhesh Poyarekar <siddhesh@redhat.com>
5436
5437 [BZ #16849]
5438 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
5439 herrno to return EAI_AGAIN.
5440
5675da1e
RM
54412014-05-14 Roland McGrath <roland@hack.frob.com>
5442
a5d87b3d
RM
5443 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
5444 * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
5445 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
5446 * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
5447 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
5448 * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
5449 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
5450 * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
5451 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
5452 * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
5453 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
5454 * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
5455 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
5456 * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
5457 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
5458 * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
5459 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
5460 * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
5461 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
5462 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
5463 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
5464 * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
5465 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
5466 * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
5467 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
5468 * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
5469 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
5470 * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
5471 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
5472 * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
5473 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
5474 * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
5475 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
5476 * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
5477 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
5478 Moved ...
5479 * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
5480 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
5481 * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
5482 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
5483 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
5484 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
5485 * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
5486 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
5487 * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
5488 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
5489 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
5490 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
5491 * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
5492 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
5493 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
5494 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
5495 * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
5496 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
5497 * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
5498 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
5499 * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
5500 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
5501 * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
5502 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
5503 * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
5504 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
5505 * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
5506 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
5507 Moved ...
5508 * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
5509 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
5510 * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
5511 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
5512 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
5513 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
5514 * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
5515 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
5516 * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
5517 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
5518 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
5519 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
5520 * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
5521 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
5522 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
5523 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
5524 * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
5525 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
5526 * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
5527 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
5528 Moved ...
5529 * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
5530 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
5531 * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
5532
039890a6
RM
5533 * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
5534 * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
5535 (libpthread-sysdep_routines): Add elision-related stuff here instead.
5536 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
5537 * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
5538 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
5539 * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
5540 * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
5541 * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
5542 * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
5543 * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
5544 * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
5545 * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
5546 * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
5547 * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
5548 * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
5549 * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
5550 * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
5551 * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
5552 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
5553 * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
5554 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
5555 * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
5556 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
5557 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
5558 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
5559 * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
5560 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
5561 * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
5562 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
5563 * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
5564
65c89320
RM
5565 * sysdeps/unix/sysv/linux/mips/fork.h: New file.
5566 * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
5567
348f8e8c
RM
5568 * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
5569 * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
5570 * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
5571 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
5572 * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
5573 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
5574 Moved ...
5575 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
5576 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
5577 Moved ...
5578 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
5579 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
5580 Moved ...
5581 * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
5582 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
5583 Moved ...
5584 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
5585 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
5586 * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
5587 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
5588 Moved ...
5589 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
5590 * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
5591 * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
5592 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
5593 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
5594 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
5595 * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
5596 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
5597 Moved ...
5598 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
5599 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
5600 Moved ...
5601 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
5602 ... here.
5603 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
5604 * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
5605 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
5606 * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
5607 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
5608 Moved ...
5609 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
5610 ... here.
5611 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
5612 Moved ...
5613 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
5614 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
5615 * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
5616 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
5617 * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
5618 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
5619 Moved ...
5620 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
5621 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
5622 Moved ...
5623 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
5624 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
5625 Moved ...
5626 * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
5627 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
5628 Moved ...
5629 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
5630 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
5631 * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
5632 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
5633 Moved ...
5634 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
5635 * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
5636 * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
5637 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
5638 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
5639 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
5640 * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
5641 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
5642 Moved ...
5643 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
5644 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
5645 Moved ...
5646 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
5647 ... here.
5648 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
5649 * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
5650 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
5651 * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
5652 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
5653 Moved ...
5654 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
5655 ... here.
5656 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
5657 Moved ...
5658 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
5659 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
5660 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
5661 * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
5662 * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
5663 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
5664 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
5665 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
5666 * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
5667 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
5668 Moved ...
5669 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
5670 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
5671 Moved ...
5672 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
5673 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
5674 Moved ...
5675 * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
5676 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
5677 Moved ...
5678 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
5679 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
5680 * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
5681 * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
5682 * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
5683 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
5684 Moved ...
5685 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
5686 * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
5687 * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
5688 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
5689 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
5690 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
5691 * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
5692 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
5693 Moved ...
5694 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
5695 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
5696 Moved ...
5697 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
5698 ... here.
5699 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
5700 * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
5701 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
5702 * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
5703 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
5704 Moved ...
5705 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
5706 ... here.
5707 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
5708 Moved ...
5709 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
5710 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
5711 * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
5712 * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
5713 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
5714 * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
5715 * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
5716 * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
5717 * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
5718 * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
5719 * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
5720
5085af05
RM
5721 * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
5722 * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
5723
708f0813
RM
5724 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
5725 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
5726
c96067bc
RM
5727 * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
5728 * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
5729 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
5730 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
5731 * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
5732 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
5733 * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
5734 * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
5735 * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
5736 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
5737 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
5738 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
5739 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
5740 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
5741 * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
5742 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
5743 * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
5744 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
5745 Moved ...
5746 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
5747 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
5748 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
5749 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
5750 Moved ...
5751 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
5752 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
5753 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
5754 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
5755 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
5756 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
5757 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
5758 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
5759 Moved ...
5760 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
5761 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
5762 Moved ...
5763 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
5764 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
5765 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
5766 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
5767 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
5768 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
5769 * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
5770 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
5771 * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
5772 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
5773 * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
5774 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
5775 * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
5776 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
5777 * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
5778 * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
5779 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
5780
ec136444
RM
5781 * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
5782 * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
5783 * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
5784 * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
5785 * sysdeps/unix/sysv/linux/i386/fork.h: New file.
5786
2fbdf533
RM
5787 * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
5788 * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
5789 * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
5790 * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
5791 * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
5792 * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
5793 * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
5794 * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
5795 * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
5796 * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
5797
4c68138b
RM
5798 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
5799 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
5800
4eaae765
RM
5801 * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
5802 * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
3a51fb60
RM
5803 * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
5804 * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
5805 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
5806 * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
5807 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
5808 * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
5809 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
5810 * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
5811 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
5812 * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
5813 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
5814 * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
5815 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
5816 Update #include.
5817 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
5818 Likewise.
5819 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
5820 Likewise.
5821 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
5822 Likewise.
5823 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
5824 Likewise.
5825 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
5826 Likewise.
5827 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
5828 Likewise.
5829 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
5830 Likewise.
5831 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
5832 Likewise.
5833 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
5834 Likewise.
4ef6befa
RM
5835 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
5836 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
5837 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
5838 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
5839 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
5aa618fb
RM
5840 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
5841 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
5842 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
5843 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
5844 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
5845 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
5846 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
5847 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
5848 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Likewise.
5849 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Likewise.
3a51fb60 5850
941d7dfd
RM
5851 * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
5852 that was previously under [RESET_PID].
5853 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
5854 * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
5855 * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
5856
1b731c35
RM
5857 * sysdeps/i386/nptl/Implies: New file.
5858 * sysdeps/x86_64/nptl/Implies: New file.
5859 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
5860 * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
5861 * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
5862 * sysdeps/x86/nptl/bits/semaphore.h: ... here.
5863
e2787137
RM
5864 * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
5865 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
5866 (__libc_vfork): New strong alias.
5867 * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
5868 * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
5869
5870 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
5871 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
5872 (__libc_vfork): New strong alias.
5873 * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
5874 * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
5875
5675da1e
RM
5876 * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
5877 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
5878 (__libc_vfork): New strong alias.
5879 * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
5880 * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
5881 * nptl/pt-vfork.c: New file.
5882 * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
5883 (libpthread: GLIBC_2.20): New version set (empty).
5884
4f02e2b8
WN
58852014-05-14 Will Newton <will.newton@linaro.org>
5886
5887 * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
5888 rather than #if.
5889
0bf061d3
JM
58902014-05-14 Joseph Myers <joseph@codesourcery.com>
5891
1a84c3d6
JM
5892 [BZ #16564]
5893 * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
5894 arguments with exponent 65 or above.
5895 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
5896 arguments 0x1p113L or above.
5897 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
5898 to arguments 0x1p107L or above.
5899 * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
5900 positive arguments with exponent 65 or above.
5901 * math/auto-libm-test-in: Add more tests of log1p.
5902 * math/auto-libm-test-out: Regenerated.
5903
01dbacd2
JM
5904 [BZ #16928]
5905 * math/s_cacos.c (__cacos): Ensure zero real part of result from
5906 non-finite arguments is +0.
5907 * math/s_cacosf.c (__cacosf): Likewise.
5908 * math/s_cacosl.c (__cacosl): Likewise.
5909 * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
5910 * sysdeps/i386/fpu/libm-test-ulps: Update.
5911 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5912
913d03c8
JM
5913 [BZ #16927]
5914 * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
5915 value.
5916 * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
5917 * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
5918 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
5919 for explicit high bit of mantissa when testing for argument equal
5920 to 1.
5921 * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
5922 * sysdeps/i386/fpu/libm-test-ulps: Update.
5923 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5924
0bf061d3
JM
5925 [BZ #16516]
5926 * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
5927 (__erf): Scale by 16 instead of 8 in potentially underflowing
5928 case. Ensure exception if result actually underflows.
5929 * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
5930 (__erff): Scale by 16 instead of 8 in potentially underflowing
5931 case. Ensure exception if result actually underflows.
5932 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
5933 (efx8): Remove variable.
5934 (__erfl): Scale by 16 instead of 8 in potentially underflowing
5935 case. Ensure exception if result actually underflows.
5936 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
5937 (efx8): Remove variable.
5938 (__erfl): Scale by 16 instead of 8 in potentially underflowing
5939 case. Ensure exception if result actually underflows.
5940 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
5941 (efx8): Remove variable.
5942 (__erfl): Scale by 16 instead of 8 in potentially underflowing
5943 case. Ensure exception if result actually underflows.
5944 * math/auto-libm-test-in: Add more tests of erf.
5945 * math/auto-libm-test-out: Regenerated.
5946
73ba67cb
AS
59472014-05-14 Andreas Schwab <schwab@suse.de>
5948
3d8c8bff
AS
5949 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
5950 Remove code conditionalized on USE___THREAD.
5951
73ba67cb
AS
5952 * config.h.in (HAVE_PT_CHOWN): Define as 0.
5953 * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
5954 not definedness.
5955
5c521ecd
JM
59562014-05-14 Joseph Myers <joseph@codesourcery.com>
5957
5e7698c6
JM
5958 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
5959 Define unconditionally.
5960 (__ASSUME_O_CLOEXEC): Likewise.
5961 (__ASSUME_SOCK_CLOEXEC): Likewise.
5962 (__ASSUME_IN_NONBLOCK): Likewise.
5963 (__ASSUME_PIPE2): Likewise.
5964 (__ASSUME_EVENTFD2): Likewise.
5965 (__ASSUME_SIGNALFD4): Likewise.
5966 (__ASSUME_DUP3): Likewise.
5967 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
5968 (__ASSUME_DUP3): Do not define.
5969 (__ASSUME_EVENTFD2): Likewise.
5970 (__ASSUME_IN_NONBLOCK): Likewise.
5971 (__ASSUME_O_CLOEXEC): Likewise.
5972 (__ASSUME_PIPE2): Likewise.
5973 (__ASSUME_SIGNALFD4): Likewise.
5974 (__ASSUME_SOCK_CLOEXEC): Likewise.
5975 (__ASSUME_UTIMES): Undefine.
5976 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
5977 (__ASSUME_UTIMES): Do not define.
5978 (__ASSUME_O_CLOEXEC): Likewise.
5979 (__ASSUME_SOCK_CLOEXEC): Likewise.
5980 (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
5981 0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
5982 0x020621].
5983 (__ASSUME_PIPE2): Likewise.
5984 (__ASSUME_EVENTFD2): Likewise.
5985 (__ASSUME_SIGNALFD4): Likewise.
5986 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
5987 * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
5988 Do not define.
5989 (__ASSUME_EVENTFD2): Likewise.
5990 (__ASSUME_SIGNALFD4): Likewise.
5991 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
5992 (__ASSUME_32BITUIDS): Likewise.
5993 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
5994 (__ASSUME_IPC64): Likewise.
5995 (__ASSUME_ST_INO_64_BIT): Likewise.
5996 (__ASSUME_GETDENTS64_SYSCALL): Likewise.
5997 [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
5998 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
5999 (__ASSUME_UTIMES): Do not define.
6000 (__ASSUME_PSELECT): Likewise.
6001 (__ASSUME_PPOLL): Likewise.
6002 (__ASSUME_O_CLOEXEC): Likewise.
6003 (__ASSUME_SOCK_CLOEXEC): Likewise.
6004 (__ASSUME_IN_NONBLOCK): Likewise.
6005 (__ASSUME_PIPE2): Likewise.
6006 (__ASSUME_EVENTFD2): Likewise.
6007 (__ASSUME_SIGNALFD4): Likewise.
6008 (__ASSUME_DUP3): Likewise.
6009 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
6010 (__ASSUME_UTIMES): Likewise.
6011 (__ASSUME_O_CLOEXEC): Likewise.
6012 (__ASSUME_SOCK_CLOEXEC): Likewise.
6013 (__ASSUME_IN_NONBLOCK): Likewise.
6014 (__ASSUME_PIPE2): Likewise.
6015 (__ASSUME_EVENTFD2): Likewise.
6016 (__ASSUME_SIGNALFD4): Likewise.
6017 (__ASSUME_DUP3): Likewise.
6018 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
6019 (__ASSUME_UTIMES): Likewise.
6020 (__ASSUME_O_CLOEXEC): Likewise.
6021 (__ASSUME_SOCK_CLOEXEC): Likewise.
6022 (__ASSUME_IN_NONBLOCK): Likewise.
6023 (__ASSUME_PIPE2): Likewise.
6024 (__ASSUME_EVENTFD2): Likewise.
6025 (__ASSUME_SIGNALFD4): Likewise.
6026 (__ASSUME_DUP3): Likewise.
6027 * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
6028 Likewise.
6029 (__ASSUME_UTIMES): Likewise.
6030 (__ASSUME_EVENTFD2): Likewise.
6031 (__ASSUME_SIGNALFD4): Likewise.
6032 * sysdeps/unix/sysv/linux/tile/kernel-features.h
6033 (__ASSUME_O_CLOEXEC): Likewise.
6034 (__ASSUME_SOCK_CLOEXEC): Likewise.
6035 (__ASSUME_IN_NONBLOCK): Likewise.
6036 (__ASSUME_PIPE2): Likewise.
6037 (__ASSUME_EVENTFD2): Likewise.
6038 (__ASSUME_SIGNALFD4): Likewise.
6039 (__ASSUME_DUP3): Likewise.
6040 (__ASSUME_UTIMES): Undefine.
6041
5c521ecd
JM
6042 * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
6043 feclearexcept. Remove symbol versioning code.
6044 * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv. Remove
6045 symbol versioning code.
6046 * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv. Remove
6047 symbol versioning code.
6048 * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
6049 feupdateenv. Remove symbol versioning code.
6050 * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
6051 fegetexceptflag. Remove symbol versioning code.
6052 * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
6053 fesetexceptflag. Remove symbol versioning code.
6054 * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
6055 GLIBC_2.2 and GLIBC_2.3.3 entries. Change GLIBC_2.1 to GLIBC_2.4.
6056 * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
6057 (__posix_fadvise64_l32): Remove prototype.
6058 [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
6059 code.
6060
5da9dfad
RM
60612014-05-13 Roland McGrath <roland@hack.frob.com>
6062
6063 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
6064 * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
6065 * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
6066 * sysdeps/arm/nptl/bits/semaphore.h: ... here.
6067
893b4f37
SK
60682014-05-13 Sami Kerola <kerolasa@iki.fi>
6069
6070 * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
6071 current working directory
6072
e0db6517
RM
60732014-05-13 Roland McGrath <roland@hack.frob.com>
6074
58aa195d
RM
6075 * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
6076 * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
6077 * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
6078 * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
6079 * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
6080 * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
6081 * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
6082 * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
6083 * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
6084 * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
6085 * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
6086 * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
6087 * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
6088 * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
6089 * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
6090 * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
6091 * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
6092 * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
6093 * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
6094 * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
6095 * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
6096 * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
6097 * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
6098 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
6099 * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
6100 * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
6101 * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
6102 * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
6103 * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
6104 * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
6105 * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
6106 * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
6107 * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
6108 * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
6109 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
6110 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
6111 * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
6112 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
6113 * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
6114 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
6115 * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
6116 * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
6117
8c6d01f0
RM
6118 * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
6119 * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
6120
6121 * sysdeps/unix/sysv/linux/arm/Makefile
6122 [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
6123 Add rt-aeabi_unwind_cpp_pr1.
6124 [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
6125 Add nptl-aeabi_unwind_cpp_pr1.
6126 [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
6127 * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
6128 * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
6129 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
6130 * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
6131 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
6132
6133 * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
6134 * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
6135 * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
6136 * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
6137
bba6da4e
RM
6138 * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
6139 Deconditionalize the code that was previously under [RESET_PID].
6140 * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
6141
e0db6517
RM
6142 * sysdeps/generic/exit-thread.h: New file.
6143 * sysdeps/unix/sysv/linux/exit-thread.h: New file.
6144 * include/unistd.h (__exit_thread): Remove declaration.
6145 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
6146 * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
6147 * csu/libc-start.c: Include <exit-thread.h>.
6148 (LIBC_START_MAIN): Pass no argument to __exit_thread.
6149 * nptl/pthread_create.c: Include <exit-thread.h>.
6150 (start_thread): Call __exit_thread in place of __exit_thread_inline.
6151 * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
6152 * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
6153 * nptl/sysdeps/s390/pthreaddef.h: Likewise.
6154 * nptl/sysdeps/sh/pthreaddef.h: Likewise.
6155 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
6156 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
6157 * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
6158 * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
6159 * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
6160 * sysdeps/arm/nptl/pthreaddef.h: Likewise.
6161 * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
6162 * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
6163 * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
6164 * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
6165 * sysdeps/mips/nptl/pthreaddef.h: Likewise.
6166 * sysdeps/tile/nptl/pthreaddef.h: Likewise.
6167
01eb16fd
AS
61682014-05-13 Andreas Schwab <schwab@suse.de>
6169
6170 * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
6171
637461d9
JM
61722014-05-12 Joseph Myers <joseph@codesourcery.com>
6173
6174 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
6175 (__ASSUME_UTIMES): Do not condition on kernel version.
6176 (__ASSUME_PSELECT): Define unconditionally.
6177 (__ASSUME_PPOLL): Likewise.
6178 (__ASSUME_ATFCTS): Likewise.
6179 (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
6180 (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
6181 (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
6182 (__ASSUME_UTIMENSAT): Define unconditionally.
6183 (__ASSUME_PRIVATE_FUTEX): Likewise.
6184 (__ASSUME_FALLOCATE): Likewise.
6185 (__ASSUME_O_CLOEXEC): Likewise.
6186 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
6187 (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
6188 (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
6189 (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
6190 (__ASSUME_IN_NONBLOCK): Likewise.
6191 (__ASSUME_PIPE2): Likewise.
6192 (__ASSUME_EVENTFD2): Likewise.
6193 (__ASSUME_SIGNALFD4): Likewise.
6194 (__ASSUME_DUP3): Likewise.
6195 [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
6196 (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
6197 (__ASSUME_AT_RANDOM): Likewise.
6198 (__ASSUME_PREADV): Likewise.
6199 (__ASSUME_PWRITEV): Likewise.
6200 (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
6201 (__ASSUME_F_GETOWN_EX): Define unconditionally.
6202 (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
6203 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
6204 [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
6205 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
6206 (__ASSUME_O_CLOEXEC): Define unconditionally.
6207 (__ASSUME_PSELECT): Do not undefine conditionally.
6208 (__ASSUME_PPOLL): Likewise.
6209 (__ASSUME_ATFCTS): Likewise.
6210 (__ASSUME_SET_ROBUST_LIST): Likewise.
6211 (__ASSUME_UTIMENSAT): Likewise.
6212 (__ASSUME_FDATASYNC): Define unconditionally.
6213 * sysdeps/unix/sysv/linux/arm/kernel-features.h
6214 (__ASSUME_SIGFRAME_V2): Likewise.
6215 )__ASSUME_EVENTFD2): Likewise.
6216 (__ASSUME_SIGNALFD4): Likewise.
6217 (__ASSUME_PSELECT): Do not undefine conditionally.
6218 (__ASSUME_PPOLL): Likewise.
6219 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
6220 (__ASSUME_PSELECT): Define unconditionally.
6221 (__ASSUME_PPOLL): Likewise.
6222 (__ASSUME_O_CLOEXEC): Likewise.
6223 (__ASSUME_SOCK_CLOEXEC): Likewise.
6224 (__ASSUME_IN_NONBLOCK): Likewise.
6225 (__ASSUME_PIPE2): Likewise.
6226 (__ASSUME_EVENTFD2): Likewise.
6227 (__ASSUME_SIGNALFD4): Likewise.
6228 (__ASSUME_DUP3): Likewise.
6229 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
6230 (__ASSUME_O_CLOEXEC): Likewise.
6231 (__ASSUME_SOCK_CLOEXEC): Likewise.
6232 (__ASSUME_IN_NONBLOCK): Likewise.
6233 (__ASSUME_PIPE2): Likewise.
6234 (__ASSUME_EVENTFD2): Likewise.
6235 (__ASSUME_SIGNALFD4): Likewise.
6236 (__ASSUME_DUP3): Likewise.
6237 * sysdeps/unix/sysv/linux/mips/kernel-features.h
6238 (__ASSUME_EVENTFD2): Likewise.
6239 (__ASSUME_SIGNALFD4): Likewise.
6240 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
6241
315eb1d8
AS
62422014-05-12 Andreas Schwab <schwab@suse.de>
6243
6244 [BZ #16932]
6245 * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
6246 (_nss_nis_gethostbyname4_r): Return error if item length is larger
6247 than maximum RPC packet size.
6248 * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
6249 * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
6250 * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
6251 (_nss_nis_getservbyport_r): Likewise.
6252
91df99f7
WN
62532014-05-12 Will Newton <will.newton@linaro.org>
6254
6255 * malloc/Makefile (tests): Add tst-mallopt.
6256 * malloc/tst-mallopt.c: New file.
6257
0a982a29
RM
62582014-05-09 Roland McGrath <roland@hack.frob.com>
6259
6260 * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
6261 [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
6262
0ded08a5
AZ
62632014-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6264
6265 * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
6266 (tst-tlsmod6.so): Likewise.
6267
55d4d550
RM
62682014-05-09 Roland McGrath <roland@hack.frob.com>
6269
6270 * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
6271
77d08aca
JM
62722014-05-09 Joseph Myers <joseph@codesourcery.com>
6273
6274 [BZ #16064]
6275 * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
6276 and <dl-procinfo.h>.
6277 (__fegetenv): Save SSE state in envp->__eip if supported.
6278 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
6279 envp->__eip if supported.
6280 * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
6281 and <dl-procinfo.h>.
6282 (__fesetenv): Always set __eip, __cs_selector, __opcode,
6283 __data_offset and __data_selector in environment to 0. Set SSE
6284 state if supported.
6285 * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
6286 test-fenv-sse.
6287 [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
6288 -mfpmath=sse.
6289 * sysdeps/x86/fpu/test-fenv-sse.c: New file.
6290
28162f4d
WN
62912014-05-09 Will Newton <will.newton@linaro.org>
6292
6293 * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
6294 and libc_relro_required for ARM.
6295 * sysdeps/arm/preconfigure: Regenerate.
6296
5a414ff7
DV
62972014-05-09 Dominik Vogt <vogt@linux.vnet.ibm.com>
6298 Stefan Liebler <stli@linux.vnet.ibm.com>
6299
6300 * config.make.in (enable-lock-elision): New Makefile variable.
6301 * configure.ac: Likewise.
6302 * configure: Regenerate.
6303 * sysdeps/s390/configure.ac:
6304 Add check for gcc transactions support.
6305 * sysdeps/s390/configure: Regenerate.
6306 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
6307 Build elision files if enabled.
6308 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
6309 Add lock elision support for s390.
6310 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
6311 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
6312 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
6313 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
6314 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
6315 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
6316 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
6317 Likewise.
6318 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
6319 Likewise.
6320 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
6321 Likewise.
6322 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
6323 Likewise.
6324 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
6325 (__lll_timedlock_elision, __lll_lock_elision)
6326 (__lll_unlock_elision, __lll_trylock_elision)
6327 (lll_timedlock_elision, lll_lock_elision)
6328 (lll_unlock_elision, lll_trylock_elision): Add.
6329 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
6330 (pthread_mutex_t): Add lock elision support for s390.
6331
1a2f40e5
W
63322014-05-14 Wilco <wdijkstr@arm.com>
6333
6334 * sysdeps/arm/fclrexcpt.c: Cleanup.
6335 * sysdeps/arm/fedisblxcpt.c: Cleanup.
6336 * sysdeps/arm/feenablxcpt.c: Cleanup.
6337 * sysdeps/arm/fegetenv.c: Cleanup.
6338 * sysdeps/arm/fegetexcept.c: Cleanup.
6339 * sysdeps/arm/fegetround.c: Cleanup.
6340 * sysdeps/arm/feholdexcpt.c: Cleanup.
6341 * sysdeps/arm/fesetenv.c: Cleanup.
6342 * sysdeps/arm/fesetround.c: Cleanup.
6343 * sysdeps/arm/feupdateenv.c: Cleanup.
6344 * sysdeps/arm/fgetexcptflg.c: Cleanup.
6345 * sysdeps/arm/fraiseexcpt.c: Cleanup.
6346 * sysdeps/arm/fsetexcptflg.c: Cleanup.
6347 * sysdeps/arm/ftestexcept.c: Cleanup.
6348 * sysdeps/arm/get-rounding-mode.h: Cleanup.
6349 * sysdeps/arm/setfpucw.c: Cleanup.
6350
f63c86fe
WN
63512014-05-09 Will Newton <will.newton@linaro.org>
6352
6353 * sysdeps/arm/armv7/strcmp.S: New file.
6354 * NEWS: Mention addition of ARMv7 optimized strcmp.
6355
7a1a51b5
RM
63562014-05-08 Roland McGrath <roland@hack.frob.com>
6357
95afbbe5
RM
6358 * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
6359 look for %.ac rather than %.in.
6360
6361 * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
6362 * sysdeps/unix/sysv/linux/configure.ac: Likewise.
6363 * sysdeps/mach/hurd/configure: Regenerated.
6364 * sysdeps/unix/sysv/linux/configure: Regenerated.
6365
7a1a51b5
RM
6366 * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
6367
5057ad3b
SE
63682014-05-07 Steve Ellcey <sellcey@mips.com>
6369
6370 [BZ# 16922]
6371 * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
6372 (LONG_SUB): Ditto.
6373 (PTR_SUB): Ditto.
6374
8dc97517
AS
63752014-05-07 Andreas Schwab <schwab@suse.de>
6376
6377 * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
6378 when skipping over non-matching result from nscd.
6379
ce0c5b8f
OB
63802014-05-07 Ondřej Bílka <neleai@seznam.cz>
6381
6382 [BZ #16876]
6383 * nptl/sockperf.c (client): Check socket return value.
8dc97517 6384
a1189263
OB
6385 [BZ #16877]
6386 * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
6387 nscd security class.
ce0c5b8f 6388
0f58d252
RM
63892014-05-06 Roland McGrath <roland@hack.frob.com>
6390
6391 * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
6392 * sysdeps/arm/unwind.h: ... here.
6393
83df9ad0
AJ
63942014-05-06 Aurelien Jarno <aurelien@aurel32.net>
6395
ce0c5b8f
OB
6396 [BZ# 16916]
6397 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
6398 Define.
83df9ad0 6399
f360f94a
VR
64002014-05-06 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
6401
6402 * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
6403 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
6404 multiarch strncpy for PPC64.
6405 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
6406 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
6407 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
6408 multiarch optimizations.
6409 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
6410 (__libc_ifunc_impl_list): Likewise.
6411 * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
6412 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
6413 multiarch stpncpy for PPC64.
6414 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
6415 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
6416
978a41c3
AS
64172014-05-06 Andreas Schwab <schwab@suse.de>
6418
6419 [BZ #16912]
6420 * gmon/mcount.c (_MCOUNT_DECL): Use
6421 atomic_compare_and_exchange_bool_acq instead of
6422 catomic_compare_and_exchange_bool_acq.
6423
eb1ed03d
RM
64242014-05-05 Roland McGrath <roland@hack.frob.com>
6425
fe658845
RM
6426 * elf/Makefile (others, install-bin): Remove pldd.
6427 (pldd-modules): Variable removed.
6428 ($(objpfx)pldd): Target removed.
6429 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
6430 (others, install-bin): Append pldd here.
6431 ($(objpfx)pldd): New target.
6432
eb1ed03d
RM
6433 * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
6434 to 0, so the first #if test emitted later doesn't see it undefined.
6435 (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
6436 * sysdeps/gnu/errlist.c: Regenerated.
6437
19c4bec0
AZ
64382014-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6439
6440 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
6441 [libc_hidden_builtin_def]: Define to empty value.
6442 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
6443 [libc_hidden_builtin_def]: Likewise.
6444 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
6445 [libc_hidden_builtin_def]: Likewise.
6446 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
6447 [libc_hidden_builtin_def]: Likewise.
6448 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
6449 __redirect_memcpy and define ifunc as default hidden symbol.
6450 * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
6451 * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
6452
7776e669
AC
64532014-05-04 Adam Conrad <adconrad@0c3.net>
6454
6455 * locale/iso-4217.def: Reintroduce XDR currency.
6456
d69aeb12
AM
64572014-05-04 Allan McRae <allan@archlinux.org>
6458
6459 * po/eo.po: Update Esperanto translation from translation project.
6460
8f1df5cf
CD
64612014-05-02 Carlos O'Donell <carlos@redhat.com>
6462
6463 * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
6464 and FEATURE_INDEX_MAX to 1.
6465 [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
6466
13e402e7
SE
64672014-05-01 Steve Ellcey <sellcey@mips.com>
6468
6469 * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
6470 * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
6471 * iconvdata/big5.c (ONE_DIRECTION): Define.
6472 * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
6473 * iconvdata/cp1255.c (ONE_DIRECTION): Define.
6474 * iconvdata/cp1258.c (ONE_DIRECTION): Define.
6475 * iconvdata/cp932.c (ONE_DIRECTION): Define.
6476 * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
6477 * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
6478 * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
6479 * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
6480 * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
6481 * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
6482 * iconvdata/gb18030.c (ONE_DIRECTION): Define.
6483 * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
6484 * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
6485 * iconvdata/gbk.c (ONE_DIRECTION): Define.
6486 * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
6487 * iconvdata/ibm930.c (ONE_DIRECTION): Define.
6488 * iconvdata/ibm932.c (ONE_DIRECTION): Define.
6489 * iconvdata/ibm933.c (ONE_DIRECTION): Define.
6490 * iconvdata/ibm935.c (ONE_DIRECTION): Define.
6491 * iconvdata/ibm937.c (ONE_DIRECTION): Define.
6492 * iconvdata/ibm939.c (ONE_DIRECTION): Define.
6493 * iconvdata/ibm943.c (ONE_DIRECTION): Define.
6494 * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
6495 * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
6496 * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
6497 * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
6498 * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
6499 * iconvdata/iso646.c (ONE_DIRECTION): Define.
6500 * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
6501 * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
6502 * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
6503 * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
6504 * iconvdata/johab.c (ONE_DIRECTION): Define.
6505 * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
6506 * iconvdata/sjis.c (ONE_DIRECTION): Define.
6507 * iconvdata/t.61.c (ONE_DIRECTION): Define.
6508 * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
6509 * iconvdata/tscii.c (ONE_DIRECTION): Define.
6510 * iconvdata/uhc.c (ONE_DIRECTION): Define.
6511 * iconvdata/unicode.c (ONE_DIRECTION): Define.
6512 * iconvdata/utf-16.c (ONE_DIRECTION): Define.
6513 * iconvdata/utf-32.c (ONE_DIRECTION): Define.
6514 * iconvdata/utf-7.c (ONE_DIRECTION): Define.
6515
c727f032
RM
65162014-05-01 Roland McGrath <roland@hack.frob.com>
6517
8f2f08d0
RM
6518 * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
6519 (_IO_JUMPS_OFFSET): Define to 0.
6520
c727f032
RM
6521 * nptl/sysdeps/pthread/bits/libc-lock.h
6522 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
6523 (__libc_lock_define_initialized_recursive): Always define using
6524 initializer. Modern compilers treat uninitialized (implicit zero) and
6525 explicit zero initializers the same (i.e. put the datum in bss).
6526
a849e800
AS
65272014-05-01 Andreas Schwab <schwab@linux-m68k.org>
6528
6529 * nscd/nscd-client.h: Include <string.h>.
6530
5331255b
DM
65312014-05-01 David S. Miller <davem@davemloft.net>
6532
6533 [BZ #16885]
6534 * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
6535 multiple zero bytes exist at the end of a string.
6536 Reported by Aurelien Jarno <aurelien@aurel32.net>
6537
6538 * string/test-strcmp.c (check): Add explicit test for situations where
6539 there are multiple zero bytes after the first.
6540
4fdfe821
AS
65412014-05-01 Andreas Schwab <schwab@linux-m68k.org>
6542
6543 [BZ #16890]
6544 * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
6545 when compiling wprintf.
6546 * stdio-common/tstdiomisc.c (t3): New function.
6547 (main): Call it.
6548
0cdddc25
SE
65492014-05-01 Steve Ellcey <sellcey@mips.com>
6550
6551 * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
6552 * iconv/gconv_simple.c (ONE_DIRECTION): Define.
6553 * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
6554 * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
6555
6426d77e
SE
65562014-05-01 Steve Ellcey <sellcey@mips.com>
6557
6558 * stdlib/longlong.h: Updated from GCC.
6559
6d96f5e4
WN
65602014-05-01 Will Newton <will.newton@linaro.org>
6561 Bernard Ogden <bernie.ogden@linaro.org>
6562
7470db0c
WN
6563 * NEWS: Update fixed bug list.
6564
6d96f5e4
WN
6565 [BZ #15119]
6566 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
6567
211d653c
DM
65682014-04-30 David S. Miller <davem@davemloft.net>
6569
4fa262fa
DM
6570 * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
6571 (libc_feholdexcept_setround_sparc_ctx): New function.
6572 (libc_fesetenv_sparc_ctx): Likewise.
6573 (libc_feupdateenv_sparc_ctx): Likewise.
6574 (libc_feholdsetround_sparc_ctx): Likewise.
6575 (libc_feholdexcept_setround_ctx): Define.
6576 (libc_feholdexcept_setroundf_ctx): Likewise.
6577 (libc_feholdexcept_setroundl_ctx): Likewise.
6578 (libc_fesetenv_ctx): Likewise.
6579 (libc_fesetenvf_ctx): Likewise.
6580 (libc_fesetenvl_ctx): Likewise.
6581 (libc_feupdateenv_ctx): Likewise.
6582 (libc_feupdateenvf_ctx): Likewise.
6583 (libc_feupdateenvl_ctx): Likewise.
6584 (libc_feresetround_ctx): Likewise.
6585 (libc_feresetroundf_ctx): Likewise.
6586 (libc_feresetroundl_ctx): Likewise.
6587 (libc_feholdsetround_ctx): Likewise.
6588 (libc_feholdsetroundf_ctx): Likewise.
6589 (libc_feholdsetroundl_ctx): Likewise.
6590
1d3d93ef
DM
6591 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
6592 with __USE_GNU instead of XOPEN cpp guards.
6593
8aa583c3
DM
6594 * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
6595 0.
6596
211d653c
DM
6597 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
6598 with XOPEN cpp guards.
6599
60c8f1f6
JB
66002014-04-30 Julian Brown <julian@codesourcery.com>
6601
6602 [BZ #16888]
6603 * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
6604 handling.
6605
9a461d46
JM
66062014-04-30 Joseph Myers <joseph@codesourcery.com>
6607
d0f5b3f8
JM
6608 [BZ #9894]
6609 * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
6610 Change to 2.6.32.
6611 (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
6612 * sysdeps/unix/sysv/linux/configure: Regenerated.
6613 * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
6614 * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
6615 * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
6616 * sysdeps/unix/sysv/linux/tile/configure: Likewise.
6617 * README: Update reference to required Linux kernel version.
6618 * manual/install.texi (Linux): Update reference to required Linux
6619 kernel headers version.
6620 * INSTALL: Regenerated.
6621
9a461d46
JM
6622 * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
6623 header inclusion.
6624 [POSIX] (limits.h): Likewise.
6625 [POSIX] (math.h): Likewise.
6626 [POSIX] (sys/wait.h): Likewise.
6627 * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
6628 function.
6629 [POSIX] (stddef.h): Do not allow header inclusion.
6630
1775babf
AZ
66312014-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6632
57f41c40 6633 * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
1775babf 6634
8f630cca
YY
66352014-04-30 Yang Yingliang <yangyingliang@huawei.com>
6636
6637 * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
6638 Return immediately after lll_futex_wake.
6639
1cdeb237
SP
66402014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
6641
bc8f194c
SP
6642 [BZ #16791]
6643 * nscd/nscd-client.h (datahead_init_common): Initialize entire
6644 structure.
6645 (datahead_init_pos): Call datahead_init_common early.
6646 (datahead_init_neg): Likewise.
6647
1cdeb237
SP
6648 * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
6649 datahead_init_neg): New functions.
6650 * nscd/aicache.c (addhstaiX): Use them.
6651 * nscd/grpcache.c (cache_addgr): Likewise.
6652 * nscd/hstcache.c (cache_addhst): Likewise.
6653 * nscd/initgrcache.c (addinitgroupsX): Likewise.
6654 * nscd/netgroupcache.c (do_notfound): Likewise.
6655 (addgetnetgrentX): Likewise.
6656 (addinnetgrX): Likewise.
6657 * nscd/pwdcache.c (cache_addpw): Likewise.
6658 * nscd/servicescache.c (cache_addserv): Likewise.
6659
16b293a7
SP
66602014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
6661 Atsushi Onoe <atsushi@onoe.org>
6662
6663 [BZ #14308]
6664 [BZ #12994]
6665 [BZ #13651]
6666 * resolv/res_query.c (__libc_res_nsearch): Return if at least
6667 one response is valid.
6668 * resolv/res_send.c (send_dg): Check for validity of other
6669 response if the current response is a referral.
6670
a28a9b94
SE
66712014-04-29 Steve Ellcey <sellcey@mips.com>
6672
6673 * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
6674
2ca180e9
SL
66752014-04-29 Stefan Liebler <stli@linux.vnet.ibm.com>
6676
6677 [BZ #16823]
6678 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
6679 Always divide by positive zero when computing -Inf result.
6680 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
6681 * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
6682
18f2945a
AZ
66832014-04-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6684
6685 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
6686 FPSCR if value do not change.
6687 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
6688 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
6689 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
6690 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
6691 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
6692 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
6693 function.
6694
5abebba4
CD
66952014-05-29 Carlos O'Donell <carlos@systemhalted.org>
6696
6697 * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
6698 * sysdeps/unix/sysv/linux/hppa: Move directory from
6699 ports/systeps/unix/sysv/linux/hppa.
6700 * README: Update listing for hppa-*-linux-gnu.
6701
f7ed60c2
OB
67022014-04-28 Ondřej Bílka <neleai@seznam.cz>
6703
fff763a5
OB
6704 [BZ #16754]
6705 * manual/stdio.texi (Hook functions): Fix types of stream hook
6706 functions.
f7ed60c2
OB
6707 [BZ #16854]
6708 * socket/sys/socket.h: Fix typo in comment.
6709
df639d73
WD
67102014-04-28 Wilco <wdijkstr@arm.com>
6711
f7ed60c2 6712 * sysdeps/arm/fenv_private.h: New file.
df639d73
WD
6713 * sysdeps/arm/math_private.h: New file.
6714 * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
6715
48332d82
L
67162014-04-25 H.J. Lu <hongjiu.lu@intel.com>
6717
6718 * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
6719 with __int128_t.
6720 (La_x86_64_retval): Likewise.
6721
e5e0d9a4
IB
67222014-04-24 Ian Bolton <ian.bolton@arm.com>
6723
6724 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
6725 fpsr if value didn't change.
6726 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
6727 to fpcr if value didn't change.
6728 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
6729 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
6730 fpsr or fpcr if value didn't change.
6731 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
6732 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
6733 fpcr if value didn't change.
6734 * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
6735 to fpsr if value didn't change.
6736
bacc75f7
SP
67372014-02-23 Siddhesh Poyarekar <siddhesh@redhat.com>
6738
6739 * nptl/tst-sem3.c: Use test-skeleton.c
6740 (main): Rename to do_test. Use return instead of
6741 exit.
6742 * nptl/tst-sem4.c: Use test-skeleton.c
6743 (main): Rename to do_test.
6744
a059d359
DM
67452014-04-22 David S. Miller <davem@davemloft.net>
6746
6747 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
6748 (struct sigaction): New struct member __glibc_reserved0, change
6749 type of sa_flags to int.
6750
ea6c92f3
YZ
67512014-04-22 Yufeng Zhang <yufeng.zhang@arm.com>
6752
6753 * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
6754 (COUNT_LEADING_ZEROS_0): Define for AArch64.
6755
766c4a36
SP
67562014-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
6757
6758 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
6759 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
6760
140cc7ab
VK
67612014-04-22 Will Newton <will.newton@linaro.org>
6762 Venkataramanan Kumar <venkataramanan.kumar@linaro.org>
6763
6764 * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
6765 (__longjmp): Add longjmp and longjmp_target SystemTap
6766 probes.
6767 * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
6768 (__sigsetjmp): Add setjmp SystemTap probe.
6769
c54e5cf7
CD
67702014-04-17 Carlos O'Donell <carlos@redhat.com>
6771
6772 * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
6773 match manual order.
6774
75ffb047
AZ
67752014-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6776
6777 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
6778
2cd925f7
AZ
6779 * sysdeps/powerpc/fpu/fenv_private.h
6780 (libc_feholdexcept_setroundl_ctx): Define to
6781 libc_feholdexcept_setround_ppc_ctx.
6782 (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
6783 (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
6784 (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
6785 (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
6786
39e6cd8d
IB
67872014-04-17 Ian Bolton <ian.bolton@arm.com>
6788
6789 * sysdeps/aarch64/math-tests.h: New file.
6790
f9281df9
SY
67912014-04-17 Sihai Yao <sihai.ysh@alibaba-inc.com>
6792
6793 * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
6794 New.
6795 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
6796 Check and set bit_AVX2_Usable.
6797 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
6798 macro.
6799 (bit_AVX2): Likewise.
6800 (index_AVX2_Usable): Likewise.
6801 (CPUID_AVX2): Likewise.
6802 (HAS_AVX2): Likewise.
6803
37d35007
WN
68042014-04-17 Will Newton <will.newton@linaro.org>
6805
7c677662
WN
6806 * manual/setjmp.texi (System V contexts): Add note that
6807 calling setcontext on a context created by a call to a
6808 signal handler is undefined. Update text to note that
6809 setcontext from a signal handler is possible but not
6810 recommended.
6811
37d35007 6812 [BZ #16629]
e04a4e9d
WN
6813 * stdlib/tst-setcontext.c: Include signal.h.
6814 (main): Check that the signal stack before and
6815 after swapcontext is the same.
6816
37d35007
WN
6817 * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
6818 Re-implement to restore registers in user code and avoid
6819 rt_sigreturn system call.
6820
423a7160
W
68212014-04-17 Wilco <wdijkstr@arm.com>
6822
6823 * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
6824 * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
6825 * math/test-fenv.c: Skip exception trap tests on targets which only
6826 support non-stop mode.
6827
bc93ab29
IB
68282014-04-17 Ian Bolton <ian.bolton@arm.com>
6829 Wilco Dijkstra <wilco.dijkstra@arm.com>
6830
6831 * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
6832 (libc_feholdsetround_aarch64_ctx)
6833 (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
6834 (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
6835 (libc_feresetround_ctx, libc_feresetroundf_ctx)
6836 (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
6837 (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
6838 (libc_feresetround_noexl_ctx): Define.
6839
95fc5fa3
RH
68402014-04-16 Richard Henderson <rth@redhat.com>
6841
ddb04724
RH
6842 * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
6843
d77c0899
RH
6844 * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
6845 unwind tables.
6846
a3df56fc
RH
6847 * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
6848 const from the non-libc, non-ldso copy.
6849
95fc5fa3
RH
6850 * sysdeps/alpha/libm-test-ulps: Regenerate.
6851
7e0b6763
IB
68522014-04-16 Ian Bolton <ian.bolton@arm.com>
6853 Wilco Dijkstra <wilco.dijkstra@arm.com>
6854
6855 * sysdeps/aarch64/fpu/math_private.h: New file.
6856
a9ea2e0c
MS
68572014-04-16 Marcus Shawcroft <marcus.shawcroft@arm.com>
6858
6859 * sysdeps/aarch64/libm-test-ulps: Regenerate.
6860
ea8ba7cd
IZ
68612014-04-16 Igor Zamyatin <igor.zamyatin@intel.com>
6862
7e54fd04 6863 [BZ #16275]
ea8ba7cd
IZ
6864 * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
6865 (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
6866 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
6867 Intel MPX bound registers before _dl_profile_fixup.
6868 * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
6869 registers after _dl_profile_fixup. Save and restore bound
6870 registers bnd0/bnd1 when calling _dl_call_pltexit.
6871 * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
6872 (LR_BND_OFFSET): Likewise.
6873 (LRV_BND0_OFFSET): Likewise.
6874 (LRV_BND1_OFFSET): Likewise.
6875
9f2a4fbc
ST
68762014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
6877
6878 * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
6879 to...
6880 * sysdeps/mach/hurd/i386/tls.h: ... here.
3c799e91
ST
6881 (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
6882 pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
6883 fields.
9f2a4fbc 6884
fd15a59b
ST
68852014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
6886
6887 * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
6888
f19dfa0a
SL
68892014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
6890
6891 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
6892
4fa8bc3b
SL
68932014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
6894
6895 [BZ #14770]
6896 * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
6897 * sysdeps/s390/configure: Regenerate.
6898
8ea587db
SL
6899 [BZ #16824]
6900 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
6901 Set round-to-nearest internally to reduce error accumulation.
6902
aa5f0ff1
AM
69032014-04-16 Alan Modra <amodra@gmail.com>
6904
6905 [BZ #16740]
6906 [BZ #16619]
6907 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
6908 * math/libm-test.inc (frexp_test_data): Add tests.
9860b045 6909 * NEWS: Update fixed bug list.
aa5f0ff1 6910
bb9c256f
SP
69112014-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
6912
6913 * benchtests/Makefile: Depend on libraries in build directory.
6914 (bench-math): Separate out math tests.
6915 (bench-pthread): Separate out pthread tests.
6916 (bench): Include math and pthread tests.
6917
f737dfd0
CD
69182014-04-14 Carlos O'Donell <carlos@redhat.com>
6919
6920 [BZ #16831]
6921 * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
6922 _dl_debug_initialize.
6923
0699f766
CD
6924 * configure.ac: Remove SELinux header check.
6925 * configure: Regenerate.
6926 * nscd/selinux.c (perms): Array of const char* to permission names.
6927 (nscd_request_avc_has_perm): Call security_deny_unknown to find
6928 default policy. Call string_to_security_class and string_to_av_perm to
6929 translate strings. Enforce default policy and call avs_has_perm with
6930 results of translated strings.
6931
809bd45f
DM
69322014-04-13 David S. Miller <davem@davemloft.net>
6933
6934 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6935
89e691f2
AM
69362014-04-12 Allan McRae <allan@archlinux.org>
6937
6938 [BZ #16838]
6939 * manual/string.texi (Collation Functions): Fix qsort argument
6940 order in example.
6941 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
6942
9c9daaeb
CM
69432014-04-11 Chris Metcalf <cmetcalf@tilera.com>
6944
6945 * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
6946 Make the test a no-op if there are no exceptions defined.
6947
95561fb9
PP
69482014-04-11 Paul Pluzhnikov <ppluzhnikov@google.com>
6949
fe8d072c 6950 * elf/Makefile (tests): make tst-dlopen-aout conditional on
95561fb9
PP
6951 enable-hardcoded-path-in-tests
6952
970c602a
WN
69532014-04-11 Will Newton <will.newton@linaro.org>
6954
6955 * benchtests/Makefile (extra-objs): Add json-lib.o.
6956 (bench-func): Tidy up JSON output.
6957 * benchtests/bench-skeleton.c: Include json-lib.h.
6958 (main): Use JSON library functions to do output of
6959 benchmark results.
6960 * benchtests/bench-timing-type.c (main): Output the
6961 timing type simply, leaving formatting to the user.
6962 * benchtests/json-lib.c: New file.
6963 * benchtests/json-lib.h: Likewise.
6964
36875b06
TR
69652014-04-11 Torvald Riegel <triegel@redhat.com>
6966
6967 [BZ #15215]
6968 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
6969 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here. Add missing
6970 memory barriers. Add comments.
6971 * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
6972 * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
6973 * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
6974 * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
6975 * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
6976 * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
6977
579db35a
SL
69782014-04-11 Stefan Liebler <stli@linux.vnet.ibm.com>
6979
6980 * sysdeps/s390/s390-32/configure.ac: Unify file with ...
6981 * sysdeps/s390/s390-64/configure.ac: ... this ...
6982 * sysdeps/s390/configure.ac: ... to here.
6983 * sysdeps/s390/s390-32/configure: Delete file.
6984 * sysdeps/s390/s390-64/configure: Delete file.
6985 * sysdeps/s390/configure: Regenerate.
6986
c12e9f37
JAPH
69872014-04-11 Joseph Anthony Pasquale Holsten <joseph@josephholsten.com>
6988
6989 * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
6990
439bda32
WN
69912014-04-11 Will Newton <will.newton@linaro.org>
6992
6993 * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
6994 to zero if it is not defined elsewhere. (mtrim): Test
6995 the value of MALLOC_DEBUG with #if rather than #ifdef.
6996
6a5d6ea1
TR
69972014-04-10 Torvald Riegel <triegel@redhat.com>
6998
6999 * benchtests/pthread_once-inputs: New file.
7000 * benchtests/pthread_once-source.c: New file.
7001 * benchtests/README: Update documentation.
7002
a4c75cfd
IZ
70032014-04-09 Igor Zamyatin <igor.zamyatin@intel.com>
7004 H.J. Lu <hongjiu.lu@intel.com>
7005
7e54fd04 7006 [BZ #16275]
a4c75cfd
IZ
7007 * config.h.in (HAVE_MPX_SUPPORT): New #undef.
7008 * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
7009 * sysdeps/x86_64/configure: Regenerated.
7010 * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
7011 macro.
7012 (REGISTER_SAVE_RAX): Likewise.
7013 (REGISTER_SAVE_RCX): Likewise.
7014 (REGISTER_SAVE_RDX): Likewise.
7015 (REGISTER_SAVE_RSI): Likewise.
7016 (REGISTER_SAVE_RDI): Likewise.
7017 (REGISTER_SAVE_R8): Likewise.
7018 (REGISTER_SAVE_R9): Likewise.
7019 (REGISTER_SAVE_BND0): Likewise.
7020 (REGISTER_SAVE_BND1): Likewise.
7021 (REGISTER_SAVE_BND2): Likewise.
7022 (_dl_runtime_resolve): Use them. Save and restore Intel MPX
7023 bound registers when calling _dl_fixup.
7024
27822ce6
AZ
70252014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7026
7027 * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
57f41c40
AS
7028 * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
7029 of its definition.
27822ce6
AZ
7030 * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
7031 * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
7032 * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
7033 * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
7034 * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
7035 * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
7036 * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
7037
a88ddc90
PTB
70382014-04-09 Peter Brett <peter@peter-b.co.uk>
7039
7040 [BZ #15514]
7041 * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
7042 pathconf(_PC_NAME_MAX).
7043
01f8eac2
AZ
70442014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7045
7046 * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
7047 Remove macro usage.
7048 (__PTHREAD_SPINS): Move definition to ...
7049 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
7050 (__PTHREAD_SPINS): ... here.
7051 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
7052 (__PTHREAD_SPIN): Likewise.
7053 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
7054 (__PTHREAD_SPIN): Likewise.
7055 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
7056 (__PTHREAD_SPIN): Likewise.
7057 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
7058 (__PTHREAD_SPIN): Likewise.
7059 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
7060 (__PTHREAD_SPIN): Likewise.
7061 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
7062 (__PTHREAD_SPIN): Likewise.
7063 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
7064 (__PTHREAD_SPIN): Likewise.
7065 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
7066 (__PTHREAD_SPIN): Likewise.
7067 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
7068 (__PTHREAD_SPIN): Likewise.
7069 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
7070 (__PTHREAD_SPIN): Likewise.
7071 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
7072 (__PTHREAD_SPIN): Likewise.
7073 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
7074 (__PTHREAD_SPIN): Likewise.
7075
de21c33c
AZ
7076 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
7077 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
7078 * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
7079 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
7080 imply folder.
7081 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
7082 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
7083 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
7084 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
7085 correct imply path.
7086 * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
7087 strlen symbol for non multi-arch builds.
7088 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
7089 missing hidden_def and weak_alias.
7090
862c472e
CD
70912014-04-08 Carlos O'Donell <carlos@redhat.com>
7092
7093 * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
7094
8667f90e
WN
70952014-04-07 Will Newton <will.newton@linaro.org>
7096
7097 * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
7098 and contents. [!_LIBC] Remove #ifndef and contents.
7099 (basename): Use ANSI prototype. [_LIBC] Remove #idef.
7100 * string/memccpy.c (__memccpy): Use ANSI prototype.
7101 * string/memfrob.c (memfrob): Likewise.
7102 * string/strcoll.c (STRCOLL): Likewise.
7103 * string/strlen.c (strlen): Likewise.
7104 * string/strtok.c (STRTOK): Likewise.
7105 * string/strcat.c: Remove unused #include of memcopy.h.
7106 (strcat): Use ANSI prototype.
7107 * string/strchr.c: Remove unused #include of memcopy.h.
7108 (strchr): Use ANSI prototype.
7109 * string/strcmp.c: Remove unused #include of memcopy.h.
7110 (strcmp): Use ANSI prototype.
7111 * string/strcpy.c: Remove unused #include of memcopy.h.
7112 (strcpy): Use ANSI prototype.
7113
7ffa9423
AZ
71142014-04-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7115
7116 * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
7117 * config.make.in (config-extra-cppflags): Set it from
7118 libc_extra_cppflags.
7119 * configure.ac (libc_extra_cflags): Make it accumulate over
7120 configure fragments.
7121 (libc_extra_cppflags): New flag.
7122 * configure. Regenerate.
7123 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
57f41c40
AS
7124 (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
7125 not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
7ffa9423
AZ
7126 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
7127
8bd70862
AZ
7128 [BZ #16815]
7129 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
7130 result for FE_DOWNWARD rounding mode.
7131 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
7132 Likewise.
7133 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7134
d42f3448
CM
71352014-04-04 Chris Metcalf <cmetcalf@tilera.com>
7136
7137 * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
7138 in function argument name.
7139
1c21d115
DS
71402014-04-03 David Svoboda <svoboda@cert.org>
7141
7142 [BZ #5666]
7143 * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
7144 explicitly.
7145
fcccd512
RM
71462014-04-03 Roland McGrath <roland@hack.frob.com>
7147
7148 * elf/dl-unmap-segments.h: New file.
7149 * sysdeps/generic/ldsodefs.h
7150 (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
7151 * elf/dl-close.c: Include <dl-unmap-segments.h>.
7152 * elf/dl-fptr.c: Likewise.
7153 (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
7154 * sysdeps/aarch64/tlsdesc.c: Likewise.
7155 * sysdeps/arm/tlsdesc.c: Likewise.
7156 * sysdeps/i386/tlsdesc.c: Likewise.
7157 * sysdeps/tile/dl-runtime.c: Likewise.
7158 * sysdeps/x86_64/tlsdesc.c: Likewise.
7159 * elf/dl-load.h: New file.
7160 * elf/dl-load.c: Include it.
7161 (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
7162 Macros moved to dl-load.h.
7163 (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
7164 (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
7165 Use _dl_unmap_segments in place of __munmap.
7166 Break out segment-mapping loop into ...
7167 * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
7168
f6488e2b
WN
71692014-04-03 Will Newton <will.newton@linaro.org>
7170
7171 * elf/dl-lookup.c (do_lookup_x): Remove comment
7172 referring to nested function and move variable
7173 declarations down to before first use.
7174
6f05bafe
JM
71752014-04-02 Joseph Myers <joseph@codesourcery.com>
7176
a84e78c8
JM
7177 [BZ #16799]
7178 [BZ #16800]
7179 * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
7180 with 0 numerator.
7181 * math/s_catanf.c (__catanf): Likewise.
7182 * math/s_catanh.c (__catanh): Likewise.
7183 * math/s_catanhf.c (__catanhf): Likewise.
7184 * math/s_catanhl.c (__catanhl): Likewise.
7185 * math/s_catanl.c (__catanl): Likewise.
7186 * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
7187 by positive zero when computing -Inf result.
7188 * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
7189 (catanh_test): Likewise.
7190 * sysdeps/i386/fpu/libm-test-ulps: Update.
7191 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7192
6f05bafe
JM
7193 [BZ #16789]
7194 * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
7195 instead of using underflowing value in computing result.
7196 * math/s_clog10.c (__clog10): Likewise.
7197 * math/s_clog10f.c (__clog10f): Likewise.
7198 * math/s_clog10l.c (__clog10l): Likewise.
7199 * math/s_clogf.c (__clogf): Likewise.
7200 * math/s_clogl.c (__clogl): Likewise.
7201 * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
7202 (clog10_test): Likewise.
7203 * sysdeps/i386/fpu/libm-test-ulps: Update.
7204 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7205
b0abbc21
AM
72062014-04-02 Alan Modra <amodra@gmail.com>
7207
7208 [BZ #16739]
7209 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
7210 output when value is near a power of two. Use int64_t for lx and
7211 remove casts. Use decimal rather than hex exponent constants.
7212 Don't use long double multiplication when double will suffice.
7213 * math/libm-test.inc (nextafter_test_data): Add tests.
7214 * NEWS: Add 16739 and 16786 to bug list.
7215
af6b1797
AM
7216 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
7217
483818d7
AM
7218 * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
7219
f6c55796
WN
72202014-04-01 Will Newton <will.newton@linaro.org>
7221
7222 * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
7223 -fno-builtin. (CFLAGS-bench-ffsll.c): Likewise.
7224
13f7fe35
FW
72252014-04-01 Florian Weimer <fweimer@redhat.com>
7226
7227 [BZ #13347]
7228 * nptl/nptl-init.c (sighandler_setxid): Check system call result.
7229 * nptl/tst-setuid2.c: New file.
7230 * nptl/Makefile (xtests): Add tst-setuid2.
7231
c859b32e
AM
72322014-04-01 Alan Modra <amodra@gmail.com>
7233
7234 [BZ #16786]
7235 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
7236
54fa2475
JM
72372014-03-31 Joseph Myers <joseph@codesourcery.com>
7238
8795b4a4
JM
7239 [BZ #6803]
7240 [BZ #6804]
7241 * math/w_scalb.c (__scalb): For non-SVID mode, check result and
7242 set errno as appropriate.
7243 * math/w_scalbf.c (__scalbf): Likewise.
7244 * math/w_scalbl.c (__scalbl): Likewise.
7245 * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
7246 ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
7247 * math/libm-test.inc (scalb_test_data): Add errno expectations.
7248 Add more NaN tests.
7249
54fa2475
JM
7250 [BZ #16349]
7251 * math/w_atan2.c: Include <errno.h>.
7252 (__atan2): Set errno for result underflowing to zero.
7253 * math/w_atan2f.c: Include <errno.h>.
7254 (__atan2f): Set errno for result underflowing to zero.
7255 * math/w_atan2l.c: Include <errno.h>.
7256 (__atan2l): Set errno for result underflowing to zero.
7257 * math/auto-libm-test-in: Don't allow missing errno for some atan2
7258 tests.
7259 * math/auto-libm-test-out: Regenerated.
7260
757d9dd5
AZ
72612014-03-31 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7262
7263 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
7264 Encode instruction correctly in little endian.
7265 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
7266 Likewise.
7267 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
7268 Likewise.
7269 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
7270 Likewise.
7271 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
7272 Likewise.
7273
d7a68734
JM
72742014-03-31 Joseph Myers <joseph@codesourcery.com>
7275
47c5adeb
JM
7276 [BZ #9894]
7277 * sysdeps/unix/sysv/linux/kernel-features.h
7278 [__sparc__ && !__arch64__ && !__sparc_v9__]
7279 (__ASSUME_SET_ROBUST_LIST): Do not define.
7280 [__sparc__ && !__arch64__ && !__sparc_v9__]
7281 (__ASSUME_FUTEX_LOCK_PI): Likewise.
7282 [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
7283 Likewise.
7284 * sysdeps/unix/sysv/linux/arm/kernel-features.h
7285 (__ASSUME_FUTEX_LOCK_PI): Undefine.
7286 (__ASSUME_REQUEUE_PI): Likewise.
7287 (__ASSUME_SET_ROBUST_LIST): Likewise.
7288 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
7289 [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
7290 Undefine.
7291 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
7292 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
7293 Likewise.
7294 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
7295 Likewise.
7296 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
7297 Likewise.
7298 * sysdeps/unix/sysv/linux/mips/kernel-features.h
7299 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
7300 Undefine.
7301 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
7302 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
7303 Likewise.
7304
d7a68734
JM
7305 [BZ #16648]
7306 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
7307 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
7308 * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
7309
c760f5c2
WN
73102014-03-31 Will Newton <will.newton@linaro.org>
7311
7312 * benchtests/Makefile (bench): Add ffs and ffsll to list
7313 of tests.
7314 * benchtests/ffs-inputs: New file.
7315 * benchtests/ffsll-inputs: Likewise.
7316
ea6029b1
JM
73172014-03-29 Joseph Myers <joseph@codesourcery.com>
7318
7319 [BZ #16770]
7320 * math/e_scalb.c (__ieee754_scalb): Check second argument is not
7321 too large before casting to int.
7322 * math/e_scalbf.c (__ieee754_scalbf): Likewise.
7323 * math/e_scalbl.c (__ieee754_scalbl): Likewise.
7324 * math/libm-test.inc (scalb_test_data): Add more tests.
7325
cf806aff
SP
73262014-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
7327
56737508
SP
7328 * benchtests/Makefile (DETAILED_OPT): New make option.
7329 (bench-func): Run benchmark program with -d if DETAILED_OPT is
7330 set.
7331 * benchtests/bench-skeleton.c: Include stdbool.h.
7332 (main): Store and print timings per input.
7333 * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
7334 member to each argument value.
7335 (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
7336 (_print_arg_data): Initialize per-input timing to 0.
7337
cb5e4aad
SP
7338 * benchtests/Makefile (timing-type): New binary.
7339 (bench-clean): Also remove bench-timing-type.
7340 (bench): New target for timing-type.
7341 (bench-func): Print output in JSON format.
7342 * benchtests/bench-skeleton.c (main): Print output in JSON
7343 format.
7344 * benchtests/bench-timing-type.c: New file.
7345 * benchtests/bench-timing.h (TIMING_TYPE): New macro.
7346 (TIMING_PRINT_STATS): Remove.
7347 * benchtests/scripts/bench.py (_print_arg_data): Store variant
7348 name separately.
7349
cf806aff
SP
7350 * benchtests/bench-modf.c: Remove.
7351 * benchtests/modf-inputs: New inputs file.
7352
289e0779
JM
73532014-03-28 Joseph Myers <joseph@codesourcery.com>
7354
7355 [BZ #16362]
7356 * math/s_clog10.c (M_PI_LOG10E): New macro.
7357 (__clog10): Use M_PI_LOG10E instead of M_PI when real and
7358 imaginary parts are 0.
7359 * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
7360 (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
7361 imaginary parts are 0.
7362 * math/s_clog10l.c (M_PI_LOG10El): New macro.
7363 (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
7364 imaginary parts are 0.
7365 * math/libm-test.inc (clog10_test_data): Update expected results
7366 for when real and imaginary parts are 0.
7367
277ae3f1
PP
73682014-03-27 Paul Pluzhnikov <ppluzhnikov@google.com>
7369
7370 * elf/dl-load.c: Finish conversion of __builtin_expect into
7371 __glibc_{un}likely.
7372
03a7091f
JM
73732014-03-27 Joseph Myers <joseph@codesourcery.com>
7374
7375 [BZ #16348]
7376 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
7377 1+x for argument with exponent below -67.
7378 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
7379 Likewise.
7380 * math/auto-libm-test-in: Add more tests of exp.
7381 * math/auto-libm-test-out: Regenerated.
7382
ea7d8b95
SP
73832014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
7384
dd3022d7
SP
7385 [BZ #16759]
7386 * inet/getnetgrent_r.c (get_nonempty_val): New function.
7387 (nscd_getnetgrent): Use it.
7388
ea7d8b95
SP
7389 [BZ #16760]
7390 * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
7391 of stpcpy.
7392
df5b85da
AK
73932014-03-27 Andi Kleen <ak@linux.intel.com>
7394
57f41c40
AS
7395 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
7396 (lll_robust_lock, lll_cond_lock, lll_timedlock)
7397 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
7398 (lll_robust_unlock): Remove out of line section. Use cfi
7399 intrinsics.
df5b85da 7400 (LLL_STUB_UNWIND_INFO*): Remove.
57f41c40
AS
7401 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
7402 (lll_robust_lock, lll_cond_lock, lll_timedlock)
7403 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
7404 (lll_robust_unlock): Remove out of line section. Use cfi
7405 intrinsics.
df5b85da
AK
7406 (LLL_STUB_UNWIND_INFO*): Remove.
7407
fbd6b5a4
SP
74082014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
7409
7410 [BZ #16758]
7411 * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
7412 blank values.
7413
1b26b855
PP
74142014-03-26 Paul Pluzhnikov <ppluzhnikov@google.com>
7415
7416 * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
7417
9be36fb8
JM
74182014-03-26 Joseph Myers <joseph@codesourcery.com>
7419
7420 [BZ #16198]
7421 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
7422 fnstenv.
7423 * math/test-fenv-preserve.c: New file.
7424 * math/Makefile (tests): Add test-fenv-preserve.
7425
60a2f3c1
WN
74262014-03-26 Will Newton <will.newton@linaro.org>
7427
7428 * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
7429
a5e5f1e2
RM
74302014-03-25 Roland McGrath <roland@hack.frob.com>
7431
7432 * scripts/versionlist.awk: Partition the version sets and emit all
7433 GLIBC_* (sorted) before all others (sorted).
7434
00f4012a
JM
74352014-03-25 Joseph Myers <joseph@codesourcery.com>
7436
7437 * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
7438 GLIBC_2.2.5 version.
7439
7bc5a741
AZ
74402014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7441
7442 * scripts/localplt.awk: Check for PLT generated by internal IFUNC
7443 calls.
7444
7578473b
AZ
7445 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
7446 previous change.
7447
f3f1dab3
AZ
7448 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7449
6da36183
AS
74502014-03-25 Andreas Schwab <schwab@suse.de>
7451
7452 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
7453 label to be used after in6ailist is initialized.
7454
f3f1dab3 74552014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
449282f2 7456
7578473b 7457 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
449282f2
AZ
7458 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
7459
046651c1
JM
74602014-03-25 Joseph Myers <joseph@codesourcery.com>
7461
7462 [BZ #16357]
7463 [BZ #16599]
7464 * math/gen-auto-libm-tests.c (fp_format_desc): Add field
7465 min_plus_half.
7466 (fp_formats): Update initializers.
7467 (init_fp_formats): Initialize new field.
7468 (output_for_one_input_case): Allow underflow for results up to
7469 min_plus_half.
7470 * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
7471 * math/auto-libm-test-in: Don't mark some underflows from asin and
7472 atanh as spurious.
7473 * math/auto-libm-test-out: Regenerated.
7474 * sysdeps/i386/fpu/libm-test-ulps: Update.
7475 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7476
003e49ed
AS
74772014-03-25 Andreas Schwab <schwab@suse.de>
7478
7479 * libio/Makefile (tst-ftell-partial-wide-ENV)
7480 (tst-ftell-active-handler-ENV): Define.
7481
de031874
SL
74822014-03-25 Stefan Liebler <stli@linux.vnet.ibm.com>
7483
7484 * NEWS: Add 16712, 16713, 16714 to fixed bug list.
7485
55a81e3b
PP
74862014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
7487
7488 * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
7489
f3426898
JM
74902014-03-24 Joseph Myers <joseph@codesourcery.com>
7491
7492 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
7493 * sysdeps/x86_64/fpu/multiarch/e_exp.c
7494 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
7495
a42faf59
PP
74962014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
7497
7498 [BZ #16634]
a42faf59 7499 * elf/dl-load.c (open_verify): Add mode parameter.
97d8ca99
CD
7500 Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
7501 (open_path): Change from boolean 'secure' to complete flag 'mode'
7502 (_dl_map_object): Adjust.
a42faf59
PP
7503 * elf/Makefile (tests): Add tst-dlopen-aout.
7504 * elf/tst-dlopen-aout.c: New test.
7505
50936127
SL
75062014-03-24 Stefan Liebler <stli@linux.vnet.ibm.com>
7507
7508 [BZ #16714]
7509 * sysdeps/unix/sysv/linux/s390/bits/stat.h
7510 (struct stat): Rename member pad0 to __glibc_reserved0.
7511
26011b5c
SL
7512 [BZ #16712]
7513 * sysdeps/s390/s390-32/bits/wordsize.h
7514 (__WORDSIZE32_SIZE_ULONG): New define.
7515 * sysdeps/s390/s390-64/bits/wordsize.h
7516 (__WORDSIZE32_SIZE_ULONG): Likewise.
7517 * sysdeps/generic/stdint.h (SIZE_MAX):
7518 Define as UL if __WORDSIZE32_SIZE_ULONG.
7519
a2d86bf1
SL
7520 [BZ #16713]
7521 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
7522 (__glibc_reserved0): New variable.
7523 (sa_flags): Change type to int.
7524
78b6eebc
SL
7525 * posix/Makefile (before-compile): Use += before-compile instead
7526 of a :=.
7527
f1399b5a
SL
7528 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
7529 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
7530
a071766e
AS
75312014-03-20 Andreas Schwab <schwab@suse.de>
7532
7533 [BZ #16743]
7534 * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
7535 non-matching result from nscd.
7536
27c673b8
SP
75372014-03-24 Siddhesh Poyarekar <siddhesh@redhat.com>
7538
7539 * scripts/bench.py: Moved to ...
7540 * benchtests/scripts/bench.py: ... here.
7541 * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
7542
44152e4b
AS
75432014-03-24 Andreas Schwab <schwab@suse.de>
7544
7545 [BZ #16002]
7546 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
7547 alloca_account and account alloca use for struct in6ailist.
7548
b376a11a
JM
75492014-03-24 Joseph Myers <joseph@codesourcery.com>
7550
7551 [BZ #16284]
7552 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
7553 rounding mode to recompute results that overflow to infinity or
7554 underflow to zero.
7555 * math/auto-libm-test-in: Don't mark tests as expected to fail for
7556 bug 16284.
7557 * math/auto-libm-test-out: Regenerated.
7558 * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
7559 (ccosh_test): Likewise.
7560 (csin_test_data): Use plus_oflow.
7561 (csin_test): Use ALL_RM_TEST.
7562 (csinh_test_data): Use plus_oflow.
7563 (csinh_test): Use ALL_RM_TEST.
7564 * sysdeps/i386/fpu/libm-test-ulps: Update.
7565 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7566
f7be7376
JM
75672014-03-21 Joseph Myers <joseph@codesourcery.com>
7568
1ca2d03e
JM
7569 * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
7570 * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
7571 * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
7572
f7be7376
JM
7573 [BZ #16731]
7574 * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
7575 when x - 1 is zero.
7576 * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
7577 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
7578 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
7579 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
7580 argument is 1.
7581 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
7582 * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
7583 zero.
7584 * math/libm-test.inc (log_test): Use ALL_RM_TEST.
7585 * sysdeps/i386/fpu/libm-test-ulps: Update.
7586 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7587
fdf4534d
SP
75882014-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
7589
df26ea53
SP
7590 * scripts/bench.pl: Remove file.
7591 * scripts/bench.py: New benchmark script.
7592 * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
7593 * benchtests/README: Mention python dependency.
7594 * scripts/pylintrc: New file.
7595 * scripts/pylint: New file.
7596
fdf4534d
SP
7597 * bits/mathdef.h: Use #ifdef instead of #if.
7598 * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
7599 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
7600 * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
7601 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
7602 * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
7603 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
7604
6f23d093
AZ
76052014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7606 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
7607
7608 * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
7609 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
7610 and strpbrk-ppc64 objects.
7611 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7612 (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
7613 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
7614 multiarch strpbrk for POWER7.
7615 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
7616 multiarch strpbrk for PPC64.
7617 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
7618 ifunc selector.
7619 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
7620 strpbrk for POWER7.
7621
8c92dfff
JM
76222014-03-20 Joseph Myers <joseph@codesourcery.com>
7623
7624 * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
7625 (atan_test): Likewise.
7626 (atanh_test_data): Use NO_TEST_INLINE for two tests.
7627 (atanh_test): Use ALL_RM_TEST.
7628 (atan2_test_data): Likewise.
7629 (cabs_test): Likewise.
7630 (cacosh_test): Likewise.
7631 (carg_test): Likewise.
7632 (casin_test): Likewise.
7633 (casinh_test): Likewise.
7634 (cbrt_test): Likewise.
7635 (csqrt_test): Likewise.
7636 (erf_test): Likewise.
7637 (erfc_test): Likewise.
7638 (pow10_test): Likewise.
7639 (exp2_test): Likewise.
7640 (hypot_test): Likewise.
7641 (j0_test): Likewise.
7642 (j1_test): Likewise.
7643 (lgamma_test): Likewise.
7644 (gamma_test): Likewise.
7645 (sincos_test): Likewise.
7646 (tanh_test): Likewise.
7647 (y0_test): Likewise.
7648 (y1_test): Likewise.
7649 * sysdeps/i386/fpu/libm-test-ulps: Update.
7650 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7651
6eaf95cb
AZ
76522014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7653
a387428c
SP
7654 * string/strcspn.c (strcspn): Using macro to redefine symbol name.
7655 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
6eaf95cb
AZ
7656 and strcspn-ppc64 objects.
7657 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7658 (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
7659 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
7660 multiarch strcspn for POWER7.
7661 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
7662 multiarch strcspn for PPC64.
7663 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
7664 ifunc selector.
7665 * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
7666 strcspn for POWER7.
7667
ae3a5dff
JM
76682014-03-20 Joseph Myers <joseph@codesourcery.com>
7669
7670 * math/gen-libm-test.pl (generate_testfile): Expect only function
7671 name as argument to AUTO_TESTS_* and pass results for all rounding
7672 modes to parse_args.
7673 (parse_auto_input): Separate inputs of automatic tests from
7674 outputs before storing in %auto_tests.
7675 * math/libm-test.inc (acos_test_data): Update call to
7676 AUTO_TESTS_f_f.
7677 (acos_test): Use ALL_RM_TEST.
7678 (acos_tonearest_test_data): Remove.
7679 (acos_test_tonearest): Likewise.
7680 (acos_towardzero_test_data): Likewise.
7681 (acos_test_towardzero): Likewise.
7682 (acos_downward_test_data): Likewise.
7683 (acos_test_downward): Likewise.
7684 (acos_upward_test_data): Likewise.
7685 (acos_test_upward): Likewise.
7686 (acosh_test_data): Update call to AUTO_TESTS_f_f.
7687 (asin_test_data): Likewise.
7688 (asin_test): Use ALL_RM_TEST.
7689 (asin_tonearest_test_data): Remove.
7690 (asin_test_tonearest): Likewise.
7691 (asin_towardzero_test_data): Likewise.
7692 (asin_test_towardzero): Likewise.
7693 (asin_downward_test_data): Likewise.
7694 (asin_test_downward): Likewise.
7695 (asin_upward_test_data): Likewise.
7696 (asin_test_upward): Likewise.
7697 (asinh_test_data): Update call to AUTO_TESTS_f_f.
7698 (atan_test_data): Likewise.
7699 (atanh_test_data): Likewise.
7700 (atan2_test_data): Update call to AUTO_TESTS_ff_f.
7701 (cabs_test_data): Update call to AUTO_TESTS_c_f.
7702 (carg_test_data): Likewise.
7703 (cbrt_test_data): Update call to AUTO_TESTS_f_f.
7704 (ccos_test_data): Update call to AUTO_TESTS_c_c.
7705 (ccosh_test_data): Likewise.
7706 (cexp_test_data): Likewise.
7707 (clog_test_data): Likewise.
7708 (clog10_test_data): Likewise.
7709 (cos_test_data): Update call to AUTO_TESTS_f_f.
7710 (cos_test): Use ALL_RM_TEST.
7711 (cos_tonearest_test_data): Remove.
7712 (cos_test_tonearest): Likewise.
7713 (cos_towardzero_test_data): Likewise.
7714 (cos_test_towardzero): Likewise.
7715 (cos_downward_test_data): Likewise.
7716 (cos_test_downward): Likewise.
7717 (cos_upward_test_data): Likewise.
7718 (cos_test_upward): Likewise.
7719 (cosh_test_data): Update call to AUTO_TESTS_f_f.
7720 (cosh_test): Use ALL_RM_TEST.
7721 (cosh_tonearest_test_data): Remove.
7722 (cosh_test_tonearest): Likewise.
7723 (cosh_towardzero_test_data): Likewise.
7724 (cosh_test_towardzero): Likewise.
7725 (cosh_downward_test_data): Likewise.
7726 (cosh_test_downward): Likewise.
7727 (cosh_upward_test_data): Likewise.
7728 (cosh_test_upward): Likewise.
7729 (cpow_test_data): Update call to AUTO_TESTS_cc_c.
7730 (csqrt_test_data): Update call to AUTO_TESTS_c_c.
7731 (ctan_test_data): Likewise.
7732 (ctan_test): Use ALL_RM_TEST.
7733 (ctan_tonearest_test_data): Remove.
7734 (ctan_test_tonearest): Likewise.
7735 (ctan_towardzero_test_data): Likewise.
7736 (ctan_test_towardzero): Likewise.
7737 (ctan_downward_test_data): Likewise.
7738 (ctan_test_downward): Likewise.
7739 (ctan_upward_test_data): Likewise.
7740 (ctan_test_upward): Likewise.
7741 (ctanh_test_data): Update call to AUTO_TESTS_c_c.
7742 (ctanh_test): Use ALL_RM_TEST.
7743 (ctanh_tonearest_test_data): Remove.
7744 (ctanh_test_tonearest): Likewise.
7745 (ctanh_towardzero_test_data): Likewise.
7746 (ctanh_test_towardzero): Likewise.
7747 (ctanh_downward_test_data): Likewise.
7748 (ctanh_test_downward): Likewise.
7749 (ctanh_upward_test_data): Likewise.
7750 (ctanh_test_upward): Likewise.
7751 (erf_test_data): Update call to AUTO_TESTS_f_f.
7752 (erfc_test_data): Likewise.
7753 (exp_test_data): Likewise.
7754 (exp_test): Use ALL_RM_TEST.
7755 (exp_tonearest_test_data): Remove.
7756 (exp_test_tonearest): Likewise.
7757 (exp_towardzero_test_data): Likewise.
7758 (exp_test_towardzero): Likewise.
7759 (exp_downward_test_data): Likewise.
7760 (exp_test_downward): Likewise.
7761 (exp_upward_test_data): Likewise.
7762 (exp_test_upward): Likewise.
7763 (exp10_test_data): Update call to AUTO_TESTS_f_f.
7764 (exp10_test): Use ALL_RM_TEST.
7765 (exp10_tonearest_test_data): Remove.
7766 (exp10_test_tonearest): Likewise.
7767 (exp10_towardzero_test_data): Likewise.
7768 (exp10_test_towardzero): Likewise.
7769 (exp10_downward_test_data): Likewise.
7770 (exp10_test_downward): Likewise.
7771 (exp10_upward_test_data): Likewise.
7772 (exp10_test_upward): Likewise.
7773 (exp2_test_data): Update call to AUTO_TESTS_f_f.
7774 (expm1_test_data): Likewise.
7775 (expm1_test): Use ALL_RM_TEST.
7776 (expm1_tonearest_test_data): Remove.
7777 (expm1_test_tonearest): Likewise.
7778 (expm1_towardzero_test_data): Likewise.
7779 (expm1_test_towardzero): Likewise.
7780 (expm1_downward_test_data): Likewise.
7781 (expm1_test_downward): Likewise.
7782 (expm1_upward_test_data): Likewise.
7783 (expm1_test_upward): Likewise.
7784 (fma_test_data): Update call to AUTO_TESTS_fff_f.
7785 (fma_test): Use ALL_RM_TEST.
7786 (fma_towardzero_test_data): Remove.
7787 (fma_test_towardzero): Likewise.
7788 (fma_downward_test_data): Likewise.
7789 (fma_test_downward): Likewise.
7790 (fma_upward_test_data): Likewise.
7791 (fma_test_upward): Likewise.
7792 (hypot_test_data): Update call to AUTO_TESTS_ff_f.
7793 (j0_test_data): Update call to AUTO_TESTS_f_f.
7794 (j1_test_data): Likewise.
7795 (jn_test_data): Update call to AUTO_TESTS_if_f.
7796 (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
7797 (log_test_data): Update call to AUTO_TESTS_f_f.
7798 (log10_test_data): Likewise.
7799 (log1p_test_data): Likewise.
7800 (log2_test_data): Likewise.
7801 (pow_test_data): Update call to AUTO_TESTS_ff_f.
7802 (pow_tonearest_test_data): Likewise.
7803 (sin_test_data): Update call to AUTO_TESTS_f_f.
7804 (sin_test): Use ALL_RM_TEST.
7805 (sin_tonearest_test_data): Remove.
7806 (sin_test_tonearest): Likewise.
7807 (sin_towardzero_test_data): Likewise.
7808 (sin_test_towardzero): Likewise.
7809 (sin_downward_test_data): Likewise.
7810 (sin_test_downward): Likewise.
7811 (sin_upward_test_data): Likewise.
7812 (sin_test_upward): Likewise.
7813 (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
7814 (sinh_test_data): Update call to AUTO_TESTS_f_f.
7815 (sinh_test): Use ALL_RM_TEST.
7816 (sinh_tonearest_test_data): Remove.
7817 (sinh_test_tonearest): Likewise.
7818 (sinh_towardzero_test_data): Likewise.
7819 (sinh_test_towardzero): Likewise.
7820 (sinh_downward_test_data): Likewise.
7821 (sinh_test_downward): Likewise.
7822 (sinh_upward_test_data): Likewise.
7823 (sinh_test_upward): Likewise.
7824 (sqrt_test_data): Update call to AUTO_TESTS_f_f.
7825 (sqrt_test): Use ALL_RM_TEST.
7826 (sqrt_tonearest_test_data): Remove.
7827 (sqrt_test_tonearest): Likewise.
7828 (sqrt_towardzero_test_data): Likewise.
7829 (sqrt_test_towardzero): Likewise.
7830 (sqrt_downward_test_data): Likewise.
7831 (sqrt_test_downward): Likewise.
7832 (sqrt_upward_test_data): Likewise.
7833 (sqrt_test_upward): Likewise.
7834 (tan_test_data): Update call to AUTO_TESTS_f_f.
7835 (tan_test): Use ALL_RM_TEST.
7836 (tan_tonearest_test_data): Remove.
7837 (tan_test_tonearest): Likewise.
7838 (tan_towardzero_test_data): Likewise.
7839 (tan_test_towardzero): Likewise.
7840 (tan_downward_test_data): Likewise.
7841 (tan_test_downward): Likewise.
7842 (tan_upward_test_data): Likewise.
7843 (tan_test_upward): Likewise.
7844 (tanh_test_data): Update call to AUTO_TESTS_f_f.
7845 (tgamma_test_data): Likewise.
7846 (y0_test_data): Likewise.
7847 (y1_test_data): Likewise.
7848 (yn_test_data): Update call to AUTO_TESTS_if_f.
7849 (main): Do not call removed functions.
7850
d71aeee8
JM
78512014-03-19 Joseph Myers <joseph@codesourcery.com>
7852
7853 * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
7854 (ldexp_test_data): Remove.
7855 (ldexp_test): Move to after scalbn_test. Use ALL_RM_TEST with
7856 scalbn_test_data.
7857 (scalb_test): Use ALL_RM_TEST.
7858
baaf1ded
AS
78592014-03-19 Andreas Schwab <schwab@suse.de>
7860
7861 * nscd/nscd.service: Also invalidate netgroup cache on reload.
7862
b1115e91
JM
78632014-03-19 Joseph Myers <joseph@codesourcery.com>
7864
7865 [BZ #16649]
7866 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
7867 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
7868 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
7869 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
7870 (__ASSUME_PREADV): Undefine.
7871 (__ASSUME_PWRITEV): Likewise.
7872
0283ecca
RM
78732014-03-18 Roland McGrath <roland@hack.frob.com>
7874
7d375303
RM
7875 * bits/mman-linux.h: Add comment about non-Linux use.
7876 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
7877 bits/mman-linux.h resting place.
7878
0283ecca
RM
7879 * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
7880 * bits/mman-linux.h: ... here.
7881
aebe1003
AZ
78822014-03-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7883
7884 * conform/conformtest.pl: Add standard definition when calling C
7885 preprocessor on data files.
7886 (checknamespace): Remove unused variable.
7887
b29b6bb8
JM
78882014-03-18 Joseph Myers <joseph@codesourcery.com>
7889
7890 * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
7891 minus_oflow, plus_uflow and minus_uflow in expected results.
7892 * math/libm-test.inc (scalbn_test_data): Add more tests of
7893 negative arguments. Use plus_oflow, minus_oflow, plus_uflow and
7894 minus_uflow.
7895 (scalbn_test): Use ALL_RM_TEST.
7896 (scalbln_test_data): Add more tests of negative arguments. Use
7897 plus_oflow, minus_oflow, plus_uflow and minus_uflow.
7898 (scalbln_test): Use ALL_RM_TEST.
7899
c8f8fa15
RM
79002014-03-18 Roland McGrath <roland@hack.frob.com>
7901
7902 * scripts/abilist.awk: Ignore symbols marked with .hidden.
7903
fede7a5f
WN
79042014-03-18 Will Newton <will.newton@linaro.org>
7905
7906 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
7907 inaccurate comment.
7908
80cf0a58
JM
79092014-03-18 Joseph Myers <joseph@codesourcery.com>
7910
7911 * Makerules [!subdir] (check-abi): Exit with error status if a
7912 test failed.
7913
b3620862
JM
79142014-03-17 Joseph Myers <joseph@codesourcery.com>
7915
7916 * math/libm-test.inc (nearbyint_test_data): Include all tests used
7917 for rint. Include results for all rounding modes.
7918 (nearbyint_test): Use ALL_RM_TEST.
7919 (rint_test_data): Include all tests used for nearbyint.
7920
788bba36
WN
79212014-03-17 Will Newton <will.newton@linaro.org>
7922
04ec140a
WN
7923 * nptl/sysdeps/pthread/pthread.h: Revert previous
7924 change.
7925
7579d8d5
WN
7926 * sysdeps/generic/ldsodefs.h: Revert previous
7927 change.
7928
c15cf13a
WN
7929 * libio/genops.c: Revert previous change.
7930 * libio/libioP.h: Likewise.
7931 * stdio-common/vfprintf.c: Likewise.
7932
d0ac1324
WN
7933 * sysdeps/generic/math_private.h: Revert previous
7934 change.
7935
9290130a
WN
7936 * sysdeps/generic/math_private.h: Check whether
7937 HAVE_RM_CTX is defined with #ifdef rather
7938 than #if.
7939
afb466fc
WN
7940 * argp/argp-fmtstream.h: Check whether
7941 __STRICT_ANSI__ is defined with #ifdef rather
7942 than #if.
7943 * argp/argp.h: Likewise.
7944
f7efd7c3
WN
7945 * libio/genops.c: Check whether
7946 _IO_JUMPS_OFFSET is defined with #ifdef rather
7947 than #if.
7948 * libio/libioP.h: Likewise.
7949 * stdio-common/vfprintf.c: Likewise.
7950
53f1bed3
WN
7951 * sysdeps/generic/ldsodefs.h: Check whether
7952 HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
7953 than #if.
7954
788bba36
WN
7955 * nptl/sysdeps/pthread/pthread.h: Check
7956 __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
7957 its value.
7958
fcd89ebe
SP
79592014-03-17 Siddhesh Poyarekar <siddhesh@redhat.com>
7960
ae42bbc5
SP
7961 * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
7962 setting O_APPEND.
7963 * libio/tst-ftell-active-handler.c (do_append_test): Add a
7964 test case.
7965
ea33158c
SP
7966 [BZ #16680]
7967 * libio/fileops.c (_IO_file_open): Seek to end of file but
7968 don't cache the offset.
7969 (get_file_offset): Remove function.
7970 (do_ftell): Use cached offset when available.
7971 * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
7972 don't cache the offset.
7973 * libio/tst-ftell-active-handler.c (do_rewind_test): New test
7974 case.
7975 (do_one_test): Call it.
7976 (do_ftell_test): Fix up expected old offset for a+ mode.
7977 * libio/wfileops.c (do_ftell_wide): Used cached offset when
7978 available.
7979
b1dbb426
SP
7980 * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
7981 up test status with function return status.
7982 (do_write_test): Likewise.
7983 (do_append_test): Likewise.
7984
fcd89ebe
SP
7985 * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
7986 && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
7987 Remove.
7988
9962a2d3
JM
79892014-03-17 Joseph Myers <joseph@codesourcery.com>
7990
7991 * math/gen-libm-test.pl (parse_args): Handle results specified for
7992 each rounding mode separately.
7993 * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
7994 tests and results from lrint_tonearest_test_data,
7995 lrint_towardzero_test_data, lrint_downward_test_data and
7996 lrint_upward_test_data.
7997 (lrint_test): Use ALL_RM_TEST.
7998 (lrint_tonearest_test_data): Remove.
7999 (lrint_test_tonearest): Likewise.
8000 (lrint_towardzero_test_data): Likewise.
8001 (lrint_test_towardzero): Likewise.
8002 (lrint_downward_test_data): Likewise.
8003 (lrint_test_downward): Likewise.
8004 (lrint_upward_test_data): Likewise.
8005 (lrint_test_upward): Likewise.
8006 (llrint_test_data): Merge in per-rounding-mode tests and results
8007 from llrint_tonearest_test_data, llrint_towardzero_test_data,
8008 llrint_downward_test_data and llrint_upward_test_data.
8009 (llrint_test): Use ALL_RM_TEST.
8010 (llrint_tonearest_test_data): Remove.
8011 (llrint_test_tonearest): Likewise.
8012 (llrint_towardzero_test_data): Likewise.
8013 (llrint_test_towardzero): Likewise.
8014 (llrint_downward_test_data): Likewise.
8015 (llrint_test_downward): Likewise.
8016 (llrint_upward_test_data): Likewise.
8017 (llrint_test_upward): Likewise.
8018 (rint_test_data): Merge in per-rounding-mode tests and results
8019 from rint_tonearest_test_data, rint_towardzero_test_data,
8020 rint_downward_test_data and rint_upward_test_data. Add
8021 per-rounding-mode results for tests not in those arrays.
8022 (rint_test): Use ALL_RM_TEST.
8023 (rint_tonearest_test_data): Remove.
8024 (rint_test_tonearest): Likewise.
8025 (rint_towardzero_test_data): Likewise.
8026 (rint_test_towardzero): Likewise.
8027 (rint_downward_test_data): Likewise.
8028 (rint_test_downward): Likewise.
8029 (rint_upward_test_data): Likewise.
8030 (rint_test_upward): Likewise.
8031 (main): Don't call removed functions.
8032
5006148e
RM
80332014-03-14 Roland McGrath <roland@hack.frob.com>
8034
8035 * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
8036 "Compiled on ..." crapola. It is anti-useful.
8037
d6fe5e58
JM
80382014-03-14 Joseph Myers <joseph@codesourcery.com>
8039
8040 * scripts/evaluate-test.sh: Handle fourth argument to determine
8041 whether test run should stop on failure.
8042 * Makeconfig (stop-on-test-failure): New variable.
8043 (evaluate-test): Pass fourth argument to evaluate-test.sh based on
8044 $(stop-on-test-failure).
8045 * Makefile (tests): Give a summary of results from testing and
8046 exit with failure status if they include an ERROR or FAIL.
8047 (xtests): Likewise.
8048 * manual/install.texi (Configuring and compiling): Mention
8049 stop-on-test-failure=y.
8050 * INSTALL: Regenerated.
8051
498a2233
RM
80522014-03-14 Roland McGrath <roland@hack.frob.com>
8053
22dbc19d
RM
8054 * scripts/versionlist.awk: New file.
8055 * Makerules [$(build-shared) = yes]
8056 (postclean-generated): Add Versions.def, not Versions.def.v and
8057 Versions.def.v.i.
8058 ($(common-objpfx)Versions.def.v.i): Target removed.
8059 ($(common-objpfx)Versions.def): New target.
8060 ($(common-objpfx)Versions.all): Depend on that rather that
8061 $(common-objpfx)Versions.def.v.
8062 * Versions.def: File removed.
8063
498a2233
RM
8064 * Makeconfig (+gccwarn): Add -Wundef.
8065 * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
8066 a dl-sysdep.h breaking its contract.
8067 [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
8068 * include/stackinfo.h: New file.
8069 * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
8070 * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
8071 * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
8072 * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
8073 * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
8074 * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
8075 * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
8076 * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
8077 * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
8078 * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
8079 * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
8080 * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
8081 * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
8082 * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
8083 * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
8084
c7de5025
AZ
80852014-03-14 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8086
8087 [BZ #16707]
8088 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
8089 implementation.
8090 * math/libm-test.inc (round_test_data): Add more tests.
8091
98fb27a3
AZ
8092 [BZ #16706]
8093 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
8094 implementation.
8095 * math/libm-test.inc (nearbyint_test_data): Add more tests.
8096
374f7f61
AZ
8097 [BZ #16701]
8098 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
8099 implementation.
8100 * math/libm-test.inc (ceil_test_data): Add more tests.
8101
4655c291
AZ
8102 * math/libm-test.inc (trunc_test_data): Add more tests related to
8103 BZ#16414.
8104
d7329d4b
RM
81052014-03-14 Roland McGrath <roland@hack.frob.com>
8106
8107 * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
8108 with #if rather than #ifdef.
8109 * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
8110
aa4de9ce
L
81112014-03-14 H.J. Lu <hongjiu.lu@intel.com>
8112
8113 * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
8114 first. Disable AVX-512 GCC support if assembler doesn't support
8115 it.
8116 * sysdeps/x86_64/configure: Regenerated.
8117
2e03fae7
CD
81182014-03-13 Carlos O'Donell <carlos@redhat.com>
8119
8120 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
8121 [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
8122 (__old_pthread_attr_setstack): Likewise.
8123 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
8124 [!_STACK_GROWS_DOWN]: Likewise.
8125
43ca83ec
MF
81262014-03-13 Mike Frysinger <vapier@gentoo.org>
8127
8128 * config.make.in (have-bash2): Delete.
8129 * configure.ac (libc_cv_have_bash2): Delete.
8130 * configure: Regenerate.
8131 * elf/Makefile (common-ldd-rewrite): Rename to ...
8132 (ldd-rewrite): ... this. Move bash-ldd-rewrite content to end.
8133 (sh-ldd-rewrite): Delete.
8134 (bash-ldd-rewrite): Delete.
8135 (have-bash2): Delete checks.
57f41c40
AS
8136 [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
8137 ldd-rewrite.
c66e48b4
MF
8138
8139 * config.make.in (have-ksh): Delete.
8140 (KSH): Delete.
8141 * configure.ac (libc_cv_have_ksh): Delete.
8142 * configure: Regenerate.
8143
b93834ef
MF
8144 * elf/Makefile: Delete $(have-ksh) check.
8145 ($(objpfx)sotruss): Change KSH to BASH.
8146 * elf/sotruss.ksh: Rename to ...
8147 * elf/sotruss.sh: ... this. Change @KSH@ to @BASH@. Change
8148 function style to match POSIX. Drop ksh vim mode setting.
8149
f3a4632a
MF
8150 * manual/time.texi (Specifying the Time Zone with TZ): Change
8151 Tuesday to Thursday.
8152
5896c8bd
MF
8153 * debug/tst-longjmp_chk2.c: Update header comment.
8154 (stackoverflow_handler): Add comment. Call assert on pass value.
8155
2d63a517
IZ
81562014-03-13 Igor Zamyatin <igor.zamyatin@intel.com>
8157
7e54fd04 8158 [BZ #16194]
2d63a517
IZ
8159 * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
8160 (HAVE_AVX512_ASM_SUPPORT): Likewise.
8161 * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
8162 (La_x86_64_vector): Add zmm.
8163 * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
8164 (modules-names): Add tst-auditmod10a and tst-auditmod10b.
8165 ($(objpfx)tst-audit10): New target.
8166 ($(objpfx)tst-audit10.out): Likewise.
8167 (tst-audit10-ENV): New.
8168 (AVX512-CFLAGS): Likewise.
8169 (CFLAGS-tst-audit10.c): Likewise.
8170 (CFLAGS-tst-auditmod10a.c): Likewise.
8171 (CFLAGS-tst-auditmod10b.c): Likewise.
8172 * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
8173 HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
8174 * sysdeps/x86_64/configure: Regenerated.
8175 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
8176 AVX-512 zmm register support.
8177 (_dl_x86_64_save_sse): Likewise.
8178 (_dl_x86_64_restore_sse): Likewise.
8179 * sysdeps/x86_64/dl-trampoline.h: Updated to support different
8180 size vector registers.
8181 * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
8182 (ZMM_SIZE): Likewise.
8183 * sysdeps/x86_64/tst-audit10.c: New file.
8184 * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
8185 * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
8186
44c4e5d5
RM
81872014-03-13 Roland McGrath <roland@hack.frob.com>
8188
8189 * configure.ac (HAVE_EHDR_START): New check.
8190 * configure: Regenerated.
8191 * config.h.in (HAVE_EHDR_START): New #undef.
8192 * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
8193 assuming the lowest-addressed segment maps the start of the file.
8194
acd6e389
JM
81952014-03-13 Joseph Myers <joseph@codesourcery.com>
8196
8197 * INSTALL: Regenerated.
8198
6f918f36
WN
81992014-03-13 Will Newton <will.newton@linaro.org>
8200
8201 * manual/setjmp.texi (System V contexts): Improve
8202 clarity and grammar of documentation.
8203
798212a0
PP
82042014-03-12 Paul Pluzhnikov <ppluzhnikov@google.com>
8205
8206 [BZ #16381]
798212a0 8207 * elf/Makefile (tests): Add tst-pie2.
2e03fae7 8208 (tests-pie): Add tst-pie2.
798212a0
PP
8209 * elf/tst-pie2.c: New file.
8210 * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
8211 for ET_EXEC.
8212 * elf/rtld.c (map_doit): Load executable as lt_executable.
8213 (dl_main): Likewise.
8214
abe6d90c
JM
82152014-03-12 Joseph Myers <joseph@codesourcery.com>
8216
8217 [BZ #16642]
8218 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
8219 (__ASSUME_PSELECT): Undefine.
8220
dd3946c6
AZ
82212014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8222
8223 [BZ #16689]
8224 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
8225 (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
8226 static build.
8227 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
8228 selector for static builds.
8229
c44496df
SP
82302014-03-12 Siddhesh Poyarekar <siddhesh@redhat.com>
8231
8232 [BZ #16695]
8233 * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
8234 key in the buffer.
8235
27c7220a
AZ
82362014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8237
57f41c40
AS
8238 * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
8239 IFUNC selector for static builds.
27c7220a 8240
600fa361
JM
82412014-03-11 Joseph Myers <joseph@codesourcery.com>
8242
76c96cf7
JM
8243 * sysdeps/mips/math_private.h [__mips_hard_float]
8244 (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
8245 libc_feresetround_mips_ctx.
8246 [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
8247 [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
8248 [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
8249
600fa361
JM
8250 [BZ #16677]
8251 * math/s_nextafter.c (__nextafter): Do not return value from
8252 overflowing computation.
8253 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
8254 * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
8255 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
8256 Likewise.
8257 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
8258 Likewise.
8259 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
8260 * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
8261
d7706c32
RM
82622014-03-11 Roland McGrath <roland@hack.frob.com>
8263
8264 * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
8265 * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
8266 Move sfi_sp use from the load-multiple (that no longer sets sp) to
8267 the new mov targetting sp.
8268
4facea47
AZ
82692014-03-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8270
8271 [BZ #16683]
8272 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
8273 Define it for static builds as well.
8274 (NO_BZERO_IMPL): Likewise.
8275
e65caf1f
VR
82762014-03-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
8277
8278 * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
8279 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
8280 multiarch strspn for PPC64.
8281 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
8282 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
8283 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
8284 (__libc_ifunc_impl_list): Likewise.
8285 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
8286 multiarch optimizations
8287 * string/strspn.c (strspn): Using macro to redefine symbol name.
8288
ba9cc071
AZ
82892014-03-10 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
8290 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8291
8292 * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
8293 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
8294 multiarch strncat for PPC64.
8295 * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
8296 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
8297 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
8298 (__libc_ifunc_impl_list): Likewise.
8299 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
8300 multiarch optimizations
8301
8b4ff974
SP
83022014-03-10 Siddhesh Poyarekar <siddhesh@redhat.com>
8303
8304 [BZ #16639]
8305 * nscd/nscd.service: Make service type forking.
8306
54b46a4b
AZ
83072014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8308
8309 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
8310 sign in non default rounding modes.
8311 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
8312
e9996ef7
JM
83132014-03-08 Joseph Myers <joseph@codesourcery.com>
8314
8315 * math/libm-test.inc (ALL_RM_TEST): New macro.
8316 (ceil_test): Use ALL_RM_TEST.
8317 (cimag_test): Likewise.
8318 (conj_test): Likewise.
8319 (copysign_test): Likewise.
8320 (cproj_test): Likewise.
8321 (creal_test): Likewise.
8322 (fabs_test): Likewise.
8323 (floor_test): Likewise.
8324 (fmax_test): Likewise.
8325 (fmin_test): Likewise.
8326 (fmod_test): Likewise.
8327 (fpclassify_test): Likewise.
8328 (frexp_test): Likewise.
8329 (ilogb_test): Likewise.
8330 (isfinite_test): Likewise.
8331 (finite_test): Likewise.
8332 (isgreater_test): Likewise.
8333 (isgreaterequal_test): Likewise.
8334 (isinf_test): Likewise.
8335 (isless_test): Likewise.
8336 (islessequal_test): Likewise.
8337 (islessgreater_test): Likewise.
8338 (isnan_test): Likewise.
8339 (isnormal_test): Likewise.
8340 (issignaling_test): Likewise.
8341 (isunordered_test): Likewise.
8342 (logb_test): Likewise.
8343 (logb_downward_test_data): Remove.
8344 (logb_test_downward): Likewise.
8345 (lround_test): Use ALL_RM_TEST.
8346 (llround_test): Likewise.
8347 (modf_test): Likewise.
8348 (nexttoward_test): Likewise.
8349 (remainder_test): Likewise.
8350 (drem_test): Likewise.
8351 (remainder_tonearest_test_data): Likewise.
8352 (remainder_test_tonearest): Likewise.
8353 (drem_test_tonearest): Likewise.
8354 (remainder_towardzero_test_data): Likewise.
8355 (remainder_test_towardzero): Likewise.
8356 (drem_test_towardzero): Likewise.
8357 (remainder_downward_test_data): Likewise.
8358 (remainder_test_downward): Likewise.
8359 (drem_test_downward): Likewise.
8360 (remainder_upward_test_data): Likewise.
8361 (remainder_test_upward): Likewise.
8362 (drem_test_upward): Likewise.
8363 (remquo_test): Use ALL_RM_TEST. Remove comment about x.
8364 (round_test): Use ALL_RM_TEST.
8365 (signbit_test): Likewise.
8366 (trunc_test): Likewise.
8367 (significand_test): Likewise.
8368 (main): Don't call removed functions.
8369
bc61d27c
JM
83702014-03-07 Joseph Myers <joseph@codesourcery.com>
8371
5c780849
JM
8372 [BZ #16674]
8373 * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
8374 || __USE_XOPEN2K8].
8375 (ILL_ILLOPN): Likewise.
8376 (ILL_ILLADR): Likewise.
8377 (ILL_ILLTRP): Likewise.
8378 (ILL_PRVOPC): Likewise.
8379 (ILL_PRVREG): Likewise.
8380 (ILL_COPROC): Likewise.
8381 (ILL_BADSTK): Likewise.
8382 (FPE_INTDIV): Likewise.
8383 (FPE_INTOVF): Likewise.
8384 (FPE_FLTDIV): Likewise.
8385 (FPE_FLTOVF): Likewise.
8386 (FPE_FLTUND): Likewise.
8387 (FPE_FLTRES): Likewise.
8388 (FPE_FLTINV): Likewise.
8389 (FPE_FLTSUB): Likewise.
8390 (SEGV_MAPERR): Likewise.
8391 (SEGV_ACCERR): Likewise.
8392 (BUS_ADRALN): Likewise.
8393 (BUS_ADRERR): Likewise.
8394 (BUS_OBJERR): Likewise.
8395 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
8396 (TRAP_TRACE): Likewise.
8397 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
8398 __USE_XOPEN2K8].
8399 (CLD_KILLED): Likewise.
8400 (CLD_DUMPED): Likewise.
8401 (CLD_TRAPPED): Likewise.
8402 (CLD_STOPPED): Likewise.
8403 (CLD_CONTINUED): Likewise.
8404 (POLL_IN): Likewise.
8405 (POLL_OUT): Likewise.
8406 (POLL_MSG): Likewise.
8407 (POLL_ERR): Likewise.
8408 (POLL_PRI): Likewise.
8409 (POLL_HUP): Likewise.
8410 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
8411 Likewise.
8412 (ILL_ILLOPN): Likewise.
8413 (ILL_ILLADR): Likewise.
8414 (ILL_ILLTRP): Likewise.
8415 (ILL_PRVOPC): Likewise.
8416 (ILL_PRVREG): Likewise.
8417 (ILL_COPROC): Likewise.
8418 (ILL_BADSTK): Likewise.
8419 (FPE_INTDIV): Likewise.
8420 (FPE_INTOVF): Likewise.
8421 (FPE_FLTDIV): Likewise.
8422 (FPE_FLTOVF): Likewise.
8423 (FPE_FLTUND): Likewise.
8424 (FPE_FLTRES): Likewise.
8425 (FPE_FLTINV): Likewise.
8426 (FPE_FLTSUB): Likewise.
8427 (SEGV_MAPERR): Likewise.
8428 (SEGV_ACCERR): Likewise.
8429 (BUS_ADRALN): Likewise.
8430 (BUS_ADRERR): Likewise.
8431 (BUS_OBJERR): Likewise.
8432 (BUS_MCEERR_AR): Likewise.
8433 (BUS_MCEERR_AO): Likewise.
8434 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
8435 (TRAP_TRACE): Likewise.
8436 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
8437 __USE_XOPEN2K8].
8438 (CLD_KILLED): Likewise.
8439 (CLD_DUMPED): Likewise.
8440 (CLD_TRAPPED): Likewise.
8441 (CLD_STOPPED): Likewise.
8442 (CLD_CONTINUED): Likewise.
8443 (POLL_IN): Likewise.
8444 (POLL_OUT): Likewise.
8445 (POLL_MSG): Likewise.
8446 (POLL_ERR): Likewise.
8447 (POLL_PRI): Likewise.
8448 (POLL_HUP): Likewise.
8449 * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
8450 (ILL_ILLOPN): Likewise.
8451 (ILL_ILLADR): Likewise.
8452 (ILL_ILLTRP): Likewise.
8453 (ILL_PRVOPC): Likewise.
8454 (ILL_PRVREG): Likewise.
8455 (ILL_COPROC): Likewise.
8456 (ILL_BADSTK): Likewise.
8457 (FPE_INTDIV): Likewise.
8458 (FPE_INTOVF): Likewise.
8459 (FPE_FLTDIV): Likewise.
8460 (FPE_FLTOVF): Likewise.
8461 (FPE_FLTUND): Likewise.
8462 (FPE_FLTRES): Likewise.
8463 (FPE_FLTINV): Likewise.
8464 (FPE_FLTSUB): Likewise.
8465 (SEGV_MAPERR): Likewise.
8466 (SEGV_ACCERR): Likewise.
8467 (BUS_ADRALN): Likewise.
8468 (BUS_ADRERR): Likewise.
8469 (BUS_OBJERR): Likewise.
8470 (BUS_MCEERR_AR): Likewise.
8471 (BUS_MCEERR_AO): Likewise.
8472 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
8473 (TRAP_TRACE): Likewise.
8474 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
8475 __USE_XOPEN2K8].
8476 (CLD_KILLED): Likewise.
8477 (CLD_DUMPED): Likewise.
8478 (CLD_TRAPPED): Likewise.
8479 (CLD_STOPPED): Likewise.
8480 (CLD_CONTINUED): Likewise.
8481 (POLL_IN): Likewise.
8482 (POLL_OUT): Likewise.
8483 (POLL_MSG): Likewise.
8484 (POLL_ERR): Likewise.
8485 (POLL_PRI): Likewise.
8486 (POLL_HUP): Likewise.
8487 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
8488 Likewise.
8489 (ILL_ILLOPN): Likewise.
8490 (ILL_ILLADR): Likewise.
8491 (ILL_ILLTRP): Likewise.
8492 (ILL_PRVOPC): Likewise.
8493 (ILL_PRVREG): Likewise.
8494 (ILL_COPROC): Likewise.
8495 (ILL_BADSTK): Likewise.
8496 (ILL_BADIADDR): Likewise.
8497 (ILL_BREAK): Likewise.
8498 (FPE_INTDIV): Likewise.
8499 (FPE_INTOVF): Likewise.
8500 (FPE_FLTDIV): Likewise.
8501 (FPE_FLTOVF): Likewise.
8502 (FPE_FLTUND): Likewise.
8503 (FPE_FLTRES): Likewise.
8504 (FPE_FLTINV): Likewise.
8505 (FPE_FLTSUB): Likewise.
8506 (FPE_DECOVF): Likewise.
8507 (FPE_DECDIV): Likewise.
8508 (FPE_DECERR): Likewise.
8509 (FPE_INVASC): Likewise.
8510 (FPE_INVDEC): Likewise.
8511 (SEGV_MAPERR): Likewise.
8512 (SEGV_ACCERR): Likewise.
8513 (SEGV_PSTKOVF): Likewise.
8514 (BUS_ADRALN): Likewise.
8515 (BUS_ADRERR): Likewise.
8516 (BUS_OBJERR): Likewise.
8517 (BUS_MCEERR_AR): Likewise.
8518 (BUS_MCEERR_AO): Likewise.
8519 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
8520 (TRAP_TRACE): Likewise.
8521 (TRAP_BRANCH): Likewise.
8522 (TRAP_HWBKPT): Likewise.
8523 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
8524 __USE_XOPEN2K8].
8525 (CLD_KILLED): Likewise.
8526 (CLD_DUMPED): Likewise.
8527 (CLD_TRAPPED): Likewise.
8528 (CLD_STOPPED): Likewise.
8529 (CLD_CONTINUED): Likewise.
8530 (POLL_IN): Likewise.
8531 (POLL_OUT): Likewise.
8532 (POLL_MSG): Likewise.
8533 (POLL_ERR): Likewise.
8534 (POLL_PRI): Likewise.
8535 (POLL_HUP): Likewise.
8536 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
8537 (ILL_ILLOPN): Likewise.
8538 (ILL_ILLADR): Likewise.
8539 (ILL_ILLTRP): Likewise.
8540 (ILL_PRVOPC): Likewise.
8541 (ILL_PRVREG): Likewise.
8542 (ILL_COPROC): Likewise.
8543 (ILL_BADSTK): Likewise.
8544 (FPE_INTDIV): Likewise.
8545 (FPE_INTOVF): Likewise.
8546 (FPE_FLTDIV): Likewise.
8547 (FPE_FLTOVF): Likewise.
8548 (FPE_FLTUND): Likewise.
8549 (FPE_FLTRES): Likewise.
8550 (FPE_FLTINV): Likewise.
8551 (FPE_FLTSUB): Likewise.
8552 (SEGV_MAPERR): Likewise.
8553 (SEGV_ACCERR): Likewise.
8554 (BUS_ADRALN): Likewise.
8555 (BUS_ADRERR): Likewise.
8556 (BUS_OBJERR): Likewise.
8557 (BUS_MCEERR_AR): Likewise.
8558 (BUS_MCEERR_AO): Likewise.
8559 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
8560 (TRAP_TRACE): Likewise.
8561 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
8562 __USE_XOPEN2K8].
8563 (CLD_KILLED): Likewise.
8564 (CLD_DUMPED): Likewise.
8565 (CLD_TRAPPED): Likewise.
8566 (CLD_STOPPED): Likewise.
8567 (CLD_CONTINUED): Likewise.
8568 (POLL_IN): Likewise.
8569 (POLL_OUT): Likewise.
8570 (POLL_MSG): Likewise.
8571 (POLL_ERR): Likewise.
8572 (POLL_PRI): Likewise.
8573 (POLL_HUP): Likewise.
8574 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
8575 (ILL_ILLOPN): Likewise.
8576 (ILL_ILLADR): Likewise.
8577 (ILL_ILLTRP): Likewise.
8578 (ILL_PRVOPC): Likewise.
8579 (ILL_PRVREG): Likewise.
8580 (ILL_COPROC): Likewise.
8581 (ILL_BADSTK): Likewise.
8582 (FPE_INTDIV): Likewise.
8583 (FPE_INTOVF): Likewise.
8584 (FPE_FLTDIV): Likewise.
8585 (FPE_FLTOVF): Likewise.
8586 (FPE_FLTUND): Likewise.
8587 (FPE_FLTRES): Likewise.
8588 (FPE_FLTINV): Likewise.
8589 (FPE_FLTSUB): Likewise.
8590 (SEGV_MAPERR): Likewise.
8591 (SEGV_ACCERR): Likewise.
8592 (BUS_ADRALN): Likewise.
8593 (BUS_ADRERR): Likewise.
8594 (BUS_OBJERR): Likewise.
8595 (BUS_MCEERR_AR): Likewise.
8596 (BUS_MCEERR_AO): Likewise.
8597 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
8598 (TRAP_TRACE): Likewise.
8599 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
8600 __USE_XOPEN2K8].
8601 (CLD_KILLED): Likewise.
8602 (CLD_DUMPED): Likewise.
8603 (CLD_TRAPPED): Likewise.
8604 (CLD_STOPPED): Likewise.
8605 (CLD_CONTINUED): Likewise.
8606 (POLL_IN): Likewise.
8607 (POLL_OUT): Likewise.
8608 (POLL_MSG): Likewise.
8609 (POLL_ERR): Likewise.
8610 (POLL_PRI): Likewise.
8611 (POLL_HUP): Likewise.
8612 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
8613 (ILL_ILLOPN): Likewise.
8614 (ILL_ILLADR): Likewise.
8615 (ILL_ILLTRP): Likewise.
8616 (ILL_PRVOPC): Likewise.
8617 (ILL_PRVREG): Likewise.
8618 (ILL_COPROC): Likewise.
8619 (ILL_BADSTK): Likewise.
8620 (FPE_INTDIV): Likewise.
8621 (FPE_INTOVF): Likewise.
8622 (FPE_FLTDIV): Likewise.
8623 (FPE_FLTOVF): Likewise.
8624 (FPE_FLTUND): Likewise.
8625 (FPE_FLTRES): Likewise.
8626 (FPE_FLTINV): Likewise.
8627 (FPE_FLTSUB): Likewise.
8628 (SEGV_MAPERR): Likewise.
8629 (SEGV_ACCERR): Likewise.
8630 (BUS_ADRALN): Likewise.
8631 (BUS_ADRERR): Likewise.
8632 (BUS_OBJERR): Likewise.
8633 (BUS_MCEERR_AR): Likewise.
8634 (BUS_MCEERR_AO): Likewise.
8635 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
8636 (TRAP_TRACE): Likewise.
8637 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
8638 __USE_XOPEN2K8].
8639 (CLD_KILLED): Likewise.
8640 (CLD_DUMPED): Likewise.
8641 (CLD_TRAPPED): Likewise.
8642 (CLD_STOPPED): Likewise.
8643 (CLD_CONTINUED): Likewise.
8644 (POLL_IN): Likewise.
8645 (POLL_OUT): Likewise.
8646 (POLL_MSG): Likewise.
8647 (POLL_ERR): Likewise.
8648 (POLL_PRI): Likewise.
8649 (POLL_HUP): Likewise.
8650 * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
8651 (ILL_ILLOPN): Likewise.
8652 (ILL_ILLADR): Likewise.
8653 (ILL_ILLTRP): Likewise.
8654 (ILL_PRVOPC): Likewise.
8655 (ILL_PRVREG): Likewise.
8656 (ILL_COPROC): Likewise.
8657 (ILL_BADSTK): Likewise.
8658 (ILL_DBLFLT): Likewise.
8659 (ILL_HARDWALL): Likewise.
8660 (FPE_INTDIV): Likewise.
8661 (FPE_INTOVF): Likewise.
8662 (FPE_FLTDIV): Likewise.
8663 (FPE_FLTOVF): Likewise.
8664 (FPE_FLTUND): Likewise.
8665 (FPE_FLTRES): Likewise.
8666 (FPE_FLTINV): Likewise.
8667 (FPE_FLTSUB): Likewise.
8668 (SEGV_MAPERR): Likewise.
8669 (SEGV_ACCERR): Likewise.
8670 (BUS_ADRALN): Likewise.
8671 (BUS_ADRERR): Likewise.
8672 (BUS_OBJERR): Likewise.
8673 (BUS_MCEERR_AR): Likewise.
8674 (BUS_MCEERR_AO): Likewise.
8675 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
8676 (TRAP_TRACE): Likewise.
8677 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
8678 __USE_XOPEN2K8].
8679 (CLD_KILLED): Likewise.
8680 (CLD_DUMPED): Likewise.
8681 (CLD_TRAPPED): Likewise.
8682 (CLD_STOPPED): Likewise.
8683 (CLD_CONTINUED): Likewise.
8684 (POLL_IN): Likewise.
8685 (POLL_OUT): Likewise.
8686 (POLL_MSG): Likewise.
8687 (POLL_ERR): Likewise.
8688 (POLL_PRI): Likewise.
8689 (POLL_HUP): Likewise.
8690 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
8691 (ILL_ILLOPN): Likewise.
8692 (ILL_ILLADR): Likewise.
8693 (ILL_ILLTRP): Likewise.
8694 (ILL_PRVOPC): Likewise.
8695 (ILL_PRVREG): Likewise.
8696 (ILL_COPROC): Likewise.
8697 (ILL_BADSTK): Likewise.
8698 (FPE_INTDIV): Likewise.
8699 (FPE_INTOVF): Likewise.
8700 (FPE_FLTDIV): Likewise.
8701 (FPE_FLTOVF): Likewise.
8702 (FPE_FLTUND): Likewise.
8703 (FPE_FLTRES): Likewise.
8704 (FPE_FLTINV): Likewise.
8705 (FPE_FLTSUB): Likewise.
8706 (SEGV_MAPERR): Likewise.
8707 (SEGV_ACCERR): Likewise.
8708 (BUS_ADRALN): Likewise.
8709 (BUS_ADRERR): Likewise.
8710 (BUS_OBJERR): Likewise.
8711 (BUS_MCEERR_AR): Likewise.
8712 (BUS_MCEERR_AO): Likewise.
8713 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
8714 (TRAP_TRACE): Likewise.
8715 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
8716 __USE_XOPEN2K8].
8717 (CLD_KILLED): Likewise.
8718 (CLD_DUMPED): Likewise.
8719 (CLD_TRAPPED): Likewise.
8720 (CLD_STOPPED): Likewise.
8721 (CLD_CONTINUED): Likewise.
8722 (POLL_IN): Likewise.
8723 (POLL_OUT): Likewise.
8724 (POLL_MSG): Likewise.
8725 (POLL_ERR): Likewise.
8726 (POLL_PRI): Likewise.
8727 (POLL_HUP): Likewise.
8728 * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
8729 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
8730
bc61d27c
JM
8731 [BZ #16670]
8732 * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
8733 before #include of <time.h>.
8734 [!__USE_XOPEN2K] (__need_timespec): Likewise.
8735 * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
8736 (test-xfail-UNIX98/sched.h/conform): Likewise.
8737
302949e2
MS
87382014-03-07 Marcus Shawcroft <marcus.shawcroft@arm.com>
8739
8740 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
8741 error absence of trapping exception support.
8742 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
8743
a00f522a
JM
87442014-03-07 Joseph Myers <joseph@codesourcery.com>
8745
6f99f280
JM
8746 * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
8747 ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
8748 * timezone/Makefile (testdata): Move definition above include of
8749 Rules.
8750 (test-zones): New variable.
8751 (tests-special): Add zone files.
8752 (build-testdata): Use $(evaluate-test).
8753
0b20a9e8
JM
8754 * elf/Makefile (tests-special): Rename tests to end with .out.
8755 ($(objpfx)noload-mem): Likewise.
8756 ($(objpfx)tst-leaks1-mem): Likewise.
8757 ($(objpfx)tst-leaks1-static-mem.out): Likewise.
8758 * iconv/Makefile (xtests-special): Change test-iconvconfig to
8759 $(objpfx)test-iconvconfig.out.
8760 (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out. Use
8761 set -e inside subshell and redirect output to file.
8762 * iconvdata/Makefile (generated): Rename tests to end with .out.
8763 Correct type.
8764 (tests-special): Rename tests to end with .out.
8765 ($(objpfx)mtrace-tst-loading): Likewise.
8766 * intl/Makefile (generated): Likewise.
8767 (tests-special): Likewise.
8768 ($(objpfx)mtrace-tst-gettext): Likewise.
8769 * misc/Makefile (generated): Likewise.
8770 (tests-special): Likewise.
8771 ($(objpfx)tst-error1-mem): Likewise.
8772 * nptl/Makefile (tests-special): Likewise.
8773 ($(objpfx)tst-stack3-mem): Likewise.
8774 (generated): Likewise.
8775 * posix/Makefile (generated): Likewise.
8776 (tests-special): Likewise.
8777 (xtests-special): Likewise.
8778 ($(objpfx)tst-fnmatch-mem): Likewise.
8779 ($(objpfx)bug-regex2-mem): Likewise.
8780 ($(objpfx)bug-regex14-mem): Likewise.
8781 ($(objpfx)bug-regex21-mem): Likewise.
8782 ($(objpfx)bug-regex31-mem): Likewise.
8783 ($(objpfx)tst-vfork3-mem): Likewise.
8784 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
8785 ($(objpfx)tst-pcre-mem): Likewise.
8786 ($(objpfx)tst-boost-mem): Likewise.
8787 ($(objpfx)bug-ga2-mem): Likewise.
8788 ($(objpfx)bug-glob2-mem): Likewise.
8789 * resolv/Makefile (generate): Likewise.
8790 (tests-special): Likewise.
8791 (xtests-special): Likewise.
8792 (generated): Likewise.
8793 ($(objpfx)mtrace-tst-leaks): Likewise.
8794 ($(objpfx)mtrace-tst-leaks2): Likewise.
8795
265d52ab
JM
8796 * scripts/merge-test-results.sh: New file.
8797 * Makefile (tests-special-notdir): New variable.
8798 (tests): Run merge-test-results.sh.
8799 (xtests): Likewise.
8800 * Rules (tests-special-notdir): New variable.
8801 (xtests-special-notdir): Likewise.
8802 (tests): Run merge-test-results.sh
8803 (xtests): Likewise.
8804
54ee292d
JM
8805 * Makeconfig (test-xfail-name): New variable.
8806 (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
8807 compute variable name for expected failures.
8808 * conform/Makefile (conformtest-headers-data): New variable.
8809 (conformtest-standards): Likewise.
8810 (conformtest-headers-ISO): Likewise.
8811 (conformtest-headers-ISO99): Likewise.
8812 (conformtest-headers-ISO11): Likewise.
8813 (conformtest-headers-POSIX): Likewise.
8814 (conformtest-headers-XPG3): Likewise.
8815 (conformtest-headers-XPG4): Likewise.
8816 (conformtest-headers-UNIX98): Likewise.
8817 (conformtest-headers-XOPEN2K): Likewise.
8818 (conformtest-headers-POSIX2008): Likewise.
8819 (conformtest-headers-XOPEN2K8): Likewise.
8820 (conformtest-header-list-base): Likewise.
8821 (conformtest-header-list-tests): Likewise.
8822 (conformtest-header-base): Likewise.
8823 (conformtest-header-tests): Likewise.
8824 (tests-special): Add $(conformtest-header-list-tests). If
8825 [$(fast-check) && !$(cross-compiling)], add
8826 $(conformtest-header-tests) instead of
8827 $(objpfx)run-conformtest.out.
8828 (generated): Add $(conformtest-header-list-base). If
8829 [$(fast-check) && !$(cross-compiling)], add
8830 $(conformtest-header-base). Remove previous setting.
8831 ($(conformtest-header-list-tests)): New target.
8832 (test-xfail-run-conformtest): Remove variable.
8833 ($(objpfx)run-conformtest.out): Remove target.
8834 (test-xfail-ISO11/complex.h/conform): New variable.
8835 (test-xfail-ISO11/stdalign.h/conform): Likewise.
8836 (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
8837 (test-xfail-XPG3/varargs.h/conform): Likewise.
8838 (test-xfail-XPG4/varargs.h/conform): Likewise.
8839 (test-xfail-UNIX98/varargs.h/conform): Likewise.
8840 (test-xfail-XPG4/ndbm.h/conform): Likewise.
8841 (test-xfail-UNIX98/ndbm.h/conform): Likewise.
8842 (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
8843 (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
8844 (test-xfail-XPG3/fcntl.h/conform): Likewise.
8845 (test-xfail-XPG3/ftw.h/conform): Likewise.
8846 (test-xfail-XPG3/grp.h/conform): Likewise.
8847 (test-xfail-XPG3/langinfo.h/conform): Likewise.
8848 (test-xfail-XPG3/limits.h/conform): Likewise.
8849 (test-xfail-XPG3/pwd.h/conform): Likewise.
8850 (test-xfail-XPG3/search.h/conform): Likewise.
8851 (test-xfail-XPG3/signal.h/conform): Likewise.
8852 (test-xfail-XPG3/stdio.h/conform): Likewise.
8853 (test-xfail-XPG3/stdlib.h/conform): Likewise.
8854 (test-xfail-XPG3/string.h/conform): Likewise.
8855 (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
8856 (test-xfail-XPG3/sys/msg.h/conform): Likewise.
8857 (test-xfail-XPG3/sys/sem.h/conform): Likewise.
8858 (test-xfail-XPG3/sys/shm.h/conform): Likewise.
8859 (test-xfail-XPG3/sys/stat.h/conform): Likewise.
8860 (test-xfail-XPG3/sys/types.h/conform): Likewise.
8861 (test-xfail-XPG3/sys/wait.h/conform): Likewise.
8862 (test-xfail-XPG3/termios.h/conform): Likewise.
8863 (test-xfail-XPG3/time.h/conform): Likewise.
8864 (test-xfail-XPG3/unistd.h/conform): Likewise.
8865 (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
8866 (test-xfail-XPG4/fcntl.h/conform): Likewise.
8867 (test-xfail-XPG4/langinfo.h/conform): Likewise.
8868 (test-xfail-XPG4/netdb.h/conform): Likewise.
8869 (test-xfail-XPG4/netinet/in.h/conform): Likewise.
8870 (test-xfail-XPG4/signal.h/conform): Likewise.
8871 (test-xfail-XPG4/stdio.h/conform): Likewise.
8872 (test-xfail-XPG4/stdlib.h/conform): Likewise.
8873 (test-xfail-XPG4/stropts.h/conform): Likewise.
8874 (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
8875 (test-xfail-XPG4/sys/msg.h/conform): Likewise.
8876 (test-xfail-XPG4/sys/sem.h/conform): Likewise.
8877 (test-xfail-XPG4/sys/shm.h/conform): Likewise.
8878 (test-xfail-XPG4/sys/socket.h/conform): Likewise.
8879 (test-xfail-XPG4/sys/stat.h/conform): Likewise.
8880 (test-xfail-XPG4/sys/time.h/conform): Likewise.
8881 (test-xfail-XPG4/sys/types.h/conform): Likewise.
8882 (test-xfail-XPG4/sys/wait.h/conform): Likewise.
8883 (test-xfail-XPG4/termios.h/conform): Likewise.
8884 (test-xfail-XPG4/ucontext.h/conform): Likewise.
8885 (test-xfail-XPG4/unistd.h/conform): Likewise.
8886 (test-xfail-XPG4/utmpx.h/conform): Likewise.
8887 (test-xfail-POSIX/sched.h/conform): Likewise.
8888 (test-xfail-POSIX/signal.h/conform): Likewise.
8889 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
8890 (test-xfail-POSIX/tar.h/conform): Likewise.
8891 (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
8892 (test-xfail-UNIX98/fcntl.h/conform): Likewise.
8893 (test-xfail-UNIX98/langinfo.h/conform): Likewise.
8894 (test-xfail-UNIX98/netdb.h/conform): Likewise.
8895 (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
8896 (test-xfail-UNIX98/sched.h/conform): Likewise.
8897 (test-xfail-UNIX98/signal.h/conform): Likewise.
8898 (test-xfail-UNIX98/stdio.h/conform): Likewise.
8899 (test-xfail-UNIX98/stdlib.h/conform): Likewise.
8900 (test-xfail-UNIX98/stropts.h/conform): Likewise.
8901 (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
8902 (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
8903 (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
8904 (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
8905 (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
8906 (test-xfail-UNIX98/sys/time.h/conform): Likewise.
8907 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
8908 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
8909 (test-xfail-UNIX98/unistd.h/conform): Likewise.
8910 (test-xfail-UNIX98/utmpx.h/conform): Likewise.
8911 (test-xfail-XOPEN2K/aio.h/conform): Likewise.
8912 (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
8913 (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
8914 (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
8915 (test-xfail-XOPEN2K/math.h/conform): Likewise.
8916 (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
8917 (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
8918 (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
8919 (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
8920 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
8921 (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
8922 (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
8923 (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
8924 (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
8925 (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
8926 (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
8927 (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
8928 (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
8929 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
8930 (test-xfail-XOPEN2K/termios.h/conform): Likewise.
8931 (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
8932 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
8933 (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
8934 (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
8935 (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
8936 (test-xfail-POSIX2008/netdb.h/conform): Likewise.
8937 (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
8938 (test-xfail-POSIX2008/signal.h/conform): Likewise.
8939 (test-xfail-POSIX2008/stropts.h/conform): Likewise.
8940 (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
8941 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
8942 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
8943 (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
8944 (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
8945 (test-xfail-XOPEN2K8/math.h/conform): Likewise.
8946 (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
8947 (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
8948 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
8949 (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
8950 (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
8951 (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
8952 (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
8953 (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
8954 (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
8955 (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
8956 (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
8957 (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
8958 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
8959 (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
8960 (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
8961 (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
8962 (conformtest-cc-flags): Likewise.
8963 ($(conformtest-header-tests): New target.
8964 * conform/check-header-lists.sh: New file.
8965 * conform/run-conformtest.sh: Remove.
8966
a00f522a
JM
8967 * conform/conformtest.pl: Allow ' and \ in values given for
8968 constants.
8969 * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
8970 inclusion.
8971 [POSIX] (sys/types.h): Likewise.
8972 [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
8973 inclusion.
8974 [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
8975 inclusion.
8976 * conform/data/signal.h-data (SIGIO): Remove expectation.
8977 [XPG3] (SIGBUS): Do not expect.
8978 [POSIX || XPG3] (SIGPOLL): Likewise.
8979 [POSIX || XPG3] (SIGPROF): Likewise.
8980 [POSIX || XPG3] (SIGSYS): Likewise.
8981 [XPG3] (SIGTRAP): Likewise.
8982 [POSIX || XPG3] (SIGURG): Likewise.
8983 [POSIX || XPG3] (SIGVTALRM): Likewise.
8984 [POSIX || XPG3] (SIGXCPU): Likewise.
8985 [POSIX || XPG3] (SIGXFSZ): Likewise.
8986 [POSIX] (SA_SIGINFO): Expect.
8987 [XPG3] (siginfo_t): Do not expect type or contents.
8988 [POSIX] (si_pid): Do not expect element.
8989 [POSIX] (si_uid): Likewise.
8990 [POSIX] (si_addr): Likewise.
8991 [POSIX] (si_status): Likewise.
8992 [POSIX] (si_band): Likewise.
8993 [XPG4] (si_value): Likewise.
8994 [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
8995 [POSIX || XPG3] (ILL_ILLOPN): Likewise.
8996 [POSIX || XPG3] (ILL_ILLADR): Likewise.
8997 [POSIX || XPG3] (ILL_ILLTRP): Likewise.
8998 [POSIX || XPG3] (ILL_PRVOPC): Likewise.
8999 [POSIX || XPG3] (ILL_PRVREG): Likewise.
9000 [POSIX || XPG3] (ILL_COPROC): Likewise.
9001 [POSIX || XPG3] (ILL_BADSTK): Likewise.
9002 [POSIX || XPG3] (FPE_INTDIV): Likewise.
9003 [POSIX || XPG3] (FPE_INTOVF): Likewise.
9004 [POSIX || XPG3] (FPE_FLTDIV): Likewise.
9005 [POSIX || XPG3] (FPE_FLTOVF): Likewise.
9006 [POSIX || XPG3] (FPE_FLTUND): Likewise.
9007 [POSIX || XPG3] (FPE_FLTRES): Likewise.
9008 [POSIX || XPG3] (FPE_FLTINV): Likewise.
9009 [POSIX || XPG3] (FPE_FLTSUB): Likewise.
9010 [POSIX || XPG3] (SEGV_MAPERR): Likewise.
9011 [POSIX || XPG3] (SEGV_ACCERR): Likewise.
9012 [POSIX || XPG3] (BUS_ADRALN): Likewise.
9013 [POSIX || XPG3] (BUS_ADRERR): Likewise.
9014 [POSIX || XPG3] (BUS_OBJERR): Likewise.
9015 [POSIX || XPG3] (CLD_EXITED): Likewise.
9016 [POSIX || XPG3] (CLD_KILLED): Likewise.
9017 [POSIX || XPG3] (CLD_DUMPED): Likewise.
9018 [POSIX || XPG3] (CLD_TRAPPED): Likewise.
9019 [POSIX || XPG3] (CLD_STOPPED): Likewise.
9020 [POSIX || XPG3] (CLD_CONTINUED): Likewise.
9021 [POSIX || XPG3] (POLL_IN): Likewise.
9022 [POSIX || XPG3] (POLL_OUT): Likewise.
9023 [POSIX || XPG3] (POLL_MSG): Likewise.
9024 [POSIX || XPG3] (POLL_ERR): Likewise.
9025 [POSIX || XPG3] (POLL_PRI): Likewise.
9026 [POSIX || XPG3] (POLL_HUP): Likewise.
9027 [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
9028 [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
9029 (SIG*): Do not allow.
9030 [XPG3] (si_*): Likewise.
9031 [XPG3] (SI_*): Likewise.
9032 [XPG3 || XPG4] (sigev_*): Likewise.
9033 [XPG3 || XPG4] (SIGEV_*): Likewise.
9034 [XPG3 || XPG4] (sival_*): Likewise.
9035 [POSIX || XPG3 || XPG4] (uc_*): Likewise.
9036 [POSIX || XPG3] (BUS_*): Likewise.
9037 [POSIX || XPG3] (CLD_*): Likewise.
9038 [POSIX || XPG3] (FPE_*): Likewise.
9039 [POSIX || XPG3] (ILL_*): Likewise.
9040 [POSIX || XPG3] (POLL_*): Likewise.
9041 [POSIX || XPG3] (SEGV_*): Likewise.
9042 [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
9043 [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
9044 [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
9045 [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
9046 [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
9047 * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
9048 Specify type and value.
9049 (TVERSLEN): Likewise.
9050 (REGTYPE): Likewise.
9051 (AREGTYPE): Likewise.
9052 (LNKTYPE): Likewise.
9053 (SYMTYPE): Likewise.
9054 (CHRTYPE): Likewise.
9055 (BLKTYPE): Likewise.
9056 (DIRTYPE): Likewise.
9057 (FIFOTYPE): Likewise.
9058 (CONTTYPE): Likewise.
9059 (TSUID): Likewise.
9060 (TSGID): Likewise.
9061 (TSVTX): Likewise.
9062 (TUREAD): Likewise.
9063 (TUWRITE): Likewise.
9064 (TUEXEC): Likewise.
9065 (TGREAD): Likewise.
9066 (TGWRITE): Likewise.
9067 (TGEXEC): Likewise.
9068 (TOREAD): Likewise.
9069 (TOWRITE): Likewise.
9070 (TOEXEC): Likewise.
9071 [POSIX] (TSVTX): Expect constant.
9072
aa97dee1
JM
90732014-03-06 Joseph Myers <joseph@codesourcery.com>
9074
f214606a
JM
9075 * Makefile (tests): Change dependencies to ....
9076 (tests-special): ... additions to this variable.
9077 (tests): Depend on $(tests-special).
9078 * Makerules (check-abi-list): New variable.
9079 (check-abi): Depend on $(check-abi-list).
9080 [$(subdir) = elf] (tests-special): Add
9081 $(objpfx)check-abi-libc.out.
9082 [$(build-shared) = yes && subdir] (tests-special): Add
9083 $(check-abi-list).
9084 [$(build-shared) = yes && subdir] (tests): Do not depend on
9085 check-abi.
9086 * Rules (tests): Depend on $(tests-special).
9087 (xtests): Depend on $(xtests-special).
9088 * catgets/Makefile (tests): Change dependencies to ....
9089 (tests-special): ... additions to this variable.
9090 * conform/Makefile (tests): Change dependencies to ....
9091 (tests-special): ... additions to this variable.
9092 * elf/Makefile (tests): Change dependencies to ....
9093 (tests-special): ... additions to this variable.
9094 * grp/Makefile (tests): Change dependencies to ....
9095 (tests-special): ... additions to this variable.
9096 * iconv/Makefile (xtests): Change dependencies to ....
9097 (xtests-special): ... additions to this variable.
9098 * iconvdata/Makefile (tests): Change dependencies to ....
9099 (tests-special): ... additions to this variable.
9100 * intl/Makefile (tests): Change dependencies to ....
9101 (tests-special): ... additions to this variable. Also add
9102 $(objpfx)tst-gettext.out.
9103 * io/Makefile (tests): Change dependencies to ....
9104 (tests-special): ... additions to this variable.
9105 * libio/Makefile (tests): Change dependencies to ....
9106 (tests-special): ... additions to this variable.
9107 * malloc/Makefile (tests): Change dependencies to ....
9108 (tests-special): ... additions to this variable.
9109 * misc/Makefile (tests): Change dependencies to ....
9110 (tests-special): ... additions to this variable.
9111 * nptl/Makefile (tests): Change dependencies to ....
9112 (tests-special): ... additions to this variable.
9113 * nptl_db/Makefile (tests): Change dependencies to ....
9114 (tests-special): ... additions to this variable.
9115 * posix/Makefile (tests): Change dependencies to ....
9116 (tests-special): ... additions to this variable.
9117 (xtests): Change dependencies to ....
9118 (xtests-special): ... additions to this variable.
9119 * resolv/Makefile (tests): Change dependencies to ....
9120 (tests-special): ... additions to this variable.
9121 (xtests): Change dependencies to ....
9122 (xtests-special): ... additions to this variable.
9123 * stdio-common/Makefile (tests): Change dependencies to ....
9124 (tests-special): ... additions to this variable.
9125 (do-tst-unbputc): Remove target.
9126 (do-tst-printf): Likewise.
9127 * stdlib/Makefile (tests): Change dependencies to ....
9128 (tests-special): ... additions to this variable.
9129 * string/Makefile (tests): Change dependencies to ....
9130 (tests-special): ... additions to this variable.
9131 * sysdeps/x86/Makefile (tests): Change dependencies to ....
9132 (tests-special): ... additions to this variable.
9133
81700b53
JM
9134 * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
9135 whole file.
9136 * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
9137 whole file.
9138 * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
9139 * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
9140
2ea18461
JM
9141 * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
9142 * conform/data/arpa/inet.h-data [XPG3]: Likewise.
9143 * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
9144 * conform/data/fmtmsg.h-data [XPG3]: Likewise.
9145 * conform/data/libgen.h-data [XPG3]: Likewise.
9146 * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
9147 * conform/data/ndbm.h-data [XPG3]: Likewise.
9148 * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
9149 * conform/data/netdb.h-data [XPG3]: Likewise.
9150 * conform/data/netinet/in.h-data [XPG3]: Likewise.
9151 * conform/data/poll.h-data [XPG3]: Likewise.
9152 * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
9153 * conform/data/strings.h-data [XPG3]: Likewise.
9154 * conform/data/stropts.h-data [XPG3]: Likewise.
9155 * conform/data/sys/mman.h-data [XPG3]: Likewise.
9156 * conform/data/sys/resource.h-data [XPG3]: Likewise.
9157 * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
9158 Likewise.
9159 * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
9160 * conform/data/sys/time.h-data [XPG3]: Likewise.
9161 * conform/data/sys/timeb.h-data [XPG3]: Likewise.
9162 * conform/data/sys/uio.h-data [XPG3]: Likewise.
9163 * conform/data/sys/un.h-data [XPG3]: Likewise.
9164 * conform/data/syslog.h-data [XPG3]: Likewise.
9165 * conform/data/ucontext.h-data [XPG3]: Likewise.
9166 * conform/data/utmpx.h-data [XPG3]: Likewise.
9167 * conform/data/varargs.h-data [UNIX98]: Enable file.
9168
355bc986
JM
9169 * manual/Makefile (INSTALL_INFO): Remove variable setting.
9170
215db402
JM
9171 * math/libm-test.inc (struct test_f_f_data): Move expected results
9172 into structure for each rounding mode.
9173 (struct test_ff_f_data): Likewise.
9174 (struct test_ff_f_data_nexttoward): Likewise.
9175 (struct test_fi_f_data): Likewise.
9176 (struct test_fl_f_data): Likewise.
9177 (struct test_if_f_data): Likewise.
9178 (struct test_fff_f_data): Likewise.
9179 (struct test_c_f_data): Likewise.
9180 (struct test_f_f1_data): Likewise.
9181 (struct test_fF_f1_data): Likewise.
9182 (struct test_ffI_f1_data): Likewise.
9183 (struct test_c_c_data): Likewise.
9184 (struct test_cc_c_data): Likewise.
9185 (struct test_f_i_data): Likewise.
9186 (struct test_ff_i_data): Likewise.
9187 (struct test_f_l_data): Likewise.
9188 (struct test_f_L_data): Likewise.
9189 (struct test_fFF_11_data): Likewise.
9190 (RM_): New macro.
9191 (RM_FE_DOWNWARD): Likewise.
9192 (RM_FE_TONEAREST): Likewise.
9193 (RM_FE_TOWARDZERO): Likewise.
9194 (RM_FE_UPWARD): Likewise.
9195 (RUN_TEST_LOOP_f_f): Update references to expected results.
9196 (RUN_TEST_LOOP_2_f): Likewise.
9197 (RUN_TEST_LOOP_fff_f): Likewise.
9198 (RUN_TEST_LOOP_c_f): Likewise.
9199 (RUN_TEST_LOOP_f_f1): Likewise.
9200 (RUN_TEST_LOOP_fF_f1): Likewise.
9201 (RUN_TEST_LOOP_fI_f1): Likewise.
9202 (RUN_TEST_LOOP_ffI_f1): Likewise.
9203 (RUN_TEST_LOOP_c_c): Likewise.
9204 (RUN_TEST_LOOP_cc_c): Likewise.
9205 (RUN_TEST_LOOP_f_i): Likewise.
9206 (RUN_TEST_LOOP_f_i_tg): Likewise.
9207 (RUN_TEST_LOOP_ff_i_tg): Likewise.
9208 (RUN_TEST_LOOP_f_b): Likewise.
9209 (RUN_TEST_LOOP_f_b_tg): Likewise.
9210 (RUN_TEST_LOOP_f_l): Likewise.
9211 (RUN_TEST_LOOP_f_L): Likewise.
9212 (RUN_TEST_LOOP_fFF_11): Likewise.
9213 * math/gen-libm-test.pl (parse_args): Output four copies of
9214 expected results for each test.
9215
67737b8f
JM
9216 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
9217 (__ASSUME_UTIMES): Remove.
9218 * sysdeps/unix/sysv/linux/tile/kernel-features.h
9219 (__ASSUME_UTIMES): Likewise.
9220
aa97dee1
JM
9221 * math/gen-auto-libm-tests.c: Update comment on output format.
9222 (output_for_one_input_case): Generate before-rounding and
9223 after-rounding information as conditions on output flags not
9224 floating-point format.
9225 * math/auto-libm-test-out: Regenerated.
9226 * math/gen-libm-test.pl (cond_value): New function.
9227 (or_cond_value): Use cond_value.
9228 (generate_testfile): Handle conditional exceptions.
9229
e6b6a857
JM
92302014-03-05 Joseph Myers <joseph@codesourcery.com>
9231
2f0a0f44
JM
9232 * math/libm-test.inc (max_valid_error): New variable.
9233 (init_max_error): Take new argument specifying whether function
9234 results are exactly determined. Set max_valid_error and bound
9235 other variables for errors based on this argument.
9236 (set_max_error): Do not record results above max_valid_error.
9237 (check_float_internal): Only accept errors of up to 0.5ulps if
9238 also at most max_valid_error.
9239 (START): Take new argument EXACT and pass it to init_max_error.
9240 (acos_test): Update call to START.
9241 (acos_test_tonearest): Likewise.
9242 (acos_test_towardzero): Likewise.
9243 (acos_test_downward): Likewise.
9244 (acos_test_upward): Likewise.
9245 (acosh_test): Likewise.
9246 (asin_test): Likewise.
9247 (asin_test_tonearest): Likewise.
9248 (asin_test_towardzero): Likewise.
9249 (asin_test_downward): Likewise.
9250 (asin_test_upward): Likewise.
9251 (asinh_test): Likewise.
9252 (atan_test): Likewise.
9253 (atanh_test): Likewise.
9254 (atan2_test): Likewise.
9255 (cabs_test): Likewise.
9256 (cacos_test): Likewise.
9257 (cacosh_test): Likewise.
9258 (carg_test): Likewise.
9259 (casin_test): Likewise.
9260 (casinh_test): Likewise.
9261 (catan_test): Likewise.
9262 (catanh_test): Likewise.
9263 (cbrt_test): Likewise.
9264 (ccos_test): Likewise.
9265 (ccosh_test): Likewise.
9266 (ceil_test): Likewise.
9267 (cexp_test): Likewise.
9268 (cimag_test): Likewise.
9269 (clog_test): Likewise.
9270 (clog10_test): Likewise.
9271 (conj_test): Likewise.
9272 (copysign_test): Likewise.
9273 (cos_test): Likewise.
9274 (cos_test_tonearest): Likewise.
9275 (cos_test_towardzero): Likewise.
9276 (cos_test_downward): Likewise.
9277 (cos_test_upward): Likewise.
9278 (cosh_test): Likewise.
9279 (cosh_test_tonearest): Likewise.
9280 (cosh_test_towardzero): Likewise.
9281 (cosh_test_downward): Likewise.
9282 (cosh_test_upward): Likewise.
9283 (cpow_test): Likewise.
9284 (cproj_test): Likewise.
9285 (creal_test): Likewise.
9286 (csin_test): Likewise.
9287 (csinh_test): Likewise.
9288 (csqrt_test): Likewise.
9289 (ctan_test): Likewise.
9290 (ctan_test_tonearest): Likewise.
9291 (ctan_test_towardzero): Likewise.
9292 (ctan_test_downward): Likewise.
9293 (ctan_test_upward): Likewise.
9294 (ctanh_test): Likewise.
9295 (ctanh_test_tonearest): Likewise.
9296 (ctanh_test_towardzero): Likewise.
9297 (ctanh_test_downward): Likewise.
9298 (ctanh_test_upward): Likewise.
9299 (erf_test): Likewise.
9300 (erfc_test): Likewise.
9301 (exp_test): Likewise.
9302 (exp_test_tonearest): Likewise.
9303 (exp_test_towardzero): Likewise.
9304 (exp_test_downward): Likewise.
9305 (exp_test_upward): Likewise.
9306 (exp10_test): Likewise.
9307 (exp10_test_tonearest): Likewise.
9308 (exp10_test_towardzero): Likewise.
9309 (exp10_test_downward): Likewise.
9310 (exp10_test_upward): Likewise.
9311 (pow10_test): Likewise.
9312 (exp2_test): Likewise.
9313 (expm1_test): Likewise.
9314 (expm1_test_tonearest): Likewise.
9315 (expm1_test_towardzero): Likewise.
9316 (expm1_test_downward): Likewise.
9317 (expm1_test_upward): Likewise.
9318 (fabs_test): Likewise.
9319 (fdim_test): Likewise.
9320 (floor_test): Likewise.
9321 (fma_test): Likewise.
9322 (fma_test_towardzero): Likewise.
9323 (fma_test_downward): Likewise.
9324 (fma_test_upward): Likewise.
9325 (fmax_test): Likewise.
9326 (fmin_test): Likewise.
9327 (fmod_test): Likewise.
9328 (fpclassify_test): Likewise.
9329 (frexp_test): Likewise.
9330 (hypot_test): Likewise.
9331 (ilogb_test): Likewise.
9332 (isfinite_test): Likewise.
9333 (finite_test): Likewise.
9334 (isgreater_test): Likewise.
9335 (isgreaterequal_test): Likewise.
9336 (isinf_test): Likewise.
9337 (isless_test): Likewise.
9338 (islessequal_test): Likewise.
9339 (islessgreater_test): Likewise.
9340 (isnan_test): Likewise.
9341 (isnormal_test): Likewise.
9342 (issignaling_test): Likewise.
9343 (isunordered_test): Likewise.
9344 (j0_test): Likewise.
9345 (j1_test): Likewise.
9346 (jn_test): Likewise.
9347 (ldexp_test): Likewise.
9348 (lgamma_test): Likewise.
9349 (gamma_test): Likewise.
9350 (lrint_test): Likewise.
9351 (lrint_test_tonearest): Likewise.
9352 (lrint_test_towardzero): Likewise.
9353 (lrint_test_downward): Likewise.
9354 (lrint_test_upward): Likewise.
9355 (llrint_test): Likewise.
9356 (llrint_test_tonearest): Likewise.
9357 (llrint_test_towardzero): Likewise.
9358 (llrint_test_downward): Likewise.
9359 (llrint_test_upward): Likewise.
9360 (log_test): Likewise.
9361 (log10_test): Likewise.
9362 (log1p_test): Likewise.
9363 (log2_test): Likewise.
9364 (logb_test): Likewise.
9365 (logb_test_downward): Likewise.
9366 (lround_test): Likewise.
9367 (llround_test): Likewise.
9368 (modf_test): Likewise.
9369 (nearbyint_test): Likewise.
9370 (nextafter_test): Likewise.
9371 (nexttoward_test): Likewise.
9372 (pow_test): Likewise.
9373 (pow_test_tonearest): Likewise.
9374 (pow_test_towardzero): Likewise.
9375 (pow_test_downward): Likewise.
9376 (pow_test_upward): Likewise.
9377 (remainder_test): Likewise.
9378 (drem_test): Likewise.
9379 (remainder_test_tonearest): Likewise.
9380 (drem_test_tonearest): Likewise.
9381 (remainder_test_towardzero): Likewise.
9382 (drem_test_towardzero): Likewise.
9383 (remainder_test_downward): Likewise.
9384 (drem_test_downward): Likewise.
9385 (remainder_test_upward): Likewise.
9386 (drem_test_upward): Likewise.
9387 (remquo_test): Likewise.
9388 (rint_test): Likewise.
9389 (rint_test_tonearest): Likewise.
9390 (rint_test_towardzero): Likewise.
9391 (rint_test_downward): Likewise.
9392 (rint_test_upward): Likewise.
9393 (round_test): Likewise.
9394 (scalb_test): Likewise.
9395 (scalbn_test): Likewise.
9396 (scalbln_test): Likewise.
9397 (signbit_test): Likewise.
9398 (sin_test): Likewise.
9399 (sin_test_tonearest): Likewise.
9400 (sin_test_towardzero): Likewise.
9401 (sin_test_downward): Likewise.
9402 (sin_test_upward): Likewise.
9403 (sincos_test): Likewise.
9404 (sinh_test): Likewise.
9405 (sinh_test_tonearest): Likewise.
9406 (sinh_test_towardzero): Likewise.
9407 (sinh_test_downward): Likewise.
9408 (sinh_test_upward): Likewise.
9409 (sqrt_test): Likewise.
9410 (sqrt_test_tonearest): Likewise.
9411 (sqrt_test_towardzero): Likewise.
9412 (sqrt_test_downward): Likewise.
9413 (sqrt_test_upward): Likewise.
9414 (tan_test): Likewise.
9415 (tan_test_tonearest): Likewise.
9416 (tan_test_towardzero): Likewise.
9417 (tan_test_downward): Likewise.
9418 (tan_test_upward): Likewise.
9419 (tanh_test): Likewise.
9420 (tgamma_test): Likewise.
9421 (trunc_test): Likewise.
9422 (y0_test): Likewise.
9423 (y1_test): Likewise.
9424 (yn_test): Likewise.
9425 (significand_test): Likewise.
9426
e6b6a857
JM
9427 * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
9428 individual tests in comment.
9429 (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
9430 (prev_max_error): New variable.
9431 (prev_real_max_error): Likewise.
9432 (prev_imag_max_error): Likewise.
9433 (compare_ulp_data): Don't refer to test names in comment.
9434 (find_test_ulps): Remove function.
9435 (find_function_ulps): Likewise.
9436 (find_complex_function_ulps): Likewise.
9437 (init_max_error): Take function name as argument. Look up ulps
9438 for that function.
9439 (print_ulps): Remove function.
9440 (print_max_error): Use prev_max_error instead of calling
9441 find_function_ulps.
9442 (print_complex_max_error): Use prev_real_max_error and
9443 prev_imag_max_error instead of calling find_complex_function_ulps.
9444 (check_float_internal): Take max_ulp parameter instead of calling
9445 find_test_ulps. Don't call print_ulps.
9446 (check_float): Update call to check_float_internal.
9447 (check_complex): Update calls to check_float_internal.
9448 (START): Pass argument to init_max_error.
9449 * math/gen-libm-test.pl (%results): Don't include "kind"
9450 information.
9451 (parse_ulps): Don't handle ulps of individual tests.
9452 (print_ulps_file): Likewise.
9453 (output_ulps): Likewise.
9454 * math/README.libm-test: Update.
9455 * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
9456 individual tests.
9457 * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
9458 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
9459 * sysdeps/arm/libm-test-ulps: Likewise.
9460 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
9461 * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
9462 * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
9463 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
9464 * sysdeps/microblaze/libm-test-ulps: Likewise.
9465 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
9466 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
9467 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
9468 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
9469 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
9470 * sysdeps/sh/libm-test-ulps: Likewise.
9471 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
9472 * sysdeps/tile/libm-test-ulps: Likewise.
9473 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9474
45adef3c
JM
94752014-03-04 Joseph Myers <joseph@codesourcery.com>
9476
9477 * math/libm-test.inc (print_complex_max_error): Check separately
9478 whether real and imaginary errors are within allowed range and
9479 pass 0 to print_complex_function_ulps instead of value within
9480 allowed range.
9481
000232b9
SP
94822014-03-04 Siddhesh Poyarekar <siddhesh@redhat.com>
9483
d4b17258
SP
9484 * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
9485 formatting.
9486 (get_handles_fopen): Likewise.
9487 (do_write_test): Likewise.
9488
091eff71
SP
9489 * libio/wfileops.c (do_ftell_wide): Fix up formatting.
9490
fa3cd248
SP
9491 * libio/fileops.c (do_ftell): Use cached offset when
9492 available.
9493 * libio/iofwide.c (do_ftell_wide): Likewise.
9494 * libio/iofdopen.c (_IO_new_fdopen): Don't use
9495 _IO_file_attach.
9496 * libio/wfileops.c (_IO_fwide): Don't cache offset.
9497
000232b9
SP
9498 [BZ #16532]
9499 * libio/libioP.h (get_file_offset): New function.
9500 * libio/fileops.c (get_file_offset): Likewise.
9501 (do_ftell): Likewise.
9502 (_IO_new_file_seekoff): Split out ftell logic.
9503 * libio/wfileops.c (do_ftell_wide): Likewise.
9504 (_IO_wfile_seekoff): Split out ftell logic.
9505 * libio/tst-ftell-active-handler.c: New test case.
9506 * libio/Makefile (tests): Add it.
9507
116f4d1a
RM
95082014-03-03 Roland McGrath <roland@hack.frob.com>
9509
9510 * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
9511 * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
9512
532a6035
SP
95132014-03-03 Siddhesh Poyarekar <siddhesh@redhat.com>
9514
9515 [BZ #16639]
9516 * nscd/connections.c (nscd_init): Call do_exit.
9517 (start_threads): Call do_exit and notify_parent.
9518 (begin_drop_privileges): Call do_exit.
9519 (finish_drop_privileges): Likewise.
9520 * nscd/selinux.c (preserve_capabilities): Likewise.
9521 (install_real_capabilities): Likewise.
9522 (nscd_selinux_enabled): Likewise.
9523 (avc_create_thread): Likewise.
9524 (avc_alloc_lock): Likewise.
9525 (nscd_avc_init): Likewise.
9526 * nscd/nscd.c (parent_fd): New static variable.
9527 (main): Create a pipe between parent and child processes.
9528 Skip closing parent_fd.
9529 (monitor_child): New function.
9530 (do_exit): Likewise.
9531 (notify_parent): Likewise.
9532 * nscd/nscd.h (notify_parent): Likewise.
9533 (do_exit): Likewise.
9534
d6285c9f
CD
95352014-03-03 Carlos O'Donell <carlos@redhat.com>
9536
9537 * malloc/malloc.c (__libc_calloc): Revert last change.
9538
2b85d2a0
AZ
95392014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9540
9541 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9542
c7debbdf
RS
95432014-03-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
9544
9545 * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
9546 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
9547 implementation.
9548 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
9549 (__libc_ifunc_impl_list): Likewise.
9550 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
9551 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
9552 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
9553 * string/strrchr.c: Define STRRCHR.
9554
235eed86
OB
95552014-02-28 Ondřej Bílka <neleai@seznam.cz>
9556
9557 * benchtest/bench-strtok.c (simple_strtok): Delete.
9558 (strtok_string): Use as benchmark.
9559 * string/strtok (STRTOK): New macro.
9560
8e25d1e7
CD
95612014-02-28 Carlos O'Donell <carlos@redhat.com>
9562
ef563f92
CD
9563 * manual/threads.texi: Add header and standard comments to all
9564 functions.
9565
8e25d1e7
CD
9566 * elf/dl-lookup.c (check_match): New function.
9567 (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
9568 (do_lookup_x): Remove nested function check_match. Use non-nested
9569 function check_match.
9570
ff71cc37
RM
95712014-02-28 Roland McGrath <roland@hack.frob.com>
9572
f08e9a26
RM
9573 * csu/Makefile (generated, before-compile): Use += rather than =.
9574 * catgets/Makefile (generated, generated-dirs): Likewise.
9575 * debug/Makefile (generated): Likewise.
9576 * dlfcn/Makefile (generated): Likewise.
9577 * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
9578 * iconvdata/Makefile (before-compile, generated): Likewise.
9579 * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
9580 * libio/Makefile (generated): Likewise.
9581 * malloc/Makefile (generated): Likewise.
9582 * manual/Makefile (generated, generated-dirs): Likewise.
9583 * misc/Makefile (generated): Likewise.
9584 * posix/Makefile (generated): Likewise.
9585 * resolv/Makefile (generated): Likewise.
9586 * sunrpc/Makefile (generated, generated-dirs): Likewise.
9587 * timezone/Makefile (generated, generated-dirs): Likewise.
9588
ff71cc37
RM
9589 * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
9590
fe13a20c
AZ
95912014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9592
57f41c40
AS
9593 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
9594 power8 implementation.
9595 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
9596 file: POWER8 llround ifunc implementation.
9597 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
9598 (__lllround): Add POWER8 implementation.
fe13a20c
AZ
9599 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
9600 POWER8 llround implementation.
9601
57f41c40
AS
9602 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
9603 power8 implementation.
9604 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
9605 file: POWER8 llrint ifunc implementation.
9606 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
9607 Add POWER8 implementation.
1ad8950a
AZ
9608 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
9609 POWER8 llrint implementation.
9610
57f41c40
AS
9611 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
9612 power8 implementation.
9613 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
9614 file: POWER8 finite ifunc implementation.
9615 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
9616 Add POWER8 implementation.
cac626d6
AZ
9617 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
9618 Likewise.
9619 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
9620 POWER8 finite implementation.
9621 * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
9622
57f41c40
AS
9623 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
9624 power8 implementation.
9625 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
9626 file: POWER8 isinf ifunc implementation.
4393fc11
AZ
9627 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
9628 POWER8 implementation.
9629 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
9630 Likewise.
57f41c40
AS
9631 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
9632 isinf implementation.
4393fc11
AZ
9633 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
9634
57f41c40
AS
9635 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
9636 (INIT_ARCH): Add hwcap2 initialization.
9637 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
9638 power8 implementation.
9639 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
9640 file: POWER8 isnan ifunc implementation.
487972ae
AZ
9641 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
9642 POWER8 implementation.
9643 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
9644 Likewise.
57f41c40
AS
9645 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
9646 isnan implementation.
487972ae
AZ
9647 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
9648
7d92b787
JY
96492014-02-27 Joey Ye <joey.ye@arm.com>
9650
9651 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
9652 (_FP_NANFRAC_Q): Set to zero.
9653
1cadc858
SP
96542014-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
9655
9656 [BZ #16623]
9657 * math/auto-libm-test-in: New test inputs.
9658 * math/auto-libm-test-out: Regenerate.
9659 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
9660 and DA.
9661 (__cos): Likewise.
9662 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
9663
f8c17e79
JM
96642014-02-27 Joseph Myers <joseph@codesourcery.com>
9665
9666 * scripts/evaluate-test.sh: Take new argument indicating whether
9667 failure is expected.
9668 * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
9669 indicating whether failure is expected.
9670 * conform/Makefile (test-xfail-run-conformtest): New variable.
9671 ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
9672 level.
9673 * posix/Makefile (test-xfail-annexc): New variable.
9674 ($(objpfx)annexc.out): Don't expect to fail at makefile level.
9675
a5f891ac
JM
96762014-02-26 Joseph Myers <joseph@codesourcery.com>
9677
9678 * argp/Makefile: Include Makeconfig immediately after defining
9679 subdir.
9680 * assert/Makefile: Likewise.
9681 * benchtests/Makefile: Likewise.
9682 * catgets/Makefile: Likewise.
9683 * conform/Makefile: Likewise.
9684 * crypt/Makefile: Likewise.
9685 * csu/Makefile: Likewise.
9686 (all): Remove target.
9687 * ctype/Makefile: Include Makeconfig immediately after defining
9688 subdir.
9689 * debug/Makefile: Likewise.
9690 * dirent/Makefile: Likewise.
9691 * dlfcn/Makefile: Likewise.
9692 * gmon/Makefile: Likewise.
9693 * gnulib/Makefile: Likewise.
9694 * grp/Makefile: Likewise.
9695 * gshadow/Makefile: Likewise.
9696 * hesiod/Makefile: Likewise.
9697 * hurd/Makefile: Likewise.
9698 (all): Remove target.
9699 * iconvdata/Makefile: Include Makeconfig immediately after
9700 defining subdir.
9701 * inet/Makefile: Likewise.
9702 * intl/Makefile: Likewise.
9703 * io/Makefile: Likewise.
9704 * libio/Makefile: Likewise.
9705 (all): Remove target.
9706 * locale/Makefile: Include Makeconfig immediately after defining
9707 subdir.
9708 * login/Makefile: Likewise.
9709 * mach/Makefile: Likewise.
9710 (all): Remove target.
9711 * malloc/Makefile: Include Makeconfig immediately after defining
9712 subdir.
9713 (all): Remove target.
9714 * manual/Makefile: Include Makeconfig immediately after defining
9715 subdir.
9716 * math/Makefile: Likewise.
9717 * misc/Makefile: Likewise.
9718 * nis/Makefile: Likewise.
9719 * nss/Makefile: Likewise.
9720 * po/Makefile: Likewise.
9721 (all): Remove target.
9722 * posix/Makefile: Include Makeconfig immediately after defining
9723 subdir.
9724 * pwd/Makefile: Likewise.
9725 * resolv/Makefile: Likewise.
9726 * resource/Makefile: Likewise.
9727 * rt/Makefile: Likewise.
9728 * setjmp/Makefile: Likewise.
9729 * shadow/Makefile: Likewise.
9730 * signal/Makefile: Likewise.
9731 * socket/Makefile: Likewise.
9732 * soft-fp/Makefile: Likewise.
9733 * stdio-common/Makefile: Likewise.
9734 * stdlib/Makefile: Likewise.
9735 * streams/Makefile: Likewise.
9736 * string/Makefile: Likewise.
9737 * sunrpc/Makefile: Likewise.
9738 (all): Remove target.
9739 * sysvipc/Makefile: Include Makeconfig immediately after defining
9740 subdir.
9741 * termios/Makefile: Likewise.
9742 * time/Makefile: Likewise.
9743 * timezone/Makefile: Likewise.
9744 (all): Remove target.
9745 * wcsmbs/Makefile: Include Makeconfig immediately after defining
9746 subdir.
9747 * wctype/Makefile: Likewise.
9748
5b456e9d
SE
97492014-02-26 Steve Ellcey <sellcey@mips.com>
9750
9751 * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
9752 (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
9753 (libc_feholdexcept_setround_mips): Ditto.
9754 (libc_feholdsetround): New.
9755 (libc_feholdsetroundf): New.
9756 (libc_feholdsetroundl): New.
9757 (libc_feupdateenv_test_mips): New.
9758 (libc_feupdateenv_test): New.
9759 (libc_feupdateenv_testf): New.
9760 (libc_feupdateenv_testl): New.
9761 (libc_feresetround): New.
9762 (libc_feresetroundf): New.
9763 (libc_feresetroundl): New.
9764 (libc_fetestexcept_mips): New.
9765 (libc_fetestexcept): New.
9766 (libc_fetestexceptf): New.
9767 (libc_fetestexceptl): New.
9768 (HAVE_RM_CTX): New.
9769 (libc_feholdexcept_setround_mips_ctx): New.
9770 (libc_feholdexcept_setround_ctx): New.
9771 (libc_feholdexcept_setroundf_ctx): New.
9772 (libc_feholdexcept_setroundl_ctx): New.
9773 (libc_fesetenv_mips_ctx): New.
9774 (libc_fesetenv_ctx): New.
9775 (libc_fesetenv_ctxf): New.
9776 (libc_fesetenv_ctxl): New.
9777 (libc_feupdateenv_mips_ctx): New.
9778 (libc_feupdateenv_ctx): New.
9779 (libc_feupdateenvf_ctx): New.
9780 (libc_feupdateenvl_ctx): New.
9781 (libc_feholdsetround_mips_ctx): New.
9782 (libc_feholdsetround_ctx): New.
9783 (libc_feholdsetroundf_ctx): New.
9784 (libc_feholdsetroundl_ctx): New.
9785 (libc_feresetround_mips_ctx): New.
9786 (libc_feresetround_ctx): New.
9787 (libc_feresetroundf_ctx): New.
9788 (libc_feresetroundl_ctx): New.
9789
085d0e35
CD
97902014-02-26 Carlos O'Donell <carlos@redhat.com>
9791
f067bf1f
CD
9792 * manual/ipc.texi (Semaphores): Use @Theglibc{}.
9793
085d0e35
CD
9794 * manual/ipc.texi: New file.
9795 * manual/Makefile (chapters): Add ipc.
9796 * manual/job.texi: Add "Inter-Process Communication" to next.
9797 * manual/process.texi: Add "Inter-Process Communication" to prev.
9798
86e58c08
AZ
97992014-02-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9800
9801 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9802
4248f0da
OB
98032014-02-26 Ondřej Bílka <neleai@seznam.cz>
9804
9805 * malloc/malloc.c (__libc_calloc): Simplify implementation.
9806
cf822e3c
OB
9807 * manual/arith.texi: Fix spaces after sentences.
9808 * manual/charset.texi: Likewise.
9809 * manual/errno.texi: Likewise.
9810 * manual/install.texi: Likewise.
9811 * manual/llio.texi: Likewise.
9812 * manual/locale.texi: Likewise.
9813 * manual/maint.texi: Likewise.
9814 * manual/math.texi: Likewise.
9815 * manual/memory.texi: Likewise.
9816 * manual/message.texi: Likewise.
9817 * manual/probes.texi: Likewise.
9818 * manual/resource.texi: Likewise.
9819 * manual/signal.texi: Likewise.
9820 * manual/socket.texi: Likewise.
9821 * manual/stdio.texi: Likewise.
9822 * manual/string.texi: Likewise.
9823 * manual/time.texi: Likewise.
9824 * manual/users.texi: Likewise.
9825
ade40b10
CD
98262014-02-25 Carlos O'Donell <carlos@redhat.com>
9827
9828 [BZ #16632]
9829 * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
9830 _DEFAULT_SOURCE is defined.
9831
d0503676
CD
98322014-02-25 Ulrich Drepper <drepper@gmail.com>
9833 Carlos O'Donell <carlos@redhat.com>
9834
9835 [BZ #16613]
9836 * elf/dl-tls.c (_dl_count_modids): New function.
9837 * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
9838 * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
9839 audit library and increment generation counter.
9840 (_dl_allocate_tls_init): Add assertion to check TLS generation count.
9841 * elf/tst-audit9.c: New file.
9842 * elf/tst-auditmod9a.c: New file.
9843 * elf/tst-auditmod9b.c: New file.
9844 * elf/Makefile: Add rules to build and run tst-audit9.
9845
4cbf380c
FW
98462014-02-25 Florian Weimer <fweimer@redhat.com>
9847
9848 [BZ #15347]
9849 * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
9850
80a56cc3
WN
98512014-02-25 Will Newton <will.newton@linaro.org>
9852
9853 * sysdeps/arm/__longjmp.S: Include stap-probe.h.
9854 (__longjmp): Restore sp and lr before restoring callee
9855 saved registers. Add longjmp and longjmp_target
9856 SystemTap probe point.
9857 * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
9858 * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
9859 Define to zero to match jmpbuf layout.
9860 * sysdeps/arm/setjmp.S: Include stap-probe.h.
9861 (__sigsetjmp): Save sp and lr before saving callee
9862 saved registers. Add setjmp SystemTap probe point.
9863
3ea0f74e
SL
98642014-02-24 Stefan Liebler <stli@linux.vnet.ibm.com>
9865
9866 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
9867
b04acb26
AS
98682014-02-24 Andreas Schwab <schwab@suse.de>
9869
9870 [BZ #15804]
9871 * elf/pldd.c (wait_for_ptrace_stop): New function.
9872 (main): Call it after attaching.
9873
098ad55c
RM
98742014-02-22 Roland McGrath <roland@hack.frob.com>
9875
d4ec6ae1
RM
9876 * Makerules ($(common-objpfx)Versions.v.i): No longer depend
9877 on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
9878 Versions files is now verboten.
9879 * hurd/Versions (libc: GLIBC_2.0):
9880 Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
9881 (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
9882 [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
9883 * mach/Versions: Likewise.
9884
098ad55c
RM
9885 * csu/Versions: Remove unused %include.
9886 * resolv/Versions: Likewise.
9887
acd7f096
JM
98882014-02-21 Joseph Myers <joseph@codesourcery.com>
9889
f0881698
JM
9890 * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
9891 ($(objpfx)check-local-headers.out): Likewise.
9892 ($(objpfx)begin-end-check.out): Likewise.
9893 * Makerules (check-abi-%.out): Likewise.
9894 * catgets/Makefile ($(objpfx)test1.cat): Likewise.
9895 ($(objpfx)test2.cat): Likewise.
9896 ($(objpfx)de/libc.cat): Likewise.
9897 ($(objpfx)test-gencat.out): Likewise.
9898 * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
9899 * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
9900 ($(objpfx)noload-mem): Likewise.
9901 ($(objpfx)tst-pathopt.out): Likewise.
9902 ($(objpfx)tst-rtld-load-self.out): Likewise.
9903 ($(objpfx)tst-array1-cmp.out): Likewise.
9904 ($(objpfx)tst-array1-static-cmp.out): Likewise.
9905 ($(objpfx)tst-array2-cmp.out): Likewise.
9906 ($(objpfx)tst-array3-cmp.out): Likewise.
9907 ($(objpfx)tst-array4-cmp.out): Likewise.
9908 ($(objpfx)tst-array5-cmp.out): Likewise.
9909 ($(objpfx)tst-array5-static-cmp.out): Likewise.
9910 ($(objpfx)check-textrel.out): Likewise.
9911 ($(objpfx)check-execstack.out): Likewise.
9912 ($(objpfx)check-localplt.out): Likewise.
9913 ($(objpfx)order2-cmp.out): Likewise.
9914 ($(objpfx)tst-leaks1-mem): Likewise.
9915 ($(objpfx)tst-leaks1-static-mem): Likewise.
9916 ($(objpfx)tst-initorder-cmp.out): Likewise.
9917 ($(objpfx)tst-initorder2-cmp.out): Likewise.
9918 ($(objpfx)tst-unused-dep.out): Likewise.
9919 ($(objpfx)tst-unused-dep-cmp.out): Likewise.
9920 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
9921 * iconv/Makefile (test-iconvconfig): Likewise.
9922 * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
9923 ($(objpfx)iconv-test.out): Likewise.
9924 ($(objpfx)tst-tables.out): Likewise.
9925 * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
9926 ($(objpfx)tst-gettext.out): Likewise.
9927 ($(objpfx)tst-translit.out): Likewise.
9928 ($(objpfx)tst-gettext2.out): Likewise.
9929 ($(objpfx)tst-gettext4.out): Likewise.
9930 ($(objpfx)tst-gettext6.out): Likewise.
9931 * io/Makefile ($(objpfx)ftwtest.out): Likewise.
9932 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
9933 ($(objpfx)tst-fopenloc-cmp.out): Likewise.
9934 ($(objpfx)tst-fopenloc-mem.out): Likewise.
9935 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
9936 * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
9937 * posix/Makefile ($(objpfx)globtest.out): Likewise.
9938 ($(objpfx)wordexp-tst.out): Likewise.
9939 ($(objpfx)annexc.out): Likewise.
9940 ($(objpfx)tst-fnmatch-mem): Likewise.
9941 ($(objpfx)bug-regex2-mem): Likewise.
9942 ($(objpfx)bug-regex14-mem): Likewise.
9943 ($(objpfx)bug-regex21-mem): Likewise.
9944 ($(objpfx)bug-regex31-mem): Likewise.
9945 ($(objpfx)tst-vfork3-mem): Likewise.
9946 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
9947 ($(objpfx)tst-pcre-mem): Likewise.
9948 ($(objpfx)tst-boost-mem): Likewise.
9949 ($(objpfx)tst-getconf.out): Likewise.
9950 ($(objpfx)bug-ga2-mem): Likewise.
9951 ($(objpfx)bug-glob2-mem): Likewise.
9952 * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
9953 ($(objpfx)mtrace-tst-leaks2): Likewise.
9954 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
9955 ($(objpfx)tst-printf.out): Likewise.
9956 ($(objpfx)tst-setvbuf1.out): Likewise.
9957 ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
9958 * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
9959 ($(objpfx)tst-fmtmsg.out): Likewise.
9960 * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
9961 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
9962
acd7f096
JM
9963 * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
9964 * bits/sigaction.h [__USE_MISC]: Likewise.
9965 * bits/waitstatus.h: Update #endif comments.
9966 * ctype/ctype.h: Likewise.
9967 * dirent/dirent.h: Likewise.
9968 [__USE_MISC]: Remove redundant conditionals.
9969 * grp/grp.h: Update #endif comments.
9970 [__USE_GNU]: Remove redundant conditionals.
9971 [__USE_MISC]: Likewise.
9972 * inet/netinet/in.h [__USE_GNU]: Likewise.
9973 * io/sys/stat.h [__USE_MISC]: Likewise.
9974 * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
9975 * libio/bits/stdio.h: Update #endif comments.
9976 [__USE_MISC]: Remove redundant conditionals.
9977 * libio/bits/stdio2.h [__USE_MISC]: Likewise.
9978 * libio/stdio.h: Update #endif comments.
9979 [__USE_MISC]: Remove redundant conditionals.
9980 * math/bits/math-finite.h [__USE_MISC]: Likewise.
9981 * math/bits/mathcalls.h [__USE_MISC]: Likewise.
9982 * math/math.h: Update #else and #endif comments.
9983 [__USE_MISC]: Remove redundant conditionals.
9984 * misc/sys/uio.h: Update #endif comments.
9985 * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
9986 * posix/glob.h [__USE_MISC]: Likewise.
9987 * posix/sys/types.h: Update #endif comments.
9988 [__USE_MISC]: Remove redundant conditionals.
9989 * posix/sys/wait.h: Update #endif comments.
9990 [__USE_MISC]: Remove redundant conditionals.
9991 * posix/unistd.h: Update #endif comments.
9992 [__USE_MISC]: Remove redundant conditionals.
9993 * pwd/pwd.h [__USE_GNU]: Likewise.
9994 [__USE_MISC]: Likewise.
9995 * resolv/netdb.h [__USE_GNU]: Likewise.
9996 * signal/signal.h: Update #endif comments.
9997 [__USE_MISC]: Remove redundant conditionals.
9998 * stdlib/stdlib.h: Update #else and #endif comments.
9999 [__USE_MISC]: Remove redundant conditionals.
10000 [__USE_GNU]: Likewise.
10001 * string/bits/string2.h [__USE_MISC]: Likewise.
10002 * string/string.h: Update #endif comments.
10003 [__USE_MISC]: Remove redundant conditionals.
10004 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
10005 Likewise.
10006 * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
10007 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
10008 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
10009 Likewise.
10010 * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
10011 Likewise.
10012 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
10013 comments.
10014 [__USE_MISC]: Remove redundant conditionals.
10015 * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
10016 * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
10017 * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
10018 * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
10019 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
10020 Likewise.
10021 * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
10022 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
10023 Likewise.
10024 * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
10025 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
10026 Likewise.
10027 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
10028 Likewise.
10029 * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
10030 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
10031 Likewise.
10032 * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
10033 Likewise.
10034 * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
10035 * sysdeps/x86/bits/string.h: Update #endif comments.
10036 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
10037 conditionals.
10038 * time/sys/time.h: Update #endif comments.
10039 * time/time.h: Likewise.
10040 [__USE_MISC]: Remove redundant conditionals.
10041
a5d82e4e
YG
100422014-02-21 Yury Gribov <y.gribov@samsung.com>
10043
10044 [BZ #16600]
10045 * sysdeps/arm/libm-test-ulps: Update for VFPv4.
10046
9a80491d
AS
100472014-02-21 Andreas Schwab <schwab@linux-m68k.org>
10048
10049 * Versions.def (librt): Add GLIBC_2.17.
10050
105fa381
AC
100512014-02-21 Adam Conrad <adconrad@0c3.net>
10052
10053 * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
10054 synonym for _SYS_AUXV_H to allow direct inclusion.
10055 * sysdeps/sparc/bits/hwcap.h: Likewise.
10056 * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
10057 _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
10058 * sysdeps/sparc/sysdep.h: Likewise.
10059
b8cd1c4e
SP
100602014-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
10061
10062 * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
10063
bd939d23
RS
100642014-02-21 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
10065
10066 * benchtests/bench-strrchr.c: Print length instead of position.
10067
5d7b57ca
JM
100682014-02-20 Joseph Myers <joseph@codesourcery.com>
10069
bc688c10
JM
10070 [BZ #16611]
10071 * sysdeps/unix/sysv/linux/kernel-features.h
10072 [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
10073 (__ASSUME_SENDMMSG_SOCKETCALL): Define.
10074 [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
10075 __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
10076 Likewise.
10077 [__i386__ || __powerpc__ || __sh__ || __sparc__]
10078 (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
10079 [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
10080 (__ASSUME_SENDMMSG): Define instead of using previous
10081 [__LINUX_KERNEL_VERSION >= 0x020627] condition.
10082 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
10083 (__ASSUME_SENDMMSG_SYSCALL): Define.
10084 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
10085 [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
10086 Likewise.
10087 * sysdeps/unix/sysv/linux/arm/kernel-features.h
10088 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
10089 Likewise.
10090 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
10091 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
10092 Likewise.
10093 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
10094 && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
10095 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
10096 [__ASSUME_SENDMMSG]: Change conditionals to
10097 [__ASSUME_SENDMMSG_SOCKETCALL].
10098 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
10099 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
10100 Define.
10101 * sysdeps/unix/sysv/linux/mips/kernel-features.h
10102 [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
10103 Likewise.
10104 * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
10105 !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
10106 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
10107 [!__ASSUME_SENDMMSG]: Change conditional to
10108 [!__ASSUME_SENDMMSG_SOCKETCALL].
10109 * sysdeps/unix/sysv/linux/tile/kernel-features.h
10110 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
10111 Define.
10112
0e31b18c
JM
10113 [BZ #16610]
10114 * sysdeps/unix/sysv/linux/kernel-features.h
10115 [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
10116 (__ASSUME_RECVMMSG_SOCKETCALL): Define.
10117 [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
10118 __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
10119 || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
10120 [__i386__ || __sparc__]
10121 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
10122 [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
10123 (__ASSUME_RECVMMSG): Define instead of using previous
10124 [__LINUX_KERNEL_VERSION >= 0x020621] condition.
10125 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
10126 (__ASSUME_RECVMMSG_SYSCALL): Define.
10127 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
10128 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
10129 Likewise.
10130 * sysdeps/unix/sysv/linux/arm/kernel-features.h
10131 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
10132 Likewise.
10133 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
10134 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
10135 Likewise.
10136 * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
10137 && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
10138 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
10139 [__ASSUME_RECVMMSG]: Change condition to
10140 [__ASSUME_RECVMMSG_SOCKETCALL].
10141 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
10142 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
10143 Define.
10144 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
10145 * sysdeps/unix/sysv/linux/mips/kernel-features.h
10146 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
10147 Likewise.
10148 * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
10149 !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
10150 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
10151 [!__ASSUME_RECVMMSG]: Change condition to
10152 [!__ASSUME_RECVMMSG_SOCKETCALL].
10153 * sysdeps/unix/sysv/linux/tile/kernel-features.h
10154 (__ASSUME_RECVMMSG_SYSCALL): Define.
10155
dd481ccf
JM
10156 [BZ #16609]
10157 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
10158 __powerpc__ || __s390__ || __sh__ || __sparc__]
10159 (__ASSUME_SOCKETCALL): Define.
10160 [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
10161 (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
10162 [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
10163 || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
10164 __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
10165 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
10166 [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
10167 (__ASSUME_ACCEPT4): Define instead of using previous
10168 [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
10169 __powerpc__ || __sparc__ || __s390__)] condition.
10170 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
10171 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
10172 * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
10173 !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
10174 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
10175 [!__ASSUME_ACCEPT4]: Change condition to
10176 [!__ASSUME_ACCEPT4_SOCKETCALL].
10177 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
10178 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL. Correct
10179 condition to [__LINUX_KERNEL_VERSION >= 0x030200].
10180 * sysdeps/unix/sysv/linux/arm/kernel-features.h
10181 [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
10182 __ASSUME_ACCEPT4_SYSCALL.
10183 * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
10184 Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
10185 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
10186 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
10187 __ASSUME_ACCEPT4_SYSCALL.
10188 * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
10189 && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
10190 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
10191 [__ASSUME_ACCEPT4]: Change condition to
10192 [__ASSUME_ACCEPT4_SOCKETCALL].
10193 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
10194 (__ASSUME_SOCKETCALL): Define.
10195 [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
10196 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
10197 (__ASSUME_SOCKETCALL): Define.
10198 (__ASSUME_ACCEPT4): Remove.
10199 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
10200 Define.
10201 * sysdeps/unix/sysv/linux/mips/kernel-features.h
10202 [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
10203 Likewise.
10204 * sysdeps/unix/sysv/linux/tile/kernel-features.h
10205 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
10206
5d7b57ca
JM
10207 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
10208 macro.
10209 (HWCAP_ARM_LPAE): Likewise.
10210 (HWCAP_ARM_EVTSTRM): Likewise.
10211 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
10212 Add vpfd32, lpae and evtstrm.
10213 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
10214 Increase to 22.
10215
63689d61
JM
102162014-02-19 Joseph Myers <joseph@codesourcery.com>
10217
10218 * math/auto-libm-test-in: Add tests of clog10.
10219 * math/auto-libm-test-out: Regenerated.
10220 * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
10221 * sysdeps/i386/fpu/libm-test-ulps: Update.
10222 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10223
ab09bf61
AS
102242014-02-18 Andreas Schwab <schwab@suse.de>
10225
10226 [BZ #16574]
10227 * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
10228 Store non-zero if the second buffer was newly allocated.
10229 (send_dg): Likewise.
10230 (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
10231 to send_vc and send_dg.
10232 (res_nsend): Pass NULL for ansp2_malloced.
10233 * resolv/res_query.c (__libc_res_nquery): Add parameter
10234 answerp2_malloced and pass it down to __libc_res_nsend.
10235 (res_nquery): Pass additional NULL to __libc_res_nquery.
10236 (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
10237 down to __libc_res_nquery and __libc_res_nquerydomain. Deallocate
10238 second answer buffer if answerp2_malloced was set.
10239 (res_nsearch): Pass additional NULL to __libc_res_nsearch.
10240 (__libc_res_nquerydomain): Add parameter
10241 answerp2_malloced and pass it down to __libc_res_nquery.
10242 (res_nquerydomain): Pass additional NULL to
10243 __libc_res_nquerydomain.
10244 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
10245 additional NULL to __libc_res_nsend and __libc_res_nquery.
10246 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
10247 additional NULL to __libc_res_nsearch.
10248 (_nss_dns_gethostbyname4_r): Revert last change. Use new
10249 parameter of __libc_res_nsearch to check for separately allocated
10250 second buffer.
10251 (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
10252 __libc_res_nquery.
10253 * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
10254 additional NULL to __libc_res_nquery.
10255 * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
10256 __libc_res_nsearch.
10257 (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
10258 * include/resolv.h: Update prototypes of __libc_res_nquery,
10259 __libc_res_nsearch, __libc_res_nsend.
10260
a4fb7861
JM
102612014-02-18 Joseph Myers <joseph@codesourcery.com>
10262
c6af2d89
JM
10263 * math/auto-libm-test-in: Add tests of fma.
10264 * math/auto-libm-test-out: Regenerated.
10265 * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
10266 (fma_towardzero_test_data): Likewise.
10267 (fma_downward_test_data): Likewise.
10268 (fma_upward_test_data): Likewise.
10269 * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
10270 mpc_mode.
10271 (rounding_modes): Add values for new field.
10272 (func_calc_method): Add value mpfr_fff_f.
10273 (func_calc_desc): Add mpfr_fff_f union field.
10274 (test_function): Add field exact_args.
10275 (FUNC): Add macro argument EXACT_ARGS.
10276 (FUNC_mpfr_f_f): Update call to FUNC.
10277 (FUNC_mpfr_f_f): Likewise.
10278 (FUNC_mpfr_ff_f): Likewise.
10279 (FUNC_mpfr_if_f): Likewise.
10280 (FUNC_mpc_c_f): Likewise.
10281 (FUNC_mpc_c_c): Likewise.
10282 (test_functions): Add fma. Update calls to FUNC.
10283 (handle_input_arg): Add argument exact_args.
10284 (add_test): Update call to handle_input_arg.
10285 (calc_generic_results): Add argument mode. Handle mpfr_fff_f.
10286 (output_for_one_input_case): Update call to calc_generic_results.
10287 Recalculate exact zero results in each rounding mode.
10288
a4fb7861
JM
10289 * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
10290 non-negative before setting low bit.
10291 * math/auto-libm-test-in: Mark one asin test possibly having
10292 spurious underflow.
10293 * math/auto-libm-test-out: Regenerated.
10294 * sysdeps/i386/fpu/libm-test-ulps: Update.
10295 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10296
ef114eaf
DH
102972014-02-17 David Holsgrove <david.holsgrove@xilinx.com>
10298
2b7f4f2c
SP
10299 * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
10300 * sysdeps/unix/sysv/linux/microblaze: Move directory from
10301 ports/sysdeps/unix/sysv/linux/microblaze.
ef114eaf
DH
10302 * README: Add missing listing for microblaze*-*-linux-gnu.
10303
8125aedc
AM
103042014-02-16 Ondřej Bílka <neleai@seznam.cz>
10305
10306 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
10307 duplicate code
10308
c70a4b1d
MF
103092014-02-16 Mike Frysinger <vapier@gentoo.org>
10310
10311 * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
10312 * sysdeps/unix/sysv/linux/ia64: Move directory from
10313 ports/sysdeps/unix/sysv/linux/ia64.
10314 * README: Update listing for ia64-*-linux-gnu.
10315
591aeaf7
TD
103162014-02-14 Tomas Dohnalek <tdohnale@redhat.com>
10317 Joseph Myers <joseph@codesourcery.com>
10318
10319 * Makeconfig (test-name): New variable.
10320 (evaluate-test): Likewise.
10321 * Makerules (do-test-clean): Remove .test-result files.
10322 (common-mostlyclean): Likewise.
10323 * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
10324 * scripts/evaluate-test.sh: New file.
10325
6e89caf1
JM
103262014-02-14 Joseph Myers <joseph@codesourcery.com>
10327
7f98f180
JM
10328 * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
10329 separate $(objpfx)tst-fopenloc-cmp.out and
10330 $(objpfx)tst-fopenloc-mem.out targets.
10331 (tests): Update dependencies.
10332 * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
10333 (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
10334 tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
10335 (tst-rxspencer-no-utf8-ARGS): New variable.
10336 (tst-rxspencer-no-utf8-ENV): Likewise.
10337 (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
10338 instead of $(objpfx)tst-rxspencer-mem.
10339 ($(objpfx)tst-rxspencer-mem): Change target to
10340 $(objpfx)tst-rxspencer-no-utf8-mem. Depend on
10341 $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
10342 * posix/tst-rxspencer-no-utf8.c: New file.
10343
6e89caf1
JM
10344 * elf/Makefile ($(objpfx)order.out): Remove rule.
10345 [$(run-built-tests) = yes] (tests): Depend on
10346 $(objpfx)order-cmp.out.
10347 ($(objpfx)order-cmp.out): New rule.
10348 [$(run-built-tests) = yes] (tests): Depend on
10349 $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
10350 $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
10351 $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
10352 $(objpfx)tst-array5-static-cmp.out.
10353 ($(objpfx)tst-array1.out): Remove rule.
10354 ($(objpfx)tst-array1-cmp.out): New rule.
10355 ($(objpfx)tst-array1-static.out): Remove rule.
10356 ($(objpfx)tst-array1-static-cmp.out): New rule.
10357 ($(objpfx)tst-array2.out): Remove rule.
10358 ($(objpfx)tst-array2-cmp.out): New rule.
10359 ($(objpfx)tst-array3.out): Remove rule.
10360 ($(objpfx)tst-array3-cmp.out): New rule.
10361 ($(objpfx)tst-array4.out): Remove rule.
10362 ($(objpfx)tst-array4-cmp.out): New rule.
10363 ($(objpfx)tst-array5.out): Remove rule.
10364 ($(objpfx)tst-array5-cmp.out): New rule.
10365 ($(objpfx)tst-array5-static.out): Remove rule.
10366 ($(objpfx)tst-array5-static-cmp.out): New rule.
10367 [$(run-built-tests) = yes] (tests): Depend on
10368 $(objpfx)order2-cmp.out.
10369 ($(objpfx)order2.out): Remove rule.
10370 ($(objpfx)order2-cmp.out): New rule.
10371 ($(objpfx)tst-initorder.out): Remove rule.
10372 [$(run-built-tests) = yes] (tests): Depend on
10373 $(objpfx)tst-initorder-cmp.out.
10374 ($(objpfx)tst-initorder-cmp.out): New rule.
10375 ($(objpfx)tst-initorder2.out): Remove rule.
10376 [$(run-built-tests) = yes] (tests): Depend on
10377 $(objpfx)tst-initorder2-cmp.out.
10378 ($(objpfx)tst-initorder2-cmp.out): New rule.
10379 [$(run-built-tests) = yes] (tests): Depend on
10380 $(objpfx)tst-unused-dep-cmp.out.
10381 ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
10382 ($(objpfx)tst-unused-dep-cmp.out): New rule.
10383 * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
10384 on $(objpfx)tst-setvbuf1-cmp.out.
10385 ($(objpfx)tst-setvbuf1.out): Do not run cmp.
10386 ($(objpfx)tst-setvbuf1-cmp.out): New rule.
10387 * string/Makefile [$(run-built-tests) = yes] (tests): Depend
10388 $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
10389 ($(objpfx)tst-svc.out): Remove rule.
10390 ($(objpfx)tst-svc-cmp.out): New rule.
10391
ed9a38e2
JM
103922014-02-13 Joseph Myers <joseph@codesourcery.com>
10393
10394 * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
10395 * ctype/ctype.h [__USE_MISC]: Likewise.
10396 * dirent/dirent.h [__USE_MISC]: Likewise.
10397 * grp/grp.h [__USE_MISC]: Likewise.
10398 * io/fcntl.h [__USE_MISC]: Likewise.
10399 * io/sys/stat.h [__USE_MISC]: Likewise.
10400 * libio/stdio.h [__USE_MISC]: Likewise.
10401 * posix/unistd.h [__USE_MISC]: Likewise.
10402 * pwd/pwd.h [__USE_MISC]: Likewise.
10403 * stdlib.h [__USE_MISC]: Likewise.
10404 * string/bits/string2.h [__USE_MISC]: Likewise.
10405 * string/string.h [__USE_MISC]: Likewise.
10406 * time/time.h [__USE_MISC]: Likewise.
10407
d6680619
AS
104082014-02-13 Andreas Schwab <schwab@suse.de>
10409
10410 [BZ #16574]
10411 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
10412 second answer buffer if it was separately allocated.
10413
ace614b8
JM
104142014-02-12 Joseph Myers <joseph@codesourcery.com>
10415
743151ae
JM
10416 * sysdeps/mips/math-tests.h: Include <features.h>.
10417 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
10418 (ROUNDING_TESTS_long_double): Do not define.
10419 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
10420 (EXCEPTION_TESTS_long_double): Likewise.
10421 * sysdeps/mips/mips64/libm-test-ulps: Update.
10422
498afc54
JM
10423 * include/features.h (__USE_BSD): Remove macro definitions.
10424 (__USE_SVID): Likewise.
10425 (_BSD_SOURCE): Likewise.
10426 (_SVID_SOURCE): Likewise.
10427 [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
10428 from definition of _DEFAULT_SOURCE.
10429 [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
10430 [_DEFAULT_SOURCE].
10431 * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
10432 * bits/mman.h [__USE_BSD]: Likewise.
10433 * bits/termios.h [__USE_BSD]: Likewise.
10434 * bits/waitstatus.h [__USE_BSD]: Likewise.
10435 * ctype/ctype.h [__USE_SVID]: Likewise.
10436 * dirent/dirent.h [__USE_BSD]: Likewise.
10437 * grp/grp.h [__USE_SVID]: Likewise.
10438 [__USE_BSD]: Likewise.
10439 * inet/netinet/igmp.h [__USE_BSD]: Likewise.
10440 * io/fcntl.h [__USE_BSD]: Likewise.
10441 * io/ftw.h [__USE_BSD]: Likewise.
10442 * io/sys/stat.h [__USE_BSD]: Likewise.
10443 * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
10444 * libio/bits/stdio2.h [__USE_BSD]: Likewise.
10445 * libio/stdio.h [__USE_SVID]: Likewise.
10446 [__USE_BSD]: Likewise.
10447 * math/math.h [__USE_SVID]: Likewise.
10448 [__USE_BSD]: Likewise.
10449 * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
10450 * misc/bits/syslog.h [__USE_BSD]: Likewise.
10451 * misc/search.h [__USE_SVID]: Likewise.
10452 * misc/sys/mman.h [__USE_BSD]: Likewise.
10453 * misc/sys/syslog.h [__USE_BSD]: Likewise.
10454 * misc/sys/uio.h [__USE_BSD]: Likewise.
10455 * posix/bits/unistd.h [__USE_BSD]: Likewise.
10456 * posix/glob.h [__USE_BSD]: Likewise.
10457 * posix/regex.h [__USE_BSD]: Likewise.
10458 * posix/sys/types.h [__USE_BSD]: Likewise.
10459 [__USE_SVID]: Likewise.
10460 * posix/sys/utsname.h [__USE_SVID]: Likewise.
10461 * posix/sys/wait.h [__USE_BSD]: Likewise.
10462 [__USE_SVID]: Likewise.
10463 * posix/unistd.h [__USE_BSD]: Likewise.
10464 [__USE_SVID]: Likewise.
10465 * pwd/pwd.h [__USE_SVID]: Likewise.
10466 * resolv/netdb.h [__USE_BSD]: Likewise.
10467 * setjmp/setjmp.h [__USE_BSD]: Likewise.
10468 * signal/signal.h [__USE_BSD]: Likewise.
10469 [__USE_SVID]: Likewise.
10470 * socket/sys/socket.h [__USE_BSD]: Likewise.
10471 * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
10472 * stdlib/stdlib.h [__USE_BSD]: Likewise.
10473 [__USE_SVID]: Likewise.
10474 * string/bits/string2.h [__USE_BSD]: Likewise.
10475 [__USE_SVID]: Likewise.
10476 * string/bits/string3.h [__USE_BSD]: Likewise.
10477 * string/endian.h [__USE_BSD]: Likewise.
10478 * string/string.h [__USE_SVID]: Likewise.
10479 [__USE_BSD]: Likewise.
10480 * string/strings.h [__USE_BSD]: Likewise.
10481 * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
10482 * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
10483 * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
10484 * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
10485 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
10486 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
10487 Likewise.
10488 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
10489 Likewise.
10490 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
10491 * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
10492 Likewise.
10493 * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
10494 * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
10495 Likewise.
10496 * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
10497 Likewise.
10498 * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
10499 * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
10500 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
10501 Likewise.
10502 * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
10503 Likewise.
10504 * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
10505 * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
10506 * termios/termios.h [__USE_BSD]: Likewise.
10507 * time/sys/time.h [__USE_BSD]: Likewise.
10508 * time/time.h [__USE_BSD]: Likewise.
10509 [__USE_SVID]: Likewise.
10510
dd7b064c
JM
10511 * Makefile (subdir_targets): Remove subdir_lint.out.
10512
a2c4c199
JM
10513 * stdio-common/Makefile (do-tst-unbputc): Remove target.
10514 (do-tst-printf): Likewise.
10515 (tests): Depend directly on $(objpfx)tst-unbputc.out and
10516 $(objpfx)tst-printf.out.
10517
8756f740
JM
10518 * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
10519
1b6dd3f1
JM
10520 * Makerules (check-abi-%): Change target to
10521 $(objpfx)check-abi-%.out.
10522 (check-abi target): Update dependencies.
10523 (check-abi-pattern variable): Redirect output of diff to $@.
10524 (check-abi variable): Likewise.
10525 * elf/Makefile (check-abi): Update dependencies.
10526
ace614b8
JM
10527 * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
10528 unused.
10529 (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
10530 value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
10531 subnormal range.
10532 (_FP_PACK_CANONICAL): Determine tininess based on rounding to
10533 normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
10534 value has largest subnormal exponent.
10535 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
10536 (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
10537 * sysdeps/aarch64/soft-fp/sfp-machine.h
10538 (_FP_TININESS_AFTER_ROUNDING): New macro.
10539 * sysdeps/alpha/soft-fp/sfp-machine.h
10540 (_FP_TININESS_AFTER_ROUNDING): Likewise.
10541 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
10542 Likewise.
10543 * sysdeps/mips/mips64/soft-fp/sfp-machine.h
10544 (_FP_TININESS_AFTER_ROUNDING): Likewise.
10545 * sysdeps/mips/soft-fp/sfp-machine.h
10546 (_FP_TININESS_AFTER_ROUNDING): Likewise.
10547 * sysdeps/powerpc/soft-fp/sfp-machine.h
10548 (_FP_TININESS_AFTER_ROUNDING): Likewise.
10549 * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
10550 Likewise.
10551 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
10552 (_FP_TININESS_AFTER_ROUNDING): Likewise.
10553 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
10554 (_FP_TININESS_AFTER_ROUNDING): Likewise.
10555 * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
10556 Likewise.
10557
fbfdf9cb
DAS
105582014-02-12 Dylan Alex Simon <dylan@dylex.net>
10559
10560 [BZ #16545]
10561 * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
10562 model 1.
10563
68b7efaa
RH
105642014-02-12 Richard Henderson <rth@redhat.com>
10565
c70a4b1d 10566 * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
68b7efaa
RH
10567 * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
10568 * sysdeps/unix/sysv/linux/alpha: Move directory from
10569 ports/sysdeps/unix/sysv/linux/alpha.
10570 * README: Update listing for alpha-*-linux-gnu.
10571
cb4a2928
JM
105722014-02-11 Joseph Myers <joseph@codesourcery.com>
10573
c941736c
JM
10574 * include/features.h: Update comment documenting feature test
10575 macros.
10576 [_BSD_SOURCE || _SVID_SOURCE]: Give #warning. Define
10577 _DEFAULT_SOURCE.
10578 * manual/creature.texi (_BSD_SOURCE): Remove documentation.
10579 (_SVID_SOURCE): Likewise.
10580 (_DEFAULT_SOURCE): Update description of default features.
10581 (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
10582 with _GNU_SOURCE.
10583 * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
10584 (S_ISVTX): Likewise.
10585 * manual/math.texi (Mathematical Constants): Likewise.
10586 * manual/signal.texi (Interrupted Primitives): Likewise.
10587 * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
10588 * math/test-matherr.c (_SVID_SOURCE): Do not define.
10589 * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
10590 Don't refer to _SVID_SOURCE in warning text.
10591
e8d8d7ec
JM
10592 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10593
cb4a2928
JM
10594 * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
10595 already defined.
10596 (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
10597 * sysdeps/mips/dl-lookup.c: Remove.
10598 * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
10599
7e6424e3
AK
106002014-02-11 Stefan Liebler <stli@linux.vnet.ibm.com>
10601
10602 [BZ #16447]
10603 * math/auto-libm-test-in: Add testcase for expl.
10604 * math/auto-libm-test-out: Regenerate.
10605 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
10606 calculation of unsafe.
10607 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
10608
75eff3fe
MS
106092014-02-11 Marcus Shawcroft <marcus.shawcroft@arm.com>
10610
10611 * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
10612 * sysdeps/unix/sysv/linux/aarch64: Move directory from
10613 ports/sysdeps/unix/sysv/linux/aarch64.
10614 * README: Update listing for aarch64*-*-linux-gnu.
10615
d35f1e80
WN
106162014-02-11 Will Newton <will.newton@linaro.org>
10617
10618 * manual/probes.texi (Mathematical Function Probes): Use
10619 "triggered" instead of "hit".
10620
7b3436d4
WN
10621 * manual/probes.texi (Internal Probes): Add documentation
10622 of setjmp, longjmp and longjmp_target probes.
10623
b4f12ca3
WN
10624 * include/stap-probe.h: Add comment about probe argument
10625 format.
10626
c13a72b7
WN
10627 * malloc/mtrace.c (attribute_hidden): Remove unused macro
10628 definition. (tr_where, tr_freehook, tr_mallochook,
10629 tr_reallochook, tr_memalignhook): Use ANSI protoype.
10630
195b8165
DM
106312014-02-11 David S. Miller <davem@davemloft.net>
10632
10633 * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
10634 processing int_tests.
10635
2ad7600b
JM
106362014-02-10 Joseph Myers <joseph@codesourcery.com>
10637
10638 * sysdeps/mips: Move directory from ports/sysdeps/mips.
10639 * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
10640 * sysdeps/unix/sysv/linux/mips: Move directory from
10641 ports/sysdeps/unix/sysv/linux/mips.
10642 * README: Update listing for mips-*-linux-gnu and
10643 mips64-*-linux-gnu.
10644
73588a72
AS
106452014-02-10 Andreas Schwab <schwab@linux-m68k.org>
10646
10647 * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
10648 * sysdeps/unix/sysv/linux/m68k: Move directory from
10649 ports/sysdeps/unix/sysv/linux/m68k.
10650 * README: Update listing for m68k-*-linux-gnu.
10651
4372980f
CM
106522014-02-10 Chris Metcalf <cmetcalf@tilera.com>
10653
10654 * sysdeps/tile: Move directory from ports/sysdeps/tile.
10655 * sysdeps/unix/sysv/linux/generic: Move directory from
10656 ports/sysdeps/unix/sysv/linux/generic.
10657 * sysdeps/unix/sysv/linux/tile: Move directory from
10658 ports/sysdeps/unix/sysv/linux/tile.
10659 * README: Update listing for tile*-*-linux-gnu.
10660
a1ffb40e
OB
106612014-02-10 Ondřej Bílka <neleai@seznam.cz>
10662
57f41c40
AS
10663 * assert/assert.c (__assert_fail_base): Use glibc_likely instead
10664 __builtin_expect.
a1ffb40e
OB
10665 * benchtests/bench-memmem.c (simple_memmem): Likewise.
10666 * catgets/open_catalog.c (__open_catalog): Likewise.
10667 * csu/libc-start.c (LIBC_START_MAIN): Likewise.
10668 * debug/confstr_chk.c: Likewise.
10669 * debug/fread_chk.c (__fread_chk): Likewise.
10670 * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
10671 * debug/getgroups_chk.c: Likewise.
10672 * debug/mbsnrtowcs_chk.c: Likewise.
10673 * debug/mbsrtowcs_chk.c: Likewise.
10674 * debug/mbstowcs_chk.c: Likewise.
10675 * debug/memcpy_chk.c: Likewise.
10676 * debug/memmove_chk.c: Likewise.
10677 * debug/mempcpy_chk.c: Likewise.
10678 * debug/memset_chk.c: Likewise.
10679 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
10680 * debug/strcat_chk.c (__strcat_chk): Likewise.
10681 * debug/strcpy_chk.c (__strcpy_chk): Likewise.
10682 * debug/strncat_chk.c (__strncat_chk): Likewise.
10683 * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
10684 * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
10685 * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
10686 * debug/wcpncpy_chk.c: Likewise.
10687 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
10688 * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
10689 * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
10690 * debug/wcsncpy_chk.c: Likewise.
10691 * debug/wcsnrtombs_chk.c: Likewise.
10692 * debug/wcsrtombs_chk.c: Likewise.
10693 * debug/wcstombs_chk.c: Likewise.
10694 * debug/wmemcpy_chk.c: Likewise.
10695 * debug/wmemmove_chk.c: Likewise.
10696 * debug/wmempcpy_chk.c: Likewise.
10697 * debug/wmemset_chk.c: Likewise.
10698 * dirent/scandirat.c (SCANDIRAT): Likewise.
10699 * dlfcn/dladdr1.c (dladdr1): Likewise.
10700 * dlfcn/dladdr.c (dladdr): Likewise.
10701 * dlfcn/dlclose.c (dlclose_doit): Likewise.
10702 * dlfcn/dlerror.c (__dlerror): Likewise.
10703 * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
10704 * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
10705 * dlfcn/dlopen.c (dlopen_doit): Likewise.
10706 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
10707 * dlfcn/dlsym.c (dlsym_doit): Likewise.
10708 * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
10709 * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
10710 * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
10711 Likewise.
10712 * elf/dl-conflict.c: Likewise.
10713 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
10714 * elf/dl-dst.h: Likewise.
10715 * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
10716 * elf/dl-fptr.c (_dl_make_fptr): Likewise.
10717 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
10718 * elf/dl-init.c (call_init, _dl_init): Likewise.
10719 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
57f41c40
AS
10720 * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
10721 (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
10722 Likewise.
a1ffb40e
OB
10723 * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
10724 Likewise.
10725 * elf/dl-minimal.c (__libc_memalign): Likewise.
10726 * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
10727 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
10728 * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
10729 * elf/dl-sym.c (do_sym): Likewise.
57f41c40
AS
10730 * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
10731 (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
a1ffb40e
OB
10732 * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
10733 * elf/dl-writev.h (_dl_writev): Likewise.
10734 * elf/ldconfig.c (search_dir): Likewise.
57f41c40
AS
10735 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
10736 (dl_main): Likewise.
a1ffb40e
OB
10737 * elf/setup-vdso.h (setup_vdso): Likewise.
10738 * grp/compat-initgroups.c (compat_call): Likewise.
10739 * grp/fgetgrent.c (fgetgrent): Likewise.
10740 * grp/initgroups.c (getgrouplist, initgroups): Likewise.
10741 * grp/putgrent.c (putgrent): Likewise.
10742 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
10743 Likewise.
10744 * hurd/hurdinit.c: Likewise.
10745 * iconvdata/8bit-gap.c (struct): Likewise.
10746 * iconvdata/ansi_x3.110.c : Likewise.
10747 * iconvdata/big5.c : Likewise.
10748 * iconvdata/big5hkscs.c : Likewise.
10749 * iconvdata/cp1255.c: Likewise.
10750 * iconvdata/cp1258.c : Likewise.
10751 * iconvdata/cp932.c : Likewise.
10752 * iconvdata/euc-cn.c: Likewise.
10753 * iconvdata/euc-jisx0213.c : Likewise.
10754 * iconvdata/euc-jp.c: Likewise.
10755 * iconvdata/euc-jp-ms.c : Likewise.
10756 * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
10757 * iconvdata/gb18030.c : Likewise.
10758 * iconvdata/gbbig5.c (const): Likewise.
10759 * iconvdata/gbgbk.c: Likewise.
10760 * iconvdata/gbk.c : Likewise.
10761 * iconvdata/ibm1364.c : Likewise.
10762 * iconvdata/ibm930.c : Likewise.
10763 * iconvdata/ibm932.c: Likewise.
10764 * iconvdata/ibm933.c : Likewise.
10765 * iconvdata/ibm935.c : Likewise.
10766 * iconvdata/ibm937.c : Likewise.
10767 * iconvdata/ibm939.c : Likewise.
10768 * iconvdata/ibm943.c: Likewise.
10769 * iconvdata/iso_11548-1.c: Likewise.
10770 * iconvdata/iso-2022-cn.c : Likewise.
10771 * iconvdata/iso-2022-cn-ext.c : Likewise.
10772 * iconvdata/iso-2022-jp-3.c: Likewise.
10773 * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
10774 * iconvdata/iso-2022-kr.c : Likewise.
10775 * iconvdata/iso646.c (gconv_end): Likewise.
10776 * iconvdata/iso_6937-2.c : Likewise.
10777 * iconvdata/iso_6937.c : Likewise.
10778 * iconvdata/iso8859-1.c: Likewise.
10779 * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
10780 * iconvdata/shift_jisx0213.c : Likewise.
10781 * iconvdata/sjis.c : Likewise.
10782 * iconvdata/t.61.c : Likewise.
10783 * iconvdata/tcvn5712-1.c : Likewise.
10784 * iconvdata/tscii.c: Likewise.
10785 * iconvdata/uhc.c : Likewise.
10786 * iconvdata/unicode.c (gconv_end): Likewise.
10787 * iconvdata/utf-16.c (gconv_end): Likewise.
10788 * iconvdata/utf-32.c (gconv_end): Likewise.
10789 * iconvdata/utf-7.c (base64): Likewise.
10790 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
10791 * iconv/gconv_close.c (__gconv_close): Likewise.
10792 * iconv/gconv_open.c (__gconv_open): Likewise.
57f41c40
AS
10793 * iconv/gconv_simple.c (internal_ucs4_loop_single)
10794 (ucs4_internal_loop, ucs4_internal_loop_unaligned)
10795 (ucs4_internal_loop_single, internal_ucs4le_loop_single)
10796 (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
10797 (ucs4le_internal_loop_single): Likewise.
a1ffb40e
OB
10798 * iconv/iconv.c (iconv): Likewise.
10799 * iconv/iconv_close.c: Likewise.
10800 * iconv/loop.c (SINGLE): Likewise.
10801 * iconv/skeleton.c (FUNCTION_NAME): Likewise.
10802 * include/atomic.h: Likewise.
10803 * inet/inet6_option.c (option_alloc): Likewise.
10804 * intl/bindtextdom.c (set_binding_values): Likewise.
10805 * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
10806 * intl/loadmsgcat.c (_nl_load_domain): Likewise.
10807 * intl/localealias.c (read_alias_file): Likewise.
10808 * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
57f41c40
AS
10809 * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
10810 (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
a1ffb40e
OB
10811 * libio/fmemopen.c (fmemopen): Likewise.
10812 * libio/iofgets.c (_IO_fgets): Likewise.
10813 * libio/iofgets_u.c (fgets_unlocked): Likewise.
10814 * libio/iofgetws.c (fgetws): Likewise.
10815 * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
10816 * libio/iogetdelim.c (_IO_getdelim): Likewise.
57f41c40
AS
10817 * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
10818 (adjust_wide_data, _IO_wfile_seekoff): Likewise.
a1ffb40e
OB
10819 * locale/findlocale.c (_nl_find_locale): Likewise.
10820 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
10821 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
10822 Likewise.
10823 * locale/setlocale.c (setlocale): Likewise.
10824 * login/programs/pt_chown.c (main): Likewise.
10825 * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
10826 * malloc/malloc.c (_int_malloc, _int_free): Likewise.
57f41c40
AS
10827 * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
10828 (mmap, mmap64, mremap, munmap): Likewise.
a1ffb40e
OB
10829 * math/e_exp2l.c: Likewise.
10830 * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
10831 * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
10832 * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
10833 * math/s_catan.c (__catan): Likewise.
10834 * math/s_catanf.c (__catanf): Likewise.
10835 * math/s_catanh.c (__catanh): Likewise.
10836 * math/s_catanhf.c (__catanhf): Likewise.
10837 * math/s_catanhl.c (__catanhl): Likewise.
10838 * math/s_catanl.c (__catanl): Likewise.
10839 * math/s_ccosh.c (__ccosh): Likewise.
10840 * math/s_ccoshf.c (__ccoshf): Likewise.
10841 * math/s_ccoshl.c (__ccoshl): Likewise.
10842 * math/s_cexp.c (__cexp): Likewise.
10843 * math/s_cexpf.c (__cexpf): Likewise.
10844 * math/s_cexpl.c (__cexpl): Likewise.
10845 * math/s_clog10.c (__clog10): Likewise.
10846 * math/s_clog10f.c (__clog10f): Likewise.
10847 * math/s_clog10l.c (__clog10l): Likewise.
10848 * math/s_clog.c (__clog): Likewise.
10849 * math/s_clogf.c (__clogf): Likewise.
10850 * math/s_clogl.c (__clogl): Likewise.
10851 * math/s_csin.c (__csin): Likewise.
10852 * math/s_csinf.c (__csinf): Likewise.
10853 * math/s_csinh.c (__csinh): Likewise.
10854 * math/s_csinhf.c (__csinhf): Likewise.
10855 * math/s_csinhl.c (__csinhl): Likewise.
10856 * math/s_csinl.c (__csinl): Likewise.
10857 * math/s_csqrt.c (__csqrt): Likewise.
10858 * math/s_csqrtf.c (__csqrtf): Likewise.
10859 * math/s_csqrtl.c (__csqrtl): Likewise.
10860 * math/s_ctan.c (__ctan): Likewise.
10861 * math/s_ctanf.c (__ctanf): Likewise.
10862 * math/s_ctanh.c (__ctanh): Likewise.
10863 * math/s_ctanhf.c (__ctanhf): Likewise.
10864 * math/s_ctanhl.c (__ctanhl): Likewise.
10865 * math/s_ctanl.c (__ctanl): Likewise.
10866 * math/w_pow.c: Likewise.
10867 * math/w_powf.c: Likewise.
10868 * math/w_powl.c: Likewise.
10869 * math/w_scalb.c (sysv_scalb): Likewise.
10870 * math/w_scalbf.c (sysv_scalbf): Likewise.
10871 * math/w_scalbl.c (sysv_scalbl): Likewise.
10872 * misc/error.c (error_tail): Likewise.
10873 * misc/pselect.c (__pselect): Likewise.
10874 * nis/nis_callback.c (__nis_create_callback): Likewise.
10875 * nis/nis_call.c (__nisfind_server): Likewise.
10876 * nis/nis_creategroup.c (nis_creategroup): Likewise.
10877 * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
10878 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
10879 * nis/nis_getservlist.c (nis_getservlist): Likewise.
10880 * nis/nis_lookup.c (nis_lookup): Likewise.
10881 * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
57f41c40
AS
10882 * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
10883 (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
a1ffb40e 10884 * nis/nis_xdr.c (xdr_endpoint): Likewise.
57f41c40
AS
10885 * nis/nss_compat/compat-grp.c (getgrent_next_file)
10886 (internal_getgrnam_r, internal_getgrgid_r): Likewise.
10887 * nis/nss_compat/compat-initgroups.c (add_group)
10888 (internal_getgrent_r): Likewise.
10889 * nis/nss_compat/compat-pwd.c (getpwent_next_file)
10890 (internal_getpwnam_r, internal_getpwuid_r): Likewise.
10891 * nis/nss_compat/compat-spwd.c (getspent_next_file)
10892 (internal_getspnam_r): Likewise.
10893 * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
10894 (_nss_nis_getaliasbyname_r): Likewise.
10895 * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
10896 (_nss_nis_getntohost_r): Likewise.
10897 * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
10898 (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
10899 (_nss_nis_getgrgid_r): Likewise.
10900 * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
10901 (internal_nis_gethostent_r, internal_gethostbyname2_r)
10902 (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
10903 (_nss_nis_gethostbyname4_r): Likewise.
10904 * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
10905 (initgroups_netid): Likewise.
a1ffb40e 10906 * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
57f41c40
AS
10907 * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
10908 (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
10909 * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
10910 (_nss_nis_getprotobynumber_r): Likewise.
10911 * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
10912 (_nss_nis_getsecretkey): Likewise.
10913 * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
10914 (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
10915 (_nss_nis_getpwuid_r): Likewise.
10916 * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
10917 (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
10918 * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
10919 (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
10920 * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
10921 (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
a1ffb40e
OB
10922 * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
10923 Likewise.
57f41c40
AS
10924 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
10925 (_nss_nisplus_getntohost_r): Likewise.
10926 * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
10927 (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
10928 * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
10929 (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
a1ffb40e 10930 Likewise.
57f41c40
AS
10931 * nis/nss_nisplus/nisplus-initgroups.c
10932 (_nss_nisplus_initgroups_dyn): Likewise.
10933 * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
10934 (_nss_nisplus_getnetbyaddr_r): Likewise.
10935 * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
10936 (_nss_nisplus_getprotobynumber_r): Likewise.
10937 * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
10938 (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
a1ffb40e
OB
10939 * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
10940 Likewise.
57f41c40
AS
10941 * nis/nss_nisplus/nisplus-service.c
10942 (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
10943 (_nss_nisplus_getservbyport_r): Likewise.
10944 * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
10945 (_nss_nisplus_getspnam_r): Likewise.
10946 * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
10947 Likewise.
a1ffb40e
OB
10948 * nscd/aicache.c (addhstaiX): Likewise.
10949 * nscd/cache.c (cache_search, prune_cache): Likewise.
57f41c40
AS
10950 * nscd/connections.c (register_traced_file, send_ro_fd)
10951 (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
10952 (main_loop_epoll): Likewise.
a1ffb40e
OB
10953 * nscd/grpcache.c (addgrbyX): Likewise.
10954 * nscd/hstcache.c (addhstbyX): Likewise.
10955 * nscd/initgrcache.c (addinitgroupsX): Likewise.
10956 * nscd/mem.c (gc, mempool_alloc): Likewise.
57f41c40
AS
10957 * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
10958 (addinnetgrX): Likewise.
10959 * nscd/nscd-client.h (__nscd_acquire_maplock)
10960 (__nscd_drop_map_ref): Likewise.
a1ffb40e
OB
10961 * nscd/nscd_getai.c (__nscd_getai): Likewise.
10962 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
10963 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
10964 Likewise.
10965 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
10966 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
57f41c40
AS
10967 * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
10968 (__nscd_get_map_ref): Likewise.
a1ffb40e 10969 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
57f41c40
AS
10970 * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
10971 Likewise.
a1ffb40e
OB
10972 * nscd/pwdcache.c (addpwbyX): Likewise.
10973 * nscd/selinux.c (preserve_capabilities): Likewise.
10974 * nscd/servicescache.c (addservbyX): Likewise.
10975 * nss/nss_files/files-XXX.c (internal_getent): Likewise.
10976 * posix/fnmatch.c (fnmatch): Likewise.
10977 * posix/getopt.c (_getopt_internal_r): Likewise.
10978 * posix/glob.c (glob, glob_in_dir): Likewise.
10979 * posix/wordexp.c (exec_comm_child): Likewise.
57f41c40
AS
10980 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
10981 (getanswer_r, gaih_getanswer_slice): Likewise.
a1ffb40e
OB
10982 * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
10983 * resolv/res_init.c: Likewise.
10984 * resolv/res_mkquery.c (res_nmkquery): Likewise.
10985 * resolv/res_query.c (__libc_res_nquery): Likewise.
10986 * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
10987 Likewise.
10988 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
10989 * stdio-common/perror.c (perror): Likewise.
10990 * stdio-common/printf_fp.c (___printf_fp): Likewise.
10991 * stdio-common/tmpnam.c (tmpnam): Likewise.
10992 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
10993 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
57f41c40
AS
10994 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
10995 Likewise.
a1ffb40e
OB
10996 * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
10997 * stdlib/putenv.c (putenv): Likewise.
10998 * stdlib/setenv.c (__add_to_environ): Likewise.
10999 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
11000 * stdlib/strtol_l.c (INTERNAL): Likewise.
11001 * string/memmem.c (memmem): Likewise.
11002 * string/strerror.c (strerror): Likewise.
11003 * string/strnlen.c (__strnlen): Likewise.
11004 * string/test-memmem.c (simple_memmem): Likewise.
11005 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
11006 * sunrpc/pm_getport.c (__get_socket): Likewise.
11007 * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
11008 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
57f41c40
AS
11009 * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
11010 (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
a1ffb40e
OB
11011 Likewise.
11012 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
11013 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
11014 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
11015 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
11016 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
57f41c40
AS
11017 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
11018 Likewise.
11019 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
11020 Likewise.
a1ffb40e
OB
11021 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
11022 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
11023 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
11024 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
11025 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
11026 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
11027 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
11028 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
11029 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
11030 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
11031 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
11032 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
11033 Likewise.
11034 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
11035 Likewise.
11036 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
11037 Likewise.
11038 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
11039 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
11040 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
11041 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
11042 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
11043 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
11044 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
11045 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
11046 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
11047 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
11048 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
11049 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
11050 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
11051 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
11052 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
57f41c40
AS
11053 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
11054 Likewise.
a1ffb40e
OB
11055 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
11056 Likewise.
11057 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
11058 Likewise.
11059 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
11060 Likewise.
11061 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
11062 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
11063 * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
11064 Likewise.
11065 * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
11066 * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
11067 * sysdeps/posix/opendir.c (__opendirat): Likewise.
11068 * sysdeps/posix/sleep.c: Likewise.
11069 * sysdeps/posix/tempname.c: Likewise.
11070 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
11071 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
11072 Likewise.
57f41c40
AS
11073 * sysdeps/powerpc/powerpc32/dl-machine.h
11074 (elf_machine_runtime_setup, elf_machine_rela): Likewise.
a1ffb40e
OB
11075 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
11076 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
11077 * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
11078 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
11079 Likewise.
11080 * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
57f41c40
AS
11081 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
11082 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
11083 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
11084 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
a1ffb40e
OB
11085 * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
11086 * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
11087 * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
11088 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
11089 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
57f41c40
AS
11090 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
11091 (elf_machine_lazy_rel): Likewise.
a1ffb40e 11092 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
57f41c40
AS
11093 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
11094 (elf_machine_lazy_rel): Likewise.
a1ffb40e
OB
11095 * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
11096 * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
11097 * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
11098 * sysdeps/unix/grantpt.c (grantpt): Likewise.
11099 * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
11100 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
11101 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
11102 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
11103 Likewise.
11104 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
11105 * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
11106 * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
11107 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
11108 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
11109 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
11110 * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
11111 * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
11112 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
11113 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
11114 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
11115 Likewise.
11116 * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
11117 (__posix_fallocate64_l64): Likewise.
11118 * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
11119 (posix_fallocate): Likewise.
57f41c40
AS
11120 * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
11121 Likewise.
a1ffb40e 11122 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
57f41c40
AS
11123 * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
11124 (getifaddrs_internal): Likewise.
a1ffb40e
OB
11125 * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
11126 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
11127 * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
11128 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
11129 * sysdeps/unix/sysv/linux/posix_fallocate64.c
11130 (__posix_fallocate64_l64): Likewise.
11131 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
11132 Likewise.
11133 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
57f41c40
AS
11134 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
11135 (__get_clockfreq): Likewise.
a1ffb40e
OB
11136 * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
11137 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
11138 * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
11139 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
11140 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
11141 * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
11142 * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
11143 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
11144 Likewise.
11145 * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
11146 * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
11147 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
11148 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
11149 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
11150 * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
11151 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
11152 Likewise.
11153 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
11154 (posix_fallocate): Likewise.
11155 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
11156 * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
11157 * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
57f41c40
AS
11158 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
11159 (elf_machine_rela, elf_machine_rela_relative)
11160 (elf_machine_lazy_rel): Likewise.
a1ffb40e
OB
11161 * time/asctime.c (asctime_internal): Likewise.
11162 * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
11163 * time/tzset.c (__tzset_parse_tz): Likewise.
11164 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
11165 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
11166 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
11167 * wcsmbs/wcsmbsload.h: Likewise.
11168
f3d338c9
OB
11169 [BZ #15894]
11170 * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
11171
57f41c40
AS
11172 * malloc/arena.c (grow_heap, get_free_list, reused_arena)
11173 (arena_get2): Remove THREAD_STATS conditionals.
11174 * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
11175 (__malloc_stats, int): Likewise.
bdfe308a 11176
d674667c
MF
111772014-02-08 Mike Frysinger <vapier@gentoo.org>
11178
11179 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
11180 f.f_type to RAMFS_MAGIC too. Compare mp->mnt_type to shm too.
11181
6349768c
MF
11182 * manual/setjmp.texi: Fix typos/grammar errors.
11183
0b7c7473
MF
11184 * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
11185 Only return early when n is <= 0. Delete unused return statement.
11186
ac8cc9e3
MF
11187 * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
11188 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
11189 * debug/tst-longjmp_chk3.c: New file.
11190
c5bb8e23
MF
11191 * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
11192 (test_main): Replace code with set_fortify_handler call.
11193 * debug/test-strcpy_chk.c: Likewise.
11194 * debug/tst-chk1.c: Likewise.
11195 * debug/tst-longjmp_chk.c: Likewise.
11196 * test-skeleton.c: Include fcntl.h & paths.h
11197 (set_fortify_handler): Define.
11198
10444e42
MF
11199 * debug/tst-longjmp_chk.c: Add header comment and include
11200 ../test-skeleton.c.
11201 (do_test): Mark static.
11202 (TEST_FUNCTION): Define.
11203
1e805e8d
MF
11204 * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
11205 (IP_PMTUDISC_INTERFACE): Likewise.
11206 (IP_MULTICAST_IF): Likewise.
11207 (IP_MULTICAST_TTL): Likewise.
11208 (IP_MULTICAST_LOOP): Likewise.
11209 (IP_ADD_MEMBERSHIP): Likewise.
11210 (IP_DROP_MEMBERSHIP): Likewise.
11211 (IP_UNBLOCK_SOURCE): Likewise.
11212 (IP_BLOCK_SOURCE): Likewise.
11213 (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
11214 (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
11215 (IP_MSFILTER): Likewise.
11216 (MCAST_JOIN_GROUP): Likewise.
11217 (MCAST_BLOCK_SOURCE): Likewise.
11218 (MCAST_UNBLOCK_SOURCE): Likewise.
11219 (MCAST_LEAVE_GROUP): Likewise.
11220 (MCAST_JOIN_SOURCE_GROUP): Likewise.
11221 (MCAST_LEAVE_SOURCE_GROUP): Likewise.
11222 (MCAST_MSFILTER): Likewise.
11223 (IP_MULTICAST_ALL): Likewise.
11224 (IP_UNICAST_IF): Likewise.
11225
73f79bb7
MF
11226 * timezone/Makefile: Delete $(have-ksh) check.
11227 ($(objpfx)tzselect): Change $(KSH) to $(BASH).
11228 * timezone/tzselect.ksh: Add +x mode bits.
11229
8da79b60
MF
11230 * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
11231 (ANON_INODE_FS_MAGIC): Likewise.
11232 (BDEVFS_MAGIC): Likewise.
11233 (BINFMTFS_MAGIC): Likewise.
11234 (BTRFS_TEST_MAGIC): Likewise.
11235 (CRAMFS_MAGIC_WEND): Likewise.
11236 (DEBUGFS_MAGIC): Likewise.
11237 (ECRYPTFS_SUPER_MAGIC): Likewise.
11238 (EXT3_SUPER_MAGIC): Likewise.
11239 (EXT4_SUPER_MAGIC): Likewise.
11240 (FUTEXFS_SUPER_MAGIC): Likewise.
11241 (HOSTFS_SUPER_MAGIC): Likewise.
11242 (HUGETLBFS_MAGIC): Likewise.
11243 (MINIX3_SUPER_MAGIC): Likewise.
11244 (MTD_INODE_FS_MAGIC): Likewise.
11245 (NILFS_SUPER_MAGIC): Likewise.
11246 (OPENPROM_SUPER_MAGIC): Likewise.
11247 (PIPEFS_MAGIC): Likewise.
11248 (PSTOREFS_MAGIC): Likewise.
11249 (QNX6_SUPER_MAGIC): Likewise.
11250 (RAMFS_MAGIC): Likewise.
11251 (REISERFS_SUPER_MAGIC_STRING): Likewise.
11252 (REISER2FS_SUPER_MAGIC_STRING): Likewise.
11253 (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
11254 (SECURITYFS_MAGIC): Likewise.
11255 (SELINUX_MAGIC): Likewise.
11256 (SMACK_MAGIC): Likewise.
11257 (SOCKFS_MAGIC): Likewise.
11258 (SQUASHFS_MAGIC): Likewise.
11259 (STACK_END_MAGIC): Likewise.
11260 (TMPFS_MAGIC): Likewise.
11261 (USBDEVICE_SUPER_MAGIC): Likewise.
11262 (V9FS_MAGIC): Likewise.
11263 (XENFS_SUPER_MAGIC): Likewise.
11264 (CRAMFS_MAGIC): Fix typo in comment.
11265 (EXT2_SUPER_MAGIC): Update comment.
11266 (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
11267
464263cc
JM
112682014-02-08 Joseph Myers <joseph@codesourcery.com>
11269
c6bfe5c4
JM
11270 * sysdeps/arm: Move directory from ports/sysdeps/arm.
11271 * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
11272 * sysdeps/unix/sysv/linux/arm: Move directory from
11273 ports/sysdeps/unix/sysv/linux/arm.
11274 * README: Update listing for arm-*-linux-gnueabi.
11275
464263cc
JM
11276 * README: Remove mention of am33.
11277
32749f6c
RM
112782014-02-07 Roland McGrath <roland@hack.frob.com>
11279
11280 * bits/sigset.h (__sigemptyset): Use a statement expression rather
11281 than the comma operator, to avoid "rhs of comma has no effect"
11282 compiler warnings.
11283 (__sigfillset, __sigandset, __sigorset): Likewise.
11284 * include/signal.h (__sigemptyset): Likewise.
11285 * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
11286
d5b396c1
AM
112872014-02-07 Allan McRae <allan@archlinux.org>
11288
11289 * version.h (RELEASE): Set to "development".
11290 (VERSION): Set to "2.19.90"
11291 * NEWS: Add 2.20 section.
11292
3bfff2ed
CD
112932014-02-06 Carlos O'Donell <carlos@redhat.com>
11294
11295 [BZ #16529]
11296 * inet/netinet/in.h: Remove comma after IPPROTO_MH.
11297
ee7cc385
SP
112982014-02-06 Siddhesh Poyarekar <siddhesh@redhat.com>
11299
11300 * manual/contrib.texi: Update entry for Carlos O'Donell,
11301 Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
11302
f877c4f2
CD
113032014-02-05 Carlos O'Donell <carlos@rehdat.com>
11304
27e839f6
CD
11305 * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
11306
f877c4f2
CD
11307 * sysdeps/unix/sysv/linux/kernel-features.h
11308 [__LINUX_KERNEL_VERSION >= 0x020621]
11309 (__ASSUME_PROC_PID_TASK_COMM): Define.
11310
68159946
SP
113112014-02-05 Siddhesh Poyarekar <siddhesh@redhat.com>
11312
ba17cdbd
SP
11313 [BZ #16398]
11314 * libio/wfileops.c (_IO_wfile_seekoff): Break out form
11315 conversion when destination buffer does not have enough space.
11316 * libio/tst-ftell-partial-wide.c: New test case.
11317 * libio/Makefile (tests): Add tst-ftell-partial-wide.
11318
68159946
SP
11319 * manual/contrib.texi: Update entry for Ondrej Bilka, Will
11320 Newton and Alexandre Oliva. Add entries for Steve Ellcey, Chris
11321 Leonard and Allan McRae.
11322
2b528732
DM
113232014-02-04 David S. Miller <davem@davemloft.net>
11324
11325 * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
11326 32-bit.
11327
0ff82463
AZ
113282014-02-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11329
57f41c40
AS
11330 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
11331 New file
c01603f7
AZ
11332 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
11333 New file
57f41c40
AS
11334 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
11335 New file.
11336 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
11337 New file.
c01603f7
AZ
11338 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
11339 New file.
57f41c40
AS
11340 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
11341 New file.
11342 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
11343 New file.
c01603f7
AZ
11344 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
11345 New file.
11346 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
11347 New file.
11348 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
11349 New file.
11350 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
11351 New file.
11352 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
11353 New file.
11354 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
11355 New file.
11356
113572014-02-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11358
0ff82463
AZ
11359 * nptl/shlib-versions: Change powerpc*le start to 2.17.
11360 * shlib-versions: Likewise.
11361
1695c773
AZ
113622014-02-04 Roland McGrath <roland@hack.frob.com>
11363 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11364
11365 * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
11366 (abilist-pattern): New variable, set to %-le.abilist.
11367
11368 * Makerules (abilist-pattern): New variable.
11369 (vpath): Use $(abilist-pattern) in place of %.abilist.
11370 (check-abi-% pattern rule): Likewise.
11371 (check-abi, update-abi): Likewise.
11372
6c0ce4b4
EW
113732014-02-04 Eric Wong <normalperson@yhbt.net>
11374
11375 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
11376
481e3524
CD
113772014-02-03 Carlos O'Donell <carlos@redhat.com>
11378
11379 * manual/startup.texi: Add next, previous, and top entries for
11380 the `Program Arguments' and `Environment Variables' nodes.
11381
375592d3
AO
113822014-02-03 Alexandre Oliva <aoliva@redhat.com>
11383
11384 * manual/macros.texi: Add comments before MTASC-safety macros.
11385
f54838ba
AO
11386 * manual/users.texi: Document MTASC-safety properties.
11387
57f41c40
AS
11388 * manual/threads.texi (pthread_key_create, pthread_key_delete)
11389 (pthread_getspecific, pthread_setspecific): Format with
909e12ad
AO
11390 @deftypefun, and add @safety note.
11391 * manual/signal.texi: Move comments that analyze the above
11392 functions to their home place.
11393
fd3daba4
AM
113942014-02-03 Allan McRae <allan@archlinux.org>
11395
11396 * po/sl.po: Update Slovenian translation from translation project.
11397
597636d7
AO
113982014-02-02 Alexandre Oliva <aoliva@redhat.com>
11399
11400 * manual/time.texi (timegm): Add missing blank after @c.
11401 Reported by Joseph Myers <joseph@codesourcery.com>.
11402
ee196e3c
AO
114032014-02-01 Alexandre Oliva <aoliva@redhat.com>
11404
11405 * manual/check-safety.sh: New.
11406 * manual/Makefile ($(objpfx)stamp-summary): Run it.
11407
f8d529d5
AO
11408 * manual/terminal.texi: Document MTASC-safety properties.
11409
de55fdf4
AO
11410 * manual/filesys.texi: Document MTASC-safety properties.
11411
c3299c08
AO
11412 * manual/errno.texi: Document MTASC-safety properties.
11413
06e90b14
AO
11414 * manual/intro.texi: Document safety identifiers and
11415 conditionals.
11416
1acd4371
AO
11417 * manual/string.texi (wcstok): Fix prototype.
11418 (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
11419
23e5b8cb
AO
11420 * manual/time.texi: Document MTASC-safety properties.
11421
11087373
AO
11422 * manual/string.texi: Document MTASC-safety properties.
11423
5da2c93d
AO
11424 * manual/threads.texi: Document MTASC-safety properties.
11425
171e9210
AO
11426 * manual/stdio.texi: Document MTASC-safety properties.
11427
d9e02532
AO
11428 * manual/syslog.texi: Document MTASC-safety properties.
11429
6af8bab7
AO
11430 * manual/sysinfo.texi: Document MTASC-safety properties.
11431
663b02d7
AO
11432 * manual/startup.texi: Document MTASC-safety properties.
11433
973f180b
AO
11434 * manual/socket.texi: Document MTASC-safety properties.
11435
8f3c25c8
AO
11436 * manual/signal.texi: Document MTASC-safety properties.
11437
542210fb
AO
114382014-01-31 Alexandre Oliva <aoliva@redhat.com>
11439
11440 * manual/setjmp.texi: Document MTASC-safety properties.
11441
433c45a2
AO
11442 * manual/search.texi: Document MTASC-safety properties.
11443
c8ce789c
AO
11444 * manual/resource.texi: Document MTASC-safety properties.
11445
19f5d29c
AO
11446 * manual/process.texi: Document MTASC-safety properties.
11447
e2dfb7f4
AO
11448 * manual/platform.texi: Document MTASC-safety properties.
11449
8c1413f5
AO
11450 * manual/pipe.texi: Document MTASC-safety properties.
11451
03483ada
AO
11452 * manual/pattern.texi: Document MTASC-safety properties.
11453
29e7e2df
AO
11454 * manual/message.texi: Document MTASC-safety properties.
11455
9f529d7c
AO
11456 [BZ #12751]
11457 * manual/memory.texi: Document MTASC-safety properties.
11458
27aaa791
AO
11459 * manual/math.texi: Document MTASC-safety properties.
11460
f2d58726
AO
11461 * manual/locale.texi: Document MTASC-safety properties.
11462
2cc3615c
AO
11463 * manual/llio.texi: Document MTASC-safety properties.
11464
d9f0ec97
AO
11465 * manual/libdl.texi: New.
11466
e7c4409a
AO
11467 * manual/lang.texi: Document MTASC-safety properties.
11468
27bdc63c
AO
11469 * manual/job.texi: Document MTASC-safety properties.
11470
a7b90ea9
AO
11471 * manual/getopt.texi: Document MTASC-safety properties.
11472
c49130e3
AO
11473 * manual/ctype.texi: Document MTASC-safety properties.
11474
0d23a5c1
MR
114752014-01-31 Maciej W. Rozycki <macro@codesourcery.com>
11476
11477 [BZ #16046]
11478 * csu/libc-tls.c (static_map): Remove variable.
11479 (__libc_setup_tls): Use main executable's link map for TLS data.
11480 * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
11481 casing for LM_ID_BASE and GL(dl_nns).
11482 * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
11483 function. Alias dl_iterate_phdr to __dl_iterate_phdr.
11484 * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
11485 casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
11486 * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
11487 member.
11488 (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
11489 l_phnum members.
11490
0037bb60
AO
114912014-01-30 Alexandre Oliva <aoliva@redhat.com>
11492
11493 * manual/debug.texi: Document MTASC-safety properties.
11494
409e00bd
L
114952014-01-29 H.J. Lu <hongjiu.lu@intel.com>
11496
11497 [BZ #16510]
11498 * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
11499 of __x86_64__ when disabling x87 inline functions.
11500
86e60666
AO
115012014-01-29 Alexandre Oliva <aoliva@redhat.com>
11502
11503 * manual/charset.texi: Document MTASC-safety properties.
11504
76167637
AO
11505 * manual/crypt.texi: Document MTASC-safety properties.
11506
e567f2a0
AO
11507 * manual/conf.texi: Document MTASC-safety properties.
11508
b719dafd
AO
11509 * manual/arith.texi: Document MTASC-safety properties.
11510
4a16c662
AO
11511 * manual/argp.texi: Document MTASC-safety properties.
11512
0a57b83e
AO
11513 * manual/macros.texi: Introduce macros to document multi
11514 thread, asynchronous signal and asynchronous cancellation
11515 safety properties.
11516 * manual/intro.texi: Introduce the properties themselves.
11517
feab2397
KK
115182014-01-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
11519
11520 * sysdeps/sh/sh4/Makefile: New file.
11521
1c0d11bc
AS
115222014-01-27 Andreas Schwab <schwab@linux-m68k.org>
11523
11524 * math/gen-libm-test.pl ($srcdir): New variable.
11525 ($auto_input): Use it.
11526
af37a8a3
SP
115272014-01-27 Siddhesh Poyarekar <siddhesh@redhat.com>
11528
d7b00f98
SP
11529 [BZ #16506]
11530 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
11531 access beyond array bounds when parsing netgroups file.
11532
af37a8a3
SP
11533 * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
11534 the old buffer before realloc.
11535
0c00f062
AM
115362014-01-27 Allan McRae <allan@archlinux.org>
11537
11538 * po/fr.po: Update French translation from translation project.
11539
7d69a1b0
KK
115402014-01-26 Kaz Kojima <kkojima@rr.iij4u.or.jp>
11541
11542 * sysdeps/sh/libm-test-ulps: Regenerate.
11543
6e697ff7
DM
115442014-01-24 David S. Miller <davem@davemloft.net>
11545
11546 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
11547
9cadb35c
KK
115482014-01-25 Kaz Kojima <kkojima@rr.iij4u.or.jp>
11549
11550 * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
11551 * sysdeps/sh/libm-test-ulps: ... here and regenerated.
11552
5d41dadf
SP
115532013-01-24 Siddhesh Poyarekar <siddhesh@redhat.com>
11554
11555 [BZ #16474]
11556 * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
11557 string pointers after reallocation.
11558
0bad441c
KK
115592014-01-24 Kaz Kojima <kkojima@rr.iij4u.or.jp>
11560
11561 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
11562 __SH4A__ instead of __SH_FPU_ANY__.
11563
7007c661
KK
115642014-01-23 Kaz Kojima <kkojima@rr.iij4u.or.jp>
11565
11566 * sysdeps/sh/fpu_control.h: New file.
11567 * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
11568 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
11569 * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
11570 * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
11571 * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
11572 * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
11573 * sysdeps/sh/sys/ucontext.h: Remove.
11574 * sysdeps/sh/sys: Remove directory.
11575
0f0c35e4
AK
115762014-01-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11577
11578 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
11579 s390/sys/ucontext.h.
11580 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
11581 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
11582
4959e284
L
115832014-01-20 H.J. Lu <hongjiu.lu@intel.com>
11584
11585 [BZ #15605]
11586 * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
11587
d98720e0
AZ
115882014-01-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11589
11590 [BZ#16431]
11591 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
11592 Adjust the vDSO correctly for internal calls.
11593 * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
11594
91cbd0bc
AM
115952014-01-20 Allan McRae <allan@archlinux.org>
11596
11597 * po/ca.po: Update Catalan translation from translation project.
11598
7a02cfad
MF
115992014-01-16 Mike Frysinger <vapier@gentoo.org>
11600
11601 * sysdeps/s390/sotruss-lib.c: New file.
11602
736c304a
AZ
116032014-01-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11604
11605 [BZ#16430]
6e077ee5 11606 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
736c304a
AZ
11607 (__GI___gettimeofday): Alias for a different internal symbol to avoid
11608 local calls issues by not having a PLT stub required for IFUNC calls.
11609 * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
11610
94d0cea0
JM
116112014-01-16 Joseph Myers <joseph@codesourcery.com>
11612
11613 * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
11614 * math/test-fpucw-static.c: Likewise.
11615
980cb518
SP
116162013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
11617
11618 [BZ #16453]
11619 * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
11620
2393fc01
AZ
116212014-01-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11622
11623 * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
11624 implementation for powerpc.
11625
d359bcc2
OB
116262014-01-15 Ondřej Bílka <neleai@seznam.cz>
11627
11628 [BZ #14782]
11629 * sysdeps/posix/system.c (__libc_system): Do not enable
11630 asynchronous cancellation.
11631
7beb48cb
AK
116322014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11633
11634 [BZ #16427]
11635 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
11636 handling only for numbers special also in the IEEE case.
11637
c20d5bf5
AK
116382014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11639
11640 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
11641
e83bd4ee
AM
116422014-01-11 Allan McRae <allan@archlinux.org>
11643
76d0ea69
AM
11644 * po/bg.po: Update Bulgarian translation from translation project.
11645
e83bd4ee
AM
11646 * po/de.po: Update German translation from translation project.
11647
bc2ba20a
RM
116482014-01-10 Roland McGrath <roland@hack.frob.com>
11649
11650 * sysdeps/generic/gcc-compat.h: New file.
11651
649ecea2
SP
116522014-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
11653
11654 * benchtests/asin-inputs: Correct slow inputs.
11655 * benchtests/acos-inputs: Likewise.
11656
1b19c006
AM
116572014-01-10 Allan McRae <allan@archlinux.org>
11658
a46dab08
AM
11659 * po:sv.po: Update Swedish translation from translation project.
11660
421df74a
AM
11661 * po/vi.po: Update Vietnamese translation from translation project.
11662
d61c51a7
AM
11663 * po/eo.po: Update Esperanto translation from translation project.
11664
0339a319
AM
11665 * po/cs.po: Update Czech translation from translation project.
11666
94ad3e99
AM
11667 * po/nl.po: Update Dutch translation from translation project.
11668
e349ca71
AM
11669 * po/pl.po: Update Polish translation from translation project.
11670
ddf930c1
AM
11671 * po/ru.po: Update Russian translation from translation project.
11672
1b19c006
AM
11673 * po/uk.po: Update Ukrainian translation from translation project.
11674
9f236c49
BM
116752014-01-08 Brooks Moses <bmoses@google.com>
11676
11677 * elf/dl-load.c: Fix comment typo.
11678
cd6701cf
CD
116792014-01-08 Carlos O'Donell <carlos@redhat.com>
11680
11681 * po/header.pot: Rename to...
11682 * po/pot.header: ... this.
11683 * po/Makefile: Use pot.header.
11684
66671c84
YK
116852014-01-08 Yuriy Kaminskiy <yumkam@gmail.com>
11686 Maxim Kuvyrkov <maxim@kugelworks.com>
11687
11688 [BZ #16394]
cd6701cf
CD
11689 * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
11690 SRC and DEST against LEN.
66671c84 11691
38f34581
AZ
116922014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11693
11694 [BZ #16414]
11695 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
11696 implementation.
11697 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
11698
116992014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3ff6304e
AZ
11700
11701 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11702
4c327f2a
JM
117032014-01-08 Joseph Myers <joseph@codesourcery.com>
11704
11705 [BZ #16408]
11706 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
11707 for large positive arguments.
11708
b821f414
JM
117092014-01-07 Joseph Myers <joseph@codesourcery.com>
11710
1f0f2067
JM
11711 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
11712
a5a326f6
JM
11713 * math/auto-libm-test-in: Mark various tests with
11714 xfail-rounding:ldbl-128ibm.
11715 * math/auto-libm-test-out: Regenerated.
11716
b821f414
JM
11717 [BZ #16407]
11718 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
11719 Increase overflow threshold.
11720
94c8a4bc
OB
117212014-01-07 Ondřej Bílka <neleai@seznam.cz>
11722
11723 [BZ #14286]
11724 * stdio-common/vfprintf.c: Check for integer overflow.
11725
87ded0c3
AK
117262014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11727
11728 * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
11729 the first argument and return value of __tls_get_addr_internal.
11730
c5eebdd0
AK
117312014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11732
11733 * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
11734 also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
11735
05d138ef
AK
117362014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11737
11738 * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
11739 * sysdeps/s390/rtld-global-offsets.sym: New file.
11740 * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
11741 GLIBC_2.19 symbol.
11742 * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
11743 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
11744 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
11745 ... this.
11746 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
11747 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
11748 ... this.
11749 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
11750 Regenerate.
11751 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
11752 Regenerate.
11753 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
11754 halfs of GPRs for high_gprs contexts.
11755 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
11756 restore upper halfs of GPRs for high_gprs contexts. Copy uc_flags
11757 field.
11758 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
11759 uc_flags field.
11760 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
11761 64 bit versions:
11762 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
11763 for high GPRs (uc_high_gprs) and for future extensions
11764 (__reserved).
11765 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
11766 for future extensions (__reserved).
11767 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
11768 64 bit versions:
11769 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
11770 SC_HIGHGPRS offset definition.
11771 * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
11772 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
11773
93a45ff1
AK
11774 * Versions.def: Add GLIBC_2.19 for libpthread.
11775 * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
11776 siglongjmp for libpthread with GLIBC_2.19 symver.
11777 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
11778 * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
11779 * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
11780 * sysdeps/s390/__longjmp.c: New file.
11781 * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
11782 * sysdeps/s390/longjmp.c: New file.
11783 * sysdeps/s390/setjmp.S: New file.
11784 * sysdeps/s390/sigjmp.S: New file.
11785 * sysdeps/s390/v1-longjmp.c: New file.
11786 * sysdeps/s390/v1-setjmp.h: New file.
11787 * sysdeps/s390/v1-sigjmp.c: New file.
11788 * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
11789 * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
11790 GLIBC_2.19 version.
11791 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
11792 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
11793 versioned symbols for ____longjmp_chk.
11794 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
11795 Likewise.
11796 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
11797 Regenerate.
11798 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
11799 Regenerate.
11800 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
11801 Regenerate.
11802 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
11803 Regenerate.
11804 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
11805 * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
11806 * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
11807 * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
11808 * sysdeps/s390/s390-32/setjmp-common.S: ... this.
11809 * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
11810 * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
11811 * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
11812 * sysdeps/s390/s390-64/setjmp-common.S: ... this.
11813 * sysdeps/s390/rtld-__longjmp.c: New file.
11814 * sysdeps/s390/rtld-setjmp.S: New file.
11815
eb3fc44b
JM
118162014-01-06 Joseph Myers <joseph@codesourcery.com>
11817
11818 [BZ #16400]
11819 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
11820 Return -__logl (x) for small positive arguments without evaluating
11821 a polynomial.
11822
9341dde4
MF
118232014-01-06 Mike Frysinger <vapier@gentoo.org>
11824
11825 * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
11826 Rename to ...
11827 (__ptrace_peeksiginfo_args): ... this.
11828 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
11829 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
11830 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
11831
4cff0293
AM
118322014-01-06 Allan McRae <allan@archlinux.org>
11833
11834 * inet/netinet/in.h: Fix typo in comment.
11835
75595dcf
AJ
118362014-01-05 Andreas Jaeger <aj@suse.de>
11837
11838 * sysdeps/i386/fpu/libm-test-ulps: Update.
11839
79c1e109
AM
118402014-01-05 Allan McRae <allan@archlinux.org>
11841
dd804818
AM
11842 * po/libc.pot: Regenerated.
11843
79c1e109
AM
11844 * malloc/memusagestat.c: Fix gettext call formatting.
11845
0c813d1f
SK
118462014-01-04 Sami Kerola <kerolasa@iki.fi>
11847
11848 * nscd/nscd.c: Improve usage() output.
11849
20f4a8d9
MF
118502014-01-04 Mike Frysinger <vapier@gentoo.org>
11851
11852 * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
11853 * sysdeps/unix/sysv/linux/configure: Regenerated.
11854 * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
11855 * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
11856
22562bb2
JM
118572014-01-03 Joseph Myers <joseph@codesourcery.com>
11858
11859 [BZ #16390]
11860 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
11861 (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
11862
d7ad2d9b
AZ
118632014-01-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11864
11865 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
11866 extra tokens at end of #undef directive.
11867 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
11868 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
11869 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
11870
7dd009d8
JM
118712014-01-03 Joseph Myers <joseph@codesourcery.com>
11872
24db925a
JM
11873 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
11874
7dd009d8
JM
11875 * math/auto-libm-test-in: Mark various tests with
11876 xfail-rounding:ldbl-128ibm.
11877 * math/auto-libm-test-out: Regenerated.
11878
396e3ecf
JM
118792014-01-02 Joseph Myers <joseph@codesourcery.com>
11880
819e5d50
JM
11881 [BZ #16386]
11882 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
11883 numbers with subnormal high part when calculating exponent.
11884
90b6a1e5
JM
11885 [BZ #16385]
11886 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
11887 fabs.
11888
396e3ecf
JM
11889 [BZ #16384]
11890 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
11891 M_LN2l.
11892 (__ieee754_acoshl): Use __log1pl not __log1p.
11893
6c8dbf00
OB
118942013-01-02 Ondřej Bílka <neleai@seznam.cz>
11895
57f41c40
AS
11896 * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
11897 (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
11898 (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
11899 (grow_heap, heap_trim, _int_new_arena, get_free_list)
11900 (reused_arena, arena_get2): Convert to GNU style.
11901 * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
11902 (mem2mem_check, mem2chunk_check, top_check, realloc_check)
11903 (memalign_check, __malloc_set_state): Likewise.
6c8dbf00 11904 * malloc/mallocbug.c (main): Likewise.
57f41c40
AS
11905 * malloc/malloc.c (__malloc_assert, malloc_init_state)
11906 (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
11907 (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
11908 (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
11909 (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
11910 (__posix_memalign, malloc_info): Likewise.
6c8dbf00 11911 * malloc/malloc.h: Likewise.
57f41c40
AS
11912 * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
11913 (mallochook, memalignhook, reallochook, mabort): Likewise.
6c8dbf00 11914 * malloc/mcheck.h: Likewise.
57f41c40
AS
11915 * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
11916 (free, mmap, mmap64, mremap, munmap, dest): Likewise.
6c8dbf00
OB
11917 * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
11918 * malloc/morecore.c (__default_morecore): Likewise.
11919 * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
57f41c40
AS
11920 * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
11921 (_obstack_allocated_p, obstack_free, _obstack_memory_used)
11922 (print_and_abort): Likewise.
6c8dbf00
OB
11923 * malloc/obstack.h: Likewise.
11924 * malloc/set-freeres.c (__libc_freeres): Likewise.
11925 * malloc/tst-mallocstate.c (main): Likewise.
11926 * malloc/tst-mtrace.c (main): Likewise.
11927 * malloc/tst-realloc.c (do_test): Likewise.
11928
d4124212
SP
119292013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
11930
9a3c6a6f
SP
11931 [BZ #16366]
11932 * nscd/netgroupcache.c (do_notfound): New function.
11933 (addgetnetgrentX): Use it.
11934
d4124212
SP
11935 [BZ # 16365]
11936 * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
11937 NSS_STATUS_NOTFOUND.
11938
97b9a009
JM
119392014-01-01 Joseph Myers <joseph@codesourcery.com>
11940
11941 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
11942 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11943
d4697bc9
AM
119442014-01-01 Allan McRae <allan@archlinux.org>
11945
ddb3687f
AM
11946 * scripts/update-copyrights: Update configure input file suffix.
11947
88726d48
AM
11948 * NEWS: Update copyright year.
11949 * catgets/gencat.c: Likewise.
11950 * csu/version.c: Likewise.
11951 * debug/catchsegv.sh: Likewise.
11952 * debug/pcprofiledump.c: Likewise.
11953 * debug/xtrace.sh: Likewise.
11954 * elf/ldconfig.c: Likewise.
11955 * elf/ldd.bash.in: Likewise.
11956 * elf/pldd.c: Likewise.
11957 * elf/sotruss.ksh: Likewise.
11958 * elf/sprof.c: Likewise.
11959 * iconv/iconv_prog.c: Likewise.
11960 * iconv/iconvconfig.c: Likewise.
11961 * locale/programs/locale.c: Likewise.
11962 * locale/programs/localedef.c: Likewise.
11963 * login/programs/pt_chown.c: Likewise.
11964 * malloc/memusage.sh: Likewise.
11965 * malloc/memusagestat.c: Likewise.
11966 * malloc/mtrace.pl: Likewise.
11967 * manual/libc.texinfo: Likewise.
11968 * nscd/nscd.c: Likewise.
11969 * nss/getent.c: Likewise.
11970 * nss/makedb.c: Likewise.
11971 * posix/getconf.c: Likewise.
11972 * scripts/test-installation.pl: Likewise.
11973
d4697bc9
AM
11974 * All files with FSF copyright notices: Update copyright dates
11975 using scripts/update-copyrights.
11976 * intl/plural.c: Regenerated.
11977 * locale/programs/charmap-kw.h: Likewise.
11978 * locale/programs/locfile-kw.h: Likewise.
11979
c8590f9d
MF
119802013-12-31 Mike Frysinger <vapier@gentoo.org>
11981
11982 * sysdeps/unix/sysv/linux/configure: Regenerated.
11983 * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
11984 the linux/fanotify.h header.
11985 * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
11986 HAVE_LINUX_FANOTIFY_H is defined.
11987
b19221b9
SP
119882013-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
11989
dd1d85e5
SP
11990 * benchtests/cos-inputs: New inputs.
11991 * benchtests/sin-inputs: Likewise.
11992
1acbb90f
SP
11993 * benchtests/atan-inputs: New inputs. Fix name of multiple
11994 precision fallback inputs.
11995
4c012ed3
SP
11996 * benchtests/atanh-inputs: New inputs.
11997 * benchtests/tanh-inputs: Likewise.
11998
eff98324
SP
11999 * benchtests/acosh-inputs: New inputs.
12000 * benchtests/asinh-inputs: Likewise.
12001
ce641152
SP
12002 * benchtests/cosh-inputs: New inputs.
12003 * benchtests/sinh-inputs: Likewise.
12004
b19221b9
SP
12005 * benchtests/acos-inputs: Add more inputs.
12006 * benchtests/asin-inputs: Likewise.
12007
030a4976 120082013-12-30 Ville Skytta <ville.skytta@iki.fi>
9dcc8f11 12009
030a4976 12010 [BZ #16375]
9dcc8f11
VS
12011 * manual/arith.texi: Fix spelling.
12012 * manual/charset.texi: Likewise.
12013 * manual/errno.texi: Likewise.
12014 * manual/filesys.texi: Likewise.
12015 * manual/lang.texi: Likewise.
12016 * manual/llio.texi: Likewise.
12017 * manual/locale.texi: Likewise.
12018 * manual/message.texi: Likewise.
12019 * manual/resource.texi: Likewise.
12020 * manual/search.texi: Likewise.
12021 * manual/setjmp.texi: Likewise.
12022 * manual/stdio.texi: Likewise.
12023 * manual/string.texi: Likewise.
12024 * manual/sysinfo.texi: Likewise.
12025 * manual/time.texi: Likewise.
12026
11520a57
CD
120272013-12-27 Carlos O'Donell <carlos@redhat.com>
12028
12029 * po/sl.po: New file.
12030
471103ae
MF
120312013-12-27 Mike Frysinger <vapier@gentoo.org>
12032
12033 * .gitignore: Add core/.gdbinit/.gdb_history.
12034
6c9642ed
AM
120352013-12-27 Allan McRae <allan@archlinux.org>
12036
12037 [BZ #16369]
12038 * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
12039 Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
12040
3f637079
BM
120412013-12-24 Brooks Moses <bmoses@google.com>
12042
12043 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
12044 all compilers that claim C++98 compliance, not just GCC.
12045 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
12046 Likewise.
12047
abc26e99
MK
120482013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
12049
12050 * NEWS: Restore accidentally deleted bug-fix entries.
12051
362b47fe
MK
120522013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
12053 Ondřej Bílka <neleai@seznam.cz>
12054
12055 [BZ #15073]
12056 * malloc/malloc.c (_int_free): Perform sanity check only if we
11520a57 12057 have_lock.
362b47fe 12058
b9bcbbcb
OB
120592013-12-23 Ondřej Bílka <neleai@seznam.cz>
12060
12061 [BZ #12986]
12062 * manual/stdio.texi (String Input Conversions): Clarify that character
12063 classes are not supported.
12064
fb55fcd2
AZ
120652013-12-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12066
12067 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12068
ef7344f0
JM
120692013-12-22 Joseph Myers <joseph@codesourcery.com>
12070
4f40e4b3
JM
12071 [BZ #16337]
12072 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
12073 Calculate results for small negative arguments directly rather
12074 than using reflection formula with special underflow handling.
12075
ef7344f0
JM
12076 * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
12077 * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
12078 sysdeps/unix/bsd/bsd4.4/syscalls.list.
12079 (fchflags): Likewise.
12080 (revoke): Likewise.
12081 (setlogin): Likewise.
12082 (sigaltstack): Likewise.
12083 (wait4): Likewise.
12084 (sigblock): Remove.
12085 (sigsetmask): Likewise.
12086 (wait3): Likewise.
12087 (waitpid): Likewise.
12088 * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
12089 * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
12090 file.
12091 * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
12092 * sysdeps/unix/bsd/Makefile: ... here.
12093 * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
12094 * sysdeps/unix/bsd/Versions: ... here.
12095 * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
12096 * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
12097 * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
12098 * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
12099 * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
12100 * sysdeps/unix/bsd/sigblock.c: ... here.
12101 * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
12102 * sysdeps/unix/bsd/sigsetmask.c: ... here.
12103 * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
12104 * sysdeps/unix/bsd/sigvec.c: ... here.
12105 * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
12106 * sysdeps/unix/bsd/tcdrain.c: ... here.
12107 * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
12108 * sysdeps/unix/bsd/tcgetattr.c: ... here.
12109 * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
12110 * sysdeps/unix/bsd/tcsetattr.c: ... here.
12111 * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
12112 * sysdeps/unix/bsd/wait.c: ... here.
12113 * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
12114 * sysdeps/unix/bsd/wait3.c: ... here.
12115 * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
12116 * sysdeps/unix/bsd/waitpid.c: ... here.
12117
5b0626b9
JM
121182013-12-21 Joseph Myers <joseph@codesourcery.com>
12119
12120 [BZ #16356]
12121 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
12122 round-to-nearest for [!USE_AS_EXPM1L].
12123 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
12124 * math/auto-libm-test-in: Do not expect cosh tests to fail. Add
12125 more tests of exp and exp10. Expect some exp10 tests to miss
12126 exceptions or fail in directed rounding modes.
12127 * math/auto-libm-test-out: Regenerated.
12128 * math/libm-test.inc (exp10_tonearest_test_data): New array.
12129 (exp10_test_tonearest): New function.
12130 (exp10_towardzero_test_data): New array.
12131 (exp10_test_towardzero): New function.
12132 (exp10_downward_test_data): New array.
12133 (exp10_test_downward): New function.
12134 (exp10_upward_test_data): New array.
12135 (exp10_test_upward): New function.
12136 (main): Call the new functions.
12137 * sysdeps/i386/fpu/libm-test-ulps: Update.
12138 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12139
7fda5682
JM
121402013-12-20 Joseph Myers <joseph@codesourcery.com>
12141
31e3a405
JM
12142 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
12143 asinh, atan, atan2, atanh, cbrt, cos and cosh.
12144 * math/auto-libm-test-out: Regenerated.
12145 * math/libm-test.inc (acosh_test_data): Add more tests.
12146 (atanh_test_data): Likewise.
12147 (ceil_test_data): Likewise.
12148 (copysign_test_data): Likewise.
12149 * sysdeps/i386/fpu/libm-test-ulps: Update.
12150 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12151
85bff96a
JM
12152 * timezone/checktab.awk: Update from tzcode 2013i.
12153 * timezone/private.h: Likewise.
12154 * timezone/scheck.c: Likewise.
12155 * timezone/tzfile.h: Likewise.
12156 * timezone/tzselect.ksh: Likewise.
12157 * timezone/zdump.c: Likewise.
12158 * timezone/zic.c: Likewise.
12159
b7867a3b
JM
12160 * math/auto-libm-test-in: Add tests of cpow.
12161 * math/auto-libm-test-out: Regenerated.
12162 * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
57f41c40 12163 * math/gen-auto-libm-tests.c (func_calc_method): Add value
b7867a3b
JM
12164 mpc_cc_c.
12165 (func_calc_desc): Add mpc_cc_c union field.
12166 (test_functions): Add cpow.
12167 (special_fill_2pi): New function.
12168 (special_real_inputs): Add 2pi.
12169 (calc_generic_results): Handle mpc_cc_c.
12170 * sysdeps/i386/fpu/libm-test-ulps: Update.
12171 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12172
7fda5682
JM
12173 * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
12174 csqrt, ctan and ctanh.
12175 * math/auto-libm-test-out: Regenerated.
12176 * math/libm-test.inc (TEST_COND_x86_64): New macro.
12177 (TEST_COND_x86): Likewise.
12178 (ccos_test_data): Use AUTO_TESTS_c_c.
12179 (ccosh_test_data): Likewise.
12180 (cexp_test_data): Likewise.
12181 (clog_test_data): Likewise.
12182 (csqrt_test_data): Likewise.
12183 (ctan_test_data): Likewise.
12184 (ctan_tonearest_test_data): Likewise.
12185 (ctan_towardzero_test_data): Likewise.
12186 (ctan_downward_test_data): Likewise.
12187 (ctan_upward_test_data): Likewise.
12188 (ctanh_test_data): Likewise.
12189 (ctanh_tonearest_test_data): Likewise.
12190 (ctanh_towardzero_test_data): Likewise.
12191 (ctanh_downward_test_data): Likewise.
12192 (ctanh_upward_test_data): Likewise.
12193 * math/gen-auto-libm-tests.c (func_calc_method): Add value
12194 mpc_c_c.
12195 (func_calc_desc): Add mpc_c_c union field.
12196 (FUNC_mpc_c_c): New macro.
12197 (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
12198 ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
12199 ctanh.
12200 (special_fill_min_subnorm_p120): New function.
12201 (special_real_inputs): Add min_subnorm_p120.
12202 (calc_generic_results): Handle mpc_c_c.
12203 * sysdeps/i386/fpu/libm-test-ulps: Update.
12204 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12205
5ff8d60e
SP
122062013-12-20 Siddhesh Poyarekar <siddhesh@redhat.com>
12207
57f41c40
AS
12208 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
12209 (do_sin_slow): New functions.
12210 (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
12211 (cslow2, csloww1, csloww2): Use the new functions.
392dd2de 12212
84ba214c
SP
12213 * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
12214 Use M to change sign of result instead of X. Assume X is
12215 positive.
12216 (csloww1): Likewise.
12217 (__sin): Adjust.
12218 (__cos): Adjust.
12219
975195e4
SP
12220 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
12221 arguments A and DA.
12222 (__sin): Adjust.
12223 (__cos): Likewise.
12224
5ff8d60e
SP
12225 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
12226 (__cos): Likewise.
12227 (sloww1): Don't adjust sign of DX.
12228 (csloww1): Likewise.
12229 (sloww2): Use X directly and don't adjust sign of DX.
12230 (csloww2): Likewise.
12231
eb983568
JM
122322013-12-19 Joseph Myers <joseph@codesourcery.com>
12233
64a17f1a
JM
12234 * math/auto-libm-test-in: Add tests of cabs and carg.
12235 * math/auto-libm-test-out: Regenerated.
12236 * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
12237 (carg_test_data): Likewise.
12238 * math/gen-auto-libm-tests.c (func_calc_method): Add value
12239 mpc_c_f.
12240 (func_calc_desc): Add mpc_c_f union field.
12241 (test_functions): Add cabs and carg.
12242 (calc_generic_results): Handle mpc_c_f.
12243
eb983568
JM
12244 * sysdeps/powerpc/powerpc32/libgcc-compat.S
12245 [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
12246 as a macro and a compat symbol.
12247 [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
12248 [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
12249 [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
12250 [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
12251 [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
12252 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
12253 not use .hidden.
12254 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
12255 Likewise.
12256 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
12257 Likewise.
12258 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
12259 Likewise.
12260 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
12261 Likewise.
12262 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
12263 Likewise.
12264 * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
12265 __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
12266 from GLIBC_2.3.2.
12267
6eeb678a
AZ
122682013-12-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12269
12270 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12271
6f6fc482
JM
122722013-12-19 Joseph Myers <joseph@codesourcery.com>
12273
21fea2e2
JM
12274 * manual/texinfo.tex: Update to version 2013-11-26.10 with
12275 trailing whitespace removed.
12276 * scripts/config.guess: Update to version 2013-11-29.
12277 * scripts/config.sub: Update to version 2013-10-01.
12278
6f6fc482
JM
12279 * math/auto-libm-test-in: Add tests of sincos.
12280 * math/auto-libm-test-out: Regenerated.
12281 * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
12282 * math/gen-auto-libm-tests.c (func_calc_method): Add value
12283 mpfr_f_11.
12284 (func_calc_desc): Add mpfr_f_11 union field.
12285 (test_functions): Add sincos.
12286 (calc_generic_results): Handle mpfr_f_11.
12287 * sysdeps/i386/fpu/libm-test-ulps: Update.
12288 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12289
83f5c32d
AS
122902013-12-19 Andreas Schwab <schwab@suse.de>
12291
12292 * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
12293 CALL_MCOUNT.
12294 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
12295 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
12296 [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
12297
c688b419
JM
122982013-12-19 Joseph Myers <joseph@codesourcery.com>
12299
335ee092
JM
12300 * math/gen-libm-test.pl (%beautify): Remove M_* constants.
12301 * sysdeps/i386/fpu/libm-test-ulps: Update.
12302 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12303
f88acd39
JM
12304 [BZ #16293]
12305 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
12306 round-to-nearest mode when using frndint.
12307 * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
12308 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
12309 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
12310 Likewise.
12311 * math/auto-libm-test-in: Add more tests of expm1. Do not expect
12312 sinh test to fail.
12313 * math/auto-libm-test-out: Regenerated.
12314 * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
12315 (TEST_COND_x86): Likewise.
12316 (expm1_tonearest_test_data): New array.
12317 (expm1_test_tonearest): New function.
12318 (expm1_towardzero_test_data): New array.
12319 (expm1_test_towardzero): New function.
12320 (expm1_downward_test_data): New array.
12321 (expm1_test_downward): New function.
12322 (expm1_upward_test_data): New array.
12323 (expm1_test_upward): New function.
12324 (main): Run the new test functions.
12325 * sysdeps/i386/fpu/libm-test-ulps: Update.
12326 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12327
c688b419
JM
12328 * include/features.h: Update comment documenting feature test
12329 macros. Mention _DEFAULT_SOURCE in comment.
12330 [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
12331 [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
12332 _BSD_SOURCE and _SVID_SOURCE.
12333 [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
12334 !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
12335 !_SVID_SOURCE]: Likewise.
12336 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
12337 (__USE_POSIX_IMPLICITLY): Define.
12338 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
12339 (_POSIX_SOURCE): Undefine and redefine.
12340 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
12341 (_POSIX_C_SOURCE): Likewise.
12342 * manual/creature.texi (_DEFAULT_SOURCE): Document.
12343 (Feature Test Macros): Update documentation of default features.
12344
9f6e964c
RS
123452013-12-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
12346
12347 * benchtests/Makefile: Add bench-strtok.
12348 * benchtests/bench-strtok.c: New file: strtok benchtest.
12349
ee0a148a
AM
123502013-12-19 Allan McRae <allan@archlinux.org>
12351
12352 * manual/install.texi: Suppress menu for plain text output.
12353 * INSTALL: Regenerated.
12354
b9ab448f
BM
123552013-12-18 Brooks Moses <bmoses@google.com>
12356
12357 [BZ #15846]
12358 * misc/getauxval.c: Include errno.h.
12359 (__getauxval): Set errno to ENOENT if the requested type is not
12360 found.
12361 * misc/sys/auxv.h (getauxval): Document that it may set errno;
12362 don't declare with __attribute_const__.
12363 * elf/tst-auxv.c: Add tests for errno and type-not-found case.
12364 * manual/startup.texi: Document that getauxval sets errno.
12365
23776487
JM
123662013-12-18 Joseph Myers <joseph@codesourcery.com>
12367
f889953b
JM
12368 * math/auto-libm-test-in: Add tests of jn and yn.
12369 * math/auto-libm-test-out: Regenerated.
12370 * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
12371 (yn_test_data): Likewise.
12372 * math/gen-auto-libm-tests.c (func_calc_method): Add value
12373 mpfr_if_f.
12374 (func_calc_desc): Add mpfr_if_f union field.
12375 (FUNC_mpfr_if_f): New macro.
12376 (test_functions): Add jn and yn.
12377 (calc_generic_results): Assert type of second input for
12378 mpfr_ff_f. Handle mpfr_if_f.
12379 (output_for_one_input_case): Disable all checking for arguments
12380 fitting floating-point types in case of an integer argument.
12381 * sysdeps/i386/fpu/libm-test-ulps: Update.
12382 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12383
23776487
JM
12384 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
12385 Don't expect fegetround reference in libm.so.
12386
cb756c6d
MS
123872013-12-17 Marcus Shawcroft <marcus.shawcroft@linaro.org>
12388
12389 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
12390 $(config-cflags-nofma).
12391
2dec468f
JM
123922013-12-18 Joseph Myers <joseph@codesourcery.com>
12393
5953eb3a
JM
12394 * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
12395 * math/auto-libm-test-out: Regenerated.
12396
2dec468f
JM
12397 [BZ #16338]
12398 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
12399 to determine exponent and adjust argument to have exponent of -1.
12400 * math/auto-libm-test-in: Add more tests of log, log10, log1p and
12401 log2.
12402 * math/auto-libm-test-out: Regenerated.
12403 * sysdeps/i386/fpu/libm-test-ulps: Update.
12404 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12405
4d84e6ad
OB
124062013-12-18 Ondřej Bílka <neleai@seznam.cz>
12407
12408 * manual/probes.texi: Remove cases when per-thread arenas are
12409 disabled.
12410
1818483b
AS
124112013-12-18 Andreas Schwab <schwab@suse.de>
12412
12413 * sysdeps/i386/i686/multiarch/strstr.c: Remove.
12414 * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
12415 * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
12416 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
12417 * sysdeps/i386/i686/multiarch/Makefile: Update.
12418 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
12419
25de95bf
JM
124202013-12-17 Joseph Myers <joseph@codesourcery.com>
12421
12422 * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
12423 * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
12424
674762d9
PE
124252013-12-17 Paul Eggert <eggert@cs.ucla.edu>
12426
ed27ed83 12427 [BZ #15968]
0748546f
PE
12428 Support TZ transition times < 00:00:00.
12429 This is needed for version-3 tz-format files; it supports time
12430 stamps past 2037 for America/Godthab (the only entry in the tz
12431 database for which this change is relevant).
12432 * manual/time.texi (TZ Variable): Document transition times
12433 from -167:59:59 through -00:00:01.
12434 * time/tzset.c (tz_rule): Time of day is now signed.
12435 (__tzset_parse_tz): Parse negative time of day.
12436
4480e934
PE
12437 Document TZ transition times >= 25:00:00.
12438 * manual/time.texi (TZ Variable): Document transition times from
12439 25:00:00 through 167:59:59. These are already supported, and this
12440 support will help with version-3 tz-format files.
12441
69947401
PE
12442 * manual/time.texi (TZ Variable): Modernize North America example
12443 to reflect current (i.e., 2007-and-later) daylight saving rules.
12444
674762d9
PE
12445 * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
12446
7011c262
JM
124472013-12-17 Joseph Myers <joseph@codesourcery.com>
12448
2fc6557e
JM
12449 * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
12450 * sysdeps/unix/bsd/bits/stat.h: Likewise.
12451 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
12452 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
12453 * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
12454 * sysdeps/unix/bsd/bsdstat.h: Likewise.
12455 * sysdeps/unix/bsd/clock.c: Likewise.
12456 * sysdeps/unix/bsd/i386/vfork.S: Likewise.
12457 * sysdeps/unix/bsd/i386/wait3.S: Likewise.
12458 * sysdeps/unix/bsd/init-posix.c: Likewise.
12459 * sysdeps/unix/bsd/poll.c: Likewise.
12460 * sysdeps/unix/bsd/ptsname.c: Likewise.
12461 * sysdeps/unix/bsd/seekdir.c: Likewise.
12462 * sysdeps/unix/bsd/setegid.c: Likewise.
12463 * sysdeps/unix/bsd/seteuid.c: Likewise.
12464 * sysdeps/unix/bsd/setgid.c: Likewise.
12465 * sysdeps/unix/bsd/setrgid.c: Likewise.
12466 * sysdeps/unix/bsd/setruid.c: Likewise.
12467 * sysdeps/unix/bsd/setsid.c: Likewise.
12468 * sysdeps/unix/bsd/setuid.c: Likewise.
12469 * sysdeps/unix/bsd/sigaction.c: Likewise.
12470 * sysdeps/unix/bsd/sigprocmask.c: Likewise.
12471 * sysdeps/unix/bsd/sigsuspend.c: Likewise.
12472 * sysdeps/unix/bsd/sys/reboot.h: Likewise.
12473 * sysdeps/unix/bsd/telldir.c: Likewise.
12474 * sysdeps/unix/bsd/times.c: Likewise.
12475 * sysdeps/unix/bsd/usleep.c: Likewise.
12476
029c7b25
JM
12477 * misc/Makefile (install-lib): Remove libbsd-compat.a.
12478 ($(objpfx)libbsd-compat.a): Remove rule.
12479
7011c262
JM
12480 * include/features.h (__FAVOR_BSD): Do not define.
12481 * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
12482 features conflicting with POSIX.
12483 (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
12484 (_BSD_SOURCE): Remove description of not being a subset of other
12485 feature test macros.
12486 * manual/job.texi (getpgrp): Do not document BSD version.
12487 (getpgid): Do not document by reference to BSD getpgrp.
12488 * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
12489 * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
12490 * signal/signal.h [__FAVOR_BSD]: Likewise.
12491 * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
12492 instead of making contents conditional on [__FAVOR_BSD].
12493 * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
12494
affb6f78
AZ
124952013-12-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12496
12497 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12498
c88769dd
JM
124992013-12-17 Joseph Myers <joseph@codesourcery.com>
12500
6432a540
JM
12501 [BZ #16314]
12502 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
12503 values below 2**-450, not 2**-500.
12504 * math/auto-libm-test-in: Don't allow spurious underflow from
12505 hypot.
12506 * math/auto-libm-test-out: Regenerated.
12507
c88769dd
JM
12508 [BZ #16316]
12509 [BZ #16330]
12510 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
12511 values of ha and hb and sort them after adjusting subnormal
12512 arguments.
12513 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
12514 Likewise.
12515 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
12516 values of ea and eb and sort them after adjusting subnormal
12517 arguments.
12518 * math/auto-libm-test-in: Do not expect some hypot tests of
12519 subnormals to fail. Add more hypot tests.
12520 * math/auto-libm-test-out: Regenerated.
12521
29618f6b
KK
125222013-12-16 Kaz Kojima <kkojima@rr.iij4u.or.jp>
12523
12524 [BZ #13304]
12525 * sysdeps/sh/s_fma.c: New file.
12526 * sysdeps/sh/s_fmaf.c: New file.
12527 * sysdeps/sh/soft-fp/sfp-machine.h: New file. Based on arm
12528 version.
12529 * sysdeps/sh/Implies: Add sh/soft-fp.
12530
eacfdfbf
RM
125312013-12-16 Roland McGrath <roland@hack.frob.com>
12532
12533 * elf/dl-error.c (struct catch): Add new member `errcode'. Add a
12534 level of indirection to members `objname', `errstring', `malloced'.
12535 (_dl_signal_error): Store through pointers in *LCATCH rather modifying
12536 *LCATCH itself. Set *LCATCH->errcode to ERRCODE rather than passing
12537 it as the __longjmp argument (just pass 1 instead).
12538 (_dl_catch_error): Initialize C with argument pointers and address of
12539 volatile local ERRCODE rather than copying values out of C at return.
12540
ff362e5b
JM
125412013-12-16 Joseph Myers <joseph@codesourcery.com>
12542
12543 * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
12544 * math/auto-libm-test-out: Regenerated.
12545 * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
12546 (hypot_test_data): Likewise.
12547 (pow_test_data): Likewise.
12548 (pow_tonearest_test_data): Likewise.
12549 * math/gen-auto-libm-tests.c (func_calc_method): Add value
12550 mpfr_ff_f.
12551 (func_calc_desc): Add mpfr_ff_f union field.
12552 (FUNC_mpfr_ff_f): New macro.
12553 (test_functions): Add atan2, hypot and pow.
12554 (special_fill_min): New function.
12555 (special_fill_minus_min): Likewise.
12556 (special_fill_min_subnorm): Likewise.
12557 (special_fill_minus_min_subnorm): Likewise.
12558 (special_real_inputs): Add min, -min, min_subnorm and
12559 -min_subnorm.
12560 (calc_generic_results): Handle mpfr_ff_f.
12561 * sysdeps/i386/fpu/libm-test-ulps: Update.
12562 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12563
5764c27f
WN
125642013-12-16 Will Newton <will.newton@linaro.org>
12565
12566 * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
12567 (Aligned Memory Blocks): Add documentation for aligned_alloc
12568 and suggest it as an alternative to posix_memalign.
12569 (Hooks for Malloc): Document __memalign_hook is also called
12570 for aligned_alloc. (Summary of Malloc): Add summary for
12571 aligned alloc. Document __memalign_hook is also called
12572 for aligned_alloc.
12573
0a096e44
WN
125742013-12-16 Will Newton <will.newton@linaro.org>
12575
12576 * manual/memory.texi (Malloc Examples): Clarify default
12577 alignment documentation. Suggest posix_memalign rather
12578 than memalign or valloc.
12579 (Aligned Memory Blocks): Remove suggestion to use memalign
12580 or valloc. Remove obsolete comment about BSD.
12581 Document memalign errno values and mark the function obsolete.
12582 Document posix_memalign returned error codes. Mark valloc
12583 as obsolete. (Hooks for Malloc): __memalign_hook is also
12584 called for posix_memalign and valloc.
12585 (Summary of Malloc): Add posix_memalign to function summary.
12586 __memalign_hook is also called for posix_memalign and valloc.
12587
8d561986
SP
125882013-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
12589
12590 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
12591 TAYLOR_SIN.
12592 (__sin): Adjust.
12593 (__cos): Likewise.
12594 (sloww): Use mynumber union. Expand ternary operator into
12595 if-else statements.
12596 (cslow): use mynumber union.
12597
73616a74
AM
125982013-12-16 Allan McRae <allan@archlinux.org>
12599
9e8ac24b
AM
12600 * configure.ac: Set AUTOCONF when maintainer-mode is not used.
12601 * configure: Regenerated.
12602
6f8e37eb
AM
12603 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
12604
8894bad3
AM
12605 [BZ #14120]
12606 * configure.ac: Added --enable-maintainer-mode. Check for
12607 autoconf when enabled.
12608 * configure: Regenerated.
12609
73616a74
AM
12610 * nscd/nscd.service: New file.
12611 * nscd/nscd.tmpfiles: New file.
12612
584b18eb
OB
126132013-12-14 Ondřej Bílka <neleai@seznam.cz>
12614
12615 [BZ #12100]
12616 * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
12617 * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
12618 * sysdeps/x86_64/multiarch/strstr.c: ... here.
12619 (strstr): Add __strstr_sse2_unaligned ifunc.
12620 * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
12621 * sysdeps/x86_64/multiarch/strcasestr.c ... here.
12622 (strcasestr): Remove __strcasestr_sse42 ifunc.
12623 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
12624 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
12625 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
12626
8a5c7897
KK
126272013-12-14 Kaz Kojima <kkojima@rr.iij4u.or.jp>
12628
12629 * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
12630 * sysdeps/sh/bits/fenv.h: ... here.
12631 * sysdeps/sh/sh4/fpu/bits: Remove directory.
12632
fd712ef3
AZ
126332013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12634
12635 * NEWS: Mention ppc64 STT_GNU_IFUNC support.
12636
42fcb46c
AZ
12637 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
12638 hypotf multiarch implementations.
12639 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
12640 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
12641 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
12642 multiarch hypot for PPC64.
12643 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
12644 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
12645 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
12646 multiarch hypotf for PPC64.
12647
83efded4
AZ
12648 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
12649 modff multiarch implementations.
12650 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
12651 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
12652 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
12653 multiarch modf for PPC64.
12654 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
12655 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
12656 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
12657 multiarch modff for PPC64.
12658
43e246d2
AZ
12659 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
12660 and logl multiarch implementations.
12661 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
12662 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
12663 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
12664 multiarch logb for PPC64.
12665 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
12666 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
12667 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
12668 multiarch logb for PPC64.
12669 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
12670 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
12671 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
12672 multiarch logb for PPC64.
12673
8fdad123
AZ
12674 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
12675 isinff multiarch implementation.
12676 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
12677 file.
12678 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
12679 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
12680 multiarch isinf for PPC64.
12681 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
12682 file.
12683 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
12684 multiarch isinff for PPC64.
12685
1481d706
AZ
12686 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
12687 finitef multiarch implementation.
12688 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
12689 file.
12690 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
12691 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
12692 multiarch finite for PPC64.
12693 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
12694 file.
12695 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
12696 multiarch finitef for PPC64.
12697
5ccd5fc8
AZ
12698 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
12699 lrint multiarch implementation.
12700 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
12701 file.
12702 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
12703 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
12704 multiarch llrint for PPC64.
12705 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
12706 multiarch lrint for PPC64.
12707
2568f3fa
AZ
12708 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
12709 copysignf multiarch implementation.
12710 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
12711 file.
12712 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
12713 file.
12714 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
12715 multiarch copysign for PPC64.
12716 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
12717 multiarch copysignf for PPC64.
12718
1cb341fd
AZ
12719 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
12720 multiarch implementation.
12721 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
12722 file.
12723 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
12724 file.
12725 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
12726 file.
12727 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
12728 file.
12729 multiarch llround for PPC64.
12730 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
12731 multiarch trunc for PPC64.
12732 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
12733 multiarch truncf for PPC64.
12734
59a3e194
AZ
12735 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
12736 multiarch implementation.
12737 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
12738 file.
12739 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
12740 file.
12741 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
12742 file.
12743 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
12744 file.
12745 multiarch llround for PPC64.
12746 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
12747 multiarch round for PPC64.
12748 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
12749 multiarch roundf for PPC64.
12750
357fd3b4
AZ
12751 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
12752 multiarch implementation.
12753 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
12754 file.
12755 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
12756 file.
12757 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
12758 file.
12759 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
12760 file.
12761 multiarch llround for PPC64.
12762 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
12763 multiarch floor for PPC64.
12764 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
12765 multiarch floorf for PPC64.
12766
96770f12
AZ
12767 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
12768 multiarch implementation.
12769 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
12770 file.
12771 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
12772 file.
12773 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
12774 file.
12775 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
12776 file.
12777 multiarch llround for PPC64.
12778 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
12779 multiarch ceil for PPC64.
12780 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
12781 multiarch ceilf for PPC64.
12782
c3627f6e
AZ
12783 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
12784 multiarch implementation.
12785 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
12786 file.
12787 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
12788 file.
12789 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
12790 file.
12791 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
12792 multiarch llround for PPC64.
12793 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
12794 multiarch lround for PPC64.
12795
b2284ad7
AZ
12796 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
12797 multiarch implementation.
12798 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
12799 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
12800 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
12801 file.
12802 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
12803 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
12804 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
12805 multiarch isnan for PPC64.
12806 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
12807 multiarch isnanf for PPC64.
12808
69bbc63d
AZ
12809 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
12810 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
12811 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
12812 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
12813 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
12814 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
12815
c24517c9
AZ
12816 * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
12817 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
12818 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
12819 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
12820
a52374e8
AZ
12821 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
12822 multiarch implementations.
12823 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12824 (__libc_ifunc_impl_list): Likewise.
12825 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
12826 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
12827 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
12828 multiarch stpcpy for PPC64.
12829
7f5ec113
AZ
12830 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
12831 multiarch implementations.
12832 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12833 (__libc_ifunc_impl_list): Likewise.
12834 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
12835 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
12836 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
12837 multiarch strcpy for PPC64.
12838
e28bcd42
AZ
12839 * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
12840 redefine function name.
12841 (_wordcopy_fwd_dest_aligned): Likewise.
12842 (_wordcopy_bwd_aligned): Likewise.
12843 (_wordcopy_bwd_dest_aligned): Likewise.
12844 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
12845 multiarch implementations.
12846 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12847 (__libc_ifunc_impl_list): Likewise.
12848 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
12849 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
12850 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
12851 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
12852 multiarch wcscpy for PPC64.
12853
92cacfce
AZ
12854 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
12855 multiarch implementations.
12856 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12857 (__libc_ifunc_impl_list): Likewise.
12858 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
12859 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
12860 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
12861 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
12862 multiarch wcscpy for PPC64.
12863
7b714620
AZ
12864 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
12865 multiarch implementations.
12866 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12867 (__libc_ifunc_impl_list): Likewise.
12868 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
12869 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
12870 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
12871 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
12872 multiarch wcsrchr for PPC64.
12873
16fd2ae3
AZ
12874 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
12875 multiarch implementations.
12876 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12877 (__libc_ifunc_impl_list): Likewise.
12878 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
12879 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
12880 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
12881 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
12882 multiarch wcschr for PPC64.
12883
9ee2969b
AZ
12884 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
12885 multiarch implementations.
12886 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12887 (__libc_ifunc_impl_list): Likewise.
12888 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
12889 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
12890 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
12891 multiarch strchrnul for PPC64.
12892
372dc060
AZ
12893 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
12894 implementations.
12895 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12896 (__libc_ifunc_impl_list): Likewise.
12897 * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
12898 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
12899 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
12900 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
12901 strchr for PPC64.
12902
24c2c3b9
AZ
12903 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
12904 implementations.
12905 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12906 (__libc_ifunc_impl_list): Likewise.
12907 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
12908 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
12909 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
12910 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
12911 strncmp for PPC64.
12912
1c92d9a0
AZ
12913 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
12914 multiarch implementations.
12915 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12916 (__libc_ifunc_impl_list): Likewise.
12917 * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
12918 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
12919 strncasecmp for PPC64.
12920 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
12921 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
12922 multiarch strncasecmp_l for PPC64.
12923
17de3ee3
AZ
12924 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
12925 multiarch implementations.
12926 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
12927 (__libc_ifunc_impl_list): Likewise.
12928 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
12929 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
12930 multiarch strcasecmp for PPC64.
12931 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
12932 file.
12933 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
12934 multiarch strcasecmp_l for PPC64.
12935
62982bf9
AZ
12936 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
12937 implementations.
12938 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12939 (__libc_ifunc_impl_list): Likewise.
12940 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
12941 * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
12942 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
12943 strnlen for PPC64.
12944
a65f4904
AZ
12945 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
12946 implementations.
12947 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12948 (__libc_ifunc_impl_list): Likewise.
12949 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
12950 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
12951 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
12952 strlen for PPC64.
12953
1fd005ad
AZ
12954 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
12955 implementations.
12956 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12957 (__libc_ifunc_impl_list): Likewise.
12958 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
12959 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
12960 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
12961 rawmemrchr for PPC64.
12962
cd05ba91
AZ
12963 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
12964 implementation.
12965 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12966 (__libc_ifunc_impl_list): Likewise.
12967 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
12968 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
12969 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
12970 memrchr for PPC64.
12971
870f8676
AZ
12972 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
12973 implementation.
12974 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12975 (__libc_ifunc_impl_list): Likewise.
12976 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
12977 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
12978 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
12979 memchr for PPC64.
12980
f00be62b
AZ
12981 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
12982 implementation.
12983 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12984 (__libc_ifunc_impl_list): Likewise.
12985 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
12986 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
12987 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
12988 mempcpy for PPC64.
12989
8a29a3d0
AZ
12990 * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
12991 avoid cretion of __bzero symbol.
12992 * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
12993 Likewise.
12994 * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
12995 Likewise.
12996 * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
12997 Likewise.
12998 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
12999 multiarch implementations.
13000 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13001 (__libc_ifunc_impl_list): Likewise.
13002 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
13003 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
13004 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
13005 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
13006 bzero for PPC32.
13007 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
13008 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
13009 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
13010 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
13011 * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
13012 memset for PPC64.
13013 * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
13014
07253fcf
AZ
13015 * string/memcmp.c (memcmp): Using macro to redefine symbol name.
13016 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
13017 implementations.
13018 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13019 (__libc_ifunc_impl_list): Likewise.
13020 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
13021 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
13022 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
13023 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
13024 memcmp for PPC64.
13025
b5beafbc
AZ
13026 * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
13027 multiarch for POWER/PPC64.
13028 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
13029 * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
13030 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
13031 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
13032 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
13033 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
13034 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
13035 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
13036 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
13037 memcpy for PPC64.
13038
5e6a4d4b
AZ
13039 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
13040 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
13041 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
13042 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
13043 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
13044 * sysdeps/powerpc/powerpc64/power5/Implies: New File.
13045 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
13046 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
13047 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
13048 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
13049 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
13050 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
13051 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
13052 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
13053 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
13054 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
13055 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
13056 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
13057 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
13058 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
13059 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
13060 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
13061
ddfab6dc
KK
130622013-12-12 Kaz Kojima <kkojima@rr.iij4u.or.jp>
13063
13064 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
13065
19b5525e
SP
130662013-12-12 Siddhesh Poyarekar <siddhesh@redhat.com>
13067
13068 * benchtests/Makefile (bench): Add exp2 and log2.
13069 (LDLIBS-bench-exp2): Add -lm.
13070 (LDLIBS-bench-log2): Likewise.
13071 * benchtests/exp2-inputs: New inputs file.
13072 * benchtests/log2-inputs: New inputs file.
13073 * benchtests/log-inputs: Add new inputs.
13074 * benchtests/tan-inputs: Likewise.
13075
196f7f5d
SP
130762013-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
13077
7a74607f
SP
13078 * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
13079 definition...
57f41c40
AS
13080 (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
13081 (csloww2): ... from here.
7a74607f 13082
196f7f5d
SP
13083 * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
13084 instead of structures.
13085 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
13086 (POLYNOMIAL): Likewise.
13087 (TAYLOR_SLOW): Likewise.
13088 (__sin): Likewise.
13089 (__cos): Likewise.
13090 (slow1): Likewise.
13091 (slow2): Likewise.
13092 (sloww): Likewise.
13093 (sloww1); Likewise.
13094 (sloww2): Likewise.
13095 (bsloww1): Likewise.
13096 (bsloww2): Likewise.
13097 (cslow2): Likewise.
13098 (csloww): Likewise.
13099 (csloww1): Likewise.
13100 (csloww2): Likewise.
13101
0dfa665c
OB
131022013-12-10 Ondřej Bílka <neleai@seznam.cz>
13103
13104 * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
57f41c40
AS
13105 (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
13106 Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
0dfa665c
OB
13107 * malloc/hooks.c (realloc_check): Likewise.
13108
5782a80f
OB
13109 * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
13110 * malloc/arena.c: Remove PER_THREAD conditional.
13111 [!PER_THREAD]: Remove code.
13112 (ptmalloc_unlock_all2): Likewise.
13113 (ptmalloc_init): Likewise.
13114 (_int_new_arena): Likewise.
13115 (arena_get2): Likewise.
13116 * malloc/hooks.c (__malloc_get_state): Likewise.
13117 (__malloc_set_state): Likewise.
13118 * malloc/malloc.c: Likewise.
13119 (struct malloc_state): Likewise.
13120 (struct malloc_par): Likewise.
13121 (__libc_realloc): Likewise.
13122 (__libc_mallopt): Likewise.
13123
aeb95445
AZ
131242013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13125
13126 * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
13127
e8349efd
OB
131282013-12-09 Ondřej Bílka <neleai@seznam.cz>
13129
13130 * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
13131 macro to a function. Check for zero perturb_byte.
13132 (_int_malloc, _int_free): Remove zero perturb_byte checks.
13133
f3eeb3fc 13134 * malloc/malloc.c: (force_reg): Remove.
57f41c40
AS
13135 (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
13136 (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
f3eeb3fc
OB
13137 force_reg by atomic_forced_read.
13138 * malloc/arena.c (ptmalloc_init): Likewise.
13139 * malloc/hooks.c (top_check): Likewise.
13140
be2f9009
AZ
131412013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13142
13143 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13144
e7b914bd
MT
131452013-12-09 Markus Trippelsdorf <markus@trippelsdorf.de>
13146
13147 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
13148
9f0be4f8
JM
131492013-12-08 Joseph Myers <joseph@codesourcery.com>
13150
13151 * math/auto-libm-test-in: Add tests of lgamma.
13152 * math/auto-libm-test-out: Regenerated.
13153 * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
13154 (M_LOG_2_SQRT_PIl): Likewise.
13155 (lgamma_test_data): Use AUTO_TESTS_f_f1.
13156 * math/gen-auto-libm-tests.c (func_calc_method): Add value
13157 mpfr_f_f1.
13158 (func_calc_desc): Add mpfr_f_f1 union field.
13159 (ARGS1): New macro.
13160 (ARGS2): Likewise.
13161 (ARGS3): Likewise.
13162 (ARGS4): Likewise.
13163 (RET1): Likewise.
13164 (RET2): Likewise.
13165 (CALC): Likewise.
13166 (FUNC): Likewise.
13167 (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
13168 (test_functions): Add lgamma.
13169 (calc_generic_results): Handle mpfr_f_f1.
13170 * sysdeps/i386/fpu/libm-test-ulps: Update.
13171 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13172
24eeafdb
AZ
131732013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13174
13175 * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
13176 __mpn_add_n for PowerPC64/POWER7.
13177 * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
13178 __mpn_sub_n for PowerPC64/POWER7.
13179
4a2c0fd4
AZ
13180 * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
13181 __mpn_addmul_1 for PowerPC64.
13182 * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
13183 __mpn_submul_1 for PowerPC64.
13184 * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
13185 for PowerPC64.
13186 * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
13187 for PowerPC64.
13188
4b5b548c
FS
131892013-12-06 Fernando J. V. da Silva <fernandojvdasilva@gmail.com>
13190
13191 [BZ #15089]
13192 * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
13193
0a3ac0aa
AZ
131942013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13195
13196 * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
13197
ccdc8438
AZ
13198 * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
13199 add multiarch folders.
13200 * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
13201 * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
13202 * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
13203 * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
13204 * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
13205 * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
13206 * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
13207 * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
13208 * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
13209 * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
13210 * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
13211 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
13212 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
13213 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
13214 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
13215 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
13216 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
13217
2e973d99
AZ
13218 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
13219 __ieee754_hypot and __ieee754_hypotf multiarch implementations.
13220 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
13221 New file.
13222 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
13223 New file.
13224 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
13225 multiarch __ieee754_hypot for PowerPC32.
13226 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
13227 New file.
13228 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
13229 New file.
13230 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
13231 multiarch __ieee754_hypotf for PowerPC32.
13232
2d9470b2
AZ
13233 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
13234 long_double_symbol only if __logbl is defined.
13235 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
13236 * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
13237 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
13238 * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
13239 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
13240 * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
13241 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
13242 path for implementation.
13243 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
13244 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
13245 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
13246 logb, and logbl multiarch implementations for PowerPC32.
13247 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
13248 file.
13249 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
13250 file.
13251 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
13252 multiarch logb for PowerPC32.
13253 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
13254 file.
13255 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
13256 file.
13257 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
13258 multiarch logbf for PowerPC32.
13259 * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
13260 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
13261 file.
13262 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
13263 multiarch logbl implementation for PowerPC32.
13264
5212ffce
AZ
13265 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
13266 and modff multiarch implementations.
13267 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
13268 New file.
13269 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
13270 New file.
13271 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
13272 multiarch modf for PowerPC32.
13273 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
13274 New file.
13275 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
13276 New file.
13277 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
13278 multiarch modff for PowerPC32.
13279
79dccf31
AZ
13280 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
13281 and lrintf multiarch implementations.
13282 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
13283 New file.
13284 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
13285 New file.
13286 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
13287 multiarch lrint for PowerPC32.
13288 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
13289 file: multiarch lrintf for PowerPC32.
13290
deb66480
AZ
13291 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
13292 and lroundf multiarch implementations.
13293 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
13294 New file.
13295 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
13296 New file.
13297 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
13298 New file.
13299 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
13300 multiarch lround for PowerPC32.
13301 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
13302 file: multiarch lroundf for PowerPC32.
13303
264b036b
AZ
13304 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
13305 copysign and copysignf multiarch implementations.
13306 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
13307 New file.
13308 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
13309 New file.
13310 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
13311 file: multiarch copysign for PowerPC32.
13312 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
13313 file: multiarch copysignf for PowerPC32.
13314
d47db6c9
AZ
13315 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
13316 and truncf multiarch implementations.
13317 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
13318 New file.
13319 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
13320 file.
13321 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
13322 multiarch trunc for PowerPC32.
13323 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
13324 New file.
13325 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
13326 New file.
13327 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
13328 multiarch truncf for PowerPC32.
13329
ddb60b5a
AZ
13330 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
13331 and roundf multiarch implementations.
13332 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
13333 New file.
13334 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
13335 file.
13336 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
13337 multiarch round for PowerPC32.
13338 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
13339 New file.
13340 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
13341 New file.
13342 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
13343 multiarch roundf for PowerPC32.
13344
bedcf49b
AZ
13345 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
13346 and floorf multiarch implementations.
13347 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
13348 New file.
13349 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
13350 file.
13351 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
13352 multiarch floor for PowerPC32.
13353 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
13354 New file.
13355 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
13356 New file.
13357 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
13358 multiarch floorf for PowerPC32.
13359
35ae5b40
AZ
13360 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
13361 and ceilf multiarch implementations.
13362 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
13363 New file.
13364 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
13365 file.
13366 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
13367 multiarch ceil for PowerPC32.
13368 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
13369 New file.
13370 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
13371 file.
13372 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
13373 multiarch ceilf for PowerPC32.
13374
ae1a4cd9
AZ
13375 * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
13376 is defined.
13377 * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
13378 FINITEF is defined.
13379 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
13380 and finitef multiarch implementations.
13381 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
13382 New file.
13383 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
13384 file.
13385 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
13386 multiarch finite for PowerPC32.
13387 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
13388 New file.
13389 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
13390 file: multiarch finitef for PowerPC32.
13391
64fffd65
AZ
13392 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
13393 and isinff multiarch implementations.
13394 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
13395 file.
13396 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
13397 file.
13398 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
13399 multiarch isinf for PowerPC32.
13400 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
13401 New file.
13402 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
13403 multiarch isinff for PowerPC32.
13404
8e4e7ba2
AZ
13405 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
13406 alias when __isnan is defined.
13407 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
13408 and isnanf multiarch implementations.
13409 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
13410 file.
13411 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
13412 file.
13413 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
13414 file.
13415 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
13416 file.
13417 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
13418 multiarch isnan for PowerPC32.
13419 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
13420 New file.
13421 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
13422 New file.
13423 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
13424 multiarch isnanf for PowerPC32.
13425
ddba588e
AZ
13426 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
13427 and sqrtf multiarch implementations.
13428 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
13429 file.
13430 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
13431 file.
13432 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
13433 multiarch sqrt for PowerPC32.
13434 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
13435 file.
13436 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
13437 file.
13438 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
13439 multiarch sqrtf for PowerPC32.
13440
0f96a2f0
AZ
13441 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
13442 and llroundf multiarch implementations.
13443 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
13444 New file.
13445 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
13446 New file.
13447 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
13448 New file.
13449 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
13450 file: multiarch llround for PowerPC32.
13451 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
13452 file: multiarch llroundf for PowerPC32.
13453
c9b5d79e
AZ
13454 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
13455 multiarch PowerPC32 fpu implementations.
13456 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
13457 New file.
13458 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
13459 New file.
13460 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
13461 multiarch llrint for PowerPC32.
13462 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
13463 New file.
13464 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
13465 New file.
13466 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
13467 file.
13468
9cbb3aab
AZ
13469 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
13470
ea5a72f8
AZ
13471 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
13472 file.
13473 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
13474 file.
13475 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
13476 file.
13477 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
13478 multiarch wordcopy for PPC32.
13479 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
13480 wordcopy objects.
13481 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
13482 (__libc_ifunc_impl_list): Likewise.
13483 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
13484 * sysdeps/powerpc/power4/wordcopy.c: ... to here.
13485 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
13486 * sysdeps/powerpc/power6/wordcopy.c: ... to here.
13487 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
13488 * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
13489
93be09e7
AZ
13490 * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
13491 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
13492 file.
13493 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
13494 file.
13495 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
13496 file.
13497 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
13498 multiarch wcscpy for PPC32.
13499 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
13500 multiarch objects.
13501 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
13502 (__libc_ifunc_impl_list): Likewise.
13503 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
13504 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
13505 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
13506 sysdeps/powerpc/power6/wcscpy.c.
13507
bb04e529
AZ
13508 * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
13509 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
13510 file.
13511 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
13512 file.
13513 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
13514 file.
13515 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
13516 multiarch wcsrchr for PPC32.
13517 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
13518 multiarch objects.
13519 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
13520 (__libc_ifunc_impl_list): Likewise.
13521 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
13522 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
13523 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
13524 sysdeps/powerpc/power6/wcsrchr.c.
13525
05b5cd1c
AZ
13526 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
13527 file.
13528 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
13529 file.
13530 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
13531 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
13532 multiarch wcschr for PPc32.
13533 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
13534 multiarch objects.
13535 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
13536 (__libc_ifunc_impl_list): Likewise.
13537 * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
13538 * sysdeps/powerpc/power6/wcschr.c: ... to here.
13539 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
13540 sysdeps/powerpc/power6/wcschr.c.
13541
ba964147
AZ
13542 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
13543 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
13544 file.
13545 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
13546 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
13547 file: multiarch strchr for PPC32.
13548 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
13549 multiarch objects.
13550 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
13551 (__libc_ifunc_impl_list): Likewise.
13552
31c81aaa
AZ
13553 * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
13554 name.
13555 * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
13556 file.
13557 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
13558 file.
13559 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
13560 multiarch strchrnul for PPC32.
13561 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
13562 multiarch objects.
13563 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
13564 (__libc_ifunc_impl_list): Likewise.
13565
0d0607d9
AZ
13566 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
13567 file.
13568 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
13569 multiarch strncasecmp for PPC32.
13570 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
13571 file.
13572 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
13573 multiarch strncasecmp_l for PPC32.
13574 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
13575 strncasecmp multiarch objects.
13576 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
13577 (__libc_ifunc_impl_list): Likewise.
13578
4dfd5c86
AZ
13579 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
13580 file.
13581 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
13582 multiarch strncasecmp for PPC32.
13583 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
13584 New file.
13585 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
13586 multiarch strcasecmp_l for PPC32.
13587 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
13588 multiarch objects.
13589 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
13590 (__libc_ifunc_impl_list): Likewise.
13591
a19e01a3
AZ
13592 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
13593 file.
13594 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
13595 file.
13596 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
13597 multiarch strncmp for PPC32.
13598 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
13599 multiarch objects.
13600 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
13601 (__libc_ifunc_impl_list): Likewise.
13602
ae9cf7a2
AZ
13603 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
13604 * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
13605 file.
13606 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
13607 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
13608 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
13609 multiarch objects.
13610 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
13611 (__libc_ifunc_impl_list): Likewise.
13612
3148bb7d
AZ
13613 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
13614 file.
13615 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
13616 file.
13617 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
13618 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
13619 multiarch objects.
13620 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
13621 (__libc_ifunc_impl_list): Likewise.
13622
7af8b946
AZ
13623 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
13624 file.
13625 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
13626 file.
13627 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
13628 multiarch rawmemchr for PPC32.
13629 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
13630 multiarch objects.
13631 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
13632 (__libc_ifunc_impl_list): Likewise.
13633
03a6aa6a
AZ
13634 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
13635 file.
13636 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
13637 file.
13638 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
13639 file: memrchr multiarch for PPC32.
13640 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
13641 multiarch objects.
13642 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
13643 (__libc_ifunc_impl_list): Likewise.
13644
1c62e6d9
AZ
13645 * string/memchr.c (__memchr): Using macro to redefine symbol name.
13646 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
13647 file.
13648 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
13649 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
13650 multiarch memchr for PPC32.
13651 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
13652 multiarch objects.
13653 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
13654 (__libc_ifunc_impl_list): Likewise.
13655
87da8bdb
AZ
13656 * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
13657 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
13658 file.
13659 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
13660 file.
13661 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
13662 file: multiarch mempcpy for PPC32.
13663 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
13664 multiarch objects.
13665 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
13666 (__libc_ifunc_impl_list): Likewise.
13667
20ed4714
AZ
13668 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
13669 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
13670 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
13671 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
13672 multiarch bzero for PPC32.
13673 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
13674 file.
13675 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
13676 file.
13677 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
13678 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
13679 file: multiarch memset for PPC32.
13680 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
13681 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
13682 memset multiarch objects.
13683 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
13684 (__libc_ifunc_impl_list): Likewise.
13685
ab3e3a46
AZ
13686 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
13687 file.
13688 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
13689 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
13690 memcmp for PPC32.
13691 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
13692 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
13693 multiarch objects.
13694 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
13695 (__libc_ifunc_impl_list): Likewise.
13696
930de6f0
AZ
13697 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
13698 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
13699 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
13700 file.
13701 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
13702 file.
13703 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
13704 file.
13705 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
13706 multiarch memcpy for PPC32.
13707 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
13708 multiarch objects.
13709 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
13710 (__libc_ifunc_impl_list): Likewise.
13711
4c628e00
AZ
13712 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
13713 support multiarch for POWER/PPC32.
13714 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
13715 Likewise.
13716 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
13717 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
13718 Implies file to make multiarch folder appers before the fpu and
13719 default folder for power4 configuration.
13720
f4479220
SP
137212013-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
13722
13723 * scripts/bench.pl: Append volatile keyword to type.
13724
8517800f
KK
137252013-12-05 Kaz Kojima <kkojima@rr.iij4u.or.jp>
13726
13727 * sysdeps/sh/sotruss-lib.c: New file.
13728 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
13729
180138f1
AZ
137302013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13731
13732 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13733
bbf37bdc
JM
137342013-12-05 Joseph Myers <joseph@codesourcery.com>
13735
e47cc4e0
JM
13736 [BZ #6810]
13737 * math/w_tgamma.c: Include <errno.h>.
13738 (__tgamma): Use __glibc_unlikely. Set errno on underflow to 0.
13739 * math/w_tgammaf.c: Include <errno.h>.
13740 (__tgammaf): Use __glibc_unlikely. Set errno on underflow to 0.
13741 * math/w_tgammal.c: Include <errno.h>.
13742 (__tgammal): Use __glibc_unlikely. Set errno on underflow to 0.
13743 * math/auto-libm-test-in: Do not allow missing errno on tgamma
13744 underflow. Add more tgamma tests.
13745 * math/auto-libm-test-out: Regenerated.
13746 * sysdeps/i386/fpu/libm-test-ulps: Update.
13747 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13748
bbf37bdc
JM
13749 * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
13750 sin, sinh, tan, tanh, tgamma, y0 and y1.
13751 * math/auto-libm-test-out: Regenerated.
13752 * math/libm-test.inc (TEST_COND_x86_64): New macro.
13753 (TEST_COND_x86): Likewise.
13754 (M_E2l): Remove macro.
13755 (M_E3l): Likewise.
13756 (M_2_SQRT_PIl): Likewise.
13757 (M_SQRT_PIl): Likewise.
13758 (M_1_DIV_El): Likewise.
13759 (log_test_data): Use AUTO_TESTS_f_f.
13760 (log10_test_data): Likewise.
13761 (log1p_test_data): Likewise.
13762 (log2_test_data): Likewise.
13763 (sin_test_data): Likewise.
13764 (sin_tonearest_test_data): Likewise.
13765 (sin_towardzero_test_data): Likewise.
13766 (sin_downward_test_data): Likewise.
13767 (sin_upward_test_data): Likewise.
13768 (sinh_test_data): Likewise.
13769 (sinh_tonearest_test_data): Likewise.
13770 (sinh_towardzero_test_data): Likewise.
13771 (sinh_downward_test_data): Likewise.
13772 (sinh_upward_test_data): Likewise.
13773 (tan_test_data): Likewise.
13774 (tan_tonearest_test_data): Likewise.
13775 (tan_towardzero_test_data): Likewise.
13776 (tan_downward_test_data): Likewise.
13777 (tan_upward_test_data): Likewise.
13778 (tanh_test_data): Likewise.
13779 (tgamma_test_data): Likewise.
13780 (y0_test_data): Likewise.
13781 (y1_test_data): Likewise.
13782 * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
13783 (special_real_inputs): Add pi/4.
13784 * sysdeps/i386/fpu/libm-test-ulps: Update.
13785 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13786
eb5ad6b9
AZ
137872013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13788
13789 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
13790 "longjmp_target" static probes.
13791 (__longjmp): Rename to __longjmp_symbol.
13792 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
13793 * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
13794 on which longjmp to generate.
13795 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
13796 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
13797 probe.
13798 (__sigsetjmp): Rename to __sigsetjmp_symbol.
13799 (__sigjmp_save): Rename to __sigjmp_save_symbol.
13800 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
13801 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
13802 and __sigjmp_save_symbol based on which sigsetjmp to generated.
13803 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
13804 * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
13805 __longjmp_symbol based on which __longjmp to generate.
13806 * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
13807 probe.
13808 (setjmp): Rename to setjmp_symbol.
13809 (__sigsetjmp): Rename to __sigsetjmp_symbol.
13810 (_setjmp): Rename to _setjmp_symbol.
13811 (__sigsetjmp): Rename to __sigsetjmp_symbol.
13812 * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
13813 _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
13814 which setjmp to generate.
13815 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
13816 "longjmp_target" static probes.
13817
d136c6dc
SP
138182013-12-05 Siddhesh Poyarekar <siddhesh@redhat.com>
13819
9298ecba
SP
13820 * benchtests/README: Add note about output arguments.
13821 * benchtests/bench-sincos.c: Remove file.
13822 * benchtests/sincos-inputs: New file.
13823 * scripts/bench.pl: Identify output arguments and define
13824 static variables for them.
13825
232983e9
SP
13826 * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
13827
d136c6dc
SP
13828 [BZ #15941]
13829 * Makefile (INSTALL): Add install-plain.texi as the primary
13830 dependency.
13831 * manual/install-plain.texi: New file.
13832 * manual/install.texi: Include node directive only for
13833 non-plaintext output.
13834
699ff837
JM
138352013-12-04 Joseph Myers <joseph@codesourcery.com>
13836
ab07cea8
JM
13837 * stdlib/longlong.h: Update from GCC.
13838
699ff837
JM
13839 [BZ #6807]
13840 [BZ #15901]
13841 * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
13842 * math/w_j0f.c (y0f): Likewise.
13843 * math/w_j0l.c (__y0l): Likewise.
13844 * math/w_j1.c (y1): Likewise.
13845 * math/w_j1f.c (y1f): Likewise.
13846 * math/w_j1l.c (__y1l): Likewise
13847 * math/w_jn.c (yn): Likewise.
13848 * math/w_jnf.c (ynf): Likewise.
13849 * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
13850 Bessel function pole errors in _POSIX_ mode. Use NAN as return
13851 value for Bessel function domain errors outside _SVID_ mode.
13852 Adjust sign of return value for yn (negative integer, 0).
13853 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
13854 by zero in return for negative x and set sign appropriately for
13855 negative n.
13856 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
13857 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
13858 * math/libm-test.inc (y0_test_data): Add more tests and adjust
13859 expectations in error cases.
13860 (y1_test_data): Likewise.
13861 (yn_test_data): Likewise.
13862 * sysdeps/i386/fpu/libm-test-ulps: Update.
13863 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13864
5b118558
UW
138652013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
13866
13867 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
13868 "64" to "64-v1". Add "64-v2".
13869 (abi-64-options): Rename to ...
13870 (abi-64-v1-options): ... this. Redefine _CALL_ELF.
13871 (abi-64-condition): Rename to ...
13872 (abi-64-v1-condition): ... this. Add _CALL_ELF check.,
13873 (abi-64-ld-soname): Rename to ...
13874 (abi-64-v1-ld-soname): ... this.
13875 (abi-64-v2-options): Define.
13876 (abi-64-v2-condition): Likewise.
13877 (abi-64-v2-ld-soname): Likewise.
13878 * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
13879 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
13880 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
13881 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
13882 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
13883
61cd8fe4
UW
138842013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
13885 Alan Modra <amodra@gmail.com>
13886
13887 * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
13888 New versions for use with the ELFv2 ABI.
13889 (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
13890 * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
13891 declaration.
13892 (struct La_ppc64v2_retval): Likewise.
13893 (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
13894 (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
13895 * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
13896 to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
13897 (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
13898 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
13899 Do not save or restore CR.
13900 (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
13901 (_dl_profile_resolve): Do no save or restore CR. Support extended
13902 return values for ELFv2 ABI. Fix location of FPR return registers.
13903 * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
13904 updated values for _CALL_ELF == 2.
13905 (La_regs, La_retval, int_retval): Likewise.
13906
8b8a692c
UW
139072013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
13908
13909 * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
13910 (FRAME_MIN_SIZE_PARM): Likewise.
13911 (FRAME_BACKCHAIN): Likewise.
13912 (FRAME_CR_SAVE): Likewise.
13913 (FRAME_LR_SAVE): Likewise.
13914 (FRAME_TOC_SAVE): Likewise.
13915 (FRAME_PARM_SAVE): Likewise.
13916 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
13917 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
13918 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
13919 (call_mcount_parm_offset): New macro.
13920 (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
13921 (PROF): Use symbolic stack frame offsets.
13922 (TAIL_CALL_SYSCALL_ERROR): Likewise.
13923 * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
13924 Redefine in terms of FRAME_MIN_SIZE.
13925 (_dl_runtime_resolve): Use symbolic stack frame offsets.
13926 (_dl_profile_resolve): Likewise. Update comment.
13927 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
13928 symbols stack frame offsets.
13929 (__sigsetjmp): Likewise.
13930 * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
13931 * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
13932 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
13933 * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
13934
13935 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
13936 (FRAME_BACKCHAIN): Remove.
13937 (FRAME_CR_SAVE): Likewise.
13938 (FRAME_LR_SAVE): Likewise.
13939 (FRAME_COMPILER_DW): Likewise.
13940 (FRAME_LINKER_DW): Likewise.
13941 (FRAME_TOC_SAVE): Likewise.
13942 (FRAME_PARM_SAVE): Likewise.
57f41c40
AS
13943 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
13944 (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
13945 (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
8b8a692c
UW
13946 * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
13947 (CHECK_SP): Use symbolic stack frame offsets.
13948 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
13949 zone" instead of caller's parameter save area for temp storage.
13950 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
13951 Likewise. Also, use symbolic stack frame offsets.
13952 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
13953 stackblock): Redefine for _CALL_ELF == 2 to save parameters into
13954 our own stack frame instead of the caller's.
13955 (__socket): Use symbolic stack frame offsets.
13956
122b66de
UW
139572013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
13958 Alan Modra <amodra@gmail.com>
13959
13960 * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
13961 Define.
57f41c40
AS
13962 (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
13963 (PPC64_LOCAL_ENTRY_OFFSET): Define.
122b66de
UW
13964 * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
13965 New function.
13966 (elf_machine_fixup_plt): Call it.
13967 (elf_machine_plt_conflict): Likewise. Add map, sym_map, and
13968 reloc arguments.
13969 (elf_machine_rela): Update call to elf_machine_plt_conflict.
57f41c40
AS
13970 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
13971 (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
122b66de
UW
13972 r2 before calling target.
13973
696caf1d
UW
139742013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
13975 Alan Modra <amodra@gmail.com>
13976
13977 * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
13978 (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
13979 versions of macros to support ELFv2 ABI.
13980 (LOCALENTRY): New macro.
13981 (ENTRY, EALIGN): Use it.
13982 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
13983 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
13984 fall through into ENTRY entry point.
13985 * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
13986 Only define if _CALL_ELF != 2.
13987
13988 (elf_machine_matches_host): Verify ABI version matches.
13989 (RTLD_START): Use LOCALENTRY.
13990 (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
13991 (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
13992 (PLT_ENTRY_WORDS): New macro.
13993 (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
13994 (elf_machine_runtime_setup): Support ELFv2 ABI.
13995 (elf_machine_fixup_plt): Likewise.
13996 (elf_machine_plt_conflict): Likewise.
13997 (resolve_ifunc): Likewise.
13998 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
13999 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
14000 Likewise.
14001 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
14002 (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
14003 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
14004 (makecontext): Support ELFv2 ABI.
14005 * elf/elf.h (EF_PPC64_ABI): Define.
14006
d31beafa
UW
140072013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
14008
57f41c40
AS
14009 * sysdeps/powerpc/powerpc64/sysdep.h
14010 (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
14011 (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
14012 (ENTRY) [ASSEMBLER]: ... but instead here ...
14013 (EALIGN) [ASSEMBLER]: ... and here.
14014 (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
14015 (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
14016 (ENTRY_2) [!ASSEMBLER]: Use it.
d31beafa
UW
14017 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
14018 ENTRY_2 changes. Use PPC64_LOAD_FUNCPTR.
57f41c40
AS
14019 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
14020 (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
d31beafa
UW
14021 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
14022 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
14023 Use PPC64_LOAD_FUNCPTR.
14024
b525166b
UW
14025 * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
14026
7ec07d9a
AM
140272013-12-04 Alan Modra <amodra@gmail.com>
14028
14029 * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
14030 (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
14031 (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
14032 (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
14033
14034 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
14035 overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
14036 R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
14037 Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
14038 R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
14039 Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
14040
5162e7dd
UW
140412013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
14042
14043 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
14044 (__makecontext): Fix incorrect CFI when backtracing out of
14045 context created via makecontext.
14046 * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
14047 (__setcontext): Fix incorrect CFI during switch to new context.
14048 (__novec_setcontext): Likewise.
14049
19e3372b
OB
140502013-12-04 Ondřej Bílka <neleai@seznam.cz>
14051
14052 [BZ #4772]
14053 * time/strptime_l.c (__strptime_internal): Allow modifiers
14054 in strptime.
14055 * time/tst-strptime.c (day_tests): Add testcase.
14056
ecaf142d
SP
140572013-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
14058
14059 * scripts/bench.pl: Skip over blank lines.
14060
fbf964ae
PE
140612013-12-04 Paul Eggert <eggert@cs.ucla.edu>
14062
14063 [BZ #926]
14064 * manual/time.texi (Calendar Time): Clarify what timezone functions
14065 use.
14066
fa60a674
AZ
140672013-12-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14068
14069 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14070
d674f0ef
OB
140712013-12-04 Ondřej Bílka <neleai@seznam.cz>
14072
14073 * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
14074 implementation.
14075 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
14076 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
14077 * debug/memset_chk.c (__memset_chk): Likewise.
14078 * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
14079 * debug/strncpy_chk.c: Likewise.
14080
17dea188
JM
140812013-12-03 Joseph Myers <joseph@codesourcery.com>
14082
749008ff
JM
14083 [BZ #15268]
14084 [BZ #15425]
14085 * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
14086 (__ieee754_exp): For possibly underflowing results, check size of
14087 result and force underflow exception if required.
14088 * math/auto-libm-test-in: Add more tests of exp.
14089 * math/auto-libm-test-out: Regenerated.
14090 * sysdeps/i386/fpu/libm-test-ulps: Update.
14091 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14092
17dea188
JM
14093 [BZ #16283]
14094 * math/w_exp2.c (__exp2): Handle a zero result as underflow.
14095 * math/w_exp2f.c (__exp2f): Likewise.
14096 * math/w_exp2l.c (__exp2l): Likewise.
14097 * math/auto-libm-test-in: Do not allow missing errno on exp2
14098 underflow.
14099 * math/auto-libm-test-out: Regenerated.
14100
b20de2c3
OB
141012013-12-03 Ondřej Bílka <neleai@seznam.cz>
14102
14103 [BZ #16274]
14104 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
14105 handle filename validation.
14106 * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
14107 (do_open): Delete.
14108
d8e2dbe3
JM
141092013-12-03 Joseph Myers <joseph@codesourcery.com>
14110
34e16df5
JM
14111 [BZ #6786]
14112 * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
14113 (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
14114 * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
14115 <float.h>.
14116 (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
14117 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
14118 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
14119 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
14120 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
14121 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
14122 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
14123 * math/auto-libm-test-in: Don't allow missing errno from erfc.
14124 Add more erfc tests.
14125 * math/auto-libm-test-out: Regenerated.
14126 * sysdeps/i386/fpu/libm-test-ulps: Update.
14127 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14128
d8e2dbe3
JM
14129 * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
14130 exp2, expm1, j0 and j1.
14131 * math/auto-libm-test-out: Regenerated.
14132 * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
14133 (erfc_test_data): Likewise.
14134 (exp_test_data): Likewise.
14135 (exp_tonearest_test_data): Likewise.
14136 (exp_towardzero_test_data): Likewise.
14137 (exp_downward_test_data): Likewise.
14138 (exp_upward_test_data): Likewise.
14139 (exp10_test_data): Likewise.
14140 (exp2_test_data): Likewise.
14141 (expm1_test_data): Likewise.
14142 (j0_test_data): Likewise.
14143 (j1_test_data): Likewise.
14144 * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
14145 (input_flag_type): Add flag_xfail_rounding.
14146 (input_flags): Add xfail-rounding.
14147 (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
14148 (output_for_one_input_case): Handle flag_xfail_rounding.
14149 * sysdeps/i386/fpu/libm-test-ulps: Update.
14150 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14151
18d14251
AJ
141522013-12-03 Aurelien Jarno <aurelien@aurel32.net>
14153
3d2e6075 14154 [BZ #16289]
18d14251
AJ
14155 * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
14156 division by 0.
14157
520d437b
SP
141582013-12-03 Siddhesh Poyarekar <siddhesh@redhat.com>
14159
14160 [BZ #16195]
14161 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
14162 (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
14163 (STAP_PROBE0): New macro.
14164 (STAP_PROBE1): Likewise.
14165 (STAP_PROBE2): Likewise.
14166 (STAP_PROBE3): Likewise.
14167 (STAP_PROBE4): Likewise.
14168
416e0145
OB
141692013-12-02 Ondřej Bílka <neleai@seznam.cz>
14170
14171 * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
14172
9d17796a
SE
141732013-12-02 Steve Ellcey <sellcey@mips.com>
14174
14175 * benchtests/Makefile (bench): Add sqrt.
14176 (LDLIBS-bench-sqrt): New.
14177 * benchtests/sqrt-input: New.
14178
f524d6a8
PS
141792013-12-02 Pavel Simerda <psimerda@redhat.com>
14180
639a0ef8
PS
14181 * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
14182 (GAIH_EAI): Likewise.
14183 (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
14184 (gaih_inet): Likewise.
14185 (getaddrinfo): Don't use GAIH_EAI.
14186
f524d6a8
PS
14187 * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
14188 (struct gaih): Remove definition.
14189
df3aedaf
SP
141902013-12-02 Siddhesh Poyarekar <siddhesh@redhat.com>
14191
14192 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
14193 Use HERRNOP directly.
14194
1ab19dec
AZ
141952013-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14196
b42ad38d 14197 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1ab19dec 14198
176b0c79
JM
141992013-11-30 Joseph Myers <joseph@codesourcery.com>
14200
14201 * math/gen-auto-libm-tests.c (test_functions): Add more
14202 single-argument functions.
14203 (special_fill_pi_2): New function.
14204 (special_fill_minus_pi_2): Likewise.
14205 (special_fill_pi_6): Likewise.
14206 (special_fill_minus_pi_6): Likewise.
14207 (special_fill_pi_3): Likewise.
14208 (special_fill_2pi_3): Likewise.
14209 (special_fill_e): Likewise.
14210 (special_fill_1_e): Likewise.
14211 (special_fill_e_minus_1): Likewise.
14212 (special_real_inputs): Add more special inputs.
14213 (output_for_one_input_case): Do not require ERANGE on underflow to
14214 zero if round-to-nearest result does not underflow to zero, unless
14215 exact results required.
14216 * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
14217 atan, atanh, cbrt, cos and cosh.
14218 * math/auto-libm-test-out: Regenerated.
14219 * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
14220 (acos_tonearest_test_data): Likewise.
14221 (acos_towardzero_test_data): Likewise.
14222 (acos_downward_test_data): Likewise.
14223 (acos_upward_test_data): Likewise.
14224 (acosh_test_data): Likewise.
14225 (asin_test_data): Likewise.
14226 (asin_tonearest_test_data): Likewise.
14227 (asin_towardzero_test_data): Likewise.
14228 (asin_upward_test_data): Likewise.
14229 (asinh_test_data): Likewise.
14230 (atan_test_data): Likewise.
14231 (atanh_test_data): Likewise.
14232 (cbrt_test_data): Likewise.
14233 (cos_test_data): Likewise.
14234 (cos_tonearest_test_data): Likewise.
14235 (cos_towardzero_test_data): Likewise.
14236 (cos_downward_test_data): Likewise.
14237 (cos_upward_test_data): Likewise.
14238 (cosh_test_data): Likewise.
14239 (cosh_tonearest_test_data): Likewise.
14240 (cosh_towardzero_test_data): Likewise.
14241 (cosh_downward_test_data): Likewise.
14242 (cosh_upward_test_data): Likewise.
14243 * sysdeps/i386/fpu/libm-test-ulps: Update.
14244 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14245
ffb536d0
JM
142462013-11-29 Joseph Myers <joseph@codesourcery.com>
14247
2a77a467
JM
14248 [BZ #6787]
14249 * math/w_exp10.c (__exp10): Handle a zero result as underflow.
14250 * math/w_exp10f.c (__exp10f): Likewise.
14251 * math/w_exp10l.c (__exp10l): Likewise.
14252 * math/libm-test.inc (exp10_test_data): Add more tests and expect
14253 errno settings in existing tests.
14254
ea3bc4e8
JM
14255 [BZ #14032]
14256 * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
14257 precision control set to double precision.
14258 * sysdeps/i386/fpu/w_sqrt.c: New file.
14259 * math/auto-libm-test-in: Add more tests.
14260 * math/auto-libm-test-out: Update.
14261
0712c9d8
JM
14262 * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
14263 (sqrt_test_tonearest): New function.
14264 (sqrt_towardzero_test_data): New variable.
14265 (sqrt_test_towardzero): New function.
14266 (sqrt_downward_test_data): New variable.
14267 (sqrt_test_downward): New function.
14268 (sqrt_upward_test_data): New variable.
14269 (sqrt_test_upward): New function.
14270 (main): Call the new functions.
14271
ffb536d0
JM
14272 * math/gen-auto-libm-tests.c: New file.
14273 * math/auto-libm-test-in: Likewise.
14274 * math/auto-libm-test-out: New generated file.
14275 * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
14276 variables.
14277 (%beautify): Add generated representations of zero.
14278 (top level): Set $auto_input and call parse_auto_input.
14279 (beautify): Remove trailing "f" from hex float constants.
14280 (parse_args): Handle XFAIL_TEST.
14281 (convert_condition): New function.
14282 (or_value): Likewise.
14283 (or_cond_value): Likewise.
14284 (generate_testfile): Handle AUTO_TESTS_* lines.
14285 (parse_auto_input): New function.
14286 * math/libm-test.inc (XFAIL_TEST): New macro.
14287 (ERRNO_UNCHANGED): Update value.
14288 (ERRNO_EDOM): Likewise.
14289 (ERRNO_ERANGE): Likewise.
14290 (IGNORE_RESULT): Likewise.
14291 (TEST_COND_flt_32): New macro.
14292 (TEST_COND_dbl_64): Likewise.
14293 (TEST_COND_ldbl_96_intel): Likewise.
14294 (TEST_COND_ldbl_96_m68k): Likewise.
14295 (TEST_COND_ldbl_128): Likewise.
14296 (TEST_COND_ldbl_128ibm): Likewise.
14297 (TEST_COND_long32): Likewise.
14298 (TEST_COND_long64): Likewise.
14299 (TEST_COND_before_rounding): Likewise.
14300 (TEST_COND_after_rounding): Likewise.
14301 (enable_test): Handle XFAIL_TEST flag.
14302 (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
14303 with finite results.
14304 * math/Makefile ($(objpfx)libm-test.stmp): Depend on
14305 auto-libm-test-out.
14306
acd98a8e
AK
143072013-11-29 Siddhesh Poyarekar <siddhesh@redhat.com>
14308 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14309
14310 [BZ #16214]
14311 * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
14312 __tls_get_addr_internal instead of __tls_get_offset in order to
14313 avoid GOT pointer dependency. Make rtld export
14314 __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
14315 __tls_get_addr since we are a __tls_get_offset platform.
14316 * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
14317 GOT pointer being set up before.
14318 * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
14319
3c1c46a6
JM
143202013-11-28 Joseph Myers <joseph@codesourcery.com>
14321
7475aef5
JM
14322 * manual/math.texi (Errors in Math Functions): Document accuracy
14323 goals.
14324
8bca7cd8
JM
14325 [BZ #15004]
14326 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
14327 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
14328 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
14329 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
14330 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
14331 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
14332 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
14333 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
14334 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
14335 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
14336 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
14337 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
14338 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
14339 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
14340 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
14341 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
14342
91a1f3fe
JM
14343 * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
14344 * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
14345 * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
14346 * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
14347 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
14348 Likewise.
14349 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
14350 Likewise.
14351 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
14352 Likewise.
14353 * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
14354 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
14355 (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
14356 atomic-feupdateenv and flt-rounds.
14357 * sysdeps/powerpc/nofpu/Versions (libc): Add
14358 __atomic_feholdexcept, __atomic_feclearexcept,
14359 __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
14360 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
14361 (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
14362 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
14363 (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
14364 here.
14365 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
14366 Update.
14367
c5df7609
JM
14368 * manual/arith.texi (FP Exceptions): Document that exceptions may
14369 not be raised when matherr is used.
14370 (Math Error Reporting): Document overflow in directed rounding
14371 modes. Document that errno may not be set when finite values are
14372 returned on overflow. Document intent to set errno on underflow
14373 only for underflow to zero.
14374
3c1c46a6
JM
14375 [BZ #16271]
14376 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
14377 round-to-nearest then adjust result for other rounding modes.
14378 * include/fenv.h (fegetround): Use libm_hidden_proto.
14379 * math/fegetround.c (fegetround): Use libm_hidden_def.
14380 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
14381 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
14382 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
14383 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
14384 Likewise.
14385 * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
14386 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
14387 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
14388 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
14389
5a4c6d53
SP
143902013-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
14391
14392 [BZ #16077]
14393 * nss/Versions (libnss_files): Add
14394 _nss_files_gethostbyname3_r.
14395 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
14396 New function.
14397 (HOST_DB_LOOKUP): Remove macro.
14398 (_nss_files_gethostbyname_r): Implement function without the
14399 HOST_DB_LOOKUP macro.
14400 (_nss_files_gethostbyname2_r): Likewise.
14401
897b98ba
OB
144022013-11-28 Ondřej Bílka <neleai@seznam.cz>
14403
14404 * malloc/malloc.c (__libc_calloc): Make memset a tail call.
14405
6f476861
UB
144062013-11-26 Uros Bizjak <ubizjak@gmail.com>
14407
14408 * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
14409 _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
14410 warning.
14411
bd12ab55
AZ
144122013-11-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14413
14414 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
14415 __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
14416 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
14417 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
14418 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
14419 __fe_nomask_env_priv and attribute_hidden.
14420 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
14421 (libc_feupdateenv_test_ppc): Likewise.
14422 (libc_feresetround_ppc): Likewise.
14423 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
14424 (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
14425 compat_symbol macro.
14426 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
14427 (__fe_nomask_env): Likewise.
14428 * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
14429
52bb6543
OB
144302013-11-26 Ondřej Bílka <neleai@seznam.cz>
14431
14432 * string/Makefile: Remove ifunc tests.
14433 * string/test-string.h: Define TEST_IFUNC.
14434 * string/test-bcopy-ifunc.c: Remove.
14435 * string/test-bzero-ifunc.c: Likewise.
14436 * string/test-memccpy-ifunc.c: Likewise.
14437 * string/test-memchr-ifunc.c: Likewise.
14438 * string/test-memcmp-ifunc.c: Likewise.
14439 * string/test-memcpy-ifunc.c: Likewise.
14440 * string/test-memmem-ifunc.c: Likewise.
14441 * string/test-memmove-ifunc.c: Likewise.
14442 * string/test-mempcpy-ifunc.c: Likewise.
14443 * string/test-memrchr-ifunc.c: Likewise.
14444 * string/test-memset-ifunc.c: Likewise.
14445 * string/test-rawmemchr-ifunc.c: Likewise.
14446 * string/test-stpcpy-ifunc.c: Likewise.
14447 * string/test-stpncpy-ifunc.c: Likewise.
14448 * string/test-strcasecmp-ifunc.c: Likewise.
14449 * string/test-strcasestr-ifunc.c: Likewise.
14450 * string/test-strcat-ifunc.c: Likewise.
14451 * string/test-strchr-ifunc.c: Likewise.
14452 * string/test-strchrnul-ifunc.c: Likewise.
14453 * string/test-strcmp-ifunc.c: Likewise.
14454 * string/test-strcpy-ifunc.c: Likewise.
14455 * string/test-strcspn-ifunc.c: Likewise.
14456 * string/test-strlen-ifunc.c: Likewise.
14457 * string/test-strncasecmp-ifunc.c: Likewise.
14458 * string/test-strncat-ifunc.c: Likewise.
14459 * string/test-strncmp-ifunc.c: Likewise.
14460 * string/test-strncpy-ifunc.c: Likewise.
14461 * string/test-strnlen-ifunc.c: Likewise.
14462 * string/test-strpbrk-ifunc.c: Likewise.
14463 * string/test-strrchr-ifunc.c: Likewise.
14464 * string/test-strspn-ifunc.c: Likewise.
14465 * string/test-strstr-ifunc.c: Likewise.
14466
ab260039 144672013-11-26 Ondřej Bílka <neleai@seznam.cz>
2787db97
OB
14468
14469 * benchtests/Makefile: Remove ifunc tests.
14470 * benchtests/bench-string.h: Define TEST_IFUNC.
14471 * benchtests/bench-bcopy-ifunc.c: Remove.
14472 * benchtests/bench-bzero-ifunc.c: Likewise.
14473 * benchtests/bench-memccpy-ifunc.c: Likewise.
14474 * benchtests/bench-memchr-ifunc.c: Likewise.
14475 * benchtests/bench-memcmp-ifunc.c: Likewise.
14476 * benchtests/bench-memcpy-ifunc.c: Likewise.
14477 * benchtests/bench-memmem-ifunc.c: Likewise.
14478 * benchtests/bench-memmove-ifunc.c: Likewise.
14479 * benchtests/bench-mempcpy-ifunc.c: Likewise.
14480 * benchtests/bench-memrchr-ifunc.c: Likewise.
14481 * benchtests/bench-memset-ifunc.c: Likewise.
14482 * benchtests/bench-rawmemchr-ifunc.c: Likewise.
14483 * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
14484 * benchtests/bench-stpcpy-ifunc.c: Likewise.
14485 * benchtests/bench-stpncpy-ifunc.c: Likewise.
14486 * benchtests/bench-strcasecmp-ifunc.c: Likewise.
14487 * benchtests/bench-strcasestr-ifunc.c: Likewise.
14488 * benchtests/bench-strcat-ifunc.c: Likewise.
14489 * benchtests/bench-strchr-ifunc.c: Likewise.
14490 * benchtests/bench-strchrnul-ifunc.c: Likewise.
14491 * benchtests/bench-strcmp-ifunc.c: Likewise.
14492 * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
14493 * benchtests/bench-strcpy-ifunc.c: Likewise.
14494 * benchtests/bench-strcspn-ifunc.c: Likewise.
14495 * benchtests/bench-strlen-ifunc.c: Likewise.
14496 * benchtests/bench-strncasecmp-ifunc.c: Likewise.
14497 * benchtests/bench-strncat-ifunc.c: Likewise.
14498 * benchtests/bench-strncmp-ifunc.c: Likewise.
14499 * benchtests/bench-strncpy-ifunc.c: Likewise.
14500 * benchtests/bench-strnlen-ifunc.c: Likewise.
14501 * benchtests/bench-strpbrk-ifunc.c: Likewise.
14502 * benchtests/bench-strrchr-ifunc.c: Likewise.
a9503496 14503 * benchtests/bench-strsep-ifunc.c: Likewise.
2787db97
OB
14504 * benchtests/bench-strspn-ifunc.c: Likewise.
14505 * benchtests/bench-strstr-ifunc.c: Likewise.
14506
145072013-11-26 Ondřej Bílka <neleai@seznam.cz>
14508
ab260039
OB
14509 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
14510
d1d9eaf4 145112013-11-26 Ondřej Bílka <neleai@seznam.cz>
2787db97 14512
d1d9eaf4
OB
14513 * resolv/netdb.h: Use __glibc_reserved instead __unused.
14514 * rt/aio.h: Likewise.
14515 * sysdeps/gnu/bits/utmp.h: Likewise.
14516 * sysdeps/gnu/bits/utmpx.h: Likewise.
14517 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
14518 * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
14519 * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
14520 * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
14521 * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
14522 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
14523 * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
14524 * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
14525 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
14526 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
14527 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
14528 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
14529 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
14530 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
14531 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
14532 * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
14533 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
14534 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
14535 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
14536 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
14537 * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
14538 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
14539 * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
14540 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
14541 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
14542 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
14543 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
14544 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
14545 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
14546 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
14547 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
14548 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
14549 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
14550 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
14551 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
14552 * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
14553 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
14554 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
14555 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
14556 * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
14557 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
14558 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
14559
a7624ed9
CD
145602013-11-25 Carlos O'Donell <carlos@redhat.com>
14561
14562 [BZ #16245]
14563 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
14564 Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
14565
63cfe52b
JM
145662013-11-25 Joseph Myers <joseph@codesourcery.com>
14567
14568 * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
14569 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
14570 Likewise.
14571
41e8926a
AZ
145722013-11-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14573
14574 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
14575 SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
14576 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
14577 (__fesetround): Remove define.
14578 * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
14579 rounding and exceptions handling.
14580 * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
14581 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
14582 (__fe_nomask_env): Likewise.
14583 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
14584 __fegetround instead of fegetround.
14585 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
14586 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
14587
6851bd4d
RM
145882013-11-21 Roland McGrath <roland@hack.frob.com>
14589
070906ff
RM
14590 * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
14591 it's there.
14592
6851bd4d
RM
14593 * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
14594
84ae135d
MI
145952013-11-21 Meador Inge <meadori@codesourcery.com>
14596
14597 [BZ #11157]
14598 * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
14599 (encrypt_r): Likewise.
14600 * malloc/obstack.h (obstack_free): Likewise.
14601 * posix/unistd.h (encrypt): Likewise.
14602
daf75146
GM
146032013-11-21 Guy Martin <gmsoft@tuxicoman.be>
14604
14605 * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
14606 DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
14607 DL_CALL_DT_FINI() that call the functions directly.
14608 * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
14609 * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
14610 * elf/dl-fini.c: Likewise.
14611
10ad46bc
OB
146122013-11-20 Ondřej Bílka <neleai@seznam.cz>
14613
14614 * malloc/hooks.c (memalign_check): Add alignment rounding.
14615 * malloc/malloc.c (_mid_memalign): New function.
14616 (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
14617 Implement by calling _mid_memalign.
14618 * manual/probes.texi (Memory Allocation Probes): Remove
14619 memory_valloc_retry and memory_pvalloc_retry.
14620
f3fd2628
SP
146212013-11-20 Siddhesh Poyarekar <siddhesh@redhat.com>
14622
4712799f
SP
14623 * locale/programs/locarchive.c (open_archive): Add const
14624 qualifier to ARCHIVEFNAME and copy default fname to
14625 DEFAULT_FNAME.
14626
0417b20f
SP
14627 [BZ #15601]
14628 * libio/tst-widetext.input: Rename Oriya to Odia.
14629 * locale/iso-639.def: Likewise.
14630
f3fd2628
SP
14631 * manual/probes.texi (Mathematical Function Probes): Add
14632 documentation for sin, cos, asin and acos probes.
14633 * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
14634 (__sin32): Add slowasin probe.
14635 (__cos32): Add slowacos probe.
14636 (__mpsin): Add slowsin probe.
14637 (__mpcos): Add slowcos probe.
14638
73c1ce4f
JM
146392013-11-19 Joseph Myers <joseph@codesourcery.com>
14640
14641 [BZ #15483]
14642 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
14643 thread-local __sim_exceptions_thread and global
14644 __sim_exceptions_global.
14645 (__sim_disabled_exceptions): Change to thread-local
14646 __sim_disabled_exceptions_thread and global
14647 __sim_disabled_exceptions_global.
14648 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
14649 and global __sim_round_mode_global.
14650 (__simulate_exceptions): Use thread-local floating-point state and
14651 set global state from it as needed.
14652 * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
14653 __sim_exceptions_thread, __sim_disabled_exceptions_thread and
14654 __sim_round_mode_thread.
14655 * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
14656 (__sim_exceptions): Change to thread-local __sim_exceptions_thread
14657 and global __sim_exceptions_global.
14658 (__sim_disabled_exceptions): Change to thread-local
14659 __sim_disabled_exceptions_thread and global
14660 __sim_disabled_exceptions_global.
14661 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
14662 and global __sim_round_mode_global.
14663 [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
14664 (SIM_SET_GLOBAL): Likewise.
14665 * sysdeps/powerpc/soft-fp/sfp-machine.h
14666 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
14667 __sim_round_mode_thread.
14668 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
14669 __sim_disabled_exceptions_thread.
14670 (__sim_exceptions): Change to __sim_exceptions_thread.
14671 (__sim_disabled_exceptions): Change to
14672 __sim_disabled_exceptions_thread.
14673 (__sim_round_mode): Change to __sim_round_mode_thread.
14674 * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
14675 thread-local floating-point state and set global state from it as
14676 needed.
14677 * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
14678 * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
14679 (__sim_disabled_exceptions): Remove extern declaration.
14680 (feenableexcept): Use thread-local floating-point state and set
14681 global state from it as needed.
14682 * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
14683 extern declaration.
14684 (__sim_disabled_exceptions): Likewise.
14685 (__sim_round_mode): Likewise.
14686 (__fegetenv): Use thread-local floating-point state.
14687 * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
14688 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
14689 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
14690 floating-point state and set global state from it as needed.
14691 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
14692 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
14693 * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
14694 Likewise.
14695 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
14696 * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
14697 Likewise.
14698 sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
14699 * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
14700 Use __sim_round_mode_thread.
14701 * math/test-fenv-tls.c: New file.
14702 * math/Makefile (tests): Add test-fenv-tls.
14703 ($(objpfx)test-fenv-tls): Depend on
14704 $(common-objpfx)nptl/libpthread.so.
14705
b5449b12
AS
147062013-11-19 Andreas Schwab <schwab@suse.de>
14707
14708 * locale/programs/locale.c (show_info): Decode wordarray elements.
14709 * locale/categories.def (LC_MONETARY): Add element for
14710 _NL_MONETARY_CRNCYSTR.
14711 * locale/C-monetary.c (conversion_rate): New variable.
14712 (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
14713 element.
14714
e186536b
CM
147152013-11-18 Chris Metcalf <cmetcalf@tilera.com>
14716
14717 * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
14718 Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
14719
5c349950
PP
147202013-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
14721
14722 * elf/Makefile (tst-auxv): New test.
14723 * elf/tst-auxv.c: New
14724 * elf/rtld.c (dl_main): Adjust AT_EXECFN
14725
699df45b
JM
147262013-11-18 Joseph Myers <joseph@codesourcery.com>
14727
14728 * include/libc-symbols.h (__hidden_proto): Add argument "thread".
14729 (hidden_proto): Caller changed.
14730 (hidden_tls_proto): New macro.
14731 (libc_hidden_tls_proto): Likewise.
14732 (rtld_hidden_tls_proto): Likewise.
14733 (libm_hidden_tls_proto): Likewise.
14734 (libresolv_hidden_tls_proto): Likewise.
14735 (librt_hidden_tls_proto): Likewise.
14736 (libdl_hidden_tls_proto): Likewise.
14737 (libnss_files_hidden_tls_proto): Likewise.
14738 (libnsl_hidden_tls_proto): Likewise.
14739 (libnss_nisplus_hidden_tls_proto): Likewise.
14740 (libutil_hidden_tls_proto): Likewise.
14741
b7589107
OB
147422013-11-18 Ondřej Bílka <neleai@seznam.cz>
14743
14744 [BZ #10253]
14745 * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
14746 (decompose_rpath): Defer expansion to fillin_rpath.
14747 (_dl_init_paths): Pass linkmap to fillin_rpath.
14748
250c23bd
RS
147492013-11-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
14750
14751 * benchtests/Makefile: Add strsep.
14752 * benchtests/bench-strsep.c: New file: strsep benchtest.
14753 * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
14754
a7931fcf
AS
147552013-11-18 Andreas Schwab <schwab@suse.de>
14756
14757 * locale/programs/locale.c (show_info) [case byte]: Check for
14758 '\377' instead of '\177'.
14759 * locale/C-monetary.c (not_available): Always use "\377".
14760 * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
14761 unspecified p_sign_posn and n_sign_posn. Check for '\377' to
14762 detect unavailable sign_posn locale elements.
14763 * locale/localeconv.c (__localeconv): For grouping and
14764 mon_grouping handle "\177" and "\377" like no grouping.
14765 (INT_ELEM): New macro. Use it to set all numeric members.
14766 * locale/programs/ld-monetary.c (monetary_read)
14767 <tok_mon_grouping>: Normalize single -1 to the empty string.
14768 * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
14769 Likewise.
14770
728dab0e
OB
147712013-11-07 Ondřej Bílka <neleai@seznam.cz>
14772
14773 [BZ #16055]
14774 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
14775 when we match (nil).
14776 * stdio-common/tst-sscanf.c (struct test): Add testcase.
14777
66294491
JM
147782013-11-16 Joseph Myers <joseph@codesourcery.com>
14779
ce665817
JM
14780 * math/libm-test.inc (TEST_NAN_SIGN): New macro.
14781 (NO_TEST_INLINE): Update value.
14782 (ERRNO_UNCHANGED): Likewise.
14783 (ERRNO_EDOM): Likewise.
14784 (ERRNO_ERANGE): Likewise.
14785 (IGNORE_RESULT): Likewise.
14786 (check_float_internal): Check signs of NaN results if
14787 TEST_NAN_SIGN used.
14788 (check_complex): Pass TEST_NAN_SIGN flag through to second
14789 check_float_internal call.
14790 (copysign_test_data): Add tests with quiet NaNs as second
14791 argument. Use TEST_NAN_SIGN.
14792 (fabs_test_data): Add test of negative quiet NaN argument. Use
14793 TEST_NAN_SIGN.
14794 (signbit_test_data): Add tests of quiet NaN argument.
14795 * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
14796
ee1466a9
JM
14797 * math/gen-libm-test.pl (show_exceptions): Take extra argument
14798 $ignore_result.
14799 (parse_args): Handle function results specified as IGNORE.
14800 * math/libm-test.inc (IGNORE_RESULT): New macro.
14801 (check_float_internal): Do not check numerical result if flag
14802 IGNORE_RESULT set.
14803 (check_complex): Pass through IGNORE_RESULT to second
14804 check_float_internal call.
14805 (check_int): Do not check numerical result if flag IGNORE_RESULT
14806 set.
14807 (check_long): Likewise.
14808 (check_bool): Likewise.
14809 (check_longlong): Likewise.
14810 (lrint_test_data): Add tests of infinite and NaN arguments.
14811 (lrint_tonearest_test_data): Likewise.
14812 (lrint_towardzero_test_data): Likewise.
14813 (lrint_downward_test_data): Likewise.
14814 (lrint_upward_test_data): Likewise.
14815 (llrint_test_data): Likewise.
14816 (llrint_tonearest_test_data): Likewise.
14817 (llrint_towardzero_test_data): Likewise.
14818 (llrint_downward_test_data): Likewise.
14819 (llrint_upward_test_data): Likewise.
14820 (lround_test_data): Likewise.
14821 (llround_test_data): Likewise.
14822
14407b7e
JM
14823 * math/libm-test.inc (NO_TEST_INLINE): New macro.
14824 (ERRNO_UNCHANGED): Update value.
14825 (ERRNO_EDOM): Likewise.
14826 (ERRNO_ERANGE): Likewise.
14827 (NO_TEST_INLINE_FLOAT): New macro.
14828 (NO_TEST_INLINE_DOUBLE): Likewise.
14829 (enable_test): New function.
14830 (RUN_TEST_f_f): Check enable_test before running test.
14831 (RUN_TEST_2_f): Likewise.
14832 (RUN_TEST_fff_f): Likewise.
14833 (RUN_TEST_c_f): Likewise.
14834 (RUN_TEST_f_f1): Likewise.
14835 (RUN_TEST_fF_f1): Likewise.
14836 (RUN_TEST_fI_f1): Likewise.
14837 (RUN_TEST_ffI_f1): Likewise.
14838 (RUN_TEST_c_c): Likewise.
14839 (RUN_TEST_cc_c): Likewise.
14840 (RUN_TEST_f_i): Likewise.
14841 (RUN_TEST_f_i_tg): Likewise.
14842 (RUN_TEST_ff_i_tg): Likewise.
14843 (RUN_TEST_f_b): Likewise.
14844 (RUN_TEST_f_b_tg): Likewise.
14845 (RUN_TEST_f_l): Likewise.
14846 (RUN_TEST_f_L): Likewise.
14847 (RUN_TEST_fFF_11): Likewise.
14848 (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
14849 conditionals.
14850 (cosh_test_data): Likewise.
14851 (exp_test_data): Likewise.
14852 (expm1_test_data): Likewise.
14853 (hypot_test_data): Likewise.
14854 (pow_test_data): Likewise.
14855 (sinh_test_data): Likewise.
14856 (tanh_test_data): Likewise.
14857 * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
14858 flags argument.
14859
ca07f197
JM
14860 * libm-test.inc (acos_test_data): Disallow inexact exceptions for
14861 tests with quiet NaN input and output.
14862 (acosh_test_data): Likewise.
14863 (asin_test_data): Likewise.
14864 (asinh_test_data): Likewise.
14865 (atan_test_data): Likewise.
14866 (atanh_test_data): Likewise.
14867 (atan2_test_data): Likewise.
14868 (cbrt_test_data): Likewise.
14869 (cos_test_data): Likewise.
14870 (cosh_test_data): Likewise.
14871 (erf_test_data): Likewise.
14872 (erfc_test_data): Likewise.
14873 (exp_test_data): Likewise.
14874 (exp10_test_data): Likewise.
14875 (exp2_test_data): Likewise.
14876 (expm1_test_data): Likewise.
14877 (hypot_test_data): Likewise.
14878 (j0_test_data): Likewise.
14879 (j1_test_data): Likewise.
14880 (jn_test_data): Likewise.
14881 (lgamma_test_data): Likewise.
14882 (log_test_data): Likewise.
14883 (log10_test_data): Likewise.
14884 (log1p_test_data): Likewise.
14885 (log2_test_data): Likewise.
14886 (pow_test_data): Likewise.
14887 (scalb_test_data): Likewise.
14888 (sin_test_data): Likewise.
14889 (sincos_test_data): Likewise.
14890 (sinh_test_data): Likewise.
14891 (tan_test_data): Likewise.
14892 (tanh_test_data): Likewise.
14893 (tgamma_test_data): Likewise.
14894 (y0_test_data): Likewise.
14895 (y1_test_data): Likewise.
14896 (yn_test_data): Likewise.
14897
66294491
JM
14898 [BZ #16167]
14899 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
14900 argument being NaN and avoid computations with second argument in
14901 that case.
14902 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
14903 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
14904 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
14905
1820b143
CL
149062013-11-15 Arun Kumar Pyasi <arun@chitwanix.com>
14907
14908 * locale/iso-639.def: Add Chitwani Tharu (the).
14909
714bd261
AS
149102013-11-14 Andreas Schwab <schwab@suse.de>
14911
14912 * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
14913 word instead of empty string.
14914
7ab44563
AZ
149152013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14916
14917 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
14918 (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
14919 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
14920 (__fe_nomask_env): Likewise.
14921
e8470ea2
SE
149222013-11-13 Steve Ellcey <sellcey@mips.com>
14923
14924 * benchtests/bench-timing.h: Include time.h.
14925
17c1d9f0
L
149262013-11-13 H.J. Lu <hongjiu.lu@intel.com>
14927
14928 [BZ #15997]
14929 * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
14930 to 3.4.0 for x32.
14931 * sysdeps/unix/sysv/linux/configure: Regenerated.
14932
9310c284
JM
149332013-11-13 Joseph Myers <joseph@codesourcery.com>
14934
14935 [BZ #16151]
14936 * stdlib/strtod_l.c (round_and_return): Do not consider
14937 retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
14938 exponent one less than half the least subnormal exponent.
14939 * stdlib/test-strtod-round-data: Add more tests.
14940 * stdlib/tst-strtod-round.c (tests): Regenerated.
14941
7a2ad8cf
AZ
149422013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14943
14944 [BZ #14143]
14945 * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
14946 (__fe_mask_env): Likewise.
14947 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
14948 libm_hidden_proto and add function prototype.
14949 (__fe_mask_env): Add function prototype.
14950 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
14951 (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
14952 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
14953 (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
14954 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
14955 (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
14956
50727aa7
MS
149572013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
14958
b2f386c1 14959 * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
50727aa7
MS
14960 set reference_name to "" to avoid passing NULL to DSO_FILENAME.
14961
a615be46
MS
149622013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
14963
14964 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
14965 of htab_find_slot().
14966
7ddace62
DM
149672013-11-11 David S. Miller <davem@davemloft.net>
14968
14969 [BZ #16150]
14970 * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
14971 symbol in the non-vis3 case in static builds.
14972 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
14973 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
14974 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
14975 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
14976
9182aa67
JK
149772013-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
14978
14979 [BZ #387]
14980 * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
14981 it is empty.
14982
450a2e2d
AZ
149832013-11-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14984
b2f386c1
SP
14985 * benchtests/Makefile: Add bench-strtod.
14986 * benchtests/bench-strtod.c: New file: strtod benchtest
450a2e2d 14987
8ec3f656
AS
149882013-11-11 Andreas Schwab <schwab@suse.de>
14989
14990 [BZ #16153]
14991 * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
14992 terminating NUL in key length.
14993
76a9b998
AZ
149942013-11-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14995
14996 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
14997 Add artificial ODP entry for vDSO symbol for PPC64.
14998 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
14999 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
15000
e4368156
OB
150012013-11-07 Ondřej Bílka <neleai@seznam.cz>
15002
15003 [BZ #15374]
15004 * nss/getent.c (services_keys): Recognize services starting with digit.
15005
8d6bb57c
DM
150062013-11-06 David S. Miller <davem@davemloft.net>
15007
15008 [BZ #15985]
15009 * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
15010 on pre-v9 cpus, use a fnegs+fmovs sequence instead.
15011
e256c421
WN
150122013-11-06 Will Newton <will.newton@linaro.org>
15013
15014 * manual/memory.texi (Malloc Examples): Remove register
15015 keyword from examples.
15016
f6e12daa 150172013-11-04 Chris Leonard <cjl@sugarlabs.org>
1484e657 15018
f6e12daa 15019 * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
1484e657 15020
9d880655
AS
150212013-11-04 Joseph Myers <joseph@codesourcery.com>
15022
fd2f9486 15023 [BZ #6981]
9d880655
AS
15024 * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
15025 depending on [__GCC_IEC_559 > 0].
15026 [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
15027 depending on [__GCC_IEC_559_COMPLEX > 0].
15028
ae129d3c
CL
150292013-11-03 Chris Leonard <cjl@sugarlabs.org>
15030
15031 * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
15032 to iso-639.def.
15033
4a15c2a4 150342013-11-03 Ondřej Bílka <neleai@seznam.cz>
17c8c3dc
OB
15035
15036 * elf/rtld.c: Remove unused NONTLS_INIT_TP.
15037
8b35e35d
OB
150382013-11-01 Ondřej Bílka <neleai@seznam.cz>
15039
15040 [BZ #16112]
15041 * malloc/malloc (malloc_info): Do not handle first bin as
15042 special case.
15043
1d70fd6c
CL
150442013-11-01 Chris Leonard <cjl@sugarlabs.org>
15045
15046 * locale/iso-639.def: Add Central Nahuatl (nhn).
15047
8c5c2600
BH
150482013-11-01 Bruno Haible <bruno@clisp.org>
15049
15050 [BZ #7003]
15051 * manual/math.texi (BSD Random): Specify range upper bound as
15052 in POSIX.
15053
da5579c2
CL
150542013-10-31 Chris Leonard <cjl@sugarlabs.org>
15055
15056 * locale/iso-639.def: Add Meadow Mari (mhr).
15057
5d30d853
OB
150582013-10-31 Ondřej Bílka <neleai@seznam.cz>
15059
15060 [BZ #14752], [BZ #15763]
15061 * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
15062 Validate name.
15063 * rt/tst_shm.c: Add test for escaping directory.
15064
a4966c61
AS
150652013-10-31 Andreas Schwab <schwab@suse.de>
15066
8a43e768 15067 [BZ #15917]
a4966c61
AS
15068 * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
15069 followed by 'x' as part of digit sequence.
15070 * stdio-common/tst-sscanf.c (double_tests2): New tests.
15071
28d708c4
MAP
150722013-10-31 Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
15073
15074 [BZ #16037]
15075 * configure.ac: allow GNU Make 4.0 and greater.
15076 * configure: Regenerated.
15077
a56ee40b
WN
150782013-10-30 Will Newton <will.newton@linaro.org>
15079
15080 [BZ #16038]
15081 * malloc/hooks.c (memalign_check): Limit alignment to the
15082 maximum representable power of two.
15083 * malloc/malloc.c (__libc_memalign): Likewise.
15084 * malloc/tst-memalign.c (do_test): Add test for very
15085 large alignment values.
15086 * malloc/tst-posix_memalign.c (do_test): Likewise.
15087
c6e4925d
OB
150882013-10-30 Ondřej Bílka <neleai@seznam.cz>
15089
15090 [BZ #11087]
15091 * malloc/malloc.c (sysmalloc): Compute statistics atomically.
15092 (munmap_chunk): Likewise.
15093 (mremap_chunk): Likewise.
15094
150952013-10-30 Ondřej Bílka <neleai@seznam.cz>
bbea82f7 15096
8a43e768 15097 [BZ #15799]
bbea82f7
OB
15098 * stdlib/div.c (div): Remove obsolete code.
15099 * stdlib/ldiv.c (ldiv): Likewise.
15100 * stdlib/lldiv.c (lldiv): Likewise.
15101
977f4b31
SP
151022013-10-30 Siddhesh Poyarekar <siddhesh@redhat.com>
15103
15104 [BZ #16071]
15105 * nss/nss_files/files-XXX.c (get_contents_ret): New
15106 enumerator.
15107 (get_contents): New function.
15108 (internal_getent): Use it. Expand size of LINEBUFLEN.
15109
cb8a6dbd
MF
151102013-10-30 Mike Frysinger <vapier@gentoo.org>
15111
15112 * configure.in: Moved to ...
15113 * configure.ac: ... here. Change reference to configure.in
15114 to configure.ac.
15115 * sysdeps/arm/preconfigure.ac: ... here.
15116 configure.in to configure.ac.
15117 * sysdeps/gnu/configure.in: Moved to ...
15118 * sysdeps/gnu/configure.ac: ... here.
15119 * sysdeps/i386/configure.in: Moved to ...
15120 * sysdeps/i386/configure.ac: ... here.
15121 * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
15122 * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
15123 * sysdeps/mach/configure.in: Moved to ...
15124 * sysdeps/mach/configure.ac: ... here.
15125 * sysdeps/mach/hurd/configure.in: Moved to ...
15126 * sysdeps/mach/hurd/configure.ac: ... here.
15127 * sysdeps/powerpc/configure.in: Moved to ...
15128 * sysdeps/powerpc/configure.ac: ... here.
15129 * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
15130 * sysdeps/powerpc/powerpc32/configure.ac: ... here.
15131 * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
15132 * sysdeps/powerpc/powerpc64/configure.ac: ... here.
15133 * sysdeps/s390/s390-32/configure.in: Moved to ...
15134 * sysdeps/s390/s390-32/configure.ac: ... here.
15135 * sysdeps/s390/s390-64/configure.in: Moved to ...
15136 * sysdeps/s390/s390-64/configure.ac: ... here.
15137 * sysdeps/sh/configure.in: Moved to ...
15138 * sysdeps/sh/configure.ac: ... here.
15139 * sysdeps/sparc/configure.in: Moved to ...
15140 * sysdeps/sparc/configure.ac: ... here.
15141 * sysdeps/unix/sysv/linux/configure.in: Moved to ...
15142 * sysdeps/unix/sysv/linux/configure.ac: ... here.
15143 * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
15144 * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
15145 * sysdeps/x86_64/configure.in: Moved to ...
15146 * sysdeps/x86_64/configure.ac: ... here.
15147 * sysdeps/x86_64/preconfigure.in: Moved to ...
15148 * sysdeps/x86_64/preconfigure.ac: ... here.
15149 * aclocal.m4: Change reference to configure.in to configure.ac.
15150 * config.h.in: Likewise.
15151 * manual/install.texi: Likewise.
15152 * manual/maint.texi: Likewise.
15153 * Makefile: Likewise.
15154 * malloc/Makefile: Likewise.
15155 * nscd/Makefile: Likewise.
15156 * Makeconfig: Change reference to configure.in and
15157 preconfigure.in to configure.ac and preconfigure.ac
15158 respectively.
15159 * INSTALL: Regenerated.
15160 * configure: Likewise.
15161 * sysdeps/gnu/configure: Likewise.
15162 * sysdeps/i386/configure: Likewise.
15163 * sysdeps/ieee754/ldbl-opt/configure: Likewise.
15164 * sysdeps/mach/configure: Likewise.
15165 * sysdeps/mach/hurd/configure: Likewise.
15166 * sysdeps/powerpc/configure: Likewise.
15167 * sysdeps/powerpc/powerpc32/configure: Likewise.
15168 * sysdeps/powerpc/powerpc64/configure: Likewise.
15169 * sysdeps/s390/s390-32/configure: Likewise.
15170 * sysdeps/s390/s390-64/configure: Likewise.
15171 * sysdeps/sh/configure: Likewise.
15172 * sysdeps/sparc/configure: Likewise.
15173 * sysdeps/unix/sysv/linux/configure: Likewise.
15174 * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
15175 * sysdeps/x86_64/configure: Likewise.
15176 * sysdeps/x86_64/preconfigure: Likewise.
15177
36a4953a
AS
151782013-10-29 Andreas Schwab <schwab@suse.de>
15179
15180 * stdio-common/Makefile (tst-swscanf-ENV): Define.
15181
c79a1204
SP
151822013-10-28 Siddhesh Poyarekar <siddhesh@redhat.com>
15183
dfa1b402
SP
15184 * benchtests/pow-inputs: Add new inputs.
15185
54f73d9c
SP
15186 * benchtests/exp-inputs: Add new inputs.
15187
c79a1204
SP
15188 * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
15189 conditional check for return value.
15190 (__cos32): Likewise.
15191
67beb545 151922013-10-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
69f13dbf
AZ
15193
15194 * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
15195 to provide a boost for large inputs with word alignment.
15196 * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
15197 implementation based on optimized PPC64 strcpy.
15198 * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
15199 strcpy for PPC64/POWER7 based on both doubleword and word load/store.
15200 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
15201 stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
15202
151659f6
OB
152032013-10-25 Ondřej Bílka <neleai@seznam.cz>
15204
482a077e 15205 [BZ #2801]
151659f6
OB
15206 * manual/socket.texi (Host Names): Fix gethostbyname_r example.
15207
10b0f26b
OB
152082013-10-25 Ondřej Bílka <neleai@seznam.cz>
15209
15210 [BZ #14876]
15211 * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
15212 * time/tst-strptime.c (day_tests): Add testcase.
15213
ca42d35e
OB
152142013-10-25 Ondřej Bílka <neleai@seznam.cz>
15215
482a077e 15216 [BZ #14029]
ca42d35e
OB
15217 * manual/pattern.texi: Acknowledge that fnmatch can fail.
15218
52e6d801
FB
152192013-10-25 Fabrice Bauzac <fbauzac@debian71.nce.amadeus.net>
15220
15221 [BZ #16074]
15222 * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
15223 MAP_FAILED on error.
15224
7cbcdb36
SP
152252013-10-25 Siddhesh Poyarekar <siddhesh@redhat.com>
15226
15227 [BZ #16072]
15228 * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
15229 heap for large requests.
15230
894f3f10
AM
152312013-10-25 Aurelien Jarno <aurelien@aurel32.net>
15232
15233 [BZ #9954]
15234 * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
15235 result if the result has no associated interface.
15236 * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
15237 interface for all 127.X.Y.Z addresses.
15238
b85545a6
CL
152392013-10-24 Chris Leonard <cjl@sugarlabs.org>
15240
15241 * locale/iso-639.def: Add Ligurian (lij)
15242
d1f23d46
OB
152432013-10-21 Ondřej Bílka <neleai@seznam.cz>
15244
15245 [BZ #15825]
15246 * sunrpc/rpc_main.c: Document rpcgen -5.
15247
4db5b08f
MS
152482013-10-19 Michael Stahl <mstahl@redhat.com>
15249
15250 * elf/rtld.c (do_preload): Print the reason why preloading failed.
15251
a471e96a
OB
152522013-10-19 Ondřej Bílka <neleai@seznam.cz>
15253
d1f23d46 15254 [BZ #10278]
a471e96a
OB
15255 * posix/glob.c: Match only directories when trailing slash is present.
15256 * posix/tst-gnuglob.c (my_opendir): Do not open files.
15257 (main): Add testcase.
15258
45c30c61
OB
152592013-10-19 Ondřej Bílka <neleai@seznam.cz>
15260
15261 [BZ #15670]
15262 * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
15263
484c12fb
CD
152642013-10-18 Carlos O'Donell <carlos@redhat.com>
15265
3d7dc513
CD
15266 * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
15267 AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
15268 AUTH_DES and cindex for FIPS 140-2.
15269 (DES Encryption): Add cindex FIPS 46-3.
15270
484c12fb
CD
15271 * locale/locarchive.h (struct locarhandle): Add fname.
15272 * locale/programs/localedef.c (main): Pass ARGV[remaining]
15273 if an optional argument was specified to --list-archive,
15274 otherwise NULL.
15275 * locale/programs/locarchive.c (show_archive_content): Take new
15276 argument fname and pass it via ah.fname to open_archive.
15277 * locale/programs/localedef.h: Update decl.
15278 (open_archive): If AH->fname is non-null, open that file
15279 rather than the default file name, and don't ignore ENOENT.
15280 (create_archive): Set AH.fname to NULL.
15281 (delete_locales_from_archive): Likewise.
15282 (add_locales_to_archive): Likewise.
15283 * locale/programs/locfile.c (write_all_categories): Likewise.
15284
3c8325fb
JM
152852013-10-18 Joseph Myers <joseph@codesourcery.com>
15286 Aldy Hernandez <aldyh@redhat.com>
15287
15288 * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
15289 * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
15290 * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
15291 * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
15292 * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
15293 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
15294 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
15295 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
15296 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
15297 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
15298 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
15299 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
15300 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
15301 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
15302 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
15303 Likewise.
15304 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
15305 Likewise.
15306 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
15307 Likewise.
15308 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
15309 Likewise.
15310 * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
15311 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
15312 Likewise.
15313 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
15314 * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
15315 * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
15316 * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
15317 Likewise.
15318 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
15319 * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
15320 * sysdeps/powerpc/preconfigure: Likewise.
15321 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
15322 Likewise.
15323 * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
15324 Replace contents of file by #include of <fenv_libc.h>.
15325 * sysdeps/powerpc/soft-fp/sfp-machine.h
15326 [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
15327 and <sys/prctl.h>.
15328 [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
15329 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
15330 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
15331 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
15332 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
15333 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
15334 [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
15335 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
15336 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
15337 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
15338 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
15339 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
15340 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
15341 Allow copysignl PLT reference to be missing.
15342
5abe0682
RS
153432013-10-18 Richard Sandiford <richard@codesourcery.com>
15344 Joseph Myers <joseph@codesourcery.com
15345
15346 [BZ #15948]
15347 * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
15348 single character.
15349 (add_to_tablewc): Assert sequence of wide characters is nonempty.
15350
c7738d08
SP
153512013-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
15352
15353 * elf/tst-tls-dlinfo.c: Don't include tls.h.
15354 * elf/tst-tls1.c: Likewise.
15355 * elf/tst-tls10.h: Likewise.
15356 * elf/tst-tls14.c: Likewise.
15357 * elf/tst-tls2.c: Likewise.
15358 * elf/tst-tls3.c: Likewise.
15359 * elf/tst-tls4.c: Likewise.
15360 * elf/tst-tls5.c: Likewise.
15361 * elf/tst-tls6.c: Likewise.
15362 * elf/tst-tls7.c: Likewise.
15363 * elf/tst-tls8.c: Likewise.
15364 * elf/tst-tls9.c: Likewise.
15365 * elf/tst-tlsmod1.c: Likewise.
15366 * elf/tst-tlsmod13.c: Likewise.
15367 * elf/tst-tlsmod13a.c: Likewise.
15368 * elf/tst-tlsmod14a.c: Likewise.
15369 * elf/tst-tlsmod16a.c: Likewise.
15370 * elf/tst-tlsmod16b.c: Likewise.
15371 * elf/tst-tlsmod2.c: Likewise.
15372 * elf/tst-tlsmod3.c: Likewise.
15373 * elf/tst-tlsmod4.c: Likewise.
15374 * elf/tst-tlsmod5.c: Likewise.
15375 * elf/tst-tlsmod6.c: Likewise.
15376
0bfcf2c7
OB
153772013-10-18 Ondřej Bílka <neleai@seznam.cz>
15378
15379 [BZ #12486]
15380 * malloc/malloc.c: remove checks for statistics.
15381
264aad1e
OB
153822013-10-17 Ondřej Bílka <neleai@seznam.cz>
15383
15384 [BZ #15277]
15385 * inet/inet_net.c (inet_network): Detect additional invalid strings.
15386 * inet/tst-network.c: Add testcase.
15387
b957ced8
AS
153882013-10-17 Andreas Schwab <schwab@suse.de>
15389
15390 [BZ #15218]
15391 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
15392 to determine canonical name.
15393
c5d5d574
OB
153942013-10-17 Ondřej Bílka <neleai@seznam.cz>
15395
15396 * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
15397 * sysdeps/ieee754/dbl-64/dla.h: Likewise.
15398 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
15399 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
15400 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
15401 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
15402 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
15403 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
15404 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
15405 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
15406 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
15407 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
15408 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
15409 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
15410 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
15411 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
15412 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
15413 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
15414 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
15415 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
15416 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
15417 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
15418 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
15419 * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
15420 * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
15421 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
15422 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
15423 * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
15424 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
15425 * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
15426 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
15427 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
15428 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
15429 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
15430 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
15431 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
15432 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
15433 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
15434 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
15435 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
15436 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
15437 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
15438 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
15439 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
15440 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
15441 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
15442 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
15443 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
15444 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
15445 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
15446 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
15447 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
15448 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
15449 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
15450 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
15451 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
15452 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
15453 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
15454
e5c2c2d0
JM
154552013-10-17 Joseph Myers <joseph@codesourcery.com>
15456
15457 [BZ #16041]
15458 * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
15459 make result into a quiet NaN.
15460
51ca9e29
JM
154612013-10-16 Joseph Myers <joseph@codesourcery.com>
15462
15463 * soft-fp/adddf3.c: Fix horizontal whitespace.
15464 * soft-fp/addsf3.c: Likewise.
15465 * soft-fp/addtf3.c: Likewise.
15466 * soft-fp/divdf3.c: Likewise.
15467 * soft-fp/divsf3.c: Likewise.
15468 * soft-fp/divtf3.c: Likewise.
15469 * soft-fp/double.h: Likewise.
15470 * soft-fp/eqdf2.c: Likewise.
15471 * soft-fp/eqsf2.c: Likewise.
15472 * soft-fp/eqtf2.c: Likewise.
15473 * soft-fp/extenddftf2.c: Likewise.
15474 * soft-fp/extended.h: Likewise.
15475 * soft-fp/extendsfdf2.c: Likewise.
15476 * soft-fp/extendsftf2.c: Likewise.
15477 * soft-fp/extendxftf2.c: Likewise.
15478 * soft-fp/fixdfdi.c: Likewise.
15479 * soft-fp/fixdfsi.c: Likewise.
15480 * soft-fp/fixdfti.c: Likewise.
15481 * soft-fp/fixsfdi.c: Likewise.
15482 * soft-fp/fixsfsi.c: Likewise.
15483 * soft-fp/fixsfti.c: Likewise.
15484 * soft-fp/fixtfdi.c: Likewise.
15485 * soft-fp/fixtfsi.c: Likewise.
15486 * soft-fp/fixtfti.c: Likewise.
15487 * soft-fp/fixunsdfdi.c: Likewise.
15488 * soft-fp/fixunsdfsi.c: Likewise.
15489 * soft-fp/fixunsdfti.c: Likewise.
15490 * soft-fp/fixunssfdi.c: Likewise.
15491 * soft-fp/fixunssfsi.c: Likewise.
15492 * soft-fp/fixunssfti.c: Likewise.
15493 * soft-fp/fixunstfdi.c: Likewise.
15494 * soft-fp/fixunstfsi.c: Likewise.
15495 * soft-fp/fixunstfti.c: Likewise.
15496 * soft-fp/floatdidf.c: Likewise.
15497 * soft-fp/floatdisf.c: Likewise.
15498 * soft-fp/floatditf.c: Likewise.
15499 * soft-fp/floatsidf.c: Likewise.
15500 * soft-fp/floatsisf.c: Likewise.
15501 * soft-fp/floatsitf.c: Likewise.
15502 * soft-fp/floattidf.c: Likewise.
15503 * soft-fp/floattisf.c: Likewise.
15504 * soft-fp/floattitf.c: Likewise.
15505 * soft-fp/floatundidf.c: Likewise.
15506 * soft-fp/floatundisf.c: Likewise.
15507 * soft-fp/floatunditf.c: Likewise.
15508 * soft-fp/floatunsidf.c: Likewise.
15509 * soft-fp/floatunsisf.c: Likewise.
15510 * soft-fp/floatunsitf.c: Likewise.
15511 * soft-fp/floatuntidf.c: Likewise.
15512 * soft-fp/floatuntisf.c: Likewise.
15513 * soft-fp/floatuntitf.c: Likewise.
15514 * soft-fp/fmadf4.c: Likewise.
15515 * soft-fp/fmasf4.c: Likewise.
15516 * soft-fp/fmatf4.c: Likewise.
15517 * soft-fp/gedf2.c: Likewise.
15518 * soft-fp/gesf2.c: Likewise.
15519 * soft-fp/getf2.c: Likewise.
15520 * soft-fp/ledf2.c: Likewise.
15521 * soft-fp/lesf2.c: Likewise.
15522 * soft-fp/letf2.c: Likewise.
15523 * soft-fp/muldf3.c: Likewise.
15524 * soft-fp/mulsf3.c: Likewise.
15525 * soft-fp/multf3.c: Likewise.
15526 * soft-fp/negdf2.c: Likewise.
15527 * soft-fp/negsf2.c: Likewise.
15528 * soft-fp/negtf2.c: Likewise.
15529 * soft-fp/op-1.h: Likewise.
15530 * soft-fp/op-2.h: Likewise.
15531 * soft-fp/op-4.h: Likewise.
15532 * soft-fp/op-8.h: Likewise.
15533 * soft-fp/op-common.h: Likewise.
15534 * soft-fp/quad.h: Likewise.
15535 * soft-fp/single.h: Likewise.
15536 * soft-fp/soft-fp.h: Likewise.
15537 * soft-fp/sqrtdf2.c: Likewise.
15538 * soft-fp/sqrtsf2.c: Likewise.
15539 * soft-fp/sqrttf2.c: Likewise.
15540 * soft-fp/subdf3.c: Likewise.
15541 * soft-fp/subsf3.c: Likewise.
15542 * soft-fp/subtf3.c: Likewise.
15543 * soft-fp/truncdfsf2.c: Likewise.
15544 * soft-fp/trunctfdf2.c: Likewise.
15545 * soft-fp/trunctfsf2.c: Likewise.
15546 * soft-fp/trunctfxf2.c: Likewise.
15547 * soft-fp/unorddf2.c: Likewise.
15548 * soft-fp/unordsf2.c: Likewise.
15549 * soft-fp/unordtf2.c: Likewise.
15550
9ebb0332
JM
155512013-10-15 Joseph Myers <joseph@codesourcery.com>
15552
15553 * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
15554 * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
15555
4b1a6d8b
OB
155562013-10-15 Ondřej Bílka <neleai@seznam.cz>
15557
15558 * elf/dl-libc.c: Clear initfini list after freeing.
15559
1e145589
JM
155602013-10-14 Joseph Myers <joseph@codesourcery.com>
15561
15562 * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
15563 * soft-fp/addsf3.c: Likewise.
15564 * soft-fp/addtf3.c: Likewise.
15565 * soft-fp/divdf3.c: Likewise.
15566 * soft-fp/divsf3.c: Likewise.
15567 * soft-fp/divtf3.c: Likewise.
15568 * soft-fp/double.h: Likewise.
15569 * soft-fp/eqdf2.c: Likewise.
15570 * soft-fp/eqsf2.c: Likewise.
15571 * soft-fp/eqtf2.c: Likewise.
15572 * soft-fp/extenddftf2.c: Likewise.
15573 * soft-fp/extended.h: Likewise.
15574 * soft-fp/extendsfdf2.c: Likewise.
15575 * soft-fp/extendsftf2.c: Likewise.
15576 * soft-fp/extendxftf2.c: Likewise.
15577 * soft-fp/fixdfdi.c: Likewise.
15578 * soft-fp/fixdfsi.c: Likewise.
15579 * soft-fp/fixdfti.c: Likewise.
15580 * soft-fp/fixsfdi.c: Likewise.
15581 * soft-fp/fixsfsi.c: Likewise.
15582 * soft-fp/fixsfti.c: Likewise.
15583 * soft-fp/fixtfdi.c: Likewise.
15584 * soft-fp/fixtfsi.c: Likewise.
15585 * soft-fp/fixtfti.c: Likewise.
15586 * soft-fp/fixunsdfdi.c: Likewise.
15587 * soft-fp/fixunsdfsi.c: Likewise.
15588 * soft-fp/fixunsdfti.c: Likewise.
15589 * soft-fp/fixunssfdi.c: Likewise.
15590 * soft-fp/fixunssfsi.c: Likewise.
15591 * soft-fp/fixunssfti.c: Likewise.
15592 * soft-fp/fixunstfdi.c: Likewise.
15593 * soft-fp/fixunstfsi.c: Likewise.
15594 * soft-fp/fixunstfti.c: Likewise.
15595 * soft-fp/floatdidf.c: Likewise.
15596 * soft-fp/floatdisf.c: Likewise.
15597 * soft-fp/floatditf.c: Likewise.
15598 * soft-fp/floatsidf.c: Likewise.
15599 * soft-fp/floatsisf.c: Likewise.
15600 * soft-fp/floatsitf.c: Likewise.
15601 * soft-fp/floattidf.c: Likewise.
15602 * soft-fp/floattisf.c: Likewise.
15603 * soft-fp/floattitf.c: Likewise.
15604 * soft-fp/floatundidf.c: Likewise.
15605 * soft-fp/floatundisf.c: Likewise.
15606 * soft-fp/floatunsidf.c: Likewise.
15607 * soft-fp/floatunsisf.c: Likewise.
15608 * soft-fp/floatuntidf.c: Likewise.
15609 * soft-fp/floatuntisf.c: Likewise.
15610 * soft-fp/floatuntitf.c: Likewise.
15611 * soft-fp/fmadf4.c: Likewise.
15612 * soft-fp/fmasf4.c: Likewise.
15613 * soft-fp/fmatf4.c: Likewise.
15614 * soft-fp/gedf2.c: Likewise.
15615 * soft-fp/gesf2.c: Likewise.
15616 * soft-fp/getf2.c: Likewise.
15617 * soft-fp/ledf2.c: Likewise.
15618 * soft-fp/lesf2.c: Likewise.
15619 * soft-fp/letf2.c: Likewise.
15620 * soft-fp/muldf3.c: Likewise.
15621 * soft-fp/mulsf3.c: Likewise.
15622 * soft-fp/multf3.c: Likewise.
15623 * soft-fp/negdf2.c: Likewise.
15624 * soft-fp/negsf2.c: Likewise.
15625 * soft-fp/negtf2.c: Likewise.
15626 * soft-fp/op-1.h: Likewise.
15627 * soft-fp/op-2.h: Likewise.
15628 * soft-fp/op-4.h: Likewise.
15629 * soft-fp/op-8.h: Likewise.
15630 * soft-fp/op-common.h: Likewise.
15631 * soft-fp/quad.h: Likewise.
15632 * soft-fp/single.h: Likewise.
15633 * soft-fp/soft-fp.h: Likewise.
15634 * soft-fp/sqrtdf2.c: Likewise.
15635 * soft-fp/sqrtsf2.c: Likewise.
15636 * soft-fp/sqrttf2.c: Likewise.
15637 * soft-fp/subdf3.c: Likewise.
15638 * soft-fp/subsf3.c: Likewise.
15639 * soft-fp/subtf3.c: Likewise.
15640 * soft-fp/truncdfsf2.c: Likewise.
15641 * soft-fp/trunctfdf2.c: Likewise.
15642 * soft-fp/trunctfsf2.c: Likewise.
15643 * soft-fp/trunctfxf2.c: Likewise.
15644 * soft-fp/unorddf2.c: Likewise.
15645 * soft-fp/unordsf2.c: Likewise.
15646 * soft-fp/unordtf2.c: Likewise.
15647
17c48a60
OB
156482013-10-14 Ondřej Bílka <neleai@seznam.cz>
15649
15650 [BZ #15672]
15651 * misc/error.c (error_tail): Fix possible buffer overflow.
15652
cabba934
OB
156532013-10-14 Aurelien Jarno <aurelien@aurel32.net>
15654
15655 [BZ #13028]
15656 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
15657 address.
15658
94bf958a
PM
156592013-10-14 P. J. McDermott <pj@pehjota.net>
15660
15661 [BZ #832]
15662 * elf/ldd.bash.in (try_trace): New function. Delete previous code
15663 testing pipefail option.
15664
71b4dea7
JM
156652013-10-12 Joseph Myers <joseph@codesourcery.com>
15666
15667 * soft-fp/double.h: Indent preprocessor directives inside #if.
15668 * soft-fp/extended.h: Likewise.
15669 * soft-fp/op-2.h: Likewise.
15670 * soft-fp/op-4.h: Likewise.
15671 * soft-fp/op-common.h: Likewise.
15672 * soft-fp/quad.h: Likewise.
15673 * soft-fp/single.h: Likewise.
15674 * soft-fp/soft-fp.h: Likewise.
15675
55602758
YC
156762013-10-12 Yuri Chornoivan <yurchor@ukr.net>
15677
15678 * iconv/iconv_prog.c: Fix typos.
15679 * stdio-common/psiginfo-data.h: Likewise.
15680
9cd83302
RT
156812013-10-12 Reuben Thomas <rrt@sc3d.org>
15682
15683 [BZ #15764]
15684 * locale/setlocale.c: Fix typo.
15685
99fd9f47
JM
156862013-10-12 Joseph Myers <joseph@codesourcery.com>
15687
b7ea74f0
JM
15688 [BZ #16036]
15689 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
15690 signaling NaN arguments.
15691 * soft-fp/unordsf2.c (__unordsf2): Likewise.
15692 * soft-fp/unordtf2.c (__unordtf2): Likewise.
15693
8a509447
JM
15694 [BZ #14910]
15695 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
15696 unordered operands.
15697 * soft-fp/gesf2.c (__gesf2): Likewise.
15698 * soft-fp/getf2.c (__getf2): Likewise.
15699 * soft-fp/ledf2.c (__ledf2): Likewise.
15700 * soft-fp/lesf2.c (__lesf2): Likewise.
15701 * soft-fp/letf2.c (__letf2): Likewise.
15702
98998e9f
JM
15703 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
15704 * soft-fp/eqsf2.c (__eqsf2): Likewise.
15705 * soft-fp/eqtf2.c (__eqtf2): Likewise.
15706 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
15707 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
15708 * soft-fp/fixdfti.c (__fixdfti): Likewise.
15709 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
15710 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
15711 * soft-fp/fixsfti.c (__fixsfti): Likewise.
15712 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
15713 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
15714 * soft-fp/fixtfti.c (__fixtfti): Likewise.
15715 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
15716 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
15717 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
15718 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
15719 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
15720 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
15721 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
15722 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
15723 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
15724 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
15725 * soft-fp/floatdisf.c (__floatdisf): Likewise.
15726 * soft-fp/floatsisf.c (__floatsisf): Likewise.
15727 * soft-fp/floattidf.c (__floattidf): Likewise.
15728 * soft-fp/floattisf.c (__floattisf): Likewise.
15729 * soft-fp/floattitf.c (__floattitf): Likewise.
15730 * soft-fp/floatundidf.c (__floatundidf): Likewise.
15731 * soft-fp/floatundisf.c (__floatundisf): Likewise.
15732 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
15733 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
15734 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
15735 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
15736 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
15737 * soft-fp/gesf2.c (__gesf2): Likewise.
15738 * soft-fp/getf2.c (__getf2): Likewise.
15739 * soft-fp/ledf2.c (__ledf2): Likewise.
15740 * soft-fp/lesf2.c (__lesf2): Likewise.
15741 * soft-fp/letf2.c (__letf2): Likewise.
15742
8edc4a11
JM
15743 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
15744 Undefine and redefine.
15745 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
15746 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
15747 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
15748 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
15749 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
15750 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
15751 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
15752 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
15753 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
15754 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
15755 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
15756 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
15757 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
15758 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
15759 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
15760
8399acaf
JM
15761 [BZ #16032]
15762 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
15763 without decrementing exponent if mantissa >= that for the
15764 denominator, not >.
15765 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
15766 denominator, not >. Decrement exponent in < case instead of
15767 incrementing in >= case.
15768 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
15769 without decrementing exponent if mantissa >= that for the
15770 denominator, not >.
15771
99fd9f47
JM
15772 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
15773 computing saturated result for unsigned overflow.
15774
10e1cf6b
SP
157752013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
15776 Jeff Law <law@redhat.com>
15777
15778 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
15779 (atan2Mp): Add systemtap probe marker.
15780 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
15781 (__ieee754_log): Add systemtap probe marker.
15782 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
15783 (atanMp): Add systemtap probe marker.
15784 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
15785 (tanMp): Add systemtap probe marker.
15786 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
15787 (__slowexp): Add systemtap probe marker.
15788 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
15789 (__slowpow): Add systemtap probe marker.
15790 * manual/probes.texi: Document probes.
15791
3d110c7c
EB
157922013-10-11 Eric Biggers <ebiggers3@gmail.com>
15793
15794 [BZ #15362]
15795 * libio/fileops.c (_IO_new_file_write): Return count of bytes
15796 written.
15797 (_IO_new_file_xsputn): Don't return EOF if nothing has been
15798 written.
15799 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
15800 written to buffer but not flushed.
15801 * libio/iofwrite_u.c: Likewise.
15802 * libio/iopadn.c: Return bytes returned even if EOF was
15803 encountered.
15804 * libio/iowpadn.c: Likewise.
15805 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
15806 if _IO_padn does not write the whole buffer.
15807 [!COMPILE_WPRINTF] (PAD): Likewise.
15808
75b4202a
DM
158092013-10-10 David S. Miller <davem@davemloft.net>
15810
15811 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
15812 directory block.
15813
6c6352e6
JM
158142013-10-10 Joseph Myers <joseph@codesourcery.com>
15815
33b853c3
JM
15816 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
15817 instead of FSF address.
15818 * soft-fp/fixdfti.c: Likewise.
15819 * soft-fp/fixsfti.c: Likewise.
15820 * soft-fp/fixtfti.c: Likewise.
15821 * soft-fp/fixunsdfti.c: Likewise.
15822 * soft-fp/fixunssfti.c: Likewise.
15823 * soft-fp/fixunstfti.c: Likewise.
15824 * soft-fp/floattidf.c: Likewise.
15825 * soft-fp/floattisf.c: Likewise.
15826 * soft-fp/floattitf.c: Likewise.
15827 * soft-fp/floatuntidf.c: Likewise.
15828 * soft-fp/floatuntisf.c: Likewise.
15829 * soft-fp/floatuntitf.c: Likewise.
15830 * soft-fp/trunctfxf2.c: Likewise.
15831
6c6352e6
JM
15832 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
15833 * soft-fp/fixdfti.c: Likewise.
15834 * soft-fp/fixsfti.c: Likewise.
15835 * soft-fp/fixtfti.c: Likewise.
15836 * soft-fp/fixunsdfti.c: Likewise.
15837 * soft-fp/fixunssfti.c: Likewise.
15838 * soft-fp/fixunstfti.c: Likewise.
15839 * soft-fp/floattidf.c: Likewise.
15840 * soft-fp/floattisf.c: Likewise.
15841 * soft-fp/floattitf.c: Likewise.
15842 * soft-fp/floatuntidf.c: Likewise.
15843 * soft-fp/floatuntisf.c: Likewise.
15844 * soft-fp/floatuntitf.c: Likewise.
15845 * soft-fp/trunctfxf2.c: Likewise.
15846
3bf78b71
DM
158472013-10-10 David S. Miller <davem@davemloft.net>
15848
15849 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15850
6f10289e
JM
158512013-10-10 Joseph Myers <joseph@codsourcery.com>
15852
bd878fc0
JM
15853 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
15854 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
15855 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
15856 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
15857 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
15858 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
15859 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
15860
6f10289e
JM
15861 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
15862 for NaNs before doing comparisons on argument.
15863 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
15864 Likewise.
15865
321e2684
WN
158662013-10-10 Will Newton <will.newton@linaro.org>
15867
15868 * malloc/hooks.c (memalign_check): Ensure the value of bytes
15869 passed to _int_memalign does not overflow.
15870
40fefba1
TR
158712013-10-10 Torvald Riegel <triegel@redhat.com>
15872
15873 * scripts/bench.pl: Add include-sources directive.
15874 * benchtests/README: Update documentation.
15875
2ae21ed2
JM
158762013-10-10 Joseph Myers <joseph@codesourcery.com>
15877
dcc2dd3f
JM
15878 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
15879 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
15880 instead of FP_INIT_ROUNDMODE.
15881 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
15882 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
15883
2ae21ed2
JM
15884 [BZ #16034]
15885 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
15886 copy class of input value.
15887 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
15888 not handle exceptions.
15889 * soft-fp/negsf2.c (__negsf2): Likewise.
15890 * soft-fp/negtf2.c (__negtf2): Likewise.
15891 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
15892
cb8f9562
JM
158932013-10-09 Joseph Myers <joseph@codesourcery.com>
15894
15895 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
15896 semicolon. From Linux kernel.
15897
5b60c59d
AB
158982013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
15899
15900 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
15901
b86835ca
YC
159022013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
15903
15904 [BZ #156]
15905 * manual/socket.texi: Added statement about buffer
15906 for gethostbyname2_r.
15907
e7044ea7
OB
159082013-10-08 Ondřej Bílka <neleai@seznam.cz>
15909
15910 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
15911 Use .p2align directive instead, throughout.
15912 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
15913 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
15914 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
15915 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
15916 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
15917 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
15918 * sysdeps/x86_64/strchr.S: Likewise.
15919 * sysdeps/x86_64/strrchr.S: Likewise.
15920
09544cbc
SP
159212013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
15922
88576635
SP
15923 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
15924
e7b2d1dd
SP
15925 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
15926
09544cbc
SP
15927 * sysdeps/generic/math_private.h (__mpsin1): Remove
15928 declaration.
15929 (__mpcos1): Likewise.
15930 (__mpsin): New argument __range_reduce.
15931 (__mpcos): Likewise.
15932 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
15933 (slow): Use __mpsin and __mpcos.
15934 (slow1): Likewise.
15935 (slow2): Likewise.
15936 (sloww): Likewise.
15937 (sloww1): Likewise.
15938 (sloww2): Likewise.
15939 (bsloww): Likewise.
15940 (bsloww1): Likewise.
15941 (bsloww2): Likewise.
15942 (cslow2): Likewise.
15943 (csloww): Likewise.
15944 (csloww1): Likewise.
15945 (csloww2): Likewise.
15946 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
15947 range_reduce. Merge in __mpsin1.
15948 (__mpcos): Likewise.
15949 (__mpsin1): Remove.
15950 (__mpcos1): Likewise.
15951
7602d070
JM
159522013-10-07 Joseph Myers <joseph@codesourcery.com>
15953
15954 * locale/loadlocale.c (_nl_intern_locale_data): Use
15955 LOCFILE_ALIGNED_P.
15956 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
15957 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
15958 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
15959 obstack data is appropriately aligned.
15960 (obstack_int32_grow_fast): Likewise.
15961 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
15962 * locale/programs/locfile.c (add_locale_uint32): Likewise.
15963 (add_locale_uint32_array): Likewise.
15964
a357259b
SP
159652013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
15966
15967 * benchtests/Makefile: Remove ARGLIST and RET variables.
15968 ($(objpfx)bench-%.c): Pass only function name to the script.
15969 * benchtests/README: Update documentation.
15970 * benchtests/acos-inputs: Add new directives.
15971 * benchtests/acosh-inputs: Likewise.
15972 * benchtests/asin-inputs: Likewise.
15973 * benchtests/asinh-inputs: Likewise.
15974 * benchtests/atan-inputs: Likewise.
15975 * benchtests/atanh-inputs: Likewise.
15976 * benchtests/cos-inputs: Likewise.
15977 * benchtests/cosh-inputs: Likewise.
15978 * benchtests/exp-inputs: Likewise.
15979 * benchtests/log-inputs: Likewise.
15980 * benchtests/pow-inputs: Likewise.
15981 * benchtests/rint-inputs: Likewise.
15982 * benchtests/sin-inputs: Likewise.
15983 * benchtests/sinh-inputs: Likewise.
15984 * benchtests/tan-inputs: Likewise.
15985 * benchtests/tanh-inputs: Likewise.
15986 * scripts/bench.pl: Add support for new directives.
15987
9ec1b13d
AM
159882013-10-07 Alan Modra <amodra@gmail.com>
15989
15990 * README: Fix careless merge.
15991
8b7d57cd
AM
159922013-10-05 Alan Modra <amodra@gmail.com>
15993
15994 * NEWS: Mention powerpc64le support and bugs fixed.
15995 * README: Both big-endian and little-endian powerpc64 supported.
15996
7b7bab13
ST
159972013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
15998
57f41c40
AS
15999 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
16000 (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
7b7bab13
ST
16001 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
16002 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
16003
d39baad1
RA
160042013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
16005
16006 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
16007 match prototype.
16008
cd78f7e7
JM
160092013-10-04 Joseph Myers <joseph@codesourcery.com>
16010
29d73d86
JM
16011 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
16012 Move -mhard-float appending from
16013 ports/sysdeps/powerpc/powerpc32/Makefile.
16014 [$(with-fp) = yes] (ASFLAGS): Likewise.
16015 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
16016 * sysdeps/powerpc/nofpu: Move directory from
16017 ports/sysdeps/powerpc/nofpu.
16018 * sysdeps/powerpc/soft-fp: Move directory from
16019 ports/sysdeps/powerpc/soft-fp.
16020 * sysdeps/powerpc/powerpc32/405: Move directory from
16021 ports/sysdeps/powerpc/powerpc32/405.
16022 * sysdeps/powerpc/powerpc32/440: Move directory from
16023 ports/sysdeps/powerpc/powerpc32/440.
16024 * sysdeps/powerpc/powerpc32/464: Move directory from
16025 ports/sysdeps/powerpc/powerpc32/464.
16026 * sysdeps/powerpc/powerpc32/476: Move directory from
16027 ports/sysdeps/powerpc/powerpc32/476.
16028 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
16029 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
16030 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
16031 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
16032 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
16033 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
16034 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
16035 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
16036 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
16037 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
16038 * README: Update for powerpc-*-linux-gnu software floating point
16039 support in libc.
16040
e246b347
JM
16041 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
16042 case to powerpc/powerpc32*.
16043 * sysdeps/unix/sysv/linux/configure: Regenerated.
16044
89c2003e
JM
16045 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
16046 (_FPU_MASK_OM): Define as 0x04.
16047 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
16048 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
16049 0x00c10080.
16050 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
16051 0x0000003c.
16052 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
16053
cd78f7e7
JM
16054 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
16055 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
16056 getcontext_e500.
16057 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
16058 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
16059 setcontext_e500.
16060 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
16061 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
16062 and setcontext_e500.
16063
c755294d
CL
160642013-10-04 Chris Leonard <cjl@sugarlabs,.org>
16065
16066 * locale/iso-3166.def: Update iso-1366.def and related occurrences
16067
e16d221c
SP
160682013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
16069
16070 * manual/threads.texi (Default Thread Attributes): Fix typo.
16071
215c7d43
WN
160722013-10-04 Will Newton <will.newton@linaro.org>
16073
16074 * malloc/Makefile: Add tst-memalign.
16075 * malloc/tst-memalign.c: New file.
16076
27d0461b
WN
16077 * malloc/tst-posix_memalign.c: Add comments.
16078 (do_test): Add comments and call free on all potentially
16079 allocated pointers. Add space after cast.
16080
1bc92709
WN
16081 * malloc/tst-pvalloc.c: Add comments.
16082 (do_test): Add comments and call free on all potentially
16083 allocated pointers. Remove duplicate check for NULL pointer.
16084 Add space after cast.
16085
66a9be9d
WN
16086 * malloc/tst-valloc.c: Add comments.
16087 (do_test): Add comments and call free on all potentially
16088 allocated pointers. Remove duplicate check for NULL pointer.
16089 Add space after cast.
16090
4cb81307
AM
160912013-10-04 Alan Modra <amodra@gmail.com>
16092
16093 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
16094 Use stdint types in rather than __attribute__((mode())).
16095 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
16096
f8e3e9f3
AM
160972013-10-04 Alan Modra <amodra@gmail.com>
16098
16099 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
16100 Correct handling of unaligned relocs for little-endian.
16101 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
16102
8f9ebb08
AM
161032013-10-04 Alan Modra <amodra@gmail.com>
16104
16105 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
16106 * configure: Regenerate.
16107 * nptl/shlib-versions: Powerpc*le starts at 2.18.
16108 * shlib-versions: Likewise.
16109
0edf96c2
AM
161102013-10-04 Alan Modra <amodra@gmail.com>
16111
16112 * string/tester.c (test_memrchr): Increment reported test cycle.
16113
e0f7a380
AM
161142013-10-04 Alan Modra <amodra@gmail.com>
16115
16116 * string/test-memcpy.c (do_one_test): When reporting errors, print
16117 string address and don't overrun end of string.
16118
466b0393
AM
161192013-10-04 Alan Modra <amodra@gmail.com>
16120
16121 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
16122 insrdi. Make better use of reg selection to speed exit slightly.
16123 Schedule entry path a little better. Remove useless "are we done"
16124 checks on entry to main loop. Handle wrapping around zero address.
16125 Correct main loop count. Handle single left-over word from main
16126 loop inline rather than by using loop_small. Remove extra word
16127 case in loop_small caused by wrong loop count. Add little-endian
16128 support.
16129 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
16130 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
16131 cache hint.
16132 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
16133 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
16134 support. Avoid rlwimi.
16135 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
16136
3be87c77
AM
161372013-10-04 Alan Modra <amodra@gmail.com>
16138
16139 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
e3764517 16140 insrdi. Formatting.
3be87c77
AM
16141 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
16142 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
16143 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
16144 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
16145 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
16146 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
16147
759cfef3
AM
161482013-10-04 Alan Modra <amodra@gmail.com>
16149
16150 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
16151 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
16152 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
16153 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
16154 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
16155 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
16156 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
16157 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
16158 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
16159 use of regs. Use power7 mtocrf. Tidy function tails.
16160
fe6e95d7
AM
161612013-10-04 Alan Modra <amodra@gmail.com>
16162
16163 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
16164 Formatting. Consistently use rXXX register defines or rN defines.
16165 Use early exit labels that avoid restoring unused non-volatile regs.
16166 Make cr field use more consistent with rWORDn compares. Rename
16167 regs used as shift registers for unaligned loop, using rN defines
16168 for short lifetime/multiple use regs.
16169 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
16170 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
16171 addi 1,1,64 to pop stack frame. Simplify return value code.
16172 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
16173
664318c3
AM
161742013-10-04 Alan Modra <amodra@gmail.com>
16175
16176 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
16177 support. Correct typos, formatting. Optimize tail. Use insrdi
16178 rather than rlwimi.
16179 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
16180 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
16181 little-endian support. Correct typos.
16182 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
16183 rather than rlwimi.
16184 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
16185 in loop and entry code to keep "and." results.
16186 (strchr): Add little-endian support. Comment. Move cntlzd
16187 earlier in tail.
16188 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
16189
43b84013
AM
161902013-10-04 Alan Modra <amodra@gmail.com>
16191
16192 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
16193 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
16194 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
16195 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
16196
8a7413f9
AM
161972013-10-04 Alan Modra <amodra@gmail.com>
16198
16199 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
16200 (rTMP): Define as r11.
16201 (strcmp): Add little-endian support. Optimise tail.
16202 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
16203 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
16204 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
16205 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
16206 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
16207 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
16208 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
16209
33ee81de
AM
162102013-10-04 Alan Modra <amodra@gmail.com>
16211
16212 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
16213 little-endian support. Remove unnecessary "are we done" tests.
16214 Handle "s" wrapping around zero and extremely large "size".
16215 Correct main loop count. Handle single left-over word from main
16216 loop inline rather than by using small_loop. Correct comments.
16217 Delete "zero" tail, use "end_max" instead.
16218 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
16219
db9b4570
AM
162202013-10-04 Alan Modra <amodra@gmail.com>
16221
16222 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
16223 support. Don't branch over align.
16224 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
16225 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
16226 support. Rearrange tmp reg use to suit. Comment.
16227 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
16228
f7c399cf
AM
162292013-10-04 Alan Modra <amodra@gmail.com>
16230
16231 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
16232
0b2c2ace
AM
162332013-10-04 Alan Modra <amodra@gmail.com>
16234
16235 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
16236 conditional form of branch and link when obtaining pc.
16237 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
16238
02f04a6c
AM
162392013-10-04 Alan Modra <amodra@gmail.com>
16240
16241 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
16242 HIWORD/LOWORD.
16243 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
16244 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
16245
9b874b2f
AM
162462013-10-04 Alan Modra <amodra@gmail.com>
16247
16248 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
16249 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
16250 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
16251 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
16252 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
16253 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
16254 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
16255 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
16256 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
16257 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
16258
be1e5d31
AB
162592013-10-04 Anton Blanchard <anton@au1.ibm.com>
16260 Alistair Popple <alistair@ozlabs.au.ibm.com>
16261 Alan Modra <amodra@gmail.com>
16262
16263 [BZ #15723]
16264 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
16265 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
16266 _dl_hwcap access for little-endian.
16267 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
16268 destroy vmx regs when saving unaligned.
16269 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
16270 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
16271 destroy vmx regs when saving unaligned.
16272
fef13a78
AM
162732013-10-04 Alan Modra <amodra@gmail.com>
16274
16275 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
16276 Don't use a union to pack hi/low value.
16277
76a66d51
AB
162782013-10-04 Anton Blanchard <anton@au1.ibm.com>
16279
16280 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
16281 for little-endian.
16282 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
16283 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
16284 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
16285 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
16286 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
16287
6a31fe7f
AM
162882013-10-04 Alan Modra <amodra@gmail.com>
16289
16290 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
16291 constants to usual value for .cst8 section, and remove redundant
16292 high address load.
16293 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
16294 constant for 0x1p52. Load little-endian words of double from
16295 correct stack offsets.
16296
7b88401f
AM
162972013-10-04 Alan Modra <amodra@gmail.com>
16298
16299 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
16300 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
16301 words of double from correct stack offsets.
16302 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
16303 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
16304 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
16305 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
16306 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
16307 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
16308 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
16309 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
16310 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
16311 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
16312 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
16313 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
16314 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
16315 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
16316 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
16317 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
16318 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
16319
9c008155
AM
163202013-10-04 Alan Modra <amodra@gmail.com>
16321
16322 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
16323 64-bit int/double union.
16324 (_FPU_SETCW): Likewise.
16325 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
16326 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
16327
da13146d
AM
163282013-10-04 Alan Modra <amodra@gmail.com>
16329
16330 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
16331 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
16332
603e8410
AM
163332013-10-04 Alan Modra <amodra@gmail.com>
16334
16335 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
16336 use vector int constants.
16337 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
16338
4a28b3ca
AB
163392013-10-04 Anton Blanchard <anton@au1.ibm.com>
16340
16341 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
16342 array with long long.
16343 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
16344 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
16345 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
16346 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
16347 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
16348 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
16349 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
16350 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
16351 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
16352 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
16353 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
16354 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
16355 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
16356
2ca85d2b
AB
163572013-10-04 Anton Blanchard <anton@au1.ibm.com>
16358
16359 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
16360 (__signbit): Likewise. Correct for little-endian.
16361 (__signbitl): Call __signbit.
16362 (lrint): Correct for little-endian.
16363 (lrintf): Call lrint.
16364
62a728ae
AM
163652013-10-04 Alan Modra <amodra@gmail.com>
16366
16367 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
16368 union 32-bit int array member with 64-bit int array.
16369 (t515, tm256): Double rather than long double.
16370 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
16371
32c301df
AM
163722013-10-04 Alan Modra <amodra@gmail.com>
16373
16374 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
16375 Delete.
16376 (IEEE854_LONG_DOUBLE_BIAS): Delete.
16377 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
16378 version of math_ldbl.h.
16379
650ef4bd
AM
163802013-10-04 Alan Modra <amodra@gmail.com>
16381
16382 [BZ #15734], [BZ #15735]
16383 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
16384 all uses of ieee875 long double macros and unions. Simplify test
16385 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
16386 ldbl_extract_mantissa value for ix,iy exponents. Properly
16387 normalize after ldbl_extract_mantissa, and don't add hidden bit
16388 already handled. Don't treat low word of ieee854 mantissa like
16389 low word of IBM long double and mask off bit when testing for
16390 zero.
16391 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
16392 all uses of ieee875 long double macros and unions. Simplify tests
16393 for 0.0L and inf. Correct double adjustment of k. Delete dead code
16394 adjusting ha,hb. Simplify code setting kld. Delete two600 and
16395 two1022, instead use their values. Recognise that tests for large
16396 "a" and small "b" are mutually exclusive. Rename vars. Comment.
16397 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
16398 Rewrite all uses of ieee875 long double macros and unions. Simplify
16399 test for 0.0L and nan. Correct negation.
16400 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
16401 ieee875 long double macros and unions. Correct output for large
16402 magnitude x. Correct absolute value calculation.
16403 (__erfcl): Likewise.
16404 * math/libm-test.inc: Add tests for errors discovered in IBM long
16405 double versions of fmodl, remainderl, erfl and erfcl.
16406
765714ca
AM
164072013-10-04 Alan Modra <amodra@gmail.com>
16408
16409 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
16410 all uses of ieee854 long double macros and unions. Simplify tests
16411 for long doubles that are fully specified by the high double.
16412 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
16413 Likewise.
16414 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
16415 Remove dead code too.
16416 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
16417 (__ieee754_ynl): Likewise.
16418 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
16419 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
16420 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
16421 Remove dead code too.
16422 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
16423 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
16424 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
16425 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
16426 Simplify.
16427 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
16428 Simplify.
16429 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
16430 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
16431 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
16432 Comment on variable precision.
16433 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
16434 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
16435 Likewise.
16436 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
16437 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
16438 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
16439 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
16440 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
16441
4ebd120c
AM
164422013-10-04 Alan Modra <amodra@gmail.com>
16443
16444 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
16445 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
16446 all uses of ieee854 long double macros and unions.
16447 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
16448 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
16449 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
16450 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
16451 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
16452 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
16453 Likewise.
16454 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
16455 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
16456 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
16457 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
16458 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
16459 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
16460 Simplify sign and nan test too.
16461 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
16462 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
16463 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
16464 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
16465 Likewise.
16466 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
16467 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
16468 Likewise.
16469 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
16470 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
16471 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
16472 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
16473 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
16474 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
16475
1b6adf88
AM
164762013-10-04 Alan Modra <amodra@gmail.com>
16477
16478 * stdio-common/printf_size.c (__printf_size): Don't use
16479 union ieee854_long_double in fpnum union.
16480 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
16481 signbit macro to retrieve sign from long double.
16482 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
16483 retrieve sign from long double.
16484 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
16485 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
16486 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
16487 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
16488 * math/test-misc.c (main): Don't use union ieee854_long_double.
16489
4cf69995
AM
164902013-10-04 Alan Modra <amodra@gmail.com>
16491
16492 [BZ #15680]
16493 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
16494 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
16495 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
16496 calculation. Remove unnecessary test for denormal exponent.
16497 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
16498 Correct handling of denormals. Avoid undefined shift behaviour.
16499 Correct normalisation of low mantissa when low double is denormal.
16500 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
16501 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
16502 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
16503 Correct normalisation of low mantissa. Test for overflow of high
16504 mantissa and normalise.
16505 (ldbl_nearbyint): Use more readable constant for two52.
16506 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
16507 (__mpn_construct_long_double): Fix test for overflow of high
16508 mantissa and correct normalisation. Avoid undefined shift.
16509
9605ca6c
AM
165102013-10-04 Alan Modra <amodra@gmail.com>
16511
16512 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
16513 (union ibm_extended_long_double): Define as an array of ieee754_double.
16514 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
16515 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
16516 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
16517 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
16518 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
16519 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
16520 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
16521 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
16522 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
16523 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
16524 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
16525
975569d0
JM
165262013-10-03 Joseph Myers <joseph@codesourcery.com>
16527
d3d23756
JM
16528 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
16529 page size instead of calling getpagesize.
16530
975569d0
JM
16531 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
16532 (LOCFILE_ALIGN_MASK): Likewise.
16533 (LOCFILE_ALIGN_UP): Likewise.
16534 (LOCFILE_ALIGNED_P): Likewise.
16535 * locale/programs/ld-collate.c (collate_output): Use the new
16536 macros instead of __alignof__ (int32_t).
16537 * locale/weight.h (findidx): Likewise.
16538
b1fe1f2b
OB
165392013-10-03 Ondřej Bílka <neleai@seznam.cz>
16540
16541 [BZ #431]
16542 * manual/string.texi: Fix strncat and wcsncat.
16543
5f855e35
BM
165442013-10-03 Brooks Moses <bmoses@google.com>
16545
16546 [BZ #15915]
16547 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
16548 * Makerules: ...here, and adjust associated comments.
16549
3cef6009
WN
165502013-10-02 Will Newton <will.newton@linaro.org>
16551
16552 * malloc/Makefile: Add tst-pvalloc.
16553 * malloc/tst-pvalloc.c: New file.
16554
7815420b
WN
165552013-10-02 Will Newton <will.newton@linaro.org>
16556
16557 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
16558 improve test coverage.
16559
4868b204
WN
165602013-10-02 Will Newton <will.newton@linaro.org>
16561
16562 * malloc/Makefile: Add tst-posix_memalign.
16563 * malloc/tst-posix_memalign.c: New file.
16564
29c793b3
EB
165652013-10-01 Eric Blake <eblake@redhat.com>
16566
16567 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
16568 Use __THROWNL rather than __THROW on static functions.
16569
fd967522
PM
165702013-09-30 Petr Machata <pmachata@redhat.com>
16571
16572 * elf/elf.h (R_AARCH64_ABS16): New macro.
16573 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
16574 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
16575 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
16576 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
16577 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
16578 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
16579 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
16580 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
16581 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
16582 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
16583 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
16584 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
16585 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
16586 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
16587 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
16588 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
16589 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
16590 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
16591 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
16592 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
16593 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
16594 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
16595 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
16596 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
16597 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
16598 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
16599 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
16600 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
16601 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
16602 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
16603 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
16604 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
16605 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
16606 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
16607 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
16608 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
16609 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
16610 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
16611 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
16612 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
16613 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
16614 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
16615 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
16616 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
16617 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
16618 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
16619 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
16620 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
16621 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
16622 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
16623 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
16624 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
16625 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
16626 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
16627 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
16628 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
16629 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
16630 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
16631 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
16632 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
16633 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
16634 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
16635 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
16636 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
16637 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
16638 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
16639 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
16640 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
16641 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
16642 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
16643 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
16644 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
16645 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
16646 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
16647 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
16648 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
16649 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
16650 (R_AARCH64_TLSDESC_LDR): Likewise.
16651 (R_AARCH64_TLSDESC_ADD): Likewise.
16652 (R_AARCH64_TLSDESC_CALL): Likewise.
16653
b2179107
AS
166542013-09-30 Andreas Schwab <schwab@suse.de>
16655
16656 [BZ #15048]
16657 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
16658 the nss database lookup.
16659 * nscd/initgrcache.c (addinitgroupsX): Likewise.
16660 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
16661
47f28d0a
MF
166622013-09-28 Mike Frysinger <vapier@gentoo.org>
16663
16664 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
16665
166662013-09-28 P. J. McDermott <pj@pehjota.net>
0a834dde
PM
16667
16668 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
16669 ${Bash-specific parameter/pattern/string} parameter expansion.
16670 * sysdeps/unix/make-syscalls.sh: Likewise.
16671
f4518a17
KK
166722013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
16673
16674 * sysdeps/sh/stackguard-macros.h: New file.
16675
dc1a95c7
OB
166762013-09-26 Ondřej Bílka <neleai@seznam.cz>
16677
16678 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
16679 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
16680 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
16681 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
16682 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
16683 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
16684
5ebbff8f
AZ
166852013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16686
16687 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
16688 Fix thread ID register.
16689
4fd2cf9f
JM
166902013-09-25 Joseph Myers <joseph@codesourcery.com>
16691
16692 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
16693 [POSIX || UNIX98]: Require rather than permitting all symbols from
16694 <time.h>.
16695 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
16696 element of struct sched_param.
16697 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
16698 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
16699 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
16700 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
16701 constant.
16702
12c22bc4
OL
167032013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
16704
16705 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
16706 argument calculation.
16707
a03d8ea7
JM
167082013-09-24 Joseph Myers <joseph@codesourcery.com>
16709
16710 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
16711 Expect macro.
16712 [POSIX] (pthread_attr_t): Do not require type.
16713 [POSIX] (pthread_cond_t): Likewise.
16714 [POSIX] (pthread_condattr_t): Likewise.
16715 [POSIX] (pthread_key_t): Likewise.
16716 [POSIX] (pthread_mutex_t): Likewise.
16717 [POSIX] (pthread_mutexattr_t): Likewise.
16718 [POSIX] (pthread_once_t): Likewise.
16719 [POSIX] (pthread_t): Likewise.
16720 [POSIX-based standards] (pthread_atfork): Expect function.
16721
6055173a
JM
167222013-09-24 Joseph Myers <joseph@codesourcery.com>
16723 Richard Sandiford <richard@codesourcery.com>
16724
16725 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
16726 (swap_endianness_p): New extern variable.
16727 (set_big_endian): New inline function.
16728 (maybe_swap_uint32): Likewise.
16729 (maybe_swap_uint32_array): Likewise.
16730 (maybe_swap_uint32_obstack): Likewise.
16731 * locale/programs/locfile.c: Include <stdbool.h>.
16732 (swap_endianness_p): New variable.
16733 (add_locale_uint32): Call maybe_swap_uint32.
16734 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
16735 (write_locale_data): Call maybe_swap_uint32_array.
16736 * locale/programs/ld-collate.c (obstack_int32_grow): Call
16737 maybe_swap_uint32.
16738 (obstack_int32_grow_fast): Likewise.
16739 (output_weightwc): Call maybe_swap_uint32_obstack.
16740 (collate_output): Likewise.
16741 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
16742 (OPT_LITTLE_ENDIAN): Likewise.
16743 (options): Add --little-endian and --big-endian options.
16744 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
16745 * locale/programs/locarchive.c: Include "locfile.h".
16746 (GET): New macro.
16747 (SET): Likewise.
16748 (INC): Likewise.
16749 (create_archive): Use the new macros to access fields of
16750 structures directly mapped from or written to locale archives.
16751 (oldlocrecentcmp): Likewise.
16752 (enlarge_archive): Likewise.
16753 (insert_name): Likewise.
16754 (add_alias): Likewise.
16755 (add_locale): Likewise.
16756 (delete_locales_from_archive): Likewise.
16757 (show_archive_content): Likewise.
16758 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
16759 locale data.
16760
39bf0bb4
RM
167612013-09-24 Roland McGrath <roland@hack.frob.com>
16762
16763 * manual/freemanuals.texi: Updated from (newly) canonical copy at
16764 http://www.gnu.org/doc/freemanuals.texi.
16765 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
16766
f02eed10
WN
167672013-09-24 Will Newton <will.newton@linaro.org>
16768
16769 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
16770 macro.
16771
a3a6c312
JM
167722013-09-23 Joseph Myers <joseph@codesourcery.com>
16773
16774 * locale/hashval.h (compute_hashval): Interpret bytes of key as
16775 unsigned char.
16776
107375ac
MR
167772013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
16778
16779 * manual/threads.texi (POSIX Threads): Fix a typo.
16780
141f3a77
SP
167812013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
16782
303e567a
SP
16783 [BZ #14547]
16784 * string/tst-strcoll-overflow.c: New test case.
16785 * string/Makefile (xtests): Add tst-strcoll-overflow.
16786 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
16787 cache if string sizes may cause integer overflow.
16788
141f3a77
SP
16789 [BZ #14547]
16790 * string/strcoll_l.c (coll_seq): New members rule, idx,
16791 save_idx and back_us.
16792 (get_next_seq_nocache): New function.
16793 (do_compare_nocache): New function.
16794 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
16795 when malloc fails.
16796
c61b4d41
CD
167972013-09-23 Carlos O'Donell <carlos@redhat.com>
16798
0b1f8e35
CD
16799 [BZ #15754]
16800 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
16801 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
16802 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
16803
c61b4d41
CD
16804 [BZ #15754]
16805 * elf/Makefile (tests): Add tst-ptrguard1.
16806 (tests-static): Add tst-ptrguard1-static.
16807 (tst-ptrguard1-ARGS): Define.
16808 (tst-ptrguard1-static-ARGS): Define.
16809 * elf/tst-ptrguard1.c: New file.
16810 * elf/tst-ptrguard1-static.c: New file.
16811 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
16812 * sysdeps/i386/stackguard-macros.h: Likewise.
16813 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
16814 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
16815 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
16816 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
16817 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
16818 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
16819
168202013-09-23 Hector Marco <hecmargi@upv.es>
16821 Ismael Ripoll <iripoll@disca.upv.es>
16822 Carlos O'Donell <carlos@redhat.com>
16823
16824 [BZ #15754]
16825 * sysdeps/generic/stackguard-macros.h: Define
16826 __pointer_chk_guard_local and POINTER_CHK_GUARD.
16827 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
16828 Define __pointer_chk_guard_local.
16829 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
16830 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
16831
f5f4e7b4
VV
168322013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
16833
16834 [BZ #15859]
16835 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
16836
5bb43a43
AS
168372013-09-20 Andreas Schwab <schwab@linux-m68k.org>
16838
16839 * include/string.h (__ffs): Declare as hidden.
16840 * string/ffs.c (__ffs): Define as hidden.
16841 * sysdeps/i386/ffs.c (__ffs): Likewise.
16842 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
16843 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
16844 * sysdeps/s390/ffs.c (__ffs): Likewise.
16845 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
16846
3ea5be54
AO
168472013-09-20 Alexandre Oliva <aoliva@redhat.com>
16848
ffb89e53
AO
16849 * NEWS: Mention malloc probes.
16850
322dea08
AO
16851 * malloc/arena.c (new_heap): New memory_heap_new probe.
16852 (grow_heap): New memory_heap_more probe.
16853 (shrink_heap): New memory_heap_less probe.
16854 (heap_trim): New memory_heap_free probe.
16855 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
16856 (systrim): New memory_sbrk_less probe.
16857 * manual/probes.texi: Document them.
16858
655673f3
AO
16859 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
16860 * manual/probes.texi: Document it.
16861
35fed6f1
AO
16862 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
16863 (__libc_realloc): Add memory_realloc_retry probe.
16864 (__libc_memalign): Add memory_memalign_retry probe.
16865 (__libc_valloc): Add memory_valloc_retry probe.
16866 (__libc_pvalloc): Add memory_pvalloc_retry probe.
16867 (__libc_calloc): Add memory_calloc_retry probe.
16868 * manual/probes.texi: Document them.
16869
6999d38c
AO
16870 * malloc/arena.c (get_free_list): Add probe
16871 memory_arena_reuse_free_list.
16872 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
16873 and memory_arena_reuse.
16874 (arena_get2) [!PER_THREAD]: Likewise.
16875 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
16876 memory_arena_reuse_realloc.
16877 * manual/probes.texi: Document them.
16878
0653427f
AO
16879 * malloc/malloc.c (__libc_free): Add
16880 memory_mallopt_free_dyn_thresholds probe.
16881 (__libc_mallopt): Add multiple memory_mallopt probes.
16882 * manual/probes.texi: Document them.
16883
3ea5be54
AO
16884 * malloc/malloc.c: Include stap-probe.h.
16885 (__libc_mallopt): Add memory_mallopt probe.
16886 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
16887 * manual/probes.texi: New.
16888 * manual/Makefile (chapters): Add probes.
16889 * manual/threads.texi: Set next node.
16890
e35696c3 168912013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
3e181dda 16892
e35696c3
CL
16893 [BZ #15963, #13985]
16894 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
16895 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
16896 Add `Chinese' to `nan' entry name.
16897
4aafb73c
SP
168982013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
16899
16900 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
16901 (POLYNOMIAL): Likewise.
16902 (TAYLOR_SINCOS): Likewise.
16903 (TAYLOR_SLOW): Likewise.
16904 (__sin): Use TAYLOR_SINCOS.
16905 (__cos): Likewise.
16906 (slow): Use TAYLOR_SLOW.
16907 (sloww): Likewise.
16908 (bsloww): Likewise.
16909 (csloww): Likewise.
16910
d84f25c7
LD
169112013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
16912
16913 * stdlib/strtod_l.c: Fix buffer overrun.
16914
5eea0404
SP
169152013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
16916
7849ff93
SP
16917 * benchtests/Makefile (bench): Add sincos.
16918 * benchtests/bench-sincos.c: New file.
16919
cfa3c886
SP
16920 * math/libm-test.inc (cos_test_data): New test inputs.
16921 (sin_test_data): Likewise.
16922
b348e1e3
SP
16923 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
16924 macro.
16925 (__sin): Use it.
16926 (__cos): Likewise.
16927 (slow1): Likewise.
16928 (slow2): Likewise.
16929 (sloww1): Likewise.
16930 (sloww2): Likewise.
16931 (bsloww1): Likewise.
16932 (bsloww2): Likewise.
16933 (cslow2): Likewise.
16934 (csloww1): Likewise.
16935 (csloww2): Likewise.
16936
6cce25f8
SP
16937 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
16938 function.
16939 (__sin): Use it.
16940 (__cos): Likewise.
16941
5eea0404
SP
16942 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
16943 gotos.
16944 (__cos): Likewise.
16945
9c21573c
MR
169462013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
16947
16948 * config.h.in (HAVE_MIPS_NAN2008): New macro.
16949 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
16950 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
16951 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
16952 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
16953 * elf/cache.c (print_entry): Handle the new cache flags.
16954
24d22e65
JM
169552013-09-18 Joseph Myers <joseph@codesourcery.com>
16956 Aldy Hernandez <aldyh@redhat.com>
16957
16958 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
16959 Change condition to [_SOFT_FLOAT].
16960 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
16961 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
16962 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
16963 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
16964 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
16965 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
16966 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
16967 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
16968 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
16969 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
16970 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
16971 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
16972 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
16973 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
16974 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
16975 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
16976 declaration.
16977
d13ef066
JM
169782013-09-18 Joseph Myers <joseph@codesourcery.com>
16979
2e071de0
JM
16980 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
16981 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
16982 (__longjmp): Use LOAD_GP to load saved GPRs.
16983 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
16984 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
16985 (__sigsetjmp): Use SAVE_GP to save GPRs.
16986
d13ef066
JM
16987 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
16988 Do not append -msoft-float.
16989 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
16990
97a0650b
SP
169912013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
16992
16993 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
16994
11ca09e9
JM
169952013-09-17 Joseph Myers <joseph@codesourcery.com>
16996
16997 [BZ #15966]
16998 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
16999 (_FPU_GETCW): Use initial "__" on variable and field names but not
17000 on macro parameter name.
17001 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
17002 parentheses around reference to macro parameter.
17003
08ffcf34
RS
170042013-09-13 Richard Sandiford <richard@codesourcery.com>
17005
17006 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
17007 prototype.
17008 (ctype_startup): Use uint32_t in cast and sizeof for
17009 ctype->charnames.
17010
ae7080d3
JL
170112013-09-11 Jia Liu <proljc@gmail.com>
17012
17013 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
17014 __daddr_t_defined.
17015 [__FreeBSD__]: Likewise.
17016
5905e7b3
OB
170172013-09-11 Ondřej Bílka <neleai@seznam.cz>
17018
17019 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
17020 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
17021 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
17022 (strchr): Remove __strchr_sse42 ifunc selection.
17023 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
17024 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
17025
b987c776
WN
170262013-09-11 Will Newton <will.newton@linaro.org>
17027
17028 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
17029 parameter to RES. Remove hardcoded 1000 value.
17030 * benchtests/bench-skeleton.c (main): Pass RES parameter
17031 to TIMING_INIT and multiply result by 1000.
17032
ddf985af
AZ
170332013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17034
17035 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17036
ffdd3181
AS
170372013-09-11 Andreas Schwab <schwab@suse.de>
17038
17039 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
17040 if not defined.
17041 (O_TMPFILE) [__USE_GNU]: Define.
17042 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
17043 Define.
17044
b73ed247
WN
170452013-09-11 Will Newton <will.newton@linaro.org>
17046
17047 [BZ #15857]
17048 * malloc/malloc.c (__libc_memalign): Check the value of bytes
17049 does not overflow.
17050
55e17aad
WN
170512013-09-11 Will Newton <will.newton@linaro.org>
17052
17053 [BZ #15856]
17054 * malloc/malloc.c (__libc_valloc): Check the value of bytes
17055 does not overflow.
17056
1159a193
WN
170572013-09-11 Will Newton <will.newton@linaro.org>
17058
17059 [BZ #15855]
17060 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
17061 does not overflow.
17062
5905e7b3 170632013-09-10 Ondřej Bílka <neleai@seznam.cz>
c7cabd13
OB
17064
17065 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
17066 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
17067 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
17068 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
17069 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
17070
cdfc721b
AM
170712013-09-10 Allan McRae <allan@archlinux.org>
17072
aa04af00
AM
17073 [BZ #15748]
17074 * manual/arith.texi (Parsing of Floats): Clarify
17075 cross-reference.
17076
cdfc721b
AM
17077 [BZ #15849]
17078 * manual/install.texi (Running make install): Mention
17079 --enable-pt-chown.
17080 * INSTALL: Regenerated.
17081
95e7cf29
MR
170822013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
17083
17084 * csu/init-first.c (_init): Remove the !SHARED condition around
17085 FPU control word initialization.
17086 * elf/dl-support.c (_dl_fpu_control): New variable.
17087 (_dl_aux_init) <AT_FPUCW>: Initialize it.
17088 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
17089 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
17090 * math/test-fpucw-static.c: New file.
17091 * math/test-fpucw-ieee.c: New file.
17092 * math/test-fpucw-ieee-static.c: New file.
17093 * math/Makefile (tests): Add `test-fpucw-ieee' and
17094 `$(tests-static)'.
17095 (tests-static): New variable.
17096 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
17097 dependency to...
17098 [($(build-shared),yes)]
17099 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
17100 ... this.
17101 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
17102 New dependency.
17103
83e43bf0
AM
171042013-09-09 Allan McRae <allan@archlinux.org>
17105
a9f5ce09
AM
17106 [BZ #15939]
17107 * manual/string.texi (Collation Functions): Fix typo in
17108 strcoll example.
17109 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
17110
34829bc2
AM
17111 [BZ #15893]
17112 * stdlib/isomac.c (get_null_defines): Fix memory leak.
17113
3932737d
AM
17114 [BZ #15892]
17115 * libio/memstream.c (open_memstream): Fix memory leak.
17116 * libio/wmemstream.c (open_wmemstream): Likewise.
17117
83e43bf0
AM
17118 [BZ #15895]
17119 * nscd/netgroupcache.c: Fix nesting of ifdefs.
17120
0c66b8e9
WN
171212013-09-09 Will Newton <will.newton@linaro.org>
17122
17123 * malloc/Makefile: Add tst-realloc to tests.
17124 * malloc/tst-realloc.c: New file.
17125
f6b00fd1
AM
171262013-09-09 Allan McRae <allan@archlinux.org>
17127
17128 [BZ #15844]
17129 * COPYING: Update from GNU website to fix FSF address.
17130 * COPYING.LIB: Likewise.
17131
eec55e16
DM
171322013-09-06 David S. Miller <davem@davemloft.net>
17133
17134 * po/zh_TW.po: Update Chinese (traditional) translation from
17135 translation project.
17136
1ecbb381
RS
171372013-09-06 Richard Sandiford <richard@codesourcery.com>
17138 Joseph Myers <joseph@codesourcery.com>
17139
17140 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
17141 "localeinfo.h".
17142 (obstack_chunk_alloc): New macro.
17143 (obstack_chunk_free): Likewise.
17144 (record_offset): New function.
17145 (init_locale_data): Likewise.
17146 (align_locale_data): Likewise.
17147 (add_locale_empty): Likewise.
17148 (add_locale_raw_data): Likewise.
17149 (add_locale_raw_obstack): Likewise.
17150 (add_locale_string): Likewise.
17151 (add_locale_wstring): Likewise.
17152 (add_locale_uint32): Likewise.
17153 (add_locale_uint32_array): Likewise.
17154 (add_locale_char): Likewise.
17155 (start_locale_structure): Likewise.
17156 (end_locale_structure): Likewise.
17157 (start_locale_prelude): Likewise.
17158 (end_locale_prelude): Likewise.
17159 (write_locale_data): Take locale_file structure rather than an
17160 iovec.
17161 * locale/programs/locfile.h: Include "obstack.h".
17162 (struct locale_file): Change to store locale file contents instead
17163 of header.
17164 (init_locale_data): New prototype.
17165 (align_locale_data): Likewise.
17166 (add_locale_empty): Likewise.
17167 (add_locale_raw_data): Likewise.
17168 (add_locale_raw_obstack): Likewise.
17169 (add_locale_string): Likewise.
17170 (add_locale_wstring): Likewise.
17171 (add_locale_uint32): Likewise.
17172 (add_locale_uint32_array): Likewise.
17173 (add_locale_char): Likewise.
17174 (start_locale_structure): Likewise.
17175 (end_locale_structure): Likewise.
17176 (start_locale_prelude): Likewise.
17177 (end_locale_prelude): Likewise.
17178 (write_locale_data): Update prototype.
17179 * locale/programs/3level.h (struct TABLE): Remove result field.
17180 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
17181 Use new locale_file interface.
17182 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
17183 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
17184 * locale/programs/ld-address.c (address_output): Use new
17185 locale_file interface.
17186 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
17187 NO_ADD_LOCALE.
17188 (collate_finish): Don't call collseq_table_finalize.
17189 (collate_output): Use new locale_file interface.
17190 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
17191 in file.
17192 (NO_FINALIZE): Change to NO_ADD_LOCALE.
17193 (TABLE): Move defines earlier in file.
17194 (ELEMENT): Likewise.
17195 (DEFAULT): Likewise.
17196 (wctrans_table_add): Move macro and inline function earlier in
17197 file.
17198 (struct wctype_table): Move type earlier in file.
17199 (add_locale_wctype_table): New static prototype.
17200 (struct locale_ctype_t): Use logical types instead of struct iovec
17201 pointers for members.
17202 (ctype_output): Use new locale_file interface.
17203 (wctype_table_finalize): Change to add_locale_wctype_table. Use
17204 new locale_file interface.
17205 (allocate_arrays): Update for use of new locale_file interface.
17206 * locale/programs/ld-identification.c (identification_output): Use
17207 new locale_file interface.
17208 * locale/programs/ld-measurement.c (measurement_output): Likewise.
17209 * locale/programs/ld-messages.c (messages_output): Likewise.
17210 * locale/programs/ld-monetary.c (monetary_output): Likewise.
17211 * locale/programs/ld-name.c (name_output): Likewise.
17212 * locale/programs/ld-numeric.c (numeric_output): Likewise.
17213 * locale/programs/ld-paper.c (paper_output): Likewise.
17214 * locale/programs/ld-telephone.c (telephone_output): Likewise.
17215 * locale/programs/ld-time.c (time_output): Likewise.
17216
e029e2e5
AZ
172172013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17218
17219 * benchtests/Makefile: Add memrchr benchmark.
17220 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
17221 benchmark as memrchr.
17222 * benchtests/bench-memrchr-ifunc.c: New file.
17223 * benchtests/bench-memrchr.c: New file.
17224
bbf6e8e4
WN
172252013-09-06 Will Newton <will.newton@linaro.org>
17226
17227 * benchtests/Makefile (string-bench): Add memcpy.
17228
6c82a2f8
CD
172292013-09-05 Carlos O'Donell <carlos@redhat.com>
17230 Cong Wang <amwang@redhat.com>
17231
e732c5f0 17232 [BZ #15850]
6c82a2f8
CD
17233 * sysdeps/unix/sysv/linux/bits/in.h
17234 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
17235 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
17236 before __USE_KERNEL_IPV6_DEFS uses.
17237 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
17238 IPPROTO_BEETPH.
17239 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
17240 sockaddr_in6, or ipv6_mreq.
17241
5430fc65
AZ
172422013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17243
17244 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
17245 memory access for final bytes in some large inputs.
17246 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
17247
4660856c
AZ
172482013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17249
17250 * string/test-memrchr.c: New file.
17251 * string/test-memrchr-ifunc.c: New file.
17252 * string/Makefile: Add new memrchr testcase.
17253
bb8ea713
MF
172542013-09-05 Mike Frysinger <vapier@gentoo.org>
17255
17256 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
17257 fanotify_init returns EPERM.
17258
b92a20b5
JM
172592013-09-04 Joseph Myers <joseph@codesourcery.com>
17260
17261 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
17262 errors.
17263 (top level): Treat second token from macro or constant entries for
17264 allowed headers as allowed.
17265 * include/complex.h: Condition internal declarations on
17266 [!_ISOMAC].
17267 * include/fenv.h: Condition include of <stdbool.h> and internal
17268 declarations on [!_ISOMAC].
7447ccd9
CL
17269
172702013-09-04 Chris Leonard <cjl@sugarlabs,.org>
17271
3e181dda 17272 [BZ #15923]
7447ccd9
CL
17273 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
17274
3f2e46a4
JM
172752013-09-04 Joseph Myers <joseph@codesourcery.com>
17276
17277 * configure.in (--enable-versioning): Remove configure option.
17278 (libc_cv_asm_symver_directive): Remove configure test.
17279 (libc_cv_ld_version_script_option): Likewise.
17280 (VERSIONING): Remove variable and AC_SUBST.
17281 (DO_VERSIONING): Remove AC_DEFINE.
17282 * configure: Regenerated.
17283 * config.h.in (DO_VERSIONING): Remove macro.
17284 * Makerules [$(versioning) = yes]: Change conditionals to
17285 [$(build-shared) = yes].
17286 * config.make.in (versioning): Remove variable.
17287 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
17288 [$(build-shared) = yes].
17289 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
17290 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
17291 * elf/Makefile [$(versioning) = yes]: Change conditionals to
17292 [$(build-shared) = yes].
17293 * extra-lib.mk [$(versioning) = yes]: Likewise.
17294 * hurd/Makefile [$(versioning) = yes]: Likewise.
17295 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
17296 [SHARED].
17297 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
17298 [SHARED].
17299 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
17300 [SHARED && !NO_HIDDEN].
17301 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
17302 [SHARED].
17303 [SHARED && DO_VERSIONING]: Likewise..
17304 * libio/Makefile [$(versioning) = yes]: Change conditionals to
17305 [$(build-shared) = yes].
17306 * manual/install.texi (--disable-versioning): Remove
17307 documentation.
17308 * INSTALL: Regenerated.
17309 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
17310 to [SHARED].
17311 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
17312 [$(build-shared) = yes].
17313 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
17314 * sysdeps/i386/i686/multiarch/strstr-c.c
17315 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
17316 [SHARED && !NO_HIDDEN].
17317 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
17318 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
17319 * sysdeps/powerpc/powerpc32/dl-machine.c
17320 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
17321 * sysdeps/powerpc/powerpc32/sysdep.h
17322 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
17323 to [SHARED && PIC && !NO_HIDDEN].
17324 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
17325 conditional to [SHARED].
17326
44558701
WN
173272013-09-04 Will Newton <will.newton@linaro.org>
17328
17329 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
17330 * benchtests/bench-string.h: Include bench-timing.h instead
17331 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
17332 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
17333 call to HP_TIMING_DIFF_INIT.
17334 * benchtests/bench-memccpy.c: Use bench-timing.h macros
17335 instead of hp-timing.h macros.
17336 * benchtests/bench-memchr.c: Likewise.
17337 * benchtests/bench-memcmp.c: Likewise.
17338 * benchtests/bench-memcpy.c: Likewise.
17339 * benchtests/bench-memmem.c: Likewise.
17340 * benchtests/bench-memmove.c: Likewise.
17341 * benchtests/bench-memset.c: Likewise.
17342 * benchtests/bench-rawmemchr.c: Likewise.
17343 * benchtests/bench-strcasecmp.c: Likewise.
17344 * benchtests/bench-strcasestr.c: Likewise.
17345 * benchtests/bench-strcat.c: Likewise.
17346 * benchtests/bench-strchr.c: Likewise.
17347 * benchtests/bench-strcmp.c: Likewise.
17348 * benchtests/bench-strcpy.c: Likewise.
17349 * benchtests/bench-strcpy_chk.c: Likewise.
17350 * benchtests/bench-strlen.c: Likewise.
17351 * benchtests/bench-strncasecmp.c: Likewise.
17352 * benchtests/bench-strncat.c: Likewise.
17353 * benchtests/bench-strncmp.c: Likewise.
17354 * benchtests/bench-strncpy.c: Likewise.
17355 * benchtests/bench-strnlen.c: Likewise.
17356 * benchtests/bench-strpbrk.c: Likewise.
17357 * benchtests/bench-strrchr.c: Likewise.
17358 * benchtests/bench-strspn.c: Likewise.
17359 * benchtests/bench-strstr.c: Likewise.
17360
cae16d66
WN
173612013-09-04 Will Newton <will.newton@linaro.org>
17362
17363 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
17364
ffa3cd7f
JM
173652013-09-03 Joseph Myers <joseph@codesourcery.com>
17366
17367 [BZ #15427]
17368 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
17369 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
17370 * math/libm-test.inc (lgamma_test_data): Add more tests.
17371 * sysdeps/i386/fpu/libm-test-ulps: Update.
17372 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17373
8f02859f
OB
173742013-09-03 Ondřej Bílka <neleai@seznam.cz>
17375
17376 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
17377 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
17378 Add ifunc.
17379 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
17380 Add strcmp-sse2-unaligned
17381 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
17382
18d43716
MF
173832013-09-02 Mike Frysinger <vapier@gentoo.org>
17384
17385 * Versions.def (libc): Add GLIBC_2.19.
17386
ac444012
MF
173872013-09-02 Mike Frysinger <vapier@gentoo.org>
17388
17389 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
17390 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
17391
b7835e32
JM
173922013-09-02 Joseph Myers <joseph@codesourcery.com>
17393
17394 [BZ #14155]
17395 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
17396 intermediate calculations in recurrence.
17397 (__ieee754_ynf): Likewise.
17398 * math/libm-test.inc (jn_test_data): Do not allow spurious
17399 underflow exception. Add more tests.
17400 (yn_test_data): Add more tests.
17401 * sysdeps/i386/fpu/libm-test-ulps: Update.
17402 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17403
8220f4f0
OB
174042013-09-02 Ondřej Bílka <neleai@seznam.cz>
17405
17406 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
17407
f24a6d08
OB
174082013-08-30 Ondřej Bílka <neleai@seznam.cz>
17409
17410 * csu/init-first.c: Fix then/than typos.
17411 * locale/programs/ld-collate.c: Likewise.
17412 * locale/programs/linereader.h: Likewise.
17413 * manual/charset.texi: Likewise.
17414 * manual/filesys.texi: Likewise.
17415 * manual/stdio.texi: Likewise.
17416 * manual/string.texi: Likewise.
17417 * stdlib/fmtmsg.c: Likewise.
17418 * sysdeps/i386/stpncpy.S: Likewise.
17419 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
17420 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
17421 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
17422 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
17423
382466e0
OB
174242013-08-30 Ondřej Bílka <neleai@seznam.cz>
17425
17426 * elf/dl-open.c: Fix typos.
17427 * iconvdata/gbbig5.c: Likewise.
17428 * iconvdata/iso-2022-jp.c: Likewise.
17429 * iconv/gconv_int.h: Likewise.
17430 * iconv/loop.c: Likewise.
17431 * nis/rpcsvc/nis.h: Likewise.
17432 * resolv/ns_name.c: Likewise.
17433 * stdio-common/vfscanf.c: Likewise.
17434 * streams/stropts.h: Likewise.
17435 * sunrpc/rpc_thread.c: Likewise.
17436 * sysdeps/i386/strpbrk.S: Likewise.
17437 * sysdeps/ieee754/k_standard.c: Likewise.
17438 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
17439 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
17440 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
17441 * sysdeps/mach/hurd/profil.c: Likewise.
17442 * sysdeps/s390/dl-procinfo.h: Likewise.
17443 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
17444 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
17445 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
17446 * sysdeps/x86_64/dl-trampoline.S: Likewise.
17447 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
17448
0186c6e9
OB
174492013-08-30 Ondřej Bílka <neleai@seznam.cz>
17450
17451 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
17452 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
17453
d4e16af1
OB
174542013-08-29 Ondřej Bílka <neleai@seznam.cz>
17455
17456 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
17457 aix specific files.
17458 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
17459 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
17460 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
17461 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
17462 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
17463 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
17464 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
17465 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
17466
88335980
TS
174672013-08-29 Thomas Schwinge <thomas@codesourcery.com>
17468 Roland McGrath <roland@hack.frob.com>
17469
17470 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
17471 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
17472
ed479b02
ST
174732013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
17474
17475 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
17476 __executable_start symbol instead of _start.
17477
f1cc4c86
TS
174782013-08-29 Thomas Schwinge <thomas@codesourcery.com>
17479
d821f07c
TS
17480 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
17481 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
17482 Move macros to...
17483 * sysdeps/gnu/ldsodefs.h: ... this new file.
17484
c54290cf
TS
17485 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
17486 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
17487 instead of ELFOSABI_LINUX.
17488
0007fc9b 17489 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
0007fc9b
TS
17490 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
17491 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
17492 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
17493 Likewise.
17494 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
17495 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
17496 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
17497 Likewise.
17498 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
17499 (ibm_extended_long_double): Add ieee_nan member.
17500 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
17501 (do_test): New function.
17502
f1cc4c86
TS
17503 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
17504 TEST_TRUNC.
17505 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
17506 functions, renamed from truncdfsf_test, trunctfsf_test,
17507 trunctfdf_test.
17508 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
17509 functions.
17510 (do_test): Run all these.
17511
6f65e668
OB
175122013-08-29 Ondřej Bílka <neleai@seznam.cz>
17513
17514 * argp/argp-help.c: Fix typos.
17515 * argp/argp-parse.c: Likewise.
17516 * debug/backtracesyms.c: Likewise.
17517 * elf/elf.h: Likewise.
17518 * malloc/malloc.c: Likewise.
17519 * nis/nis_print.c: Likewise.
17520 * resolv/res_comp.c: Likewise.
17521 * stdlib/stdlib.h: Likewise.
17522 * sunrpc/clnt_tcp.c: Likewise.
17523 * sunrpc/clnt_udp.c: Likewise.
17524 * sunrpc/clnt_unix.c: Likewise.
17525 * sysdeps/unix/bsd/ptsname.c: Likewise.
17526 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
17527 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
99541e80
RM
17528 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
17529 Likewise.
17530 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
17531 Likewise.
17532 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
17533 Likewise.
6f65e668
OB
17534 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
17535
3a309239
SP
175362013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
17537
17538 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
17539 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
17540
3b813b29
MF
175412013-08-27 Mike Frysinger <vapier@gentoo.org>
17542
17543 [BZ #15897]
17544 * dlfcn/Makefile (tests): Add bug-dl-leaf.
17545 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
17546 ($(objpfx)bug-dl-leaf): New rule.
17547 ($(objpfx)bug-dl-leaf.so): Likewise.
17548 ($(objpfx)bug-dl-leaf.out): Likewise.
17549 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
17550 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
17551 * dlfcn/bug-dl-leaf.c: New test.
17552 * dlfcn/bug-dl-leaf-lib.c: Likewise.
17553 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
17554 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
17555 (dlclose): Likewise.
17556 (dlmopen): Likewise.
17557
8cc3269f
RM
175582013-08-27 Roland McGrath <roland@hack.frob.com>
17559
7f9d0034
RM
17560 * include/netdb.h [!_ISOMAC]:
17561 Don't include <tls.h>.
17562 (h_errno, __libc_h_errno): Move declaration and macros out of
17563 [_LIBC_REENTRANT].
17564
fb431262
RM
17565 * include/resolv.h [_RESOLV_H_]:
17566 Don't include <tls.h>.
17567 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
17568 * resolv/res_libc.c: Don't include <tls.h>.
17569 (_res): Use __attribute__ ((nocommon)) in place of
17570 __attribute__ ((section (".bss"))).
17571
bd81123a
RM
17572 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
17573 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
17574
c4e42566
RM
17575 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
17576
f890a59b
RM
17577 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
17578 only under [SIOCGIFCONF && SIOCGIFNETMASK].
17579
17580 * resolv/res_mkquery.c: Include <sys/time.h>.
17581
5d1f0a09
RM
17582 * inet/ifreq.c: Moved to ...
17583 * sysdeps/unix/ifreq.c: ... here.
17584 * inet/ifreq.c: New file, true stub version.
17585
6fcf28b3
RM
17586 * socket/sa_len.c: New file.
17587 * socket/Makefile (aux): Add it.
17588 * sysdeps/unix/sysv/linux/Makefile
17589 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
17590 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
17591 and #include <socket/sa_len.c>.
17592 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
17593 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
17594
e041fb8b
RM
17595 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
17596 * bits/socket.h: ... here.
17597
8cc3269f
RM
17598 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
17599 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
17600 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
17601
5d228a43
AS
176022013-08-27 Andreas Schwab <schwab@suse.de>
17603
45b8accc
AS
17604 [BZ #15736]
17605 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
17606 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
17607 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
17608 * string/test-strcasecmp.c (test_main): Run tests in several
17609 locales.
17610 * string/test-strncasecmp.c (test_main): Likewise.
17611
5d228a43
AS
17612 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
17613 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
17614 to __strcasecmp_nonascii and __strncasecmp_nonascii.
17615 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
17616 (__strncasecmp_ssse3) [PIC]: Likewise.
17617
59d112a4
RM
176182013-08-26 Roland McGrath <roland@hack.frob.com>
17619
53234cc3
RM
17620 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
17621
59d112a4
RM
17622 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
17623 instead of explicitly declaring xdecrypt.
17624 * nis/nss_nis/nis-publickey.c: Likewise.
17625
595aba70
SP
176262013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
17627
17628 [BZ #15890]
17629 * nscd/aicache.c: Include res_hconf.h.
17630 (addhstaiX): Initialize res_hconf.
17631
ffabd393
AS
176322013-08-26 Andreas Schwab <schwab@suse.de>
17633
17634 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
17635 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
17636
e0a69f5c
SP
176372013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
17638
17639 * nscd/aicache.c (addhstaiX): Fix indentation.
17640
8c12f01d
MF
176412013-08-25 Mike Frysinger <vapier@gentoo.org>
17642
17643 * configure.ac: Quote $build_pt_chown test.
17644 * configure: Regenerated.
17645
8fe89494
JM
176462013-08-23 Joseph Myers <joseph@codesourcery.com>
17647
17648 [BZ #15532]
17649 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
17650 * math/s_cexpf.c (__cexpf): Likewise.
17651 * math/s_cexpl.c (__cexpl): Likewise.
17652 * math/libm-test.inc (cexp_test_data): Correct expected return
17653 value for NaN + i0. Add another test.
17654
75b181d6
DM
176552013-08-22 David S. Miller <davem@davemloft.net>
17656
17657 * po/ca.po: Update Catalan translation from translation project.
936241e4 17658 * po/uk.po: Add Ukrainian translations from translation project.
75b181d6 17659
acd06bb1
JM
176602013-08-21 Joseph Myers <joseph@codesourcery.com>
17661
17662 [BZ #15797]
17663 * math/s_fdim.c (__fdim): Check for infinite arguments if result
17664 is infinite, not alongside NaN test.
17665 * math/s_fdimf.c (__fdimf): Likewise.
17666 * math/s_fdiml.c (__fdiml): Likewise.
17667 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
17668 errno is unchanged.
17669
c0c3f78a
OB
176702013-08-21 Ondřej Bílka <neleai@seznam.cz>
17671
17672 * argp/argp-help.c: Fix typos.
17673 * crypt/speeds.c: Likewise.
17674 * csu/check_fds.c: Likewise.
17675 * elf/dl-load.c: Likewise.
17676 * elf/dl-open.c: Likewise.
17677 * elf/reldep3.c: Likewise.
17678 * elf/reldep.c: Likewise.
17679 * elf/sprof.c: Likewise.
17680 * iconv/iconv_charmap.c: Likewise.
17681 * iconv/skeleton.c: Likewise.
17682 * iconv/strtab.c: Likewise.
17683 * io/lockf64.c: Likewise.
17684 * libio/libioP.h: Likewise.
17685 * resolv/gai_notify.c: Likewise.
17686 * resolv/ns_name.c: Likewise.
17687 * resolv/ns_samedomain.c: Likewise.
17688 * resolv/res_send.c: Likewise.
17689 * stdlib/random.c: Likewise.
17690 * sunrpc/rpc/xdr.h: Likewise.
17691 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
17692 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
17693 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
17694 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
17695 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
17696 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
17697 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
17698 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
17699 * sysdeps/mach/hurd/check_fds.c: Likewise.
17700 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
17701 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
17702 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
17703 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
17704 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
17705 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
17706 * sysdeps/pthread/aio_notify.c: Likewise.
17707 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
17708 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
17709 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
17710 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
17711 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
17712
46ed1038
LD
177132013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
17714
17715 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
17716 version if bit_Slow_SSE4_2 is set.
17717 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
17718 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
17719
d400dcac
AZ
177202013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17721
17722 [BZ #15867]
17723 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
17724 trampoline stack frame information.
17725 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
17726 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
17727 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
17728 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
17729 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
17730 * sysdeps/unix/sysv/linux/powerpc/init-first.c
17731 (_libc_vdso_platform_setup): Initialize the signal trampolines.
17732 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
17733 sa_flags value.
17734 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
17735 interrupting a syscall and set with option SA_SIGINFO.
17736
42c8fdd8
JM
177372013-08-20 Joseph Myers <joseph@codesourcery.com>
17738
c980f2f4
JM
17739 [BZ #15531]
17740 * math/s_cproj.c (__cproj): Only return an infinity if one part of
17741 argument is infinite.
17742 * math/s_cprojf.c (__cprojf): Likewise.
17743 * math/s_cprojl.c (__cprojl): Likewise.
17744 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
17745 * math/libm-test.inc (cproj_test_data): Add more tests.
17746
0716c4fc
JM
17747 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
17748
42c8fdd8
JM
17749 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
17750 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
17751 size. Use __ffs to determine corresponding shift.
17752
b31469d0
JM
177532013-08-20 Joseph Myers <joseph@codesourcery.com>
17754 Roland McGrath <roland@hack.frob.com>
17755
17756 * Makefile (INSTALL): Remove trailing blank lines from output of
17757 makeinfo.
17758
4e39af6e
AK
177592013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17760
17761 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
17762 Align 32 bit compat elf_greg to 8 bytes.
17763
f315524e
AA
177642013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
17765
17766 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
17767
1326ba1a
SP
177682013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
17769
17770 * string/strcoll_l.c (coll_seq): New structure.
17771 (get_next_seq_cached): New function.
17772 (get_next_seq): New function.
17773 (do_compare): New function.
17774 (STRCOLL): Use GNU style definition. Simplify implementation
17775 by using get_next_seq, get_next_seq_cached and do_compare.
17776
91ce4085
FW
177772013-08-16 Florian Weimer <fweimer@redhat.com>
17778
17779 [BZ #14699]
17780 CVE-2013-4237
17781 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
17782 member.
17783 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
17784 member.
17785 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
17786 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
17787 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
17788 conditional.
17789 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
17790 GETDENTS_64BIT_ALIGNED.
17791 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
17792 * manual/filesys.texi (Reading/Closing Directory): Document
17793 ENAMETOOLONG return value of readdir_r. Recommend readdir more
17794 strongly.
17795 * manual/conf.texi (Limits for Files): Add portability note to
17796 NAME_MAX, PATH_MAX.
17797 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
17798
ca0a6bc4
AS
177992013-08-13 Andreas Schwab <schwab@suse.de>
17800
17801 [BZ #15749]
17802 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
17803 of fabs.
17804 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
17805 LDBL_MAX_EXP >= 16384]: Add tests for it.
17806
6c1fd795
DM
178072013-08-12 David S. Miller <davem@davemloft.net>
17808
17809 * version.h (RELEASE): Set to "development".
17810 (VERSION): Set to "2.18.90".
17811 * NEWS: Add 2.19 section.
17812
31ad488d
DM
178132013-08-03 David S. Miller <davem@davemloft.net>
17814
17815 * po/ko.po: Update Korean translation from translation project.
17816
db24e684
DM
178172013-08-01 David S. Miller <davem@davemloft.net>
17818
17819 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
17820 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
17821 Bilka.
17822
f723285b
DM
178232013-07-30 David S. Miller <davem@davemloft.net>
17824
17825 * po/fr.po: Update French translation from translation project.
17826
3cbc52db
DM
178272013-07-28 David S. Miller <davem@davemloft.net>
17828
30bbc0cc
DM
17829 * po/cs.po: Update Czech translation from translation project.
17830
3cbc52db
DM
17831 * po/sv.po: Update Swedish translation from translation project.
17832
d492e6d0
DM
178332013-07-27 David S. Miller <davem@davemloft.net>
17834
f1a7f492
DM
17835 * po/eo.po: Update Esperanto translation from translation project.
17836
90e62a4a
DM
17837 * po/vi.po: Update Vietnamese translation from translation project.
17838
d492e6d0
DM
17839 * po/de.po: Update German translation from translation project.
17840
d4baa62d
DM
178412013-07-26 David S. Miller <davem@davemloft.net>
17842
641aa7b4
DM
17843 * po/bg.po: Update Bulgarian translation from translation project.
17844
d4baa62d
DM
17845 * po/nl.po: Update Dutch translation from translation project.
17846 * po/pl.po: Update Polish translation from translation project.
17847 * po/ru.po: Update Russian translation from translation project.
17848
61a9dcb9
DM
178492013-07-24 David S. Miller <davem@davemloft.net>
17850
17851 * po/libc.pot: Update.
17852
7b1f8b58
AZ
178532013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17854
17855 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
17856 variable page size.
17857 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
17858 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
17859 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
17860
a8fc7a03
AK
178612013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17862
17863 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
17864
e4608715
CD
178652013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
17866 Andreas Schwab <schwab@suse.de>
17867 Roland McGrath <roland@hack.frob.com>
17868 Joseph Myers <joseph@codesourcery.com>
17869 Carlos O'Donell <carlos@redhat.com>
17870
17871 [BZ #15755]
17872 * config.h.in: Define HAVE_PT_CHOWN.
17873 * config.make.in (build-pt-chown): New variable.
17874 * configure.in (--enable-pt_chown): New configure option.
17875 * configure: Regenerate.
17876 * login/Makefile: Include Makeconfig. Build pt_chown only if
17877 build-pt-chown is enabled.
17878 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
17879 pt_chown to fix pty ownership.
17880 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
17881 CLOSE_ALL_FDS.
17882 * manual/install.texi (Configuring and compiling): Mention
17883 --enable-pt_chown. Add @findex for grantpt.
17884 * INSTALL: Regenerate.
17885
da2d62df
DM
178862013-07-20 David S. Miller <davem@davemloft.net>
17887
17888 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
17889 difference between 32-bit and 64-bit.
17890
d7e06450
CD
178912013-07-15 Carlos O'Donell <carlos@redhat.com>
17892
17893 [BZ #15711]
17894 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
17895 Avoid system header dependency with -ffreestanding.
17896 ($(objpfx)bits/syscall%d): Likewise.
17897
f959cfd7
DM
178982013-07-13 David S. Miller <davem@davemloft.net>
17899
17900 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
17901 underflows from atanl/atan2l due to bug 15319.
17902 (casinh_test_data): Likewise.
17903
c61f8513
DM
179042013-07-07 David S. Miller <davem@davemloft.net>
17905
17906 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
17907
72c90ed0
JA
179082013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
17909
17910 * sysdeps/i386/fpu/libm-test-ulps: Update.
17911 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17912
52dfbe13
SP
179132013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
17914
17915 * configure.in (--enable-lock-elision): Fix message text.
17916 * INSTALL: Regenerate.
17917 * configure: Regenerate.
17918
3f169543
AZ
179192013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17920
17921 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17922
521c6785
AJ
179232013-07-03 Andreas Jaeger <aj@suse.de>
17924
17925 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
17926 define.
17927 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
17928 (ptrace_peeksiginfo_args): Add.
17929 (__ptrace_peeksiginfo_flags): Add.
17930 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
17931 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
17932 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
17933
d2cc15cb
AM
179342013-07-03 Allan McRae <allan@archlinux.org>
17935
17936 * sysdeps/i386/fpu/libm-test-ulps: Update.
17937
3aaeeca7
DM
179382013-07-02 David S. Miller <davem@davemloft.net>
17939
17940 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17941
5314ed1a
MT
179422013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
17943
17944 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
17945
67338156
JM
179462013-07-02 Joseph Myers <joseph@codesourcery.com>
17947
17948 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
17949 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17950
1717da59
AK
179512013-07-02 Andi Kleen <ak@linux.intel.com>
17952
17953 * config.h.in (ENABLE_LOCK_ELISION): Add.
17954 * configure.in (--enable-lock-elision): Add option.
17955 * manual/install.texi: Document --enable lock elision.
17956 * configure: Regenerate
17957 * INSTALL: Regenerate.
17958
1c81621c
L
179592013-07-02 H.J. Lu <hongjiu.lu@intel.com>
17960
17961 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
17962 SSE4.2 strcasecmp for libc.a.
17963 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
17964
77f01ab5
JM
179652013-07-02 Joseph Myers <joseph@codesourcery.com>
17966
17967 [BZ #13304]
17968 * soft-fp/op-common.h (_FP_FMA): New macro.
17969 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
17970 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
17971 (_FP_MUL_MEAT_1_imm): ... here.
17972 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
17973 (_FP_MUL_MEAT_1_wide): ... here.
17974 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
17975 (_FP_MUL_MEAT_1_hard): ... here.
17976 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
17977 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
17978 (_FP_MUL_MEAT_2_wide): ... here.
17979 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
17980 (_FP_MUL_MEAT_2_wide_3mul): ... here.
17981 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
17982 (_FP_MUL_MEAT_2_gmp): ... here.
17983 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
17984 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
17985 (_FP_MUL_MEAT_4_wide): ... here.
17986 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
17987 (_FP_MUL_MEAT_4_gmp): ... here.
17988 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
17989 (_FP_WFRACBITS_DW_S): Likewise.
17990 (_FP_WFRACXBITS_DW_S): Likewise.
17991 (_FP_HIGHBIT_DW_S): Likewise.
17992 (FP_FMA_S): Likewise.
17993 (_FP_FRAC_HIGH_DW_S): Likewise.
17994 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
17995 (_FP_WFRACBITS_DW_D): Likewise.
17996 (_FP_WFRACXBITS_DW_D): Likewise.
17997 (_FP_HIGHBIT_DW_D): Likewise.
17998 (FP_FMA_D): Likewise.
17999 (_FP_FRAC_HIGH_DW_D): Likewise.
18000 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
18001 (_FP_WFRACBITS_DW_E): Likewise.
18002 (_FP_WFRACXBITS_DW_E): Likewise.
18003 (_FP_HIGHBIT_DW_E): Likewise.
18004 (FP_FMA_E): Likewise.
18005 (_FP_FRAC_HIGH_DW_E): Likewise.
18006 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
18007 (_FP_WFRACBITS_DW_Q): Likewise.
18008 (_FP_WFRACXBITS_DW_Q): Likewise.
18009 (_FP_HIGHBIT_DW_Q): Likewise.
18010 (FP_FMA_Q): Likewise.
18011 (_FP_FRAC_HIGH_DW_Q): Likewise.
18012 * soft-fp/fmasf4.c: New file.
18013 * soft-fp/fmadf4.c: Likewise.
18014 * soft-fp/fmatf4.c: Likewise.
18015
6308fd9a
LD
180162013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
18017
18018 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
18019 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
18020 Silvermont.
18021 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
18022 macro.
18023 (index_Slow_SSE4_2): Likewise.
18024 (index_Prefer_PMINUB_for_stringop): Likewise.
18025 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
18026 bit_Slow_SSE4_2 is set.
18027 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
18028 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
18029
89cd9569
RA
180302013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
18031
18032 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
18033 rtld_global._dl_hwcap2.
18034 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
18035 POWER8.
18036 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
18037 POWER8 feature descriptions defined in _dl_hwcap2.
18038 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
18039 string handling for POWER8 feature bits.
18040 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
18041 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
18042 _dl_powerpc_cap_flags.
18043 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
18044 * sysdeps/powerpc/rtld-global-offsets.sym
18045 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
18046 _dl_hwcap2 in the rtld_global_ro structure.
18047
1ae8bfe0
RA
180482013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
18049
18050 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
18051 hardware capabilities in support of AT_HWCAP2.
18052 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
18053 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
18054 GLRO(dl_hwcap2).
18055 (_dl_show_auxv): Add support for calling _dl_procinfo to display
18056 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
18057 explicitly the unknown a_type display mechanism is used.
18058 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
18059 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
18060 struct member.
18061 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
18062 to macro prototype for AT_HWCAP2 support.
18063 * sysdeps/i386/dl-procinfo.h: Likewise.
18064 * sysdeps/s390/dl-procinfo.h: Likewise.
18065 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
18066 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
18067 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
18068 return -1 for unknown a_type display fallback.
18069 * sysdeps/sparc/dl-procinfo.h: Likewise.
18070 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
18071 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
18072
8fbec010
JM
180732013-06-28 Joseph Myers <joseph@codesourcery.com>
18074
18075 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
18076 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
18077
0432680e
PY
180782013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
18079
18080 [BZ #12492]
18081 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
18082 mprotect making __stack_prot writable.
18083
ce61a2ad
NF
180842013-06-28 Nathan Froyd <froydnj@codesourcery.com>
18085 Joseph Myers <joseph@codesourcery.com>
18086
18087 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
18088 as being properly aligned.
18089
f91f1c0f
MR
180902013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
18091
3d0f5d0c
MR
18092 * dlfcn/modstatic5.c: New file.
18093 * dlfcn/tststatic5.c: New file.
18094 * dlfcn/Makefile (tests): Add tststatic5.
18095 (tests-static): Likewise.
18096 (modules-names): Add modstatic5.
18097 (tststatic5-ENV): New variable.
18098 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
18099
f91f1c0f
MR
18100 [BZ #15022]
18101 * elf/dl-support.c (_dl_main_map): New variable.
18102 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
18103 (_dl_nns, _dl_load_adds): Set to 1.
18104 (_dl_initial_searchlist): Refer to _dl_main_map.
18105 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
18106 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
18107 call to _dl_get_origin.
18108 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
18109 around call_map.
18110 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
18111 * dlfcn/modstatic3.c: New file.
18112 * dlfcn/tststatic3.c: New file.
18113 * dlfcn/tststatic4.c: New file.
18114 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
18115 (tests-static): Likewise.
18116 (modules-names): Add modstatic3.
18117 (tststatic3-ENV, tststatic4-ENV): New variables.
18118 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
18119 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
18120
cbe7d24b
JM
181212013-06-26 Joseph Myers <joseph@codesourcery.com>
18122
18123 * configure.in (CC): Require GCC version 4.4 or later.
18124 * configure: Regenerated.
18125 * manual/install.texi (Tools for Compilation): Update GCC version
18126 requirement.
18127 * INSTALL: Regenerated.
18128
11b8a0e1
LD
181292013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
18130
18131 [BZ #15674]
bb5bb87c
L
18132 * string/test-memcmp.c (check2): New.
18133 (main): Call check2.
18134
11b8a0e1
LD
18135 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
18136
b0037103
MR
181372013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
18138
18139 [BZ #15022]
18140 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
18141 over to...
18142 (dl_open_worker) [!SHARED]: ... here.
18143
c18c701d
RA
181442013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
18145
18146 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
18147
1d17fa5f
RH
181482013-06-25 Richard Henderson <rth@redhat.com>
18149
18150 * locale/programs/locarchive.c: Include <libc-internal.h>
18151
8fcb833a
JM
181522013-06-25 Joseph Myers <joseph@codesourcery.com>
18153
18154 * manual/texinfo.tex: Update to version 2013-06-21.17, with
18155 trailing whitespace removed.
18156
17db6e8d
MF
181572013-06-24 Mike Frysinger <vapier@gentoo.org>
18158
18159 [BZ #10283]
17db6e8d
MF
18160 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
18161 * locale/programs/locarchive.c: Include libc-mmap.h.
18162 (prepare_address_space): Take two new outputs (the mmap base and len).
18163 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
18164 values.
18165 (create_archive): Declare new mmap base and len values for
18166 prepare_address_space, and store the result in ah.
18167 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
18168 (enlarge_archive): If ah->mmap_base is not NULL, use that and
18169 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
18170 Declare new mmap base and len values for
18171 prepare_address_space, and store the result in new_ah.
18172 (open_archive): Declare new mmap base and len values for
18173 prepare_address_space, and store the result in ah.
18174 (close_archive): If ah->mmap_base is not NULL, use that and
18175 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
18176 * sysdeps/generic/libc-mmap.h: New file.
18177
d605071e
MF
181782013-06-24 Mike Frysinger <vapier@gentoo.org>
18179
18180 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
18181 (ALIGN_UP): Likewise.
18182 (PTR_ALIGN_DOWN): Likewise.
18183 (PTR_ALIGN_UP): Likewise.
18184
2f063a6e
RA
181852013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
18186
18187 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
18188 entry mapped to PPC_PLATFORM_POWER8.
18189 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
18190 POWER8.
18191 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
18192 (_dl_string_platform): Add case for exporting platform position for
18193 POWER8.
18194 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
18195 search path to sysdeps/powerpc/powerpc32/power8 directory.
18196 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
18197 search path to sysdeps/powerpc/powerpc64/power8 directory.
18198 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
18199 power7 directories.
18200 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
18201 power7 directories.
18202
a31ee4b3
SP
182032013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
18204
a74ca98f
SP
18205 * INSTALL: Regenerate.
18206
a31ee4b3
SP
18207 * nscd/connections.c (nscd_init): Fix comment.
18208
695c378f
JM
182092013-06-22 Joseph Myers <joseph@codesourcery.com>
18210
d8412221
JM
18211 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
18212
695c378f
JM
18213 [BZ #15667]
18214 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
18215 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
18216
d1d54715
MR
182172013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
18218
18219 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
18220 DL_DST_REQ_STATIC.
18221 (DL_DST_REQ_STATIC): Remove macro.
18222
8fdda7af
JM
182232013-06-21 Joseph Myers <joseph@codesourcery.com>
18224
18225 [BZ #7006]
18226 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
18227 with a shift of 0 bits.
18228
f3bc5e5a
MR
182292013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
18230
18231 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
18232 $(tststatic-ENV).
18233
be09e8c9
KK
182342013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
18235
18236 [BZ #15655]
18237 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
18238
85c2e611
AZ
182392013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18240
18241 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
18242 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
18243 accepts -fno-tree-loop-distribute-patterns.
18244 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
18245 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
18246 recursive call.
18247 * string/memset.c (memset): Likewise.
18248 * string/test-memmove.c (simple_memmove): Disable loop transformation
18249 to library calls.
18250 * string/test-memset.c (simple_memset): Likewise.
18251 * benchtests/bench-memmove.c (simple_memmove): Likewise.
18252 * benchtests/bench-memset.c (simple_memset): Likewise.
18253 * configure: Regenerated.
18254
c91e0825
JM
182552013-06-20 Joseph Myers <joseph@codesourcery.com>
18256
b8c792af
JM
18257 * math/test-misc.c (main): Ignore fesetround failure when failures
18258 of subsequent rounding tests would be ignored.
18259
c91e0825
JM
18260 [BZ #15654]
18261 * math/fedisblxcpt.c (fedisableexcept): Return 0.
18262 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
18263 * math/fegetenv.c (__fegetenv): Return 0.
18264 * math/fegetexcept.c (fegetexcept): Return 0.
18265 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
18266 FE_TONEAREST.
18267 * math/feholdexcpt.c (feholdexcept): Return 0.
18268 * math/fesetenv.c (__fesetenv): Return 0.
18269 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
18270 argument FE_TONEAREST.
18271 * math/feupdateenv.c (__feupdateenv): Return 0.
18272 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
18273
bfcacbde
RM
182742013-06-18 Roland McGrath <roland@hack.frob.com>
18275
18276 * elf/rtld-Rules (rtld-compile-command.S): New variable.
18277 (rtld-compile-command.s, rtld-compile-command.c): New variables.
18278 ($(objpfx)rtld-%.os rules): Use them.
18279
e55a9b25
AZ
182802013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18281
18282 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
18283 fields.
18284
346d65b3
RM
182852013-06-17 Roland McGrath <roland@hack.frob.com>
18286
12086fb4
RM
18287 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
18288 length of target pattern, then descending length of dependency pattern.
18289 * configure.in (AWK): Require gawk 3.1.2 or newer.
18290 * manual/install.texi (Tools for Compilation): Say that we do.
18291 * configure: Regenerated.
18292
346d65b3
RM
18293 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
18294 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
18295 * scripts/sysd-rules.awk: ... this new script.
18296 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
18297 than a glob-style pattern.
18298
1a846317
JM
182992013-06-17 Joseph Myers <joseph@codesourcery.com>
18300
18301 * math/test-misc.c (main): Do not treat incorrectly rounded
18302 conversions as failure unless ROUNDING_TESTS passes.
18303
8fc75e6f
JM
183042013-06-15 Joseph Myers <joseph@codesourcery.com>
18305
3711a167
JM
18306 [BZ #15631]
18307 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
18308 restore exception state around main square root computation, then
18309 check for inexactness explicitly.
18310
8fc75e6f
JM
18311 * math/libm-test.inc (fma_test_data): Add another test.
18312
61dd6208
SP
183132013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
18314
adf23d2c
SP
18315 * manual/threads.texi (Non-POSIX Extensions): New document
18316 node. Document pthread_getattr_default_np and
18317 pthread_setattr_default_np.
18318
61dd6208
SP
18319 * Versions.def (libpthread): Add GLIBC_2.18.
18320 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
18321 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
18322 Likewise.
18323 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
18324 Likewise.
18325 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
18326 Likewise.
18327 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
18328 Likewise.
18329 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
18330 Likewise.
18331 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
18332 Likewise.
18333 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
18334 Likewise.
18335 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
18336 Likewise.
18337 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
18338 Likewise.
18339
d086fc7b
LD
183402013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
18341
18342 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
18343 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
18344
747ef469
SP
183452013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
18346 H.J. Lu <hjl.tools@gmail.com>
18347
18348 [BZ #15627]
18349 * sysdeps/x86_64/rtld-memset.c: Remove file.
18350 * sysdeps/x86_64/rtld-memset.S: New file.
18351
1b2feed2
JM
183522013-06-14 Joseph Myers <joseph@codesourcery.com>
18353
18354 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
18355 (test_in_one_mode): Take arguments for whether the rounding mode
18356 is supported for each floating-point type.
18357 (do_test): Pass new arguments to test_in_one_mode using
18358 ROUNDING_TESTS.
18359
a58ad3f8
RM
183602013-06-13 Roland McGrath <roland@hack.frob.com>
18361
18362 * posix/tst-waitid.c (do_test): Distinguish different instances of
18363 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
18364 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
18365 before entering the kernel for waitpid.
18366
c204ab28
SP
183672013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
18368
18369 * NEWS: Fix note on clock function precision. Text by Roland
18370 McGrath.
18371
f4a29fba
RM
183722013-06-13 Roland McGrath <roland@hack.frob.com>
18373
18374 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
18375 it into place only when and if the sanity check passes.
18376
1f24b9ad
JM
183772013-06-13 Joseph Myers <joseph@codesourcery.com>
18378
18379 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
18380 output for whether conversion result is exact. Take argument
18381 indicating whether type is IBM long double.
18382 (round_for_all): Change need_exact field to ibm_ld.
18383 * stdlib/tst-strtod-round.c (struct exactness): New type.
18384 (struct test): Change bool ld_ok field to struct exactness exact.
18385 (TEST): Update all definitions for change to field.
18386 (tests): Regenerate array contents.
18387 (test_in_one_mode): Take pointer to new field instead of old ld_ok
18388 field value. Check for IBM long double here.
18389 (do_test): Update calls to test_in_one_mode.
18390
58206c68
SP
183912013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
18392
18393 [BZ #12515]
18394 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
18395 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
18396
2d6f4c5b 183972013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6a97b62a
AZ
18398
18399 [BZ #15605]
18400 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
18401 generated by the compiler on loop optimizations.
18402 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
18403 general definitions.
18404
94f2c076
JM
184052013-06-12 Joseph Myers <joseph@codesourcery.com>
18406
18407 * math/bug-nextafter.c: Include <math-tests.h>.
18408 (main): Only test for exceptions if EXCEPTION_TESTS is true for
18409 the relevant type.
18410 * math/bug-nexttoward.c: Include <math-tests.h>.
18411 (main): Only test for exceptions if EXCEPTION_TESTS is true for
18412 the relevant type.
18413 * math/test-misc.c: Include <math-tests.h>.
18414 (main): Only test for exceptions if EXCEPTION_TESTS is true for
18415 the relevant type.
18416
e0e50a0a
AJ
184172013-06-12 Andreas Jaeger <aj@suse.de>
18418
18419 * po/ia.po: Update Interlingua translation from translation
18420 project.
18421
25061094
SP
184222013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
18423
18424 * include/fenv.h: Include stdbool.h.
18425 (struct rm_ctx): New structure.
18426 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
18427 Define macro.
18428 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
18429 (SET_RESTORE_ROUNDF): Likewise.
18430 (SET_RESTORE_ROUNDL): Likewise.
18431 (SET_RESTORE_ROUND_NOEX): Likewise.
18432 (SET_RESTORE_ROUND_NOEXF): Likewise.
18433 (SET_RESTORE_ROUND_NOEXL): Likewise.
18434 (SET_RESTORE_ROUND_53BIT): Likewise.
18435 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
18436 (libc_feresetround_noexf_ctx): Likewise.
18437 (libc_feresetround_noexl_ctx): Likewise.
18438 (libc_feholdsetround_53bit_ctx): Likewise.
18439 (libc_feresetround_53bit_ctx): Likewise.
18440 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
18441 (libc_feholdexcept_setround_sse_ctx): New function.
18442 (libc_fesetenv_sse_ctx): Likewise.
18443 (libc_feupdateenv_sse_ctx): Likewise.
18444 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
18445 (libc_feholdexcept_setround_387_ctx): Likewise.
18446 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
18447 (libc_feholdsetround_387_prec_ctx): Likewise.
18448 (libc_feholdsetround_387_ctx): Likewise.
18449 (libc_feholdsetround_387_53bit_ctx): Likewise.
18450 (libc_feholdsetround_sse_ctx): Likewise.
18451 (libc_feresetround_sse_ctx): Likewise.
18452 (libc_feresetround_387_ctx): Likewise.
18453 (libc_feupdateenv_387_ctx): Likewise.
18454 (libc_feholdexcept_setroundf_ctx): Define macro.
18455 (libc_fesetenvf_ctx): Likewise.
18456 (libc_feupdateenvf_ctx): Likewise.
18457 (libc_feholdsetroundf_ctx): Likewise.
18458 (libc_feresetroundf_ctx): Likewise.
18459 (libc_feholdexcept_setround_ctx): Likewise.
18460 (libc_fesetenv_ctx): Likewise.
18461 (libc_feupdateenv_ctx): Likewise.
18462 (libc_feholdsetround_ctx): Likewise.
18463 (libc_feresetround_ctx): Likewise.
18464 (libc_feholdexcept_setroundl_ctx): Likewise.
18465 (libc_feupdateenvl_ctx): Likewise.
18466 (libc_feholdsetroundl_ctx): Likewise.
18467 (libc_feresetroundl_ctx): Likewise.
18468 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
18469 (libc_feresetround_53bit_ctx): Likewise.
18470
59b30555
SP
184712013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
18472
18473 * locale/iso-639.def: Convert to UTF-8.
18474
f1d73d30
JM
184752013-06-11 Joseph Myers <joseph@codesourcery.com>
18476
18477 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
18478 (EXCEPTION_TESTS_double): Likewise.
18479 (EXCEPTION_TESTS_long_double): Likewise.
18480 (EXCEPTION_TESTS): Likewise.
18481 * math/libm-test.inc (test_exceptions): Only test exceptions if
18482 EXCEPTION_TESTS (FLOAT).
18483
94aca5e7
SP
184842013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
18485
18486 * benchtests/Makefile (string-bench): Add strcpy_chk and
18487 stpcpy_chk.
18488 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
18489 * benchtests/bench-stpcpy_chk.c: New file.
18490 * benchtests/bench-strcpy_chk-ifunc.c: New file.
18491 * benchtests/bench-strcpy_chk.c: New file.
18492 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
18493 code.
18494 (do_test): Likewise.
18495
fac0c5f2
RA
184962013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
18497
18498 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
18499 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
18500 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
18501 with tabs where appropriate.
18502 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
18503 dl-procinfo.h.
18504 [PPC_PLATFORM_PPC440]: Likewise.
18505 [PPC_PLATFORM_PPC464]: Likewise.
18506 [PPC_PLATFORM_PPC476]: Likewise.
18507 (_dl_string_platform): Add support for detecting ppc405, ppc440,
18508 ppc464, and ppc476 platform strings merging from ports/
18509 dl-procinfo.h.
18510
f22bc486
AS
185112013-06-11 Andreas Schwab <schwab@suse.de>
18512
18513 [BZ #14991]
18514 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
18515 (from_ucs4_idx): Regenerate.
18516 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
18517 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
18518 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
18519 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
18520 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
18521 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
18522 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
18523 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
18524 from FROM_LOOP and TO_LOOP specific macros.
18525 (BODY): Handle combining characters.
18526 * iconvdata/BIG5HKSCS.irreversible: Update.
18527 * iconvdata/BIG5HKSCS.precomposed: New file.
18528 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
18529 characters.
18530 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
18531
c1f75dc3
SP
185322013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
18533
4eacded2
SP
18534 * include/sys/time.h: Fix indentation and add copyright header.
18535
fec799f8
SP
18536 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
18537 (do_test): Likewise.
18538 * string/test-memchr.c (do_one_test): Likewise.
18539 (do_test): Likewise.
18540 * string/test-memcmp.c (do_one_test): Likewise.
18541 (do_test): Likewise.
18542 * string/test-memcpy.c (do_one_test): Likewise.
18543 (do_test): Likewise.
18544 * string/test-memmem.c (do_one_test): Likewise.
18545 (do_test): Likewise.
18546 (do_random_tests): Likewise.
18547 * string/test-memmove.c (do_one_test): Likewise.
18548 (do_test): Likewise.
18549 * string/test-memset.c (do_one_test): Likewise.
18550 (do_test): Likewise.
18551 * string/test-rawmemchr.c (do_one_test): Likewise.
18552 (do_test): Likewise.
18553 * string/test-strcasecmp.c (do_one_test): Likewise.
18554 (do_test): Likewise.
18555 * string/test-strcasestr.c (do_one_test): Likewise.
18556 (do_test): Likewise.
18557 * string/test-strcat.c (do_one_test): Likewise.
18558 (do_test): Likewise.
18559 * string/test-strchr.c (do_one_test): Likewise.
18560 (do_test): Likewise.
18561 * string/test-strcmp.c (do_one_test): Likewise.
18562 (do_test): Likewise.
18563 * string/test-strcpy.c (do_one_test): Likewise.
18564 (do_test): Likewise.
18565 * string/test-string.h: Likewise.
18566 (test_init): Likewise.
18567 * string/test-strlen.c (do_one_test): Likewise.
18568 (do_test): Likewise.
18569 * string/test-strncasecmp.c (do_one_test): Likewise.
18570 (do_test): Likewise.
18571 * string/test-strncat.c (do_one_test): Likewise.
18572 (do_test): Likewise.
18573 * string/test-strncmp.c (do_one_test): Likewise.
18574 (do_test_limit): Likewise.
18575 (do_test): Likewise.
18576 * string/test-strncpy.c (do_one_test): Likewise.
18577 (do_test): Likewise.
18578 * string/test-strnlen.c (do_one_test): Likewise.
18579 (do_test): Likewise.
18580 * string/test-strpbrk.c (do_one_test): Likewise.
18581 (do_test): Likewise.
18582 * string/test-strrchr.c (do_one_test): Likewise.
18583 (do_test): Likewise.
18584 * string/test-strspn.c (do_one_test): Likewise.
18585 (do_test): Likewise.
18586 * string/test-strstr.c (do_one_test): Likewise.
18587 (do_test): Likewise.
18588
97020474
SP
18589 * benchtests/Makefile (string-bench): Add string benchmarks.
18590 * benchtests/bench-bcopy-ifunc.c: New file.
18591 * benchtests/bench-bcopy.c: New file.
18592 * benchtests/bench-bzero-ifunc.c: New file.
18593 * benchtests/bench-bzero.c: New file.
18594 * benchtests/bench-memccpy-ifunc.c: New file.
18595 * benchtests/bench-memccpy.c: New file.
18596 * benchtests/bench-memchr-ifunc.c: New file.
18597 * benchtests/bench-memchr.c: New file.
18598 * benchtests/bench-memcmp-ifunc.c: New file.
18599 * benchtests/bench-memcmp.c: New file.
18600 * benchtests/bench-memmem-ifunc.c: New file.
18601 * benchtests/bench-memmem.c: New file.
18602 * benchtests/bench-memmove-ifunc.c: New file.
18603 * benchtests/bench-memmove.c: New file.
18604 * benchtests/bench-mempcpy-ifunc.c: New file.
18605 * benchtests/bench-mempcpy.c: New file.
18606 * benchtests/bench-memset-ifunc.c: New file.
18607 * benchtests/bench-memset.c: New file.
18608 * benchtests/bench-rawmemchr-ifunc.c: New file.
18609 * benchtests/bench-rawmemchr.c: New file.
18610 * benchtests/bench-stpcpy-ifunc.c: New file.
18611 * benchtests/bench-stpcpy.c: New file.
18612 * benchtests/bench-stpncpy-ifunc.c: New file.
18613 * benchtests/bench-stpncpy.c: New file.
18614 * benchtests/bench-strcasecmp-ifunc.c: New file.
18615 * benchtests/bench-strcasecmp.c: New file.
18616 * benchtests/bench-strcasestr-ifunc.c: New file.
18617 * benchtests/bench-strcasestr.c: New file.
18618 * benchtests/bench-strcat-ifunc.c: New file.
18619 * benchtests/bench-strcat.c: New file.
18620 * benchtests/bench-strchr-ifunc.c: New file.
18621 * benchtests/bench-strchr.c: New file.
18622 * benchtests/bench-strchrnul-ifunc.c: New file.
18623 * benchtests/bench-strchrnul.c: New file.
18624 * benchtests/bench-strcmp-ifunc.c: New file.
18625 * benchtests/bench-strcmp.c: New file.
18626 * benchtests/bench-strcpy-ifunc.c: New file.
18627 * benchtests/bench-strcpy.c: New file.
18628 * benchtests/bench-strcspn-ifunc.c: New file.
18629 * benchtests/bench-strcspn.c: New file.
18630 * benchtests/bench-strlen-ifunc.c: New file.
18631 * benchtests/bench-strlen.c: New file.
18632 * benchtests/bench-strncasecmp-ifunc.c: New file.
18633 * benchtests/bench-strncasecmp.c: New file.
18634 * benchtests/bench-strncat-ifunc.c: New file.
18635 * benchtests/bench-strncat.c: New file.
18636 * benchtests/bench-strncmp-ifunc.c: New file.
18637 * benchtests/bench-strncmp.c: New file.
18638 * benchtests/bench-strncpy-ifunc.c: New file.
18639 * benchtests/bench-strncpy.c: New file.
18640 * benchtests/bench-strnlen-ifunc.c: New file.
18641 * benchtests/bench-strnlen.c: New file.
18642 * benchtests/bench-strpbrk-ifunc.c: New file.
18643 * benchtests/bench-strpbrk.c: New file.
18644 * benchtests/bench-strrchr-ifunc.c: New file.
18645 * benchtests/bench-strrchr.c: New file.
18646 * benchtests/bench-strspn-ifunc.c: New file.
18647 * benchtests/bench-strspn.c: New file.
18648 * benchtests/bench-strstr-ifunc.c: New file.
18649 * benchtests/bench-strstr.c: New file.
18650
c1f75dc3
SP
18651 * benchtests/Makefile: Disable parallel execution of targets.
18652 (string-bench): Add memcpy.
18653 (benchset): New variable to store a list of benchmark sets.
18654 (bench-func): Renamed from bench.
18655 (bench-set): New target.
18656 (bench): Depend on bench-func and bench-set.
18657 * benchtests/README: Add section on benchmark sets.
18658 * benchtests/bench-memcpy-ifunc.c: New file.
18659 * benchtests/bench-memcpy.c: New file.
18660 * benchtests/bench-string.h: New file.
18661
50fd745b
AS
186622013-06-11 Andreas Schwab <schwab@suse.de>
18663
18664 [BZ #15577]
18665 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
18666 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
18667 values in the triple.
18668 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
18669 terminator in the group key.
18670
3ee7e9fe
AJ
186712013-06-11 Andreas Jaeger <aj@suse.de>
18672
18673 * po/zh_TW.po: Update Chinese (traditional) translation from
18674 translation project.
18675
89fb6835
SP
186762013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
18677
18678 * include/time.h (__clock_gettime): Add libc_hidden_proto.
18679 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
18680 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
18681 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
18682 (clock_getcpuclockid): Likewise.
18683 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
18684 Add weak_alias and libc_hidden_def.
18685 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
18686 * rt/clock_gettime.c (clock_gettime): Rename to
18687 __clock_gettime. Add weak_alias and libc_hidden_def.
18688 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
18689 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
18690 __clock_nanosleep. Add weak_alias and libc_hidden_def.
18691 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
18692 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
18693 Likewise.
18694 * rt/clock_settime.c (clock_settime): Rename to
18695 __clock_settime. Add weak_alias and libc_hidden_def.
18696 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
18697
0efa6f8b
JM
186982013-06-10 Joseph Myers <joseph@codesourcery.com>
18699
b8c61b4b
JM
18700 * mach/err_boot.sub: Remove trailing whitespace.
18701 * mach/err_ipc.sub: Likewise.
18702 * mach/err_mach.sub: Likewise.
18703
0efa6f8b
JM
18704 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
18705 (ROUNDING_TESTS_double): Likewise.
18706 (ROUNDING_TESTS_long_double): Likewise.
18707 (ROUNDING_TESTS): Likewise.
18708 * math/libm-test.inc: Include <math-tests.h>.
18709 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
18710 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
18711 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
18712 (IF_ROUND_INIT_FE_UPWARD): Likewise.
18713
50b818bf
SP
187142013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
18715
18716 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
18717 of assigning.
18718
60d2f8f3
JM
187192013-06-08 Joseph Myers <joseph@codesourcery.com>
18720
4902d2c3
JM
18721 * sysdeps/gnu/errlist.awk: Do not generate space at end of
18722 otherwise empty TRANS lines.
18723 * sysdeps/gnu/errlist.c: Regenerated.
18724
60d2f8f3
JM
18725 * catgets/gencat.c (error_print): Use (void) in function
18726 definition.
18727 * crypt/crypt_util.c (__init_des): Likewise.
18728 * crypt/speeds.c (Stop): Likewise.
18729 (main): Likewise.
18730 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
18731 * inet/ruserpass.c (token): Likewise.
18732 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
18733 * intl/localealias.c (extend_alias_table): Likewise.
18734 * intl/plural-exp.c (init_germanic_plural): Likewise.
18735 * libio/fcloseall.c (__fcloseall): Likewise.
18736 * libio/genops.c (_IO_flush_all): Likewise.
18737 (_IO_flush_all_linebuffered): Likewise.
18738 (_IO_cleanup): Likewise.
18739 (_IO_iter_begin): Likewise.
18740 (_IO_iter_end): Likewise.
18741 (_IO_list_lock): Likewise.
18742 (_IO_list_unlock): Likewise.
18743 (_IO_list_resetlock): Likewise.
18744 * libio/getchar.c (getchar): Likewise.
18745 * libio/getchar_u.c (getchar_unlocked): Likewise.
18746 * libio/getwchar.c (getwchar): Likewise.
18747 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
18748 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
18749 * login/getpt.c (__getpt): Likewise.
18750 * login/tst-utmp.c (main): Likewise.
18751 * malloc/hooks.c (__malloc_check_init): Likewise.
18752 * malloc/malloc.c (__malloc_stats): Likewise.
18753 * malloc/mtrace.c (tr_break): Likewise.
18754 (mtrace): Likewise.
18755 (muntrace): Likewise.
18756 * misc/fstab.c (endfsent): Likewise.
18757 * misc/getclktck.c (__getclktck): Likewise.
18758 * misc/getdtsz.c (__getdtablesize): Likewise.
18759 * misc/gethostid.c (gethostid): Likewise.
18760 * misc/getpagesize.c (__getpagesize): Likewise.
18761 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
18762 (__get_nprocs): Likewise.
18763 (__get_phys_pages): Likewise.
18764 (__get_avphys_pages): Likewise.
18765 * misc/getttyent.c (getttyent): Likewise.
18766 (setttyent): Likewise.
18767 (endttyent): Likewise.
18768 * misc/getusershell.c (getusershell): Likewise.
18769 (endusershell): Likewise.
18770 (setusershell): Likewise.
18771 (initshells): Likewise.
18772 * misc/hsearch.c (__hdestroy): Likewise.
18773 * misc/sync.c (sync): Likewise.
18774 * misc/syslog.c (closelog_internal): Likewise.
18775 (closelog): Likewise.
18776 * misc/ttyslot.c (ttyslot): Likewise.
18777 * misc/vhangup.c (vhangup): Likewise.
18778 * posix/fork.c (__fork): Likewise.
18779 * posix/getegid.c (__getegid): Likewise.
18780 * posix/geteuid.c (__geteuid): Likewise.
18781 * posix/getgid.c (__getgid): Likewise.
18782 * posix/getpid.c (__getpid): Likewise.
18783 * posix/getppid.c (__getppid): Likewise.
18784 * posix/getuid.c (__getuid): Likewise.
18785 * posix/pause.c (pause): Likewise.
18786 * posix/setpgrp.c (setpgrp): Likewise.
18787 * posix/setsid.c (__setsid): Likewise.
18788 * posix/test-vfork.c (noop): Likewise.
18789 * resolv/gethnamaddr.c (_endhtent): Likewise.
18790 (_gethtent): Likewise.
18791 (ht_endhostent): Likewise.
18792 (gethostent): Likewise.
18793 (dns_service): Likewise.
18794 * stdlib/drand48.c (drand48): Likewise.
18795 * stdlib/lrand48.c (lrand48): Likewise.
18796 * stdlib/mrand48.c (mrand48): Likewise.
18797 * stdlib/rand.c (rand): Likewise.
18798 * stdlib/random.c (__random): Likewise.
18799 * stdlib/setenv.c (clearenv): Likewise.
18800 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
18801 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
18802 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
18803 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
18804 (__get_nprocs): Likewise.
18805 (__get_phys_pages): Likewise.
18806 (__get_avphys_pages): Likewise.
18807 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
18808 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
18809 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
18810 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
18811 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
18812 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
18813 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
18814 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
18815 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
18816 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
18817 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
18818 * sysdeps/mach/hurd/sync.c (sync): Likewise.
18819 * sysdeps/posix/clock.c (clock): Likewise.
18820 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
18821 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
18822 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
18823 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
18824 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
18825 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
18826 (__get_nprocs_conf): Likewise.
18827 (__get_phys_pages): Likewise.
18828 (__get_avphys_pages): Likewise.
18829 * time/clock.c (clock): Likewise.
18830 * time/tzset.c (__tzname_max): Likewise.
18831
2e09a79a
JM
188322013-06-07 Joseph Myers <joseph@codesourcery.com>
18833
18834 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
18835 (__bswap_32): Do not use "register".
18836 * crypt/crypt.c (_ufc_doit_r): Likewise.
18837 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
18838 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
18839 * gmon/gmon.c (__monstartup): Likewise.
18840 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
18841 * hurd/hurdmalloc.c (more_memory): Likewise.
18842 (malloc): Likewise.
18843 (free): Likewise.
18844 (realloc): Likewise.
18845 (malloc_fork_prepare): Likewise.
18846 (malloc_fork_parent): Likewise.
18847 (malloc_fork_child): Likewise.
18848 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
18849 (_svcauth_des): Likewise.
18850 * inet/inet_lnaof.c (inet_lnaof): Likewise.
18851 * inet/inet_net.c (inet_network): Likewise.
18852 * inet/inet_netof.c (inet_netof): Likewise.
18853 * inet/rcmd.c (__validuser2_sa): Likewise.
18854 * io/fts.c (fts_open): Likewise.
18855 (fts_load): Likewise.
18856 (fts_close): Likewise.
18857 (fts_read): Likewise.
18858 (fts_children): Likewise.
18859 (fts_build): Likewise.
18860 (fts_stat): Likewise.
18861 (fts_sort): Likewise.
18862 (fts_alloc): Likewise.
18863 (fts_lfree): Likewise.
18864 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
18865 (_IO_file_xsgetn): Likewise.
18866 (_IO_file_xsgetn_mmap): Likewise.
18867 * libio/iofopncook.c (_IO_cookie_read): Likewise.
18868 (_IO_cookie_write): Likewise.
18869 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
18870 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
18871 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
18872 * malloc/obstack.c (_obstack_begin): Likewise.
18873 (_obstack_begin_1): Likewise.
18874 (_obstack_newchunk): Likewise.
18875 (_obstack_allocated_p): Likewise.
18876 (obstack_free): Likewise.
18877 (_obstack_memory_used): Likewise.
18878 * misc/getttyent.c (getttynam): Likewise.
18879 (getttyent): Likewise.
18880 (skip): Likewise.
18881 (value): Likewise.
18882 * misc/getusershell.c (initshells): Likewise.
18883 * misc/syslog.c (__vsyslog_chk): Likewise.
18884 * misc/ttyslot.c (ttyslot): Likewise.
18885 * nis/nis_hash.c (__nis_hash): Likewise.
18886 * posix/fnmatch_loop.c (FCT): Likewise.
18887 * posix/getconf.c (print_all): Likewise.
18888 (main): Likewise.
18889 * posix/getopt.c (exchange): Likewise.
18890 * posix/glob.c (globfree): Likewise.
18891 (prefix_array): Likewise.
18892 (__glob_pattern_type): Likewise.
18893 * resolv/arpa/nameser.h (NS_GET16): Likewise.
18894 (NS_GET32): Likewise.
18895 (NS_PUT16): Likewise.
18896 (NS_PUT32): Likewise.
18897 * resolv/gethnamaddr.c (getanswer): Likewise.
18898 (gethostbyname2): Likewise.
18899 (gethostbyaddr): Likewise.
18900 (_gethtent): Likewise.
18901 (_gethtbyname2): Likewise.
18902 (_gethtbyaddr): Likewise.
18903 * resolv/ns_print.c (dst_s_get_int16): Likewise.
18904 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
18905 * resolv/res_init.c (__res_vinit): Likewise.
18906 (net_mask): Likewise.
18907 * resolv/res_mkquery.c (outchar): Likewise.
18908 (PRINT): Likewise.
18909 * stdio-common/printf_fp.c (outchar): Likewise.
18910 (PRINT): Likewise.
18911 * stdio-common/printf_fphex.c (outchar): Likewise.
18912 (PRINT): Likewise.
18913 * stdio-common/printf_size.c (outchar): Likewise.
18914 (PRINT): Likewise.
18915 * stdio-common/test_rdwr.c (main): Likewise.
18916 * stdio-common/tfformat.c (matches): Likewise.
18917 * stdio-common/vfprintf.c (outchar): Likewise.
18918 (printf_unknown): Likewise.
18919 (buffered_vfprintf): Likewise.
18920 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
18921 * stdio-common/xbug.c (AppendToBuffer): Likewise.
18922 (ReadFile): Likewise.
18923 * stdlib/qsort.c (SWAP): Likewise.
18924 (_quicksort): Likewise.
18925 * stdlib/setenv.c (__add_to_environ): Likewise.
18926 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
18927 * stdlib/strtol_l.c (__strtol_l): Likewise.
18928 * stdlib/tst-strtod.c (main): Likewise.
18929 * stdlib/tst-strtol.c (main): Likewise.
18930 * stdlib/tst-strtoll.c (main): Likewise.
18931 * string/bits/string2.h (__strcmp_cc): Likewise.
18932 (__strcmp_cg): Likewise.
18933 (__strcspn_c1): Likewise.
18934 (__strcspn_c2): Likewise.
18935 (__strcspn_c3): Likewise.
18936 (__strspn_c1): Likewise.
18937 (__strspn_c2): Likewise.
18938 (__strspn_c3): Likewise.
18939 (__strsep_1c): Likewise.
18940 (__strsep_2c): Likewise.
18941 (__strsep_3c): Likewise.
18942 * string/memccpy.c (__memccpy): Likewise.
18943 * string/stpcpy.c (__stpcpy): Likewise.
18944 * string/strcmp.c (strcmp): Likewise.
18945 * string/strrchr.c (strrchr): Likewise.
18946 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
18947 Likewise.
18948 * sysdeps/mach/hurd/getcwd.c
18949 (_hurd_canonicalize_directory_name_internal): Likewise.
18950 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
18951 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
18952 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
18953 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
18954 Likewise, in both definitions.
18955 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
18956 definitions.
18957 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
18958 64] (__bswap_64): Likewise.
18959 * time/test_time.c (main): Likewise.
18960 * time/tzfile.c (__tzfile_read): Likewise.
18961 (__tzfile_compute): Likewise.
18962 * time/tzset.c (__tzset_parse_tz): Likewise.
18963 (tzset_internal): Likewise.
18964 (compute_change): Likewise.
18965 * wcsmbs/wcscat.c (__wcscat): Likewise.
18966 * wcsmbs/wcschr.c (wcschr): Likewise.
18967 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
18968 * wcsmbs/wcscspn.c (wcscspn): Likewise.
18969 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
18970 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
18971 * wcsmbs/wcsspn.c (wcsspn): Likewise.
18972 * wcsmbs/wcsstr.c (wcsstr): Likewise.
18973 * wcsmbs/wmemchr.c (wmemchr): Likewise.
18974 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
18975 * wcsmbs/wmemset.c (wmemset): Likewise.
18976
9e54314b
JM
189772013-06-06 Joseph Myers <joseph@codesourcery.com>
18978
18979 * scripts/config.guess: Update to version 2013-05-16.
18980 * scripts/config.sub: Update to version 2013-04-24.
18981 * scripts/install-sh: Update to version 2011-11-20.07.
18982 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
18983 * scripts/move-if-change: Update to version 2012-01-06 07:23.
18984
350635a5
OB
189852013-06-06 Ondřej Bílka <neleai@seznam.cz>
18986
18987 * debug/fgetws_u_chk.c: Fix leading whitespaces.
18988 * elf/sln.c: Likewise.
18989 * hurd/hurd/ioctl.h: Likewise.
18990 * hurd/hurdmalloc.c: Likewise.
18991 * hurd/xattr.c: Likewise.
18992 * include/shlib-compat.h: Likewise.
18993 * inet/ruserpass.c: Likewise.
18994 * libio/iofgets_u.c: Likewise.
18995 * libio/iofgetws_u.c: Likewise.
18996 * locale/programs/ld-identification.c: Likewise.
18997 * locale/programs/ld-time.c: Likewise.
18998 * mach/msg-destroy.c: Likewise.
18999 * nss/nss_files/files-netgrp.c: Likewise.
19000 * resolv/res_data.c: Likewise.
19001 * soft-fp/op-1.h: Likewise.
19002 * soft-fp/op-2.h: Likewise.
19003 * soft-fp/op-4.h: Likewise.
19004 * soft-fp/op-common.h: Likewise.
19005 * stdio-common/printf_fphex.c: Likewise.
19006 * stdlib/strtod_l.c: Likewise.
19007 * sunrpc/rpc/clnt.h: Likewise.
19008 * sysdeps/generic/framestate.c: Likewise.
19009 * sysdeps/i386/bsd-_setjmp.S: Likewise.
19010 * sysdeps/i386/bsd-setjmp.S: Likewise.
19011 * sysdeps/i386/__longjmp.S: Likewise.
19012 * sysdeps/i386/setjmp.S: Likewise.
19013 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
19014 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
19015 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
19016 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
19017 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
19018 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
19019 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
19020 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
19021 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
19022 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
19023 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
19024 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
19025 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
19026 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
19027 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
19028 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
19029 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
19030 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
19031 * sysdeps/ieee754/support.c: Likewise.
19032 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
19033 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
19034 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
19035 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
19036 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
19037 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
19038 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
19039 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
19040 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
19041 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
19042 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
19043 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
19044 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
19045 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
19046 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
19047 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
19048 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
19049 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
19050
44a988af
OB
190512013-06-05 Ondřej Bílka <neleai@seznam.cz>
19052
25506f09 19053 * posix/transbug.c: Remove executable mode.
44a988af 19054
9c84384c
JM
190552013-06-05 Joseph Myers <joseph@codesourcery.com>
19056
19057 * crypt/speeds.c: Remove trailing whitespace.
19058 * dlfcn/default.c: Likewise.
19059 * elf/ifuncdep2.c: Likewise.
19060 * elf/ifuncmain1.c: Likewise.
19061 * elf/ifuncmain1vis.c: Likewise.
19062 * elf/testobj.h: Likewise.
19063 * elf/tst-stackguard1.c: Likewise.
19064 * gmon/sys/gmon.h: Likewise.
19065 * hurd/hurdmsg.c: Likewise.
19066 * hurd/new-fd.c: Likewise.
19067 * hurd/ports-get.c: Likewise.
19068 * iconvdata/ibm1008_420.c: Likewise.
19069 * inet/tst-getni1.c: Likewise.
19070 * inet/tst-getni2.c: Likewise.
19071 * libio/ioungetc.c: Likewise.
19072 * libio/wfiledoalloc.c: Likewise.
19073 * manual/libm-err-tab.pl: Likewise.
19074 * math/w_dremf.c: Likewise.
19075 * misc/ftruncate.c: Likewise.
19076 * posix/bug-glob2.c: Likewise.
19077 * posix/tst-pcre.c: Likewise.
19078 * posix/wait4.c: Likewise.
19079 * resolv/README: Likewise.
19080 * resolv/res_debug.h: Likewise.
19081 * resolv/tst-inet_ntop.c: Likewise.
19082 * setjmp/bug269-setjmp.c: Likewise.
19083 * soft-fp/extended.h: Likewise.
19084 * soft-fp/op-1.h: Likewise.
19085 * soft-fp/op-2.h: Likewise.
19086 * soft-fp/op-4.h: Likewise.
19087 * soft-fp/op-8.h: Likewise.
19088 * soft-fp/testit.c: Likewise.
19089 * stdio-common/bug16.c: Likewise.
19090 * stdlib/random.c: Likewise.
19091 * sunrpc/rpcsvc/rquota.x: Likewise.
19092 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
19093 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
19094 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
19095 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
19096 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
19097 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
19098 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
19099 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
19100 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
19101 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
19102 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
19103 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
19104 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
19105 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
19106 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
19107 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
19108 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
19109 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
19110 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
19111 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
19112 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
19113 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
19114 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
19115 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
19116 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
19117 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
19118 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
19119 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
19120 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
19121 * sysdeps/ieee754/s_lib_version.c: Likewise.
19122 * sysdeps/mach/hurd/check_fds.c: Likewise.
19123 * sysdeps/mach/hurd/getsockname.c: Likewise.
19124 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
19125 * sysdeps/mach/hurd/recvfrom.c: Likewise.
19126 * sysdeps/powerpc/bits/link.h: Likewise.
19127 * sysdeps/powerpc/dl-procinfo.c: Likewise.
19128 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
19129 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
19130 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
19131 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
19132 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
19133 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
19134 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
19135 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
19136 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
19137 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
19138 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
19139 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
19140 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
19141 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
19142 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
19143 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
19144 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
19145 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
19146 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
19147 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
19148 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
19149 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
19150 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
19151 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
19152 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
19153 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
19154 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
19155 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
19156 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
19157 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
19158 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
19159 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
19160 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
19161 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
19162 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
19163 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
19164 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
19165 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
19166 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
19167 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
19168 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
19169 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
19170 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
19171 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
19172 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
19173 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
19174 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
19175 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
19176 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
19177 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
19178 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
19179 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
19180 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
19181 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
19182 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
19183 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
19184 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
19185 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
19186 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
19187 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
19188 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
19189 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
19190 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
19191 * sysdeps/powerpc/sysdep.h: Likewise.
19192 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
19193 * sysdeps/s390/s390-64/sub_n.S: Likewise.
19194 * sysdeps/sh/dl-trampoline.S: Likewise.
19195 * sysdeps/sh/memset.S: Likewise.
19196 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
19197 * sysdeps/sh/strlen.S: Likewise.
19198 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
19199 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
19200 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
19201 * sysdeps/sparc/sparc32/rem.S: Likewise.
19202 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
19203 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
19204 * sysdeps/sparc/sparc32/strchr.S: Likewise.
19205 * sysdeps/sparc/sparc32/udiv.S: Likewise.
19206 * sysdeps/sparc/sparc32/urem.S: Likewise.
19207 * sysdeps/sparc/sparc64/add_n.S: Likewise.
19208 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
19209 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
19210 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
19211 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
19212 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
19213 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
19214 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
19215 * sysdeps/unix/bsd/times.c: Likewise.
19216 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
19217 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
19218 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
19219 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
19220 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
19221 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
19222 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
19223 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
19224 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
19225 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
19226 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
19227 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
19228 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
19229 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
19230 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
19231 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
19232 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
19233 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
19234 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
19235 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
19236 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
19237 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
19238 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
19239 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
19240 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
19241 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
19242 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
19243 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
19244 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
19245 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
19246 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
19247 * sysdeps/x86_64/strcspn.S: Likewise.
19248
869378a5
RA
192492013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
19250
19251 * locale/C-translit.h: Revert #include <stdint.h> because this is a
19252 generated file. Regenerate properly from gen-translit.pl.
19253 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
19254 locale/C-translit.h.
19255
840e2943
AS
192562013-06-05 Andreas Schwab <schwab@suse.de>
19257
19258 [BZ #15100]
19259 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
19260 week as 6 instead of -1.
19261 * time/tst-strptime.c (day_tests): Add test case.
19262
4c60cb0c
SP
192632013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
19264
19265 * sysdeps/generic/math_private.h
19266 (libc_feholdexcept_setround_53bit): Replace with
19267 libc_feholdsetround_53bit.
19268 (libc_feupdateenv_53bit): Replace with
19269 libc_feresetround_53bit.
19270 (SET_RESTORE_ROUND_53BIT): Adjust.
19271
d180203e
SP
192722013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
19273
96df079a
SP
19274 * string/test-strchrnul.c: Add copyright header.
19275
d180203e
SP
19276 * posix/tst-getaddrinfo4.c: Increase test timeout.
19277
8b0ccb2d
CD
192782013-06-03 Carlos O'Donell <carlos@redhat.com>
19279
19280 [BZ #15536]
19281 * math/libm-test.inc (MAX_EXP): Remove
19282 (MIN_EXP): Define.
19283 (ulp): Use MIN_EXP - MANT_DIG.
19284 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
19285
3b3c4d40
CD
192862013-05-31 Carlos O'Donell <carlos@redhat.com>
19287
19288 * po/be.po: Revert last change.
19289 * po/zh_CN.po: Likewise.
19290 * po/header.pot: Likewise.
19291
fab7ce3f
JM
192922013-05-31 Joseph Myers <joseph@codesourcery.com>
19293
19294 * Makefile ($(common-objpfx)linkobj/libc.so): Define
19295 link-libc-deps to empty as target-specific variable.
19296 * Makerules (link-libc-args): New variable.
19297 (libc-for-link): Likewise.
19298 (link-libc-deps): Likewise.
19299 (lib%.so): Depend on $(link-libc-deps). Link with
19300 $(link-libc-args).
19301 (build-module): Link with $(link-libc-args).
19302 (build-module-asneeded): Likewise.
19303 (build-module-helper-objlist): Filter out $(link-libc-deps) from
19304 list of objects.
19305 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
19306 target-specific variable.
19307 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
19308 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
19309 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
19310 libc.
19311 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
19312 libc and ld.so.
19313 ($(objpfx)libpcprofile.so): Likewise.
19314 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
19315 libc_nonshared.a.
19316 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
19317 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
19318 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
19319 $(link-libc-deps).
19320 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
19321 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
19322 * login/Makefile ($(objpfx)libutil.so): Likewise.
19323 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
19324 * math/Makefile ($(objpfx)libm.so): Likewise.
19325 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
19326 $(objpfx)libnsl.so): Define libc-for-link as target-specific
19327 variable instead of depending directly on libc.
19328 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
19329 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
19330 $(link-libc-deps).
19331 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
19332 libc.
19333 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
19334 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
19335 ($(objpfx)libanl.so): Likewise.
19336 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
19337 ld.so.
19338 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
19339 $(link-libc-deps).
19340 * sysdeps/i386/fpu/Makefile: Remove file.
19341 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
19342 ($(objpfx)libm.so): Remove dependency on ld.so.
19343
eca5920c
PF
193442013-05-30 Patsy Franklin <pfrankli@redhat.com>
19345
19346 [BZ # 15553]
19347 * nis/yp_xdr.c (XDRMAXNAME): Define.
19348 (XDRMAXRECORD): Define.
19349 (xdr_domainname): Use XDRMAXNAME.
19350 (xdr_mapname): Likewise.
19351 (xdr_peername): Likewise.
19352 (xdr_keydat): Use XDRMAXRECORD.
19353 (xdr_valdat): Likewise.
19354
193552013-05-30 Jeff Law <law@redhat.com>
96945714
JL
19356
19357 [BZ #14256]
19358 * manual/errno.texi (ESTALE): Update to account for more than
19359 just NFS file systems.
19360 * sysdeps/gnu/errlist.c: Regenerated.
19361
b9375348
SP
193622013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
19363
19364 [BZ #15465]
19365 * elf/Makefile (tests): Add tst-null-argv.
19366 (modules-names): Add tst-null-argv-lib.
19367 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
19368 (tst-null-argv-ENV): Set environment for tst-null-argv.
19369 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
19370 (RTLD_PROGNAME): New macro.
19371 * elf/tst-null-argv.c: New test case.
19372 * elf/tst-null-argv-lib.c: Library for test case.
19373 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
19374 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
19375 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
19376 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
19377 * elf/dl-init.c (call_init): Likewise.
19378 (_dl_init): Likewise.
19379 * elf/dl-load.c (print_search_path): Likewise.
19380 (_dl_map_object): Likewise.
19381 * elf/dl-lookup.c (do_lookup_x): Likewise.
19382 (add_dependency): Likewise.
19383 (_dl_lookup_symbol_x): Likewise.
19384 (_dl_debug_bindings): Likewise.
19385 * elf/dl-open.c (_dl_show_scope): Likewise.
19386 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
19387 * elf/dl-version.c (match_symbol): Likewise.
19388 (_dl_check_map_versions): Likewise.
19389 * elf/rtld.c (dl_main): Likewise.
19390 (print_unresolved): Use RTLD_PROGNAME.
19391 (print_missing_version): Likewise.
19392 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
19393 (elf_machine_rela): Likewise.
19394 * sysdeps/powerpc/powerpc32/dl-machine.c
19395 (__process_machine_rela): Likewise.
19396 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
19397 Likewise.
19398 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
19399 Likewise.
19400 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
19401 Likewise.
19402 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
19403 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
19404 Likewise.
19405 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
19406 Likewise.
19407 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
19408
8a9f20c8
CD
194092013-05-28 Carlos O'Donell <carlos@redhat.com>
19410
19411 * po/be.po: Add descriptive title.
19412 * po/zh_CN.po: Likewise.
19413 * po/header.pot: Likewise.
19414
0e60d68e
MF
194152013-05-28 Mike Frysinger <vapier@gentoo.org>
19416
19417 * locale/programs/locarchive.c (create_archive): Inlucde fname in
19418 error message.
19419 (enlarge_archive): Likewise.
19420
56b672e9
BN
194212013-05-28 Ben North <ben@redfrontdoor.org>
19422
19423 * manual/arith.texi (frexp): It is the magnitude of the return
19424 value which lies in [0.5, 1), not the return value itself.
19425
5e056687
AZ
194262013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19427
19428 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19429
2b66ef5d
TS
194302013-05-26 Thomas Schwinge <thomas@codesourcery.com>
19431
528c2405
TS
19432 * stdio-common/bug26.c (main): Correct fscanf template.
19433
07b4c13d
TS
19434 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
19435 declare _dl_skip_args.
19436
ec9dd97c
TS
19437 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
19438 Don't declare.
19439
2b66ef5d
TS
19440 * manual/platform.texi: Add missing @end deftypefun.
19441
4f8dfe27
JM
194422013-05-24 Joseph Myers <joseph@codesourcery.com>
19443
0323d086
JM
19444 [BZ #15529]
19445 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
19446 bit of mantissa of 2^16382.
19447 * math/libm-test.inc (hypot_test_data): Add more tests.
19448
dd4259b9
JM
19449 * math/libm-test.inc: Add drem and pow10 to list of tested
19450 functions.
19451 (pow10_test): New function.
19452 (drem_test): Likewise.
19453 (drem_test_tonearest): Likewise.
19454 (drem_test_towardzero): Likewise.
19455 (drem_test_downward): Likewise.
19456 (drem_test_upward): Likewise.
19457 (main): Call the new functions.
19458
4f8dfe27
JM
19459 * math/libm-test.inc (finite_test_data): Remove.
19460 (finite_test): Run tests from isfinite_test_data.
19461 (gamma_test_data): Remove.
19462 (gamma_test): Run tests from lgamma_test_data.
19463 * sysdeps/i386/fpu/libm-test-ulps: Update.
19464 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19465
d116b7c4
AZ
194662013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19467
19468 * manual/platform.texi: Add PowerPC PPR function set documentation.
19469 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
19470 implementation.
19471
e96e3767
CD
194722013-05-24 Carlos O'Donell <carlos@redhat.com>
19473
19474 * math/libm-test.inc (MAX_EXP): Define.
19475 (ULPDIFF): Define.
19476 (ulp): New function.
19477 (check_float_internal): Use ULPDIFF.
19478 (cpow_test): Disable failing test.
19479 (check_ulp): Test ulp() implemetnation.
19480 (main): Call check_ulp before starting tests.
19481
b679a606
JM
194822013-05-24 Joseph Myers <joseph@codesourcery.com>
19483
e8bdba36
JM
19484 * math/gen-libm-test.pl (generate_testfile): Do not handle
19485 START_DATA and END_DATA.
19486 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
19487 END_DATA.
19488 (acos_tonearest_test_data): Likewise.
19489 (acos_towardzero_test_data): Likewise.
19490 (acos_downward_test_data): Likewise.
19491 (acos_upward_test_data): Likewise.
19492 (acosh_test_data): Likewise.
19493 (asin_test_data): Likewise.
19494 (asin_tonearest_test_data): Likewise.
19495 (asin_towardzero_test_data): Likewise.
19496 (asin_downward_test_data): Likewise.
19497 (asin_upward_test_data): Likewise.
19498 (asinh_test_data): Likewise.
19499 (atan_test_data): Likewise.
19500 (atanh_test_data): Likewise.
19501 (atan2_test_data): Likewise.
19502 (cabs_test_data): Likewise.
19503 (cacos_test_data): Likewise.
19504 (cacosh_test_data): Likewise.
19505 (carg_test_data): Likewise.
19506 (casin_test_data): Likewise.
19507 (casinh_test_data): Likewise.
19508 (catan_test_data): Likewise.
19509 (catanh_test_data): Likewise.
19510 (cbrt_test_data): Likewise.
19511 (ccos_test_data): Likewise.
19512 (ccosh_test_data): Likewise.
19513 (ceil_test_data): Likewise.
19514 (cexp_test_data): Likewise.
19515 (cimag_test_data): Likewise.
19516 (clog_test_data): Likewise.
19517 (clog10_test_data): Likewise.
19518 (conj_test_data): Likewise.
19519 (copysign_test_data): Likewise.
19520 (cos_test_data): Likewise.
19521 (cos_tonearest_test_data): Likewise.
19522 (cos_towardzero_test_data): Likewise.
19523 (cos_downward_test_data): Likewise.
19524 (cos_upward_test_data): Likewise.
19525 (cosh_test_data): Likewise.
19526 (cosh_tonearest_test_data): Likewise.
19527 (cosh_towardzero_test_data): Likewise.
19528 (cosh_downward_test_data): Likewise.
19529 (cosh_upward_test_data): Likewise.
19530 (cpow_test_data): Likewise.
19531 (cproj_test_data): Likewise.
19532 (creal_test_data): Likewise.
19533 (csin_test_data): Likewise.
19534 (csinh_test_data): Likewise.
19535 (csqrt_test_data): Likewise.
19536 (ctan_test_data): Likewise.
19537 (ctan_tonearest_test_data): Likewise.
19538 (ctan_towardzero_test_data): Likewise.
19539 (ctan_downward_test_data): Likewise.
19540 (ctan_upward_test_data): Likewise.
19541 (ctanh_test_data): Likewise.
19542 (ctanh_tonearest_test_data): Likewise.
19543 (ctanh_towardzero_test_data): Likewise.
19544 (ctanh_downward_test_data): Likewise.
19545 (ctanh_upward_test_data): Likewise.
19546 (erf_test_data): Likewise.
19547 (erfc_test_data): Likewise.
19548 (exp_test_data): Likewise.
19549 (exp_tonearest_test_data): Likewise.
19550 (exp_towardzero_test_data): Likewise.
19551 (exp_downward_test_data): Likewise.
19552 (exp_upward_test_data): Likewise.
19553 (exp10_test_data): Likewise.
19554 (exp2_test_data): Likewise.
19555 (expm1_test_data): Likewise.
19556 (fabs_test_data): Likewise.
19557 (fdim_test_data): Likewise.
19558 (finite_test_data): Likewise.
19559 (floor_test_data): Likewise.
19560 (fma_test_data): Likewise.
19561 (fma_towardzero_test_data): Likewise.
19562 (fma_downward_test_data): Likewise.
19563 (fma_upward_test_data): Likewise.
19564 (fmax_test_data): Likewise.
19565 (fmin_test_data): Likewise.
19566 (fmod_test_data): Likewise.
19567 (fpclassify_test_data): Likewise.
19568 (frexp_test_data): Likewise.
19569 (gamma_test_data): Likewise.
19570 (hypot_test_data): Likewise.
19571 (ilogb_test_data): Likewise.
19572 (isfinite_test_data): Likewise.
19573 (isgreater_test_data): Likewise.
19574 (isgreaterequal_test_data): Likewise.
19575 (isinf_test_data): Likewise.
19576 (isless_test_data): Likewise.
19577 (islessequal_test_data): Likewise.
19578 (islessgreater_test_data): Likewise.
19579 (isnan_test_data): Likewise.
19580 (isnormal_test_data): Likewise.
19581 (issignaling_test_data): Likewise.
19582 (isunordered_test_data): Likewise.
19583 (j0_test_data): Likewise.
19584 (j1_test_data): Likewise.
19585 (jn_test_data): Likewise.
19586 (ldexp_test_data): Likewise.
19587 (lgamma_test_data): Likewise.
19588 (lrint_test_data): Likewise.
19589 (lrint_tonearest_test_data): Likewise.
19590 (lrint_towardzero_test_data): Likewise.
19591 (lrint_downward_test_data): Likewise.
19592 (lrint_upward_test_data): Likewise.
19593 (llrint_test_data): Likewise.
19594 (llrint_tonearest_test_data): Likewise.
19595 (llrint_towardzero_test_data): Likewise.
19596 (llrint_downward_test_data): Likewise.
19597 (llrint_upward_test_data): Likewise.
19598 (log_test_data): Likewise.
19599 (log10_test_data): Likewise.
19600 (log1p_test_data): Likewise.
19601 (log2_test_data): Likewise.
19602 (logb_test_data): Likewise.
19603 (logb_downward_test_data): Likewise.
19604 (lround_test_data): Likewise.
19605 (llround_test_data): Likewise.
19606 (modf_test_data): Likewise.
19607 (nearbyint_test_data): Likewise.
19608 (nextafter_test_data): Likewise.
19609 (nexttoward_test_data): Likewise.
19610 (pow_test_data): Likewise.
19611 (pow_tonearest_test_data): Likewise.
19612 (pow_towardzero_test_data): Likewise.
19613 (pow_downward_test_data): Likewise.
19614 (pow_upward_test_data): Likewise.
19615 (remainder_test_data): Likewise.
19616 (remainder_tonearest_test_data): Likewise.
19617 (remainder_towardzero_test_data): Likewise.
19618 (remainder_downward_test_data): Likewise.
19619 (remainder_upward_test_data): Likewise.
19620 (remquo_test_data): Likewise.
19621 (rint_test_data): Likewise.
19622 (rint_tonearest_test_data): Likewise.
19623 (rint_towardzero_test_data): Likewise.
19624 (rint_downward_test_data): Likewise.
19625 (rint_upward_test_data): Likewise.
19626 (round_test_data): Likewise.
19627 (scalb_test_data): Likewise.
19628 (scalbn_test_data): Likewise.
19629 (scalbln_test_data): Likewise.
19630 (signbit_test_data): Likewise.
19631 (sin_test_data): Likewise.
19632 (sin_tonearest_test_data): Likewise.
19633 (sin_towardzero_test_data): Likewise.
19634 (sin_downward_test_data): Likewise.
19635 (sin_upward_test_data): Likewise.
19636 (sincos_test_data): Likewise.
19637 (sinh_test_data): Likewise.
19638 (sinh_tonearest_test_data): Likewise.
19639 (sinh_towardzero_test_data): Likewise.
19640 (sinh_downward_test_data): Likewise.
19641 (sinh_upward_test_data): Likewise.
19642 (sqrt_test_data): Likewise.
19643 (tan_test_data): Likewise.
19644 (tan_tonearest_test_data): Likewise.
19645 (tan_towardzero_test_data): Likewise.
19646 (tan_downward_test_data): Likewise.
19647 (tan_upward_test_data): Likewise.
19648 (tanh_test_data): Likewise.
19649 (tgamma_test_data): Likewise.
19650 (trunc_test_data): Likewise.
19651 (y0_test_data): Likewise.
19652 (y1_test_data): Likewise.
19653 (yn_test_data): Likewise.
19654 (significand_test_data): Likewise.
19655
b679a606
JM
19656 * math/gen-libm-test.pl (@functions): Remove variable.
19657 (generate_testfile): Don't handle START and END lines.
19658 * math/libm-test.inc (START): New macro.
19659 (END): Likewise.
19660 (END_COMPLEX): Likewise.
19661 (acos_test): Use END macro without arguments.
19662 (acos_test_tonearest): Likewise.
19663 (acos_test_towardzero): Likewise.
19664 (acos_test_downward): Likewise.
19665 (acos_test_upward): Likewise.
19666 (acosh_test): Likewise.
19667 (asin_test): Likewise.
19668 (asin_test_tonearest): Likewise.
19669 (asin_test_towardzero): Likewise.
19670 (asin_test_downward): Likewise.
19671 (asin_test_upward): Likewise.
19672 (asinh_test): Likewise.
19673 (atan_test): Likewise.
19674 (atanh_test): Likewise.
19675 (atan2_test): Likewise.
19676 (cabs_test): Likewise.
19677 (cacos_test): Use END_COMPLEX macro without arguments.
19678 (cacosh_test): Likewise.
19679 (carg_test): Use END macro without arguments.
19680 (casin_test): Use END_COMPLEX macro without arguments.
19681 (casinh_test): Likewise.
19682 (catan_test): Likewise.
19683 (catanh_test): Likewise.
19684 (cbrt_test): Use END macro without arguments.
19685 (ccos_test): Use END_COMPLEX macro without arguments.
19686 (ccosh_test): Likewise.
19687 (ceil_test): Use END macro without arguments.
19688 (cexp_test): Use END_COMPLEX macro without arguments.
19689 (cimag_test): Use END macro without arguments.
19690 (clog_test): Use END_COMPLEX macro without arguments.
19691 (clog10_test): Likewise.
19692 (conj_test): Likewise.
19693 (copysign_test): Use END macro without arguments.
19694 (cos_test): Likewise.
19695 (cos_test_tonearest): Likewise.
19696 (cos_test_towardzero): Likewise.
19697 (cos_test_downward): Likewise.
19698 (cos_test_upward): Likewise.
19699 (cosh_test): Likewise.
19700 (cosh_test_tonearest): Likewise.
19701 (cosh_test_towardzero): Likewise.
19702 (cosh_test_downward): Likewise.
19703 (cosh_test_upward): Likewise.
19704 (cpow_test): Use END_COMPLEX macro without arguments.
19705 (cproj_test): Likewise.
19706 (creal_test): Use END macro without arguments.
19707 (csin_test): Use END_COMPLEX macro without arguments.
19708 (csinh_test): Likewise.
19709 (csqrt_test): Likewise.
19710 (ctan_test): Likewise.
19711 (ctan_test_tonearest): Likewise.
19712 (ctan_test_towardzero): Likewise.
19713 (ctan_test_downward): Likewise.
19714 (ctan_test_upward): Likewise.
19715 (ctanh_test): Likewise.
19716 (ctanh_test_tonearest): Likewise.
19717 (ctanh_test_towardzero): Likewise.
19718 (ctanh_test_downward): Likewise.
19719 (ctanh_test_upward): Likewise.
19720 (erf_test): Use END macro without arguments.
19721 (erfc_test): Likewise.
19722 (exp_test): Likewise.
19723 (exp_test_tonearest): Likewise.
19724 (exp_test_towardzero): Likewise.
19725 (exp_test_downward): Likewise.
19726 (exp_test_upward): Likewise.
19727 (exp10_test): Likewise.
19728 (exp2_test): Likewise.
19729 (expm1_test): Likewise.
19730 (fabs_test): Likewise.
19731 (fdim_test): Likewise.
19732 (finite_test): Likewise.
19733 (floor_test): Likewise.
19734 (fma_test): Likewise.
19735 (fma_test_towardzero): Likewise.
19736 (fma_test_downward): Likewise.
19737 (fma_test_upward): Likewise.
19738 (fmax_test): Likewise.
19739 (fmin_test): Likewise.
19740 (fmod_test): Likewise.
19741 (fpclassify_test): Likewise.
19742 (frexp_test): Likewise.
19743 (gamma_test): Likewise.
19744 (hypot_test): Likewise.
19745 (ilogb_test): Likewise.
19746 (isfinite_test): Likewise.
19747 (isgreater_test): Likewise.
19748 (isgreaterequal_test): Likewise.
19749 (isinf_test): Likewise.
19750 (isless_test): Likewise.
19751 (islessequal_test): Likewise.
19752 (islessgreater_test): Likewise.
19753 (isnan_test): Likewise.
19754 (isnormal_test): Likewise.
19755 (issignaling_test): Likewise.
19756 (isunordered_test): Likewise.
19757 (j0_test): Likewise.
19758 (j1_test): Likewise.
19759 (jn_test): Likewise.
19760 (ldexp_test): Likewise.
19761 (lgamma_test): Likewise.
19762 (lrint_test): Likewise.
19763 (lrint_test_tonearest): Likewise.
19764 (lrint_test_towardzero): Likewise.
19765 (lrint_test_downward): Likewise.
19766 (lrint_test_upward): Likewise.
19767 (llrint_test): Likewise.
19768 (llrint_test_tonearest): Likewise.
19769 (llrint_test_towardzero): Likewise.
19770 (llrint_test_downward): Likewise.
19771 (llrint_test_upward): Likewise.
19772 (log_test): Likewise.
19773 (log10_test): Likewise.
19774 (log1p_test): Likewise.
19775 (log2_test): Likewise.
19776 (logb_test): Likewise.
19777 (logb_test_downward): Likewise.
19778 (lround_test): Likewise.
19779 (llround_test): Likewise.
19780 (modf_test): Likewise.
19781 (nearbyint_test): Likewise.
19782 (nextafter_test): Likewise.
19783 (nexttoward_test): Likewise.
19784 (pow_test): Likewise.
19785 (pow_test_tonearest): Likewise.
19786 (pow_test_towardzero): Likewise.
19787 (pow_test_downward): Likewise.
19788 (pow_test_upward): Likewise.
19789 (remainder_test): Likewise.
19790 (remainder_test_tonearest): Likewise.
19791 (remainder_test_towardzero): Likewise.
19792 (remainder_test_downward): Likewise.
19793 (remainder_test_upward): Likewise.
19794 (remquo_test): Likewise.
19795 (rint_test): Likewise.
19796 (rint_test_tonearest): Likewise.
19797 (rint_test_towardzero): Likewise.
19798 (rint_test_downward): Likewise.
19799 (rint_test_upward): Likewise.
19800 (round_test): Likewise.
19801 (scalb_test): Likewise.
19802 (scalbn_test): Likewise.
19803 (scalbln_test): Likewise.
19804 (signbit_test): Likewise.
19805 (sin_test): Likewise.
19806 (sin_test_tonearest): Likewise.
19807 (sin_test_towardzero): Likewise.
19808 (sin_test_downward): Likewise.
19809 (sin_test_upward): Likewise.
19810 (sincos_test): Likewise.
19811 (sinh_test): Likewise.
19812 (sinh_test_tonearest): Likewise.
19813 (sinh_test_towardzero): Likewise.
19814 (sinh_test_downward): Likewise.
19815 (sinh_test_upward): Likewise.
19816 (sqrt_test): Likewise.
19817 (tan_test): Likewise.
19818 (tan_test_tonearest): Likewise.
19819 (tan_test_towardzero): Likewise.
19820 (tan_test_downward): Likewise.
19821 (tan_test_upward): Likewise.
19822 (tanh_test): Likewise.
19823 (tgamma_test): Likewise.
19824 (trunc_test): Likewise.
19825 (y0_test): Likewise.
19826 (y1_test): Likewise.
19827 (yn_test): Likewise.
19828 (significand_test): Likewise.
19829
bae143d2
OB
198302013-05-24 Ondřej Bílka <neleai@seznam.cz>
19831
19832 [BZ #15381]
19833 * libio/genops.c (_IO_no_init): Initialize wide struct info.
19834
9323d39b
EM
198352013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
19836
d4ea44a0 19837 [BZ #14894]
9323d39b
EM
19838 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
19839 __ppc_mdoio and __ppc_mdoom.
19840 * manual/platform.texi: Document new functions __ppc_yield,
19841 __ppc_mdoio and __ppc_mdoom.
19842
13e23af7
CD
198432013-05-22 Carlos O'Donell <carlos@redhat.com>
19844
19845 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
19846 (main): Mention "tls" pseudo-hwcap is legacy.
19847 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
19848
351fe550
JM
198492013-05-22 Joseph Myers <joseph@codesourcery.com>
19850
19851 * math/gen-libm-test.pl (parse_args): Output only string of
19852 arguments as text for test name, not full call or descriptions of
19853 tests for extra outputs.
19854 (generate_testfile): Do not pass function name to parse_args.
19855 Generate this_func variable from START.
19856 * math/libm-test.inc (struct test_f_f_data): Rename test_name
19857 field to arg_str.
19858 (struct test_ff_f_data): Likewise.
19859 (test_ff_f_data_nexttoward): Likewise.
19860 (struct test_fi_f_data): Likewise.
19861 (struct test_fl_f_data): Likewise.
19862 (struct test_if_f_data): Likewise.
19863 (struct test_fff_f_data): Likewise.
19864 (struct test_c_f_data): Likewise.
19865 (struct test_f_f1_data): Likewise. Remove field extra_name.
19866 (struct test_fF_f1_data): Likewise.
19867 (struct test_ffI_f1_data): Likewise.
19868 (struct test_c_c_data): Rename test_name field to arg_str.
19869 (struct test_cc_c_data): Likewise.
19870 (struct test_f_i_data): Likewise.
19871 (struct test_ff_i_data): Likewise.
19872 (struct test_f_l_data): Likewise.
19873 (struct test_f_L_data): Likewise.
19874 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
19875 and extra2_name.
19876 (COMMON_TEST_SETUP): New macro.
19877 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
19878 (COMMON_TEST_CLEANUP): Likewise.
19879 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
19880 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
19881 macros.
19882 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
19883 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
19884 macros.
19885 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
19886 (RUN_TEST_fff_f): Take argument string. Call new setup and
19887 cleanup macros.
19888 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
19889 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
19890 macros.
19891 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
19892 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
19893 macros.
19894 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
19895 (RUN_TEST_fF_f1): Take argument string. Call new setup and
19896 cleanup macros.
19897 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
19898 (RUN_TEST_fI_f1): Take argument string. Call new setup and
19899 cleanup macros.
19900 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
19901 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
19902 cleanup macros.
19903 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
19904 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
19905 macros.
19906 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
19907 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
19908 macros.
19909 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
19910 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
19911 macros.
19912 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
19913 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
19914 cleanup macros.
19915 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
19916 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
19917 cleanup macros.
19918 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
19919 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
19920 macros.
19921 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
19922 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
19923 cleanup macros.
19924 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
19925 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
19926 macros.
19927 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
19928 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
19929 macros.
19930 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
19931 (RUN_TEST_fFF_11): Take argument string. Call new setup and
19932 cleanup macros.
19933 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
19934
85118d4d
EBM
199352013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
19936
19937 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
19938 to _sifields.sigfault.
19939 (si_addr_lsb): Define new macro.
19940 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
19941 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
19942 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
19943
7a44c18f
CD
199442013-05-03 Carlos O'Donell <carlos at redhat.com>
19945
19946 [BZ #15441]
19947 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
19948 returns -1.
19949 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
19950 null return -1.
19951 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
19952 loading the domain.
19953
b50a7181
JM
199542013-05-22 Joseph Myers <joseph@codesourcery.com>
19955
19956 * math/gen-libm-test.pl (parse_args): Do not include expected
19957 result in test name.
19958 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
19959 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
19960 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
19961 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
19962 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
19963 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19964
051063c8
SP
199652013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
19966
3ce9e010
SP
19967 * benchtests/Makefile: Sort function entries.
19968
051063c8
SP
19969 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
19970 tanh, asinh, acosh, atanh.
19971 * benchtests/acos-inputs: New file.
19972 * benchtests/acosh-inputs: New file.
19973 * benchtests/asin-inputs: New file.
19974 * benchtests/asinh-inputs: New file.
19975 * benchtests/atanh-inputs: New file.
19976 * benchtests/cosh-inputs: New file.
19977 * benchtests/log-inputs: New file.
19978 * benchtests/sinh-inputs: New file.
19979 * benchtests/tanh-inputs: New file.
19980
47c22455
DL
199812013-05-21 Dmitry V. Levin <ldv@altlinux.org>
19982
19983 [BZ #15339]
19984 * posix/tst-getaddrinfo4.c: New test.
19985 * posix/Makefile (tests): Add it.
19986
3d04f5db
SP
199872013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
19988
19989 [BZ #15339]
19990 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
19991 when no services were used.
19992 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
19993 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
19994
d5dd6189
AS
199952013-05-21 Andreas Schwab <schwab@suse.de>
19996
19997 [BZ #15014]
19998 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
19999 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
20000 successful.
20001 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
20002 redundant variable declarations and reallocation of buffer when
20003 parsing as IPv6 address. Always set NSS status when called from
20004 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
20005 buffer too small. Correct computation of needed size.
20006 * nss/Makefile (tests): Add test-digits-dots.
20007 * nss/test-digits-dots.c: New test.
20008
fef94eab
SP
200092013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
20010
20011 * benchtests/Makefile: Remove instructions for adding
20012 benchmark tests.
20013 * benchtests/README: New file to explain how to execute and
20014 enhance the benchmark tests.
20015
e39adf43
AS
200162013-05-21 Andreas Schwab <schwab@suse.de>
20017
20018 [BZ #15493]
20019 * setjmp/Makefile (tests): Add tst-sigsetjmp.
20020 * setjmp/tst-sigsetjmp.c: New test.
20021
b2b671b6
OB
200222013-05-20 Ondřej Bílka <neleai@seznam.cz>
20023
20024 * sysdeps/x86_64/memset.S (memset): New implementation.
20025 (__bzero): Likewise.
20026 (__memset_tail): New function.
20027
2d48b41c
OB
200282013-05-20 Ondřej Bílka <neleai@seznam.cz>
20029
20030 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
20031 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
20032 __memcpy_sse2_unaligned ifunc selection.
20033 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
20034 Add memcpy-sse2-unaligned.S.
20035 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
20036 Add: __memcpy_sse2_unaligned.
20037
f16cc3eb
JM
200382013-05-19 Joseph Myers <joseph@codesourcery.com>
20039
3e694268
JM
20040 [BZ #15490]
20041 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
20042 math_force_eval before restoring floating-point envrionment.
20043 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
20044 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
20045 Likewise.
20046 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
20047 <math_private.h>.
20048 (__nearbyintl): Use math_force_eval before restoring
20049 floating-point environment.
20050 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
20051
db62a907
JM
20052 * math/gen-libm-test.pl (special_functions): Remove.
20053 (parse_args): Don't handle TEST_extra. Handle functions with no
20054 return value.
20055 * math/libm-test.inc (struct test_sincos_data): Replace with
20056 struct test_fFF_11_data.
20057 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
20058 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
20059 (sincos_test_data): Change element type to struct
20060 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
20061 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
20062 RUN_TEST_LOOP_sincos.
20063 * math/README.libm-test: Don't mention special handling of
20064 individual functions.
20065 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
20066 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
20067 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
20068 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
20069 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
20070 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20071
f16cc3eb
JM
20072 * math/gen-libm-test.pl (get_variable): Remove function.
20073 (parse_args): Don't show pointer parameters to call in test
20074 names. Use "extra output N" in test names for extra outputs
20075 rather than naming variables.
20076
3779b5b6
JM
200772013-05-18 Joseph Myers <joseph@codesourcery.com>
20078
2ee094ff
JM
20079 [BZ #15488]
20080 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
20081 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
20082 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
20083 double tests.
20084 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
20085 disable.
20086 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
20087 check_long_double.
20088
3779b5b6
JM
20089 * math/gen-libm-test.pl (@tests): Remove variable.
20090 ($count): Likewise.
20091 (new_test): Remove function.
20092 (show_exceptions): New function.
20093 (special_functions): Use show_exceptions instead of new_test.
20094 (parse_args): Likewise.
20095 (generate_testfile): Pass only function name in generated call to
20096 print_max_error or print_complex_max_error.
20097 (get_ulps): Do not handle complex tests specially.
20098 (output_test): Rename to ...
20099 (get_all_ulps_for_test): ... this. Return a string rather than
20100 printing to a file. Require ulps to be present.
20101 (output_ulps): Generate arrays rather than #defines.
20102 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
20103 (struct ulp_data): New type.
20104 (BUILD_COMPLEX_ULP): Remove macro.
20105 (compare_ulp_data): New function.
20106 (find_ulps): Likewise.
20107 (find_test_ulps): Likewise.
20108 (find_function_ulps): Likewise.
20109 (find_complex_function_ulps): Likewise.
20110 (print_max_error): Determine allowed ulps using
20111 find_function_ulps.
20112 (print_complex_max_error): Determine allowed ulps using
20113 find_complex_function_ulps.
20114 (check_float_internal): Determine max ulps using find_test_ulps.
20115 (check_float): Do not take max_ulp parameter. Update call to
20116 check_float_internal.
20117 (check_complex): Likewise.
20118 (check_int): Do not take max_ulp parameter.
20119 (check_long): Likewise.
20120 (check_bool): Likewise.
20121 (check_longlong): Likewise.
20122 (struct test_f_f_data): Remove max_ulp field.
20123 (struct test_ff_f_data): Likewise.
20124 (struct test_ff_f_data_nexttoward): Likewise.
20125 (struct test_fi_f_data): Likewise.
20126 (struct test_fl_f_data): Likewise.
20127 (struct test_if_f_data): Likewise.
20128 (struct test_fff_f_data): Likewise.
20129 (struct test_c_f_data): Likewise.
20130 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
20131 (struct test_fF_f1_data): Likewise.
20132 (struct test_ffI_f1_data): Likewise.
20133 (struct test_c_c_data): Remove max_ulp field.
20134 (struct test_cc_c_data): Likewise.
20135 (struct test_f_i_data): Likewise.
20136 (struct test_ff_i_data): Likewise.
20137 (struct test_f_l_data): Likewise.
20138 (struct test_f_L_data): Likewise.
20139 (struct test_sincos_data): Likewise.
20140 (RUN_TEST_f_f): Do not handle ulps.
20141 (RUN_TEST_LOOP_f_f): Likewise.
20142 (RUN_TEST_2_f): Likewise.
20143 (RUN_TEST_LOOP_2_f): Likewise.
20144 (RUN_TEST_fff_f): Likewise.
20145 (RUN_TEST_LOOP_fff_f): Likewise.
20146 (RUN_TEST_c_f): Likewise.
20147 (RUN_TEST_LOOP_c_f): Likewise.
20148 (RUN_TEST_f_f1): Likewise.
20149 (RUN_TEST_LOOP_f_f1): Likewise.
20150 (RUN_TEST_fF_f1): Likewise.
20151 (RUN_TEST_LOOP_fF_f1): Likewise.
20152 (RUN_TEST_fI_f1): Likewise.
20153 (RUN_TEST_LOOP_fI_f1): Likewise.
20154 (RUN_TEST_ffI_f1): Likewise.
20155 (RUN_TEST_LOOP_ffI_f1): Likewise.
20156 (RUN_TEST_c_c): Likewise.
20157 (RUN_TEST_LOOP_c_c): Likewise.
20158 (RUN_TEST_cc_c): Likewise.
20159 (RUN_TEST_LOOP_cc_c): Likewise.
20160 (RUN_TEST_f_i): Likewise.
20161 (RUN_TEST_LOOP_f_i): Likewise.
20162 (RUN_TEST_f_i_tg): Likewise.
20163 (RUN_TEST_LOOP_f_i_tg): Likewise.
20164 (RUN_TEST_ff_i_tg): Likewise.
20165 (RUN_TEST_LOOP_ff_i_tg): Likewise.
20166 (RUN_TEST_f_b): Likewise.
20167 (RUN_TEST_LOOP_f_b): Likewise.
20168 (RUN_TEST_f_b_tg): Likewise.
20169 (RUN_TEST_LOOP_f_b_tg): Likewise.
20170 (RUN_TEST_f_l): Likewise.
20171 (RUN_TEST_LOOP_f_l): Likewise.
20172 (RUN_TEST_f_L): Likewise.
20173 (RUN_TEST_LOOP_f_L): Likewise.
20174 (RUN_TEST_sincos): Likewise.
20175 (RUN_TEST_LOOP_sincos): Likewise.
20176
8269107f
JM
201772013-05-17 Joseph Myers <joseph@codesourcery.com>
20178
bb38759d
JM
20179 [BZ #15480]
20180 [BZ #15485]
20181 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
20182 main case of finite arguments, set rounding mode to FE_TONEAREST
20183 and discard exceptions.
20184 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
20185 exceptions.
20186 (remainder_tonearest_test_data): New variable.
20187 (remainder_test_tonearest): New function.
20188 (remainder_towardzero_test_data): New variable.
20189 (remainder_test_towardzero): New function.
20190 (remainder_downward_test_data): New variable.
20191 (remainder_test_downward): New function.
20192 (remainder_upward_test_data): New variable.
20193 (remainder_test_upward): New function.
20194 (main): Call the new test functions.
20195
a00bdcf0
JM
20196 * math/libm-test.inc (struct test_f_f1_data): Remove field
20197 extra_init.
20198 (struct test_fF_f1_data): Likewise.
20199 (struct test_ffI_f1_data): Likewise.
20200 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
20201 based on value of EXTRA_EXPECTED.
20202 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
20203 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
20204 EXTRA_VAR based on value of EXTRA_EXPECTED.
20205 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
20206 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
20207 EXTRA_VAR based on value of EXTRA_EXPECTED.
20208 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
20209 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
20210 EXTRA_VAR based on value of EXTRA_EXPECTED.
20211 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
20212 * math/gen-libm-test.pl (parse_args): Don't output initializers
20213 for extra output values.
20214
de407f79
JM
20215 * math/libm-test.inc (check_int): Expect result to be exactly
20216 equal to expected value and do not handle ulps.
20217 (check_long): Likewise.
20218 (check_longlong): Likewise.
20219
8269107f
JM
20220 * math/libm-test.inc (ceil_test_data): Test for "inexact"
20221 exceptions.
20222 (cimag_test_data): Likewise.
20223 (conj_test_data): Likewise.
20224 (copysign_test_data): Likewise.
20225 (cproj_test_data): Likewise.
20226 (creal_test_data): Likewise.
20227 (fabs_test_data): Likewise.
20228 (fdim_test_data): Likewise.
20229 (finite_test_data): Likewise.
20230 (floor_test_data): Likewise.
20231 (fmax_test_data): Likewise.
20232 (fmin_test_data): Likewise.
20233 (fmod_test_data): Likewise.
20234 (fpclassify_test_data): Likewise.
20235 (frexp_test_data): Likewise.
20236 (ilogb_test_data): Likewise.
20237 (isfinite_test_data): Likewise.
20238 (isgreater_test_data): Likewise.
20239 (isgreaterequal_test_data): Likewise.
20240 (isinf_test_data): Likewise.
20241 (isless_test_data): Likewise.
20242 (islessequal_test_data): Likewise.
20243 (islessgreater_test_data): Likewise.
20244 (isnan_test_data): Likewise.
20245 (isnormal_test_data): Likewise.
20246 (issignaling_test_data): Likewise.
20247 (isunordered_test_data): Likewise.
20248 (ldexp_test_data): Likewise.
20249 (lrint_test_data): Likewise.
20250 (lrint_test_data) [TEST_FLOAT]: Disable one test.
20251 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
20252 (lrint_tonearest_test_data): Test for "inexact" exceptions.
20253 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
20254 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
20255 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
20256 test input.
20257 (lrint_towardzero_test_data): Test for "inexact" exceptions.
20258 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
20259 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
20260 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
20261 that test input.
20262 (lrint_downward_test_data): Test for "inexact" exceptions.
20263 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
20264 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
20265 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
20266 test input.
20267 (lrint_upward_test_data): Test for "inexact" exceptions.
20268 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
20269 test input.
20270 (llrint_test_data): Test for "inexact" exceptions.
20271 (llrint_test_data) [TEST_FLOAT]: Disable one test.
20272 (llrint_tonearest_test_data): Test for "inexact" exceptions.
20273 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
20274 (llrint_towardzero_test_data): Test for "inexact" exceptions.
20275 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
20276 (llrint_downward_test_data): Test for "inexact" exceptions.
20277 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
20278 (llrint_upward_test_data): Test for "inexact" exceptions.
20279 (logb_test_data): Likewise.
20280 (logb_downward_test_data): Likewise.
20281 (nextafter_test_data): Likewise.
20282 (nexttoward_test_data): Likewise.
20283 (remainder_test_data): Likewise.
20284 (remquo_test_data): Likewise.
20285 (scalbn_test_data): Likewise.
20286 (scalbln_test_data): Likewise.
20287 (signbit_test_data): Likewise.
20288 (sqrt_test_data): Likewise.
20289 (significand_test_data): Likewise.
20290
48a18de1
SP
202912013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
20292
20293 [BZ #15424]
20294 * benchtests/bench-modf.c (struct args): Mark arg0 as
20295 volatile.
20296 * scripts/bench.pl: Mark members of struct args as volatile.
20297
13d3b41a
AZ
202982013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20299
68191c1d 20300 [BZ # 15497]
13d3b41a
AZ
20301 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
20302 negative infinity on POWER6 or lower.
20303 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
20304
2848b105
MR
203052013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
20306
20307 [BZ #15442]
20308 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
20309 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
20310 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
20311 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
20312 (_FP_SETQNAN): New macro.
20313 (_FP_SETQNAN_SEMIRAW): Likewise.
20314 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
20315 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
20316 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
20317 (FP_EXTEND): Use _FP_FRAC_SNANP.
20318 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
20319 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
20320 into account.
20321 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
20322 New macro.
20323 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
20324 Likewise.
20325
323e5cb7
JM
203262013-05-16 Joseph Myers <joseph@codesourcery.com>
20327
c58b274f
JM
20328 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
20329 with DIVIDE_BY_ZERO_EXCEPTION.
20330 (gamma_test_data): Likewise.
20331 (lgamma_test_data): Likewise.
20332 (log_test_data): Likewise.
20333 (log10_test_data): Likewise.
20334 (log2_test_data): Likewise.
20335 (tgamma_test_data): Likewise.
20336
0ab34904
JM
20337 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
20338 (acos_test_tonearest): Likewise.
20339 (acos_test_towardzero): Likewise.
20340 (acos_test_downward): Likewise.
20341 (acos_test_upward): Likewise.
20342 (acosh_test): Likewise.
20343 (asin_test): Likewise.
20344 (asin_test_tonearest): Likewise.
20345 (asin_test_towardzero): Likewise.
20346 (asin_test_downward): Likewise.
20347 (asin_test_upward): Likewise.
20348 (asinh_test): Likewise.
20349 (atan_test): Likewise.
20350 (atanh_test): Likewise.
20351 (atan2_test): Likewise.
20352 (cabs_test): Likewise.
20353 (cacos_test): Likewise.
20354 (cacosh_test): Likewise.
20355 (casin_test): Likewise.
20356 (casinh_test): Likewise.
20357 (catan_test): Likewise.
20358 (catanh_test): Likewise.
20359 (cbrt_test): Likewise.
20360 (ccos_test): Likewise.
20361 (ccosh_test): Likewise.
20362 (cexp_test): Likewise.
20363 (clog_test): Likewise.
20364 (clog10_test): Likewise.
20365 (cos_test): Likewise.
20366 (cos_test_tonearest): Likewise.
20367 (cos_test_towardzero): Likewise.
20368 (cos_test_downward): Likewise.
20369 (cos_test_upward): Likewise.
20370 (cosh_test): Likewise.
20371 (cosh_test_tonearest): Likewise.
20372 (cosh_test_towardzero): Likewise.
20373 (cosh_test_downward): Likewise.
20374 (cosh_test_upward): Likewise.
20375 (cpow_test): Likewise.
20376 (csin_test): Likewise.
20377 (csinh_test): Likewise.
20378 (csqrt_test): Likewise.
20379 (ctan_test): Likewise.
20380 (ctan_test_tonearest): Likewise.
20381 (ctan_test_towardzero): Likewise.
20382 (ctan_test_downward): Likewise.
20383 (ctan_test_upward): Likewise.
20384 (ctanh_test): Likewise.
20385 (ctanh_test_tonearest): Likewise.
20386 (ctanh_test_towardzero): Likewise.
20387 (ctanh_test_downward): Likewise.
20388 (ctanh_test_upward): Likewise.
20389 (erf_test): Likewise.
20390 (erfc_test): Likewise.
20391 (exp_test): Likewise.
20392 (exp_test_tonearest): Likewise.
20393 (exp_test_towardzero): Likewise.
20394 (exp_test_downward): Likewise.
20395 (exp_test_upward): Likewise.
20396 (exp10_test): Likewise.
20397 (exp2_test): Likewise.
20398 (expm1_test): Likewise.
20399 (fmod_test): Likewise.
20400 (gamma_test): Likewise.
20401 (hypot_test): Likewise.
20402 (j0_test): Likewise.
20403 (j1_test): Likewise.
20404 (jn_test): Likewise.
20405 (lgamma_test): Likewise.
20406 (log_test): Likewise.
20407 (log10_test): Likewise.
20408 (log1p_test): Likewise.
20409 (log2_test): Likewise.
20410 (logb_test_downward): Likewise.
20411 (pow_test): Likewise.
20412 (pow_test_tonearest): Likewise.
20413 (pow_test_towardzero): Likewise.
20414 (pow_test_downward): Likewise.
20415 (pow_test_upward): Likewise.
20416 (remainder_test): Likewise.
20417 (remquo_test): Likewise.
20418 (sin_test): Likewise.
20419 (sin_test_tonearest): Likewise.
20420 (sin_test_towardzero): Likewise.
20421 (sin_test_downward): Likewise.
20422 (sin_test_upward): Likewise.
20423 (sincos_test): Likewise.
20424 (sinh_test): Likewise.
20425 (sinh_test_tonearest): Likewise.
20426 (sinh_test_towardzero): Likewise.
20427 (sinh_test_downward): Likewise.
20428 (sinh_test_upward): Likewise.
20429 (sqrt_test): Likewise.
20430 (tan_test): Likewise.
20431 (tan_test_tonearest): Likewise.
20432 (tan_test_towardzero): Likewise.
20433 (tan_test_downward): Likewise.
20434 (tan_test_upward): Likewise.
20435 (tanh_test): Likewise.
20436 (tgamma_test): Likewise.
20437 (y0_test): Likewise.
20438 (y1_test): Likewise.
20439 (yn_test): Likewise.
20440
323e5cb7
JM
20441 * math/gen-libm-test.pl (adjust_arg): Remove function.
20442 (special_function): Remove argument $in_func. Only handle
20443 generating output for tables of tests, not inside functions.
20444 (parse_args): Likewise.
20445 (generate_testfile): Remove variable $in_func. Update call to
20446 parse_args.
20447 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
20448 (MINUS_ZERO_INIT): Rename macro to minus_zero.
20449 (PLUS_INFTY_INIT): Rename macro to plus_infty.
20450 (MINUS_INFTY_INIT): Rename macro to minus_infty.
20451 (QNAN_VALUE_INIT): Rename macro to qnan_value.
20452 (MAX_VALUE_INIT): Rename macro to max_value.
20453 (MIN_VALUE_INIT): Rename macro to min_value.
20454 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
20455 (plus_zero): Remove variable.
20456 (minus_zero): Likewise.
20457 (plus_infty): Likewise.
20458 (minus_infty): Likewise.
20459 (qnan_value): Likewise.
20460 (max_value): Likewise.
20461 (min_value): Likewise.
20462 (min_subnorm_value): Likewise.
20463
e054f494
RA
204642013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
20465
20466 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
20467 uint64_t or uint32_t usage.
20468 * crypt/sha256-block.c: Likewise.
20469 * crypt/sha256-crypt.c: Likewise.
20470 * crypt/sha256.c: Likewise.
20471 * crypt/sha512-block.c: Likewise.
20472 * crypt/sha512-crypt.c: Likewise.
20473 * crypt/sha512.c: Likewise.
20474 * debug/backtrace-tst.c: Likewise.
20475 * debug/pcprofiledump.c: Likewise.
20476 * elf/cache.c: Likewise.
20477 * elf/dl-cache.c: Likewise.
20478 * elf/dl-misc.c: Likewise.
20479 * elf/dl-profile.c: Likewise.
20480 * elf/dl-support.c: Likewise.
20481 * elf/ldconfig.c: Likewise.
20482 * elf/sprof.c: Likewise.
20483 * iconv/dummy-repertoire.c: Likewise.
20484 * iconv/iconv_charmap.c: Likewise.
20485 * iconv/skeleton.c: Likewise.
20486 * iconvdata/8bit-generic.c: Likewise.
20487 * iconvdata/cp737.h: Likewise.
20488 * iconvdata/cp775.h: Likewise.
20489 * iconvdata/ibm1008.h: Likewise.
20490 * iconvdata/ibm1025.h: Likewise.
20491 * iconvdata/ibm1046.h: Likewise.
20492 * iconvdata/ibm1097.h: Likewise.
20493 * iconvdata/ibm1112.h: Likewise.
20494 * iconvdata/ibm1122.h: Likewise.
20495 * iconvdata/ibm1123.h: Likewise.
20496 * iconvdata/ibm1124.h: Likewise.
20497 * iconvdata/ibm1129.h: Likewise.
20498 * iconvdata/ibm1130.h: Likewise.
20499 * iconvdata/ibm1132.h: Likewise.
20500 * iconvdata/ibm1133.h: Likewise.
20501 * iconvdata/ibm1137.h: Likewise.
20502 * iconvdata/ibm1140.h: Likewise.
20503 * iconvdata/ibm1141.h: Likewise.
20504 * iconvdata/ibm1142.h: Likewise.
20505 * iconvdata/ibm1143.h: Likewise.
20506 * iconvdata/ibm1144.h: Likewise.
20507 * iconvdata/ibm1145.h: Likewise.
20508 * iconvdata/ibm1146.h: Likewise.
20509 * iconvdata/ibm1147.h: Likewise.
20510 * iconvdata/ibm1148.h: Likewise.
20511 * iconvdata/ibm1149.h: Likewise.
20512 * iconvdata/ibm1153.h: Likewise.
20513 * iconvdata/ibm1154.h: Likewise.
20514 * iconvdata/ibm1155.h: Likewise.
20515 * iconvdata/ibm1156.h: Likewise.
20516 * iconvdata/ibm1157.h: Likewise.
20517 * iconvdata/ibm1158.h: Likewise.
20518 * iconvdata/ibm1160.h: Likewise.
20519 * iconvdata/ibm1161.h: Likewise.
20520 * iconvdata/ibm1162.h: Likewise.
20521 * iconvdata/ibm1163.h: Likewise.
20522 * iconvdata/ibm1164.h: Likewise.
20523 * iconvdata/ibm1166.h: Likewise.
20524 * iconvdata/ibm1167.h: Likewise.
20525 * iconvdata/ibm12712.h: Likewise.
20526 * iconvdata/ibm1390.h: Likewise.
20527 * iconvdata/ibm1399.h: Likewise.
20528 * iconvdata/ibm16804.h: Likewise.
20529 * iconvdata/ibm4517.h: Likewise.
20530 * iconvdata/ibm4899.h: Likewise.
20531 * iconvdata/ibm4909.h: Likewise.
20532 * iconvdata/ibm4971.h: Likewise.
20533 * iconvdata/ibm5347.h: Likewise.
20534 * iconvdata/ibm803.h: Likewise.
20535 * iconvdata/ibm856.h: Likewise.
20536 * iconvdata/ibm901.h: Likewise.
20537 * iconvdata/ibm902.h: Likewise.
20538 * iconvdata/ibm9030.h: Likewise.
20539 * iconvdata/ibm9066.h: Likewise.
20540 * iconvdata/ibm921.h: Likewise.
20541 * iconvdata/ibm922.h: Likewise.
20542 * iconvdata/ibm9448.h: Likewise.
20543 * iconvdata/isiri-3342.h: Likewise.
20544 * iconvdata/jis0201.h: Likewise.
20545 * include/link.h: Likewise.
20546 * include/netdb.h: Likewise.
20547 * inet/check_native.c: Likewise.
20548 * inet/check_pf.c: Likewise.
20549 * inet/getipv4sourcefilter.c: Likewise.
20550 * inet/getnameinfo.c: Likewise.
20551 * inet/getsourcefilter.c: Likewise.
20552 * inet/htonl.c: Likewise.
20553 * inet/setipv4sourcefilter.c: Likewise.
20554 * inet/setsourcefilter.c: Likewise.
20555 * inet/test-inet6_opt.c: Likewise.
20556 * inet/tst-network.c: Likewise.
20557 * locale/C-collate.c: Likewise.
20558 * locale/C-ctype.c: Likewise.
20559 * locale/C-time.c: Likewise.
20560 * locale/C-translit.h: Likewise.
20561 * locale/loadarchive.c: Likewise.
20562 * locale/programs/3level.h: Likewise.
20563 * locale/programs/charmap.c: Likewise.
20564 * locale/programs/charmap.h: Likewise.
20565 * locale/programs/ld-address.c: Likewise.
20566 * locale/programs/ld-collate.c: Likewise.
20567 * locale/programs/ld-ctype.c: Likewise.
20568 * locale/programs/ld-identification.c: Likewise.
20569 * locale/programs/ld-measurement.c: Likewise.
20570 * locale/programs/ld-messages.c: Likewise.
20571 * locale/programs/ld-monetary.c: Likewise.
20572 * locale/programs/ld-name.c: Likewise.
20573 * locale/programs/ld-numeric.c: Likewise.
20574 * locale/programs/ld-paper.c: Likewise.
20575 * locale/programs/ld-telephone.c: Likewise.
20576 * locale/programs/ld-time.c: Likewise.
20577 * locale/programs/linereader.c: Likewise.
20578 * locale/programs/locale.c: Likewise.
20579 * locale/programs/locarchive.c: Likewise.
20580 * locale/programs/locfile.h: Likewise.
20581 * locale/programs/repertoire.c: Likewise.
20582 * locale/programs/simple-hash.c: Likewise.
20583 * locale/programs/simple-hash.h: Likewise.
20584 * malloc/memusage.c: Likewise.
20585 * malloc/memusagestat.c: Likewise.
20586 * nis/nis_defaults.c: Likewise.
20587 * nis/nis_hash.c: Likewise.
20588 * nis/nis_print.c: Likewise.
20589 * nis/nis_xdr.c: Likewise.
20590 * nscd/connections.c: Likewise.
20591 * nscd/hstcache.c: Likewise.
20592 * nscd/nscd_gethst_r.c: Likewise.
20593 * nscd/nscd_getserv_r.c: Likewise.
20594 * nscd/nscd_helper.c: Likewise.
20595 * nscd/servicescache.c: Likewise.
20596 * nss/makedb.c: Likewise.
20597 * nss/nss_db/db-XXX.c: Likewise.
20598 * nss/nss_db/db-initgroups.c: Likewise.
20599 * nss/nss_db/db-netgrp.c: Likewise.
20600 * nss/nss_files/files-network.c: Likewise.
20601 * nss/nss_files/files-parse.c: Likewise.
20602 * posix/bug-regex5.c: Likewise.
20603 * posix/fnmatch_loop.c: Likewise.
20604 * posix/regcomp.c: Likewise.
20605 * posix/regexec.c: Likewise.
20606 * posix/tst-rfc3484-2.c: Likewise.
20607 * posix/tst-rfc3484-3.c: Likewise.
20608 * posix/tst-rfc3484.c: Likewise.
20609 * resolv/nss_dns/dns-canon.c: Likewise.
20610 * resolv/nss_dns/dns-network.c: Likewise.
20611 * resolv/res_init.c: Likewise.
20612 * resolv/res_mkquery.c: Likewise.
20613 * resolv/tst-aton.c: Likewise.
20614 * stdlib/cxa_atexit.c: Likewise.
20615 * stdlib/cxa_finalize.c: Likewise.
20616 * stdlib/gen-fpioconst.c: Likewise.
20617 * stdlib/strtol_l.c: Likewise.
20618 * string/tst-endian.c: Likewise.
20619 * sunrpc/auth_des.c: Likewise.
20620 * sunrpc/clnt_udp.c: Likewise.
20621 * sunrpc/rtime.c: Likewise.
20622 * sunrpc/svcauth_des.c: Likewise.
20623 * sunrpc/xdr.c: Likewise.
20624 * sunrpc/xdr_intXX_t.c: Likewise.
20625 * sunrpc/xdr_rec.c: Likewise.
20626 * sysdeps/generic/ldconfig.h: Likewise.
20627 * sysdeps/generic/ldsodefs.h: Likewise.
20628 * sysdeps/generic/memusage.h: Likewise.
20629 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
20630 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
20631 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
20632 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
20633 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
20634 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
20635 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
20636 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
20637 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
20638 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
20639 * sysdeps/posix/getaddrinfo.c: Likewise.
20640 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
20641 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
20642 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
20643 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
20644 * sysdeps/powerpc/test-gettimebase.c: Likewise.
20645 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
20646 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
20647 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
20648 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
20649 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
20650 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
20651 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
20652 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
20653 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
20654 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
20655 * sysdeps/x86_64/dl-tls.h: Likewise.
20656 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
20657 * time/alt_digit.c: Likewise.
20658 * time/era.c: Likewise.
20659 * wcsmbs/tst-c16c32-1.c: Likewise.
20660
8c75f674
JM
206612013-05-16 Joseph Myers <joseph@codesourcery.com>
20662
20663 * math/libm-test.inc (struct test_sincos_data): New type.
20664 (RUN_TEST_LOOP_sincos): New macro.
20665 (sincos_test_data): New variable.
20666 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
20667
e6e49e59
RH
206682013-05-16 Richard Henderson <rth@redhat.com>
20669
20670 * math/atest-exp2.c (LIMB64): New macro.
20671 (CONSTSZ): New macro.
20672 (mp_exp1, mp_exp_m1, mp_log2): New variables.
20673 (hexdig): Move ...
20674 (print_mpn_fp): ... to function scope.
20675 (read_mpn_hex): Remove.
20676 (get_log2): Remove.
20677 (exp2_mpn): Use mp_log2.
20678 (main): Use mp_exp1.
20679
15c7c18d
JM
206802013-05-16 Joseph Myers <joseph@codesourcery.com>
20681
105a07df
JM
20682 * math/libm-test.inc: Remove comment about not testing "inexact"
20683 exceptions.
20684 (INEXACT_EXCEPTION): New macro.
20685 (NO_INEXACT_EXCEPTION): Likewise.
20686 (INVALID_EXCEPTION_OK): Update value.
20687 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
20688 (OVERFLOW_EXCEPTION_OK): Likewise.
20689 (UNDERFLOW_EXCEPTION_OK): Likewise.
20690 (IGNORE_ZERO_INF_SIGN): Likewise.
20691 (ERRNO_UNCHANGED): Likewise.
20692 (ERRNO_EDOM): Likewise.
20693 (ERRNO_ERANGE): Likewise.
20694 (test_exceptions): Handle testing "inexact" exceptions.
20695 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
20696 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
20697 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
20698 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
20699 INEXACT_EXCEPTION.
20700 (rint_towardzero_test_data): Likewise.
20701 (rint_downward_test_data): Likewise.
20702 (rint_upward_test_data): Likewise.
20703
e9eee333
JM
20704 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
20705 with OVERFLOW_EXCEPTION.
20706 (exp10_test_data): Likewise.
20707 (exp2_test_data): Likewise.
20708 (expm1_test_data): Likewise.
20709 (lgamma_test_data): Likewise.
20710 (pow_test_data): Likewise.
20711 (tgamma_test_data): Likewise.
20712 (yn_test_data): Remove duplicate test of overflow.
20713
1c38ff73
JM
20714 * math/libm-test.inc (struct test_cc_c_data): New type.
20715 (RUN_TEST_LOOP_cc_c): New macro.
20716 (cpow_test_data): New variable.
20717 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
20718
15c7c18d
JM
20719 * math/libm-test.inc (struct test_f_L_data): New type.
20720 (RUN_TEST_LOOP_f_L): New macro.
20721 (llrint_test_data): New variable.
20722 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
20723 (llrint_tonearest_test_data): New variable.
20724 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
20725 (llrint_towardzero_test_data): New variable.
20726 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
20727 (llrint_downward_test_data): New variable.
20728 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
20729 (llrint_upward_test_data): New variable.
20730 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
20731 (llround_test_data): New variable.
20732 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
20733
f137ff13
PC
207342013-05-13 Peter Collingbourne <pcc@google.com>
20735
20736 * math/atest-exp2.c (get_log2): Remove const attribute.
20737
3608cb24
JM
207382013-05-15 Joseph Myers <joseph@codesourcery.com>
20739
20740 * math/libm-test.inc (struct test_f_l_data): New type.
20741 (RUN_TEST_LOOP_f_l): New macro.
20742 (lrint_test_data): New variable.
20743 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
20744 (lrint_tonearest_test_data): New variable.
20745 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
20746 (lrint_towardzero_test_data): New variable.
20747 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
20748 (lrint_downward_test_data): New variable.
20749 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
20750 (lrint_upward_test_data): New variable.
20751 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
20752 (lround_test_data): New variable.
20753 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
20754
39b1f617
PC
207552013-05-15 Peter Collingbourne <pcc@google.com>
20756
1deff3dc
PC
20757 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
20758 (EXTRACT_WORDS64) Use where appropriate.
20759 (INSERT_WORDS64) Likewise.
20760
791f3ba0
PC
20761 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
20762 constraints with x constraints.
20763 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
20764
39b1f617
PC
20765 * malloc/obstack.c (_obstack_compat): Add initializer.
20766
12fba011
EM
207672013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
20768
20769 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
20770 si_trapno and add si_addr_lsb to _sifields.sigfault.
20771 (si_trapno): Remove macro.
20772 (si_addr_lsb): Define new macro.
20773 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
20774
d369f531
JM
207752013-05-15 Joseph Myers <joseph@codesourcery.com>
20776
b861c6c4
JM
20777 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
20778 instead of TEST_f_l.
20779 (llrint_test_tonearest): Likewise.
20780 (llrint_test_towardzero): Likewise.
20781 (llrint_test_downward): Likewise.
20782 (llrint_test_upward): Likewise.
20783 (llround_test): Likewise.
20784
7abeee12
JM
20785 * math/libm-test.inc (struct test_f_i_data): Add comment.
20786 (RUN_TEST_LOOP_f_b): New macro.
20787 (RUN_TEST_LOOP_f_b_tg): Likewise.
20788 (finite_test_data): New variable.
20789 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
20790 (isfinite_test_data): New variable.
20791 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
20792 (isinf_test_data): New variable.
20793 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
20794 (isnan_test_data): New variable.
20795 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
20796 (isnormal_test_data): New variable.
20797 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
20798 (issignaling_test_data): New variable.
20799 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
20800 (signbit_test_data): New variable.
20801 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
20802
cbe8c4d3
JM
20803 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
20804 with INVALID_EXCEPTION.
20805 (acosh_test_data): Likewise.
20806 (asin_test_data): Likewise.
20807 (atanh_test_data): Likewise.
20808 (fmod_test_data): Likewise.
20809 (log_test_data): Likewise.
20810 (log10_test_data): Likewise.
20811 (log2_test_data): Likewise.
20812 (pow_test_data): Likewise.
20813 (sqrt_test_data): Likewise.
20814 (y0_test_data): Likewise.
20815 (y1_test_data): Likewise.
20816 (yn_test_data): Likewise.
20817
5575c0e5
JM
20818 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
20819 function contents.
20820
d369f531
JM
20821 * math/libm-test.inc (struct test_ff_i_data): New type.
20822 (RUN_TEST_LOOP_ff_i_tg): New macro.
20823 (isgreater_test_data): New variable.
20824 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
20825 (isgreaterequal_test_data): New variable.
20826 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
20827 (isless_test_data): New variable.
20828 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
20829 (islessequal_test_data): New variable.
20830 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
20831 (islessgreater_test_data): New variable.
20832 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
20833 (isunordered_test_data): New variable.
20834 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
20835
781fd748
DM
208362013-05-14 David S. Miller <davem@davemloft.net>
20837
20838 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20839
87aa21df
JM
208402013-05-14 Joseph Myers <joseph@codesourcery.com>
20841
5e908270
JM
20842 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
20843
f71172e5
JM
20844 * math/libm-test.inc (struct test_fF_f1_data): Change type of
20845 extra_test to int.
20846 (struct test_f_i_data): Change type of max_ulp to int.
20847
8cfa635a
JM
20848 * math/libm-test.inc (test_ffI_f1_data): New type.
20849 (RUN_TEST_LOOP_ffI_f1): New macro.
20850 (remquo_test_data): New variable.
20851 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
20852
2bcb36b2
JM
20853 * setjmp/tst-setjmp-fp.c: New file.
20854 * setjmp/Makefile (tests): Add tst-setjmp-fp.
20855 (link-libm): New variable.
20856 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
20857
acbd839a
JM
20858 * math/libm-test.inc (struct test_f_i_data): New type.
20859 (RUN_TEST_LOOP_f_i): New macro.
20860 (RUN_TEST_LOOP_f_i_tg): Likewise.
20861 (fpclassify_test_data): New variable.
20862 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
20863 (ilogb_test_data): New variable.
20864 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
20865
e414d745
JM
20866 * math/libm-test.inc (scalbln_test): Correct function name in END
20867 call.
20868
d9c2a0fd
JM
20869 * math/libm-test.inc (struct test_f_f1_data): Add comment.
20870 (RUN_TEST_LOOP_fI_f1): New macro.
20871 (frexp_test_data): New variable.
20872 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
20873
9dc9095d
JM
20874 * math/libm-test.inc (struct test_fF_f1_data): New type.
20875 (RUN_TEST_LOOP_fF_f1): New macro.
20876 (modf_test_data): New variable.
20877 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
20878
87aa21df
JM
20879 * math/libm-test.inc (struct test_f_f1_data): New type.
20880 (RUN_TEST_LOOP_f_f1): New macro.
20881 (gamma_test_data): New variable.
20882 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
20883 (lgamma_test_data): New variable.
20884 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
20885
141af660
CD
208862013-05-13 Carlos O'Donell <carlos@redhat.com>
20887
20888 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
20889 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
20890 (main): Comment "tls" pseudo-hwcap.
20891
6d33265c
JM
208922013-05-13 Joseph Myers <joseph@codesourcery.com>
20893
68fc074c
JM
20894 * math/libm-test.inc (struct test_fl_f_data): New type.
20895 (RUN_TEST_LOOP_fl_f): New variable.
20896 (scalbln_test_data): New variable.
20897 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
20898
243216e1
JM
20899 * math/libm-test.inc (struct test_fi_f_data): New type.
20900 (RUN_TEST_LOOP_fi_f): New macro.
20901 (ldexp_test_data): New variable.
20902 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
20903 (scalbn_test_data): New variable.
20904 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
20905
6a1992e2
JM
20906 * math/libm-test.inc (struct test_c_f_data): New type.
20907 (RUN_TEST_LOOP_c_f): New macro.
20908 (cabs_test_data): New variable.
20909 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
20910 (carg_test_data): New variable.
20911 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
20912 (cimag_test_data): New variable.
20913 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
20914 (creal_test_data): New variable.
20915 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
20916
0e400df5
JM
20917 * math/libm-test.inc (struct test_if_f_data): New type.
20918 (RUN_TEST_LOOP_if_f): New macro.
20919 (jn_test_data): New variable.
20920 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
20921 (yn_test_data): New variable.
20922 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
20923
6d33265c
JM
20924 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
20925
f98ece5f
AZ
209262013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20927
20928 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
20929 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
20930
0f7d347b
SP
209312013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
20932
43fe811b
SP
20933 * benchtests/Makefile (CPPFLAGS-nonlib): Add
20934 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
20935 (bench-deps): Add bench-timing.h.
20936 * benchtests-bench-skeleton.c: Include bench-timing.h.
20937 (main): Use TIMING_* macros instead of clock_gettime.
20938 * benchtests/bench-timing.h: New file.
20939
0f7d347b
SP
20940 [BZ #14582]
20941 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
20942 Renamed from _LIB_VERSION.
20943 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
20944
601a3a5f
JM
209452013-05-12 Joseph Myers <joseph@codesourcery.com>
20946
4f184d30
JM
20947 * math/libm-test.inc (struct test_fff_f_data): New type.
20948 (RUN_TEST_LOOP_fff_f): New macro.
20949 (fma_test_data): New variable.
20950 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
20951 (fma_towardzero_test_data): New variable.
20952 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
20953 (fma_downward_test_data): New variable.
20954 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
20955 (fma_upward_test_data): New variable.
20956 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
20957
08198877
JM
20958 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
20959 (struct test_c_c_data): New type.
20960 (RUN_TEST_LOOP_c_c): New macro.
20961 (cacos_test_data): New variable.
20962 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
20963 (cacosh_test_data): New variable.
20964 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
20965 (casin_test_data): New variable.
20966 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
20967 (casinh_test_data): New variable.
20968 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
20969 (catan_test_data): New variable.
20970 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
20971 (catanh_test_data): New variable.
20972 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
20973 (ccos_test_data): New variable.
20974 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
20975 (ccosh_test_data): New variable.
20976 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
20977 (cexp_test_data): New variable.
20978 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
20979 (clog_test_data): New variable.
20980 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
20981 (clog10_test_data): New variable.
20982 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
20983 (conj_test_data): New variable.
20984 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
20985 (cproj_test_data): New variable.
20986 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
20987 (csin_test_data): New variable.
20988 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
20989 (csinh_test_data): New variable.
20990 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
20991 (csqrt_test_data): New variable.
20992 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
20993 (ctan_test_data): New variable.
20994 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
20995 (ctan_tonearest_test_data): New variable.
20996 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
20997 (ctan_towardzero_test_data): New variable.
20998 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
20999 (ctan_downward_test_data): New variable.
21000 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
21001 (ctan_upward_test_data): New variable.
21002 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
21003 (ctanh_test_data): New variable.
21004 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
21005 (ctanh_tonearest_test_data): New variable.
21006 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
21007 (ctanh_towardzero_test_data): New variable.
21008 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
21009 (ctanh_downward_test_data): New variable.
21010 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
21011 (ctanh_upward_test_data): New variable.
21012 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
21013 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
21014 of BUILD_COMPLEX.
21015
601a3a5f
JM
21016 * math/libm-test.inc (struct test_ff_f_data): New type.
21017 (struct test_ff_f_data_nexttoward): Likewise.
21018 (RUN_TEST_LOOP_2_f): New macro.
21019 (RUN_TEST_LOOP_ff_f): Likewise.
21020 (atan2_test_data): New variable.
21021 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
21022 (copysign_test_data): New variable.
21023 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
21024 (fdim_test_data): New variable.
21025 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
21026 (fmax_test_data): New variable.
21027 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
21028 (fmin_test_data): New variable.
21029 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
21030 (fmod_test_data): New variable.
21031 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
21032 (hypot_test_data): New variable.
21033 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
21034 (nextafter_test_data): New variable.
21035 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
21036 (nexttoward_test_data): New variable.
21037 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
21038 (pow_test_data): New variable.
21039 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
21040 (pow_tonearest_test_data): New variable.
21041 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
21042 (pow_towardzero_test_data): New variable.
21043 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
21044 (pow_downward_test_data): New variable.
21045 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
21046 (pow_upward_test_data): New variable.
21047 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
21048 (remainder_test_data): New variable.
21049 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
21050 (scalb_test_data): New variable.
21051 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
21052 * sysdeps/i386/fpu/libm-test-ulps: Update.
21053
74c57478
JM
210542013-05-11 Joseph Myers <joseph@codesourcery.com>
21055
8329e4da
JM
21056 * math/libm-test.inc (fma_test): Use max_value instead of local
21057 variable fltmax.
21058 (nextafter_test): Likewise.
21059
74c57478
JM
21060 * math/libm-test.inc (acos_towardzero_test_data): New variable.
21061 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
21062 (acos_downward_test_data): New variable.
21063 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
21064 (acos_upward_test_data): New variable.
21065 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
21066 (acosh_test_data): New variable.
21067 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
21068 (asin_test_data): New variable.
21069 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
21070 (asin_tonearest_test_data): New variable.
21071 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
21072 (asin_towardzero_test_data): New variable.
21073 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
21074 (asin_downward_test_data): New variable.
21075 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
21076 (asin_upward_test_data): New variable.
21077 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
21078 (asinh_test_data): New variable.
21079 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
21080 (atan_test_data): New variable.
21081 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
21082 (atanh_test_data): New variable.
21083 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
21084 (cbrt_test_data): New variable.
21085 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
21086 (ceil_test_data): New variable.
21087 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
21088 (cos_test_data): New variable.
21089 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
21090 (cos_tonearest_test_data): New variable.
21091 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
21092 (cos_towardzero_test_data): New variable.
21093 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
21094 (cos_downward_test_data): New variable.
21095 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
21096 (cos_upward_test_data): New variable.
21097 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
21098 (cosh_test_data): New variable.
21099 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
21100 (cosh_tonearest_test_data): New variable.
21101 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
21102 (cosh_towardzero_test_data): New variable.
21103 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
21104 (cosh_downward_test_data): New variable.
21105 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
21106 (cosh_upward_test_data): New variable.
21107 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
21108 (erf_test_data): New variable.
21109 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
21110 (erfc_test_data): New variable.
21111 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
21112 (exp_test_data): New variable.
21113 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
21114 (exp_tonearest_test_data): New variable.
21115 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
21116 (exp_towardzero_test_data): New variable.
21117 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
21118 (exp_downward_test_data): New variable.
21119 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
21120 (exp_upward_test_data): New variable.
21121 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
21122 (exp10_test_data): New variable.
21123 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
21124 (exp2_test_data): New variable.
21125 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
21126 (expm1_test_data): New variable.
21127 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
21128 (fabs_test_data): New variable.
21129 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
21130 (floor_test_data): New variable.
21131 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
21132 (j0_test_data): New variable.
21133 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
21134 (j1_test_data): New variable.
21135 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
21136 (log_test_data): New variable.
21137 (log_test): Run tests with RUN_TEST_LOOP_f_f.
21138 (log10_test_data): New variable.
21139 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
21140 (log1p_test_data): New variable.
21141 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
21142 (log2_test_data): New variable.
21143 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
21144 (logb_test_data): New variable.
21145 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
21146 (logb_downward_test_data): New variable.
21147 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
21148 (nearbyint_test_data): New variable.
21149 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
21150 (rint_test_data): New variable.
21151 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
21152 (rint_tonearest_test_data): New variable.
21153 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
21154 (rint_towardzero_test_data): New variable.
21155 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
21156 (rint_downward_test_data): New variable.
21157 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
21158 (rint_upward_test_data): New variable.
21159 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
21160 (round_test_data): New variable.
21161 (round_test): Run tests with RUN_TEST_LOOP_f_f.
21162 (sin_test_data): New variable.
21163 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
21164 (sin_tonearest_test_data): New variable.
21165 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
21166 (sin_towardzero_test_data): New variable.
21167 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
21168 (sin_downward_test_data): New variable.
21169 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
21170 (sin_upward_test_data): New variable.
21171 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
21172 (sinh_test_data): New variable.
21173 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
21174 (sinh_tonearest_test_data): New variable.
21175 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
21176 (sinh_towardzero_test_data): New variable.
21177 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
21178 (sinh_downward_test_data): New variable.
21179 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
21180 (sinh_upward_test_data): New variable.
21181 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
21182 (sqrt_test_data): New variable.
21183 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
21184 (tan_test_data): New variable.
21185 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
21186 (tan_tonearest_test_data): New variable.
21187 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
21188 (tan_towardzero_test_data): New variable.
21189 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
21190 (tan_downward_test_data): New variable.
21191 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
21192 (tan_upward_test_data): New variable.
21193 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
21194 (tanh_test_data): New variable.
21195 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
21196 (tgamma_test_data): New variable.
21197 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
21198 (trunc_test_data): New variable.
21199 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
21200 (y0_test_data): New variable.
21201 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
21202 (y1_test_data): New variable.
21203 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
21204 (significand_test_data): New variable.
21205 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
21206
7187d844
CG
212072013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
21208
21209 [BZ #12387]
21210 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
21211
f63fae73
PT
212122013-05-10 Pino Toscano <toscano.pino@tiscali.it>
21213
21214 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
21215
8a67a4b3
AJ
212162013-05-10 Andreas Jaeger <aj@suse.de>
21217
21218 [BZ #15448]
21219 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
21220 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
21221
51df539d
JM
212222013-05-10 Joseph Myers <joseph@codesourcery.com>
21223
21224 * math/gen-libm-test.pl (adjust_arg): New function.
21225 (special_functions): Handle generating output in both functions
21226 and arrays.
21227 (parse_args): Likewise.
21228 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
21229 $in_func argument to parse_args.
21230 * math/libm-test.inc (struct test_f_f_data): New type.
21231 (IF_ROUND_INIT_): New macro.
21232 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
21233 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
21234 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
21235 (IF_ROUND_INIT_FE_UPWARD): Likewise.
21236 (ROUND_RESTORE_): Likewise.
21237 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
21238 (ROUND_RESTORE_FE_TONEAREST): Likewise.
21239 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
21240 (ROUND_RESTORE_FE_UPWARD): Likewise.
21241 (RUN_TEST_LOOP_f_f): New macro.
21242 (acos_test_data): New variable.
21243 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
21244 (acos_tonearest_test_data): New variable.
21245 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
21246
5c637fe5
SP
212472013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
21248
21249 * benchtests/bench-skeleton.c (startup): Fix coding style.
21250
ab2b9461
JM
212512013-05-10 Joseph Myers <joseph@codesourcery.com>
21252
21253 [BZ #6809]
21254 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
21255 negative infinity argument.
21256 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
21257 negative infinity argument.
21258 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
21259 negative infinity argument.
21260 * math/libm-test.inc (tgamma_test): Expect errno to be set for
21261 domain errors.
21262
4c0fe6fe
FW
212632013-05-10 Florian Weimer <fweimer@redhat.com>
21264
21265 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
21266 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
21267 * iconv/iconv_prog.c (main): Likewise.
21268 * locale/programs/charmap-dir.c (charmap_readdir)
21269 (fopen_uncompressed): Likewise.
21270 * locale/programs/locfile.c (siblings_uncached)
21271 (write_locale_data): Use lstat64 instead of lstat.
21272 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
21273 stat.
21274
a3375d29
AJ
212752013-05-10 Andreas Jaeger <aj@suse.de>
21276
21277 [BZ #15395]
21278 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
21279 localization.
21280 Include <locale.h>.
21281
36129722
CD
212822013-05-09 Carlos O'Donell <carlos@redhat.com>
21283
21284 * elf/dl-close.c (_dl_close_worker): Add comments.
21285
faa7f811
JM
212862013-05-09 Joseph Myers <joseph@codesourcery.com>
21287
ed41ffef
JM
21288 [BZ #15359]
21289 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
21290 high part of pi/2.
21291 (__ieee754_rem_pio2l): Update comments.
21292
d0213cd0
JM
21293 [BZ #15429]
21294 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
21295 high part of pi/2.
21296 (__ieee754_rem_pio2l): Update comments.
21297
0d3e777a
JM
21298 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
21299 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
21300
24f56066
JM
21301 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
21302 M_PI_4l.
21303
faa7f811
JM
21304 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
21305 (M_PI_34_LOG10El): Likewise.
21306 (M_PI2_LOG10El): Likewise.
21307 (M_PI4_LOG10El): Likewise.
21308 (M_PI_LOG10El): Likewise.
21309
e9a5e0fd
AZ
213102013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21311
21312 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21313
d8cd06db
JM
213142013-05-08 Joseph Myers <joseph@codesourcery.com>
21315
a0d9f9d7
JM
21316 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
21317 (MINUS_ZERO_INIT): Likewise.
21318 (PLUS_INFTY_INIT): Likewise.
21319 (MINUS_INFTY_INIT): Likewise.
21320 (QNAN_VALUE_INIT): Likewise.
21321 (MAX_VALUE_INIT): Likewise.
21322 (MIN_VALUE_INIT): Likewise.
21323 (MIN_SUBNORM_VALUE_INIT): Likewise.
21324 (plus_zero): Initialize with PLUS_ZERO_INIT.
21325 (minus_zero): Initialize with MINUS_ZERO_INIT.
21326 (plus_infty): Initialize with PLUS_INFTY_INIT.
21327 (minus_infty): Initialize with MINUS_INFTY_INIT.
21328 (qnan_value): Initialize with QNAN_VALUE_INIT.
21329 (max_value): Initialize with MAX_VALUE_INIT.
21330 (min_value): Initialize with MIN_VALUE_INIT.
21331 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
21332
ae08db3b
JM
21333 * math/libm-test.inc (RUN_TEST_if_f): New macro.
21334 (jn_test): Use TEST_if_f instead of TEST_ff_f.
21335 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
21336 (yn_test): Use TEST_if_f instead of TEST_ff_f.
21337
f44bf14a
JM
21338 * math/libm-test.inc (RUN_TEST_f_f): New macro.
21339 (RUN_TEST_2_f): Likewise.
21340 (RUN_TEST_ff_f): Likewise.
21341 (RUN_TEST_fi_f): Likewise.
21342 (RUN_TEST_fl_f): Likewise.
21343 (RUN_TEST_fff_f): Likewise.
21344 (RUN_TEST_c_f): Likewise.
21345 (RUN_TEST_f_f1): Likewise.
21346 (RUN_TEST_fF_f1): Likewise.
21347 (RUN_TEST_fI_f1): Likewise.
21348 (RUN_TEST_ffI_f1): Likewise.
21349 (RUN_TEST_c_c): Likewise.
21350 (RUN_TEST_cc_c): Likewise.
21351 (RUN_TEST_f_i): Likewise.
21352 (RUN_TEST_f_i_tg): Likewise.
21353 (RUN_TEST_ff_i_tg): Likewise.
21354 (RUN_TEST_f_b): Likewise.
21355 (RUN_TEST_f_b_tg): Likewise.
21356 (RUN_TEST_f_l): Likewise.
21357 (RUN_TEST_f_L): Likewise.
21358 (RUN_TEST_sincos): Likewise.
21359 * math/gen-libm-test.pl (new_test): Take new argument to indicate
21360 whether to show exceptions. Do not include ");\n" in return
21361 value.
21362 (special_functions): Output call to RUN_TEST_sincos instead of
21363 check_float calls. Update calls to new_test.
21364 (parse_args): Output call to single RUN_TEST_* macro instead of
21365 check_* calls and other assignments. Update calls to new_test.
21366
d8cd06db
JM
21367 [BZ #2546]
21368 [BZ #2560]
21369 [BZ #5159]
21370 [BZ #15426]
21371 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
21372 input to result for tgamma overflow.
21373 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
21374 (gamma_coeff): New variable.
21375 (NCOEFF): New macro.
21376 (gamma_positive): New function.
21377 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
21378 underflow here. Use gamma_positive instead of exp (lgamma) for
21379 other arguments.
21380 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
21381 (gamma_coeff): New variable.
21382 (NCOEFF): New macro.
21383 (gammaf_positive): New function.
21384 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
21385 underflow here. Use gamma_positive instead of exp (lgamma) for
21386 other arguments.
21387 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
21388 (gamma_coeff): New variable.
21389 (NCOEFF): New macro.
21390 (gammal_positive): New function.
21391 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
21392 underflow here. Use gamma_positive instead of exp (lgamma) for
21393 other arguments.
21394 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
21395 (gamma_coeff): New variable.
21396 (NCOEFF): New macro.
21397 (gammal_positive): New function.
21398 (__ieee754_gammal_r): Handle positive infinity, overflow and
21399 underflow here. Handle NaN the same as positive infinity. Remove
21400 check x < 0xffffffff for negative integers. Use gamma_positive
21401 instead of exp (lgamma) for other arguments.
21402 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
21403 (gamma_coeff): New variable.
21404 (NCOEFF): New macro.
21405 (gammal_positive): New function.
21406 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
21407 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
21408 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
21409 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
21410 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
21411 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
21412 * sysdeps/generic/math_private.h (__gamma_productf): New
21413 prototype.
21414 (__gamma_product): Likewise.
21415 (__gamma_productl): Likewise.
21416 * math/Makefile (libm-calls): Add gamma_product.
21417 * math/libm-test.inc (tgamma_test): Add more tests.
21418 * sysdeps/i386/fpu/libm-test-ulps: Update.
21419 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21420
bb7cf681
OB
214212013-05-08 Ondřej Bílka <neleai@seznam.cz>
21422
21423 * benchtests/bench-skeleton.c (main): Preheat CPU.
21424
ba853947
AJ
214252013-05-07 Aurelien Jarno <aurelien@aurel32.net>
21426
21427 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
21428
8347c74c
RM
214292013-05-07 Roland McGrath <roland@hack.frob.com>
21430
21431 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
21432 and _dl_skip_args_internal.
21433
e8dd4791
CD
214342013-05-07 Carlos O'Donell <carlos@redhat.com>
21435
21436 * manual/message.texi (Message Translation): Talk about users.
21437 Message to key mapping impacts design.
21438
c7405830
RM
214392013-05-06 Roland McGrath <roland@hack.frob.com>
21440
a9173057
RM
21441 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
21442
976e2f03
RM
21443 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
21444
9723ffc5
RM
21445 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
21446 * sysdeps/wordsize-64/glob64.c: ... here.
21447
962e6658
RM
21448 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
21449 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
21450 New macros.
21451
ee586a6d
RM
21452 * debug/getlogin_r_chk.c: Moved to ...
21453 * login/getlogin_r_chk.c: ... here.
21454 * debug/Makefile (routines): Move getlogin_r_chk to ...
21455 * login/Makefile (routines): ... here.
21456 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
21457 * login/Versions (libc: GLIBC_2.4): ... here.
21458
355f9165
RM
21459 * io/poll.c (__poll): Renamed from poll.
21460 Add libc_hidden_def.
21461 (poll): Define as weak alias.
21462
bd9ffde6
RM
21463 * debug/ptsname_r_chk.c: Moved to ...
21464 * login/ptsname_r_chk.c: ... here.
21465 * debug/Makefile (routines): Move ptsname_r_chk to ...
21466 * login/Makefile (routines): ... here.
21467 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
21468 * login/Versions (libc: GLIBC_2.4): ... here.
21469
8fb16a04
RM
21470 * posix/getlogin.c: Moved to ...
21471 * login/getlogin.c: ... here.
21472 * posix/getlogin_r.c: Moved to ...
21473 * login/getlogin_r.c: ... here.
21474 * posix/getlogin_r.c: Moved to ...
21475 * login/getlogin_r.c: ... here.
21476 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
21477 * login/Makefile (routines): ... here.
21478 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
21479 * login/Versions (libc: GLIBC_2.0): ... here.
21480
b99b892f
RM
21481 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
21482 (setrlimit): Define as weak alias.
21483
c7405830
RM
21484 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
21485 Call __ names for open, ftruncate, and close.
21486 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
21487 (truncate): Define as weak alias.
21488
5bf96de5
JM
214892013-05-06 Joseph Myers <joseph@codesourcery.com>
21490
9ea3513c
JM
21491 * math/gen-libm-test.pl (parse_args): Initialize x before each
21492 test of frexp, modf and remquo.
21493
5bf96de5
JM
21494 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
21495 test signgam value.
21496
16e616a7
AZ
214972013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21498
21499 [BZ #15418]
21500 [BZ #15419]
21501 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
21502 internal tests.
21503 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
21504
d5e82754
RM
215052013-05-06 Roland McGrath <roland@hack.frob.com>
21506
21507 * elf/dl-writev.h: New file.
21508 * elf/dl-misc.c: Include it.
21509 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
21510 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
21511
a7548d41
JM
215122013-05-04 Joseph Myers <joseph@codesourcery.com>
21513
b7dab1e4
JM
21514 * math/libm-test.inc (noXFails): Remove variable.
21515 (noXPasses): Likewise.
21516 (BUILD_COMPLEX_INT): Remove macro.
21517 (print_screen): Remove xfail argument.
21518 (print_screen_max_error): Likewise.
21519 (update_stats): Likewise.
21520 (print_max_error): Likewise. Update calls to other affected
21521 functions.
21522 (print_complex_max_error): Likewise.
21523 (test_single_exception): Update calls to print_screen.
21524 (test_single_errno): Likewise.
21525 (check_float_internal): Remove xfail argument. Update calls to
21526 other affected functions.
21527 (check_float): Likewise.
21528 (check_complex): Likewise.
21529 (check_int): Likewise.
21530 (check_long): Likewise.
21531 (check_bool): Likewise.
21532 (check_longlong): Likewise.
21533 (main): Don't print noXFails and noXPasses.
21534 * math/gen-libm-test.pl (top level): Don't mention expected
21535 failure handling in comment.
21536 (new_test): Don't handle expected failures.
21537 (parse_args): Don't mention expected failure handling in comment.
21538 (generate_testfile): Don't handle expected failures.
21539 (parse_ulps): Likewise.
21540 (print_ulps_file): Likewise.
21541 (get_failure): Remove function.
21542 (output_test): Don't handle expected failures.
21543 * make/README.libm-test: Don't mention expected failure handling.
21544
a7548d41
JM
21545 * math/libm-test.inc (plus_zero): Make const. Add initializer.
21546 (minus_zero): Likewise.
21547 (plus_infty): Likewise.
21548 (minus_infty): Likewise.
21549 (qnan_value): Likewise.
21550 (max_value): Likewise.
21551 (min_value): Likewise.
21552 (min_subnorm_value): Likewise.
21553 (initialize): Do not initialize those variables dynamically.
21554
60bfd54c
RM
215552013-05-03 Roland McGrath <roland@hack.frob.com>
21556
cc0e6ed8
RM
21557 * io/open.c (__open_2): Moved to ...
21558 * io/open_2.c: ... this new file.
21559 * io/open64.c (__open64_2): Moved to ...
21560 * io/open64_2.c: ... this new file.
21561 * io/openat.c (__openat_2): Moved to ...
21562 * io/openat_2.c: ... this new file.
21563 * io/openat64.c (__openat64_2): Moved to ...
21564 * io/openat64_2.c: ... this new file.
21565 * io/Makefile (routines): Add them.
21566 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
21567 * sysdeps/unix/sysv/linux/open_2.c: File removed.
21568 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
21569 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
21570 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
21571 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
21572 (__openat64): Add hidden_ver.
21573 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
21574 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
21575
60bfd54c
RM
21576 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
21577 Separately conditionalize setting of GLRO(dl_sysinfo) so
21578 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
21579 as well, but the actual setting is only under [NEED_DL_SYSINFO].
21580
83e7640f
AZ
215812013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21582
21583 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
21584 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
21585 definition.
21586 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
21587 * sysdeps/unix/sysv/linux/powerpc/init-first.c
21588 (_libc_vdso_platform_setup): Add __vdso_time initialization.
21589 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
21590 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
21591
d5dc2af3
JM
215922013-05-03 Joseph Myers <joseph@codesourcery.com>
21593
c31a5b1e
JM
21594 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
21595 test signgam value.
21596
d5dc2af3
JM
21597 * math/libm-test.inc (hypot_test): Do not use
21598 IGNORE_ZERO_INF_SIGN.
21599
164fd39d
AJ
216002013-05-03 Andreas Jaeger <aj@suse.de>
21601
21602 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
21603 Linux 3.9.
21604 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
21605 (PF_MAX): Adjust for VSOCK change.
21606
8237f48c
AZ
216072013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21608
21609 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21610
9df02941
CD
216112013-05-02 Carlos O'Donell <carlos@redhat.com>
21612
21613 [BZ #15264]
21614 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
21615 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
21616 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
21617
d422395e
DM
216182013-05-02 David S. Miller <davem@davemloft.net>
21619
21620 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21621
a07c5731
OB
216222013-05-01 Ondřej Bílka <neleai@seznam.cz>
21623
21624 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
21625
1324e37f
RM
216262013-05-01 Roland McGrath <roland@hack.frob.com>
21627
21628 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
21629
0695940b
RS
216302013-05-01 Richard Smith <richard@metafoo.co.uk>
21631
bb5f27ad 21632 [BZ #14952]
0695940b
RS
21633 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
21634 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
21635 Use __attribute__ ((__gnu_inline__)).
21636 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
21637 Don't use __attribute__ ((__gnu_inline__)).
21638
10de07f5
JM
216392013-05-01 Joseph Myers <joseph@codesourcery.com>
21640
21641 [BZ #15423]
21642 * math/s_catan.c (__catan): Handle small real or imaginary part of
21643 input specially to avoid spurious underflow.
21644 * math/s_catanf.c (__catanf): Likewise.
21645 * math/s_catanh.c (__catanh): Likewise.
21646 * math/s_catanhf.c (__catanhf): Likewise.
21647 * math/s_catanhl.c (__catanhl): Likewise.
21648 * math/s_catanl.c (__catanl): Likewise.
21649 * math/libm-test.inc (catan_test): Add more tests.
21650 (catanh_test): Likewise.
21651 * sysdeps/i386/fpu/libm-test-ulps: Update.
21652 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21653
cb4d5414
AZ
216542013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21655
21656 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21657
caf84319
JM
216582013-04-30 Joseph Myers <joseph@codesourcery.com>
21659
21660 [BZ #15416]
21661 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
21662 accurately for denominator in atan2.
21663 * math/s_catanf.c (__catanf): Likewise.
21664 * math/s_catanh.c (__catanh): Likewise.
21665 * math/s_catanhf.c (__catanhf): Likewise.
21666 * math/s_catanhl.c (__catanhl): Likewise.
21667 * math/s_catanl.c (__catanl): Likewise.
21668 * math/libm-test.inc (catan_test): Add more tests.
21669 (catanh_test): Likewise.
21670 * sysdeps/i386/fpu/libm-test-ulps: Update.
21671 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21672
d569c6ee
SP
216732013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
21674
6dbe713d
SP
21675 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
21676
f0ee064b
SP
21677 * benchtests/Makefile (bench): Remove slow benchmarks.
21678 * benchtests/atan-inputs: Add slow benchmark inputs.
21679 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
21680 (BENCH_FUNC): Accept variant offset.
21681 (VARIANT): Define.
21682 * benchtests/bench-skeleton.c (main): Run benchmark for each
21683 variant.
21684 * benchtests/cos-inputs: Add slow benchmark inputs.
21685 * benchtests/exp-inputs: Likewise.
21686 * benchtests/pow-inputs: Likewise.
21687 * benchtests/sin-inputs: Likewise.
21688 * benchtests/slowatan-inputs: Remove.
21689 * benchtests/slowatan.c: Remove.
21690 * benchtests/slowcos-inputs: Remove.
21691 * benchtests/slowcos.c: Remove.
21692 * benchtests/slowexp-inputs: Remove.
21693 * benchtests/slowexp.c: Remove.
21694 * benchtests/slowpow-inputs: Remove.
21695 * benchtests/slowpow.c: Remove.
21696 * benchtests/slowsin-inputs: Remove.
21697 * benchtests/slowsin.c: Remove.
21698 * benchtests/slowtan-inputs: Remove.
21699 * benchtests/slowtan.c: Remove.
21700 * benchtests/tan-inputs: Add slow benchmark inputs.
21701 * scripts/bench.pl: Parse comments and directives.
21702
d569c6ee
SP
21703 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
21704 in CPPFLAGS.
21705 ($(objpfx)bench-%.c): Remove *-ITER.
21706 * benchtests/bench-modf.c: Remove definition of ITER.
21707 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
21708 (main): Loop for DURATION seconds instead of fixed number of
21709 iterations.
21710 * scripts/bench.pl: Don't expect iterations in parameters.
21711
a6a242fe
RM
217122013-04-29 Roland McGrath <roland@hack.frob.com>
21713
21714 * io/fchdir.c (__fchdir): Renamed from fchdir.
21715 (fchdir): Define as weak alias.
21716
f2da7793
JM
217172013-04-29 Joseph Myers <joseph@codesourcery.com>
21718
21719 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
21720 (ERRNO_EDOM): Likewise.
21721 (ERRNO_ERANGE): Likewise.
21722 (noErrnoTests): New variable.
21723 (init_max_error): Set errno to 0.
21724 (test_single_errno): New function.
21725 (test_errno): Likewise.
21726 (check_float_internal): Call test_errno. Set errno to 0.
21727 (check_complex): Refer to errno tests in comment.
21728 (check_int): Call test_errno. Set errno to 0.
21729 (check_long): Likewise.
21730 (check_bool): Likewise.
21731 (check_longlong): Likewise.
21732 (cos_test): Use ERRNO_* flags for errno tests instead of
21733 check_int.
21734 (expm1_test): Likewise.
21735 (fmod_test): Likewise.
21736 (ilogb_test): Likewise.
21737 (lgamma_test): Likewise.
21738 (pow_test): Likewise.
21739 (remainder_test): Likewise.
21740 (sin_test): Likewise.
21741 (tan_test): Likewise.
21742 (yn_test): Likewise.
21743 (initialize): Set errno to 0.
21744 (main): Print number of errno tests.
21745 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
21746
b1a36ceb
AJ
217472013-04-29 Andreas Jaeger <aj@suse.de>
21748
c3ed8088
AJ
21749 [BZ #15084]
21750 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
21751 and RES_USEVC.
21752
f1a24198
AJ
21753 [BZ #15085]
21754 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
21755 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
21756 unimplemented.
21757
9ce3b2cb
AJ
21758 [BZ #15380]
21759 * stdlib/random.c (__initstate): Return NULL if
21760 __initstate fails.
21761
f1a24198 21762 [BZ #15086]
b1a36ceb
AJ
21763 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
21764 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
21765 RES_SNGLKUPREOP.
21766
7e7b6f36
AZ
217672013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21768
21769 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21770
4d14f449
JM
217712013-04-29 Joseph Myers <joseph@codesourcery.com>
21772
21773 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
21774 of individual tests.
21775 (casin_test): Likewise.
21776 (casinh_test): Likewise.
21777
5b4217d7
JM
217782013-04-27 Joseph Myers <joseph@codesourcery.com>
21779
21780 [BZ #15409]
21781 * math/s_catan.c (__catan): Handle arguments with large real or
21782 imaginary part separately without squaring.
21783 * math/s_catanf.c (__catanf): Likewise.
21784 * math/s_catanh.c (__catanh): Likewise.
21785 * math/s_catanhf.c (__catanhf): Likewise.
21786 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
21787 and redefine.
21788 (__catanhl): Handle arguments with large real or imaginary part
21789 separately without squaring.
21790 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
21791 and redefine.
21792 (__catanl): Handle arguments with large real or imaginary part
21793 separately without squaring.
21794 * math/libm-test.inc (catan_test): Add more tests.
21795 (catanh_test): Likewise.
21796 * sysdeps/i386/fpu/libm-test-ulps: Update.
21797 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21798
4220c3ef
AJ
217992013-04-27 Andreas Jaeger <aj@suse.de>
21800
21801 [BZ #15007]
21802 * stdlib/stdlib.h: Update guards for qecvt.
21803 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
21804 <stdlib.h>.
21805
4721b2d1
AM
218062013-04-27 Allan McRae <allan@archlinux.org>
21807
21808 * sysdeps/i386/fpu/libm-test-ulps: Update.
21809
f0302940
JM
218102013-04-26 Joseph Myers <joseph@codesourcery.com>
21811
9457fd95
JM
21812 [BZ #15406]
21813 * math/s_catan.c: Include <float.h>.
21814 (__catan): Ensure underflow exception occurs for underflowed
21815 result.
21816 * math/s_catanf.c: Include <float.h>.
21817 (__catanf): Ensure underflow exception occurs for underflowed
21818 result.
21819 * math/s_catanh.c: Include <float.h>.
21820 (__catanh): Ensure underflow exception occurs for underflowed
21821 result.
21822 * math/s_catanhf.c: Include <float.h>.
21823 (__catanhf): Ensure underflow exception occurs for underflowed
21824 result.
21825 * math/s_catanhl.c: Include <float.h>.
21826 (__catanhl): Ensure underflow exception occurs for underflowed
21827 result.
21828 * math/s_catanl.c: Include <float.h>.
21829 (__catanl): Ensure underflow exception occurs for underflowed
21830 result.
21831 * math/libm-test.inc (catan_test): Add more tests.
21832 (catanh_test): Likewise.
21833
f0302940
JM
21834 [BZ #15405]
21835 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
21836 underflowed result.
21837 * math/s_ccoshf.c (__ccoshf): Likewise.
21838 * math/s_ccoshl.c (__ccoshl): Likewise.
21839 * math/s_csin.c (__csin): Likewise.
21840 * math/s_csinf.c (__csinf): Likewise.
21841 * math/s_csinh.c (__csinh): Likewise.
21842 * math/s_csinhf.c (__csinhf): Likewise.
21843 * math/s_csinhl.c (__csinhl): Likewise.
21844 * math/s_csinl.c (__csinl): Likewise.
21845 * math/libm-test.inc (ccos_test): Add more tests.
21846 (ccosh_test): Likewise.
21847 (csin_test): Likewise.
21848 (csinh_test): Likewise.
21849
aa630f59
AZ
218502013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21851
21852 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
21853 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
21854 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
21855 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
21856 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
21857 powerpc/power5+/fpu folders.
21858 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
21859
21860
1b835983
MT
218612013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
21862
21863 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
21864
73709b26
JM
218652013-04-25 Joseph Myers <joseph@codesourcery.com>
21866
21867 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
21868 additions to variable.
21869 [$(config-machine) = x86_64] (modules-names): Likewise.
21870 ($(objpfx)tst-audit3): Remove dependency.
21871 ($(objpfx)tst-audit3.out): Likewise.
21872 ($(objpfx)tst-audit4): Likewise.
21873 ($(objpfx)tst-audit4.out): Likewise.
21874 ($(objpfx)tst-audit5): Likewise.
21875 ($(objpfx)tst-audit5.out): Likewise.
21876 ($(objpfx)tst-audit6): Likewise.
21877 ($(objpfx)tst-audit6.out): Likewise.
21878 ($(objpfx)tst-audit7): Likewise.
21879 ($(objpfx)tst-audit7.out): Likewise.
21880 (tst-audit3-ENV): Remove variable.
21881 (tst-audit4-ENV): Likewise.
21882 (tst-audit5-ENV): Likewise.
21883 (tst-audit6-ENV): Likewise.
21884 (tst-audit7-ENV): Likewise.
21885 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
21886 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
21887 addition to variable.
21888 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
21889 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
21890 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
21891 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
21892 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
21893 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
21894 tst-audit3, tst-audit4 and tst-audit5.
21895 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
21896 tst-audit6 and tst-audit7.
21897 [$(subdir) = elf] (modules-names): Add audit modules for those
21898 tests.
21899 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
21900 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
21901 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
21902 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
21903 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
21904 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
21905 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
21906 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
21907 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
21908 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
21909 [$(subdir) = elf] (tst-audit3-ENV): New variable.
21910 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
21911 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
21912 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
21913 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
21914 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
21915 Likewise.
21916 [$(subdir) = elf && $(config-cflags-avx) = yes]
21917 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
21918 [$(subdir) = elf && $(config-cflags-avx) = yes]
21919 (CFLAGS-tst-auditmod4a.c): Likewise.
21920 [$(subdir) = elf && $(config-cflags-avx) = yes]
21921 (CFLAGS-tst-auditmod4b.c): Likewise.
21922 [$(subdir) = elf && $(config-cflags-avx) = yes]
21923 (CFLAGS-tst-auditmod6b.c): Likewise.
21924 [$(subdir) = elf && $(config-cflags-avx) = yes]
21925 (CFLAGS-tst-auditmod6c.c): Likewise.
21926 [$(subdir) = elf && $(config-cflags-avx) = yes]
21927 (CFLAGS-tst-auditmod7b.c): Likewise.
21928 * elf/tst-audit3.c: Move to ...
21929 * sysdeps/x86_64/tst-audit3.c: ... here.
21930 * elf/tst-audit4.c: Move to ...
21931 * sysdeps/x86_64/tst-audit4.c: ... here.
21932 * elf/tst-audit5.c: Move to ...
21933 * sysdeps/x86_64/tst-audit5.c: ... here.
21934 * elf/tst-audit6.c: Move to ...
21935 * sysdeps/x86_64/tst-audit6.c: ... here.
21936 * elf/tst-audit7.c: Move to ...
21937 * sysdeps/x86_64/tst-audit7.c: ... here.
21938 * elf/tst-auditmod3a.c: Move to ...
21939 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
21940 * elf/tst-auditmod3b.c: Move to ...
21941 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
21942 * elf/tst-auditmod4a.c: Move to ...
21943 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
21944 * elf/tst-auditmod4b.c: Move to ...
21945 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
21946 * elf/tst-auditmod5a.c: Move to ...
21947 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
21948 * elf/tst-auditmod5b.c: Move to ...
21949 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
21950 * elf/tst-auditmod6a.c: Move to ...
21951 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
21952 * elf/tst-auditmod6b.c: Move to ...
21953 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
21954 * elf/tst-auditmod6c.c: Move to ...
21955 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
21956 * elf/tst-auditmod7a.c: Move to ...
21957 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
21958 * elf/tst-auditmod7b.c: Move to ...
21959 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
21960
1ef74943
PP
219612013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
21962
21963 [BZ #15366]
21964 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
21965 define unconditionally.
21966 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
21967 define unconditionally.
21968 (INT8_C, INT16_C, etc.): Likewise.
21969
93fd48c5
MR
219702013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
21971
ae9552cf
MR
21972 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
21973 __ehdr_start with hidden visibility.
21974
93fd48c5
MR
21975 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
21976
418601aa
CD
219772013-04-24 Carlos O'Donell <carlos@redhat.com>
21978
21979 * math/libm-test.inc (cos_test): Use accurate hex constants.
21980 (sincost_test): Likewise.
21981
2f38fbfe
JM
219822013-04-24 Joseph Myers <joseph@codesourcery.com>
21983
5e221800
JM
21984 * math/libm-test.inc (catan_test): Add more tests.
21985 (catanh_test): Likewise.
21986
77f143fd
JM
21987 * math/s_catanf.c (__catanf): Use suffixed floating-point
21988 constants.
21989 * math/s_catanhf.c (__catanhf): Likewise.
21990 * math/s_catanhl.c (__catanhl): Likewise.
21991 * math/s_catanl.c (__catanl): Likewise.
21992
2f38fbfe
JM
21993 [BZ #15394]
21994 * math/s_catan.c (__catan): Calculate imaginary part of result
21995 with log1p not log unless computing log of number close to 0.
21996 * math/s_catanf.c (__catanf): Likewise.
21997 * math/s_catanl.c (__catanl): Likewise.
21998 * math/s_catanh.c (__catanh): Calculate real part of result with
21999 log1p not log unless computing log of number close to 0.
22000 * math/s_catanhf.c (__catanhf): Likewise.
22001 * math/s_catanhl.c (__catanhl): Likewise.
22002 * math/libm-test.inc (catan_test): Add more tests.
22003 (catanh_test): Likewise.
22004 * sysdeps/i386/fpu/libm-test-ulps: Update.
22005 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22006
45d69176
SP
220072013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
22008
22009 * benchtests/Makefile: Mention files in which fast and slow
22010 paths of math functions are implemented.
22011
87f51853
RM
220122013-04-23 Roland McGrath <roland@hack.frob.com>
22013
22014 * sysdeps/posix/timespec_get.c: New file.
22015
3c026539
AZ
220162013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22017
22018 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
22019 POWER.
22020 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
22021 for POWER.
22022 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
22023 powerpc/power5/fpu folders.
22024 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
22025 * benchtests/Makefile: Add modf testcase.
22026 * benchtests/bench-modf.c: New file: Benchmark test for mo
22027
ff491d14
SP
220282013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
22029
22030 [BZ #14888]
22031 * time/Makefile (tests): Add tst-strptime-whitespace.
22032 * time/strptime_l.c (get_number): Use ISSPACE.
22033 (__strptime_internal): Likewise.
22034 * time/tst-strptime-whitespace.c: New test case.
22035
7ed3f4e8
AS
220362013-04-23 Andreas Schwab <schwab@linux-m68k.org>
22037
22038 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
22039 member.
22040 (_nss_files_init): Set it here.
22041
5c95f7b6
HC
220422013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
22043
22044 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
22045 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
22046 unsigned.
22047
d34c9158
JBG
220482013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
22049
22050 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
22051
2169712d
SP
220522013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
22053
22054 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
22055 size just once.
22056
29c5de99
DM
220572013-04-21 David S. Miller <davem@davemloft.net>
22058
22059 * po/ru.po: Update Russion translation from translation project.
22060
ccdad15d
AC
220612013-04-17 Adam Conrad <adconrad@0c3.net>
22062
22063 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
22064 and setfsgid.
22065
0f122b8d
CD
220662013-04-17 Carlos O'Donell <carlos@redhat.com>
22067
5c5b07da 22068 * configure.in: Remove i386 configure warning. Remove i386 case.
0f122b8d 22069 * configure: Regenerate.
5c5b07da 22070 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
0f122b8d
CD
22071 Add example to error message.
22072 * sysdeps/i386/configure: Regenerate.
22073
037714dd
SP
220742013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
22075
22076 * benchtests/Makefile (bench): Add cos, tan, slowcos and
22077 slowtan.
22078 * benchtests/cos-inputs: New file.
22079 * benchtests/slowcos-inputs: New file.
22080 * benchtests/slowcos.c: New file.
22081 * benchtests/slowtan-inputs: New file.
22082 * benchtests/slowtan.c: New file.
22083 * benchtests/tan-inputs: New file.
22084
e913141d
RM
220852013-04-16 Roland McGrath <roland@hack.frob.com>
22086
22087 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
22088 considered kosher.
22089
a2964074
SP
220902013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
22091
4856bcd2
SP
22092 * benchtests/Makefile: Include cppflags-iterator.mk to add
22093 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
22094
a2964074
SP
22095 * Makefile.in (bench-clean): New target.
22096 * benchtests/Makefile (bench-clean): Likewise.
22097
9fbf9aca
DH
220982013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
22099
22100 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
22101
207d1e2a
TS
221022013-04-15 Thomas Schwinge <thomas@codesourcery.com>
22103
22104 * stdio-common/tstdiomisc.c: Fix coding-style violation.
22105
306dfba9
AS
221062013-04-15 Andreas Schwab <schwab@suse.de>
22107
22108 * nscd/grpcache.c (cache_addgr): Properly check for short write.
22109 * nscd/initgrcache.c (addinitgroupsX): Likewise.
22110 * nscd/pwdcache.c (cache_addpw): Likewise.
22111 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
22112 more than recsize.
22113
206a6699
SP
221142013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
22115
22116 * benchtests/Makefile (bench): Write all output to
22117 bench-out.tmp together.
22118
0582f6b3
AS
221192013-04-15 Andreas Schwab <schwab@suse.de>
22120
22121 * nscd/nscd.c (main): Don't fork again after closing files.
22122
acb4325f
SP
221232013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
22124
5cb26d0a
SP
22125 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
22126
acb4325f
SP
22127 * benchtests/Rules (bench-deps): Collect dependencies into a
22128 single variable. Add Makefile to dependencies.
22129 ($(objpfx)bench-%.c): Depend on bench-deps.
22130
47792506
RM
221312013-04-12 Roland McGrath <roland@hack.frob.com>
22132 Xavier Roche <roche+kml2@exalead.com>
22133
22134 [BZ #15361]
22135 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
22136 just that it's a file descriptor.
22137 * manual/llio.texi (Synchronizing AIO Operations): Update description
22138 for EBADF error from aio_fsync.
22139
8fc1bee5
SP
221402013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
22141
22142 * Rules (bench): Move target definition...
22143 * benchtests/Makefile: ... here.
22144
aba5e333
CD
221452013-04-11 Carlos O'Donell <carlos@redhat.com>
22146
22147 * math/libm-test.inc (cos_test): Fix PI/2 test.
22148 (sincos_test): Likewise.
22149 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
22150 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
22151
273cdee8
AS
221522013-04-11 Andreas Schwab <schwab@suse.de>
22153
6ecec3b6
AS
22154 [BZ #13988]
22155 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
22156 accept exponent character only when digits were seen.
22157 * stdio-common/Makefile (tests): Add bug26.
22158 * stdio-common/bug26.c: New file.
22159
273cdee8
AS
22160 [BZ #14293]
22161 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
22162 non-freeable.
22163
8da491f5
SP
221642013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
22165
01dc6df9
SP
22166 * Makeconfig (rtld-prefix): Define built linker prefix.
22167 * Rules (run-bench): Use it.
22168 * math/Makefile (run-regen-ulps): Likewise.
22169
8da491f5
SP
22170 * Rules (bench): Remove eval.
22171
abe7f530
SP
221722013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
22173 Roland McGrath <roland@hack.frob.com>
22174 Ondrej Bilka <neleai@seznam.cz>
22175
22176 [BZ #15346]
22177 * time/getdate.c: Include ctype.h and alloca.h.
22178 (__getdate_r): Trim leading and trailing spaces of input.
22179 * time/tst-getdate.c (tests): Add tests with leading and
22180 trailing spaces.
22181
61c23e62
RM
221822013-04-08 Roland McGrath <roland@hack.frob.com>
22183
22184 [BZ #14280]
22185 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
22186 when computing value.
22187
7208a313
CD
221882013-04-06 Carlos O'Donell <carlos@redhat.com>
22189
085b2d41
CD
22190 * math/README.libm-test (How can I generate "libm-test-ulps"?):
22191 Use testrun.sh to run libm tests.
22192
7208a313
CD
22193 [BZ #15309]
22194 * elf/dl-open.c (dl_open_worker): memset all of seen array.
22195
872c0acd
MM
221962013-04-06 Marko Myllynen <myllynen@redhat.com>
22197
22198 [BZ #15264]
22199 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
22200
26510bdd
CD
222012013-04-06 Carlos O'Donell <carlos@redhat.com>
22202
22203 * Makefile.in (regen-ulps): New target.
22204 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
22205 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
22206 [ifneq (no,$(PERL)] (regen-ulps): New target.
22207 [ifeq (no,$(PERL)] (regen-ulps): New target.
22208 * math/libm-test.inc (ulps_file_name): Define.
22209 (output_dir): New variable.
22210 (options): Add "output-dir" option.
22211 (parse_opt): Handle 'o' case.
22212 (main): If output_dir is non-NULL use it as a prefix
22213 otherwise use "".
22214 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
22215
a01f19c8
CD
222162013-04-06 Carlos O'Donell <carlos@redhat.com>
22217
22218 [BZ #10060, #10062]
22219 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
22220 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
22221 fail configure if __sync_val_compare_and_swap is not inlined.
22222 * sysdeps/i386/configure: Regenerate.
22223 * configure.in: Build for i686 when configured for i386.
22224 * configure: Regenerate.
22225 * README: Remove i386 reference.
22226
b7a329a5
CD
222272013-04-06 Carlos O'Donell <carlos@redhat.com>
22228
22229 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
22230 * sysdeps/s390/s390-64/sysdep.h: Likewise.
22231
bf0f50df
TS
222322013-04-05 Thomas Schwinge <thomas@codesourcery.com>
22233
ee091edf
TS
22234 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
22235 (lmsnanval): New variables.
22236 (F): Add conversion tests.
22237 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
22238 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
22239
a8b792d6
TS
22240 * stdio-common/tstdiomisc.c (F): Properly collect individual
22241 tests' results.
22242
a1cbf437
TS
22243 [BZ #14686, #15336]
22244 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
22245 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
22246 Instead, use input NaN values or generate a qNaN by arithmetic
22247 operation. Also fix bugs to comply with the standard.
22248 * math/libm-test.inc (remainder_test): Add more tests.
22249
8b43a0c9
TS
22250 [BZ #15335, #15342]
22251 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
22252 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
22253 input NaN values or generate a qNaN by arithmetic operation.
22254
d91da4ce
TS
22255 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
22256 unreachable code.
22257
bf0f50df
TS
22258 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
22259 definitions.
22260
05e166c8
JM
222612013-04-03 Joseph Myers <joseph@codesourcery.com>
22262
22263 [BZ #14478]
22264 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
22265 underflowed result.
22266 * math/s_cexpf.c (__cexpf): Likewise.
22267 * math/s_cexpl.c (__cexpl): Likewise.
22268 * math/libm-test.inc (cexp_test): Add more tests.
22269
1cef1b19
AS
222702013-04-03 Andreas Schwab <schwab@suse.de>
22271
22272 [BZ #15330]
22273 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
22274 order arrays from heap if bigger than alloca cutoff.
22275
74d87055
TS
222762013-04-03 Thomas Schwinge <thomas@codesourcery.com>
22277
22278 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
22279 (SNAN_TESTS_double): Refer to GCC PR56831.
22280 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
22281 GCC PR56828.
22282
d755bba4
SP
222832013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
22284
90d5d5bb
SP
22285 * Rules (bench): Move bench.out after the run is complete.
22286
73e0cd5d
SP
22287 * Rules (bench): Echo currently running benchmark.
22288
64aabd4b
SP
22289 * benchtests/Makefile (bench): Add atan and slowatan.
22290 * benchtests/atan-inputs: New file.
22291 * benchtests/slowatan-inputs: New file.
22292 * benchtests/slowatan.c: New file.
22293
c871eccd
SP
22294 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
22295 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
22296 its value.
22297
d755bba4
SP
22298 [BZ #15305]
22299 * sysdeps/unix/sysv/linux/kernel-features.h
22300 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
22301 __ASSUME_XFS_RESTRICTED_CHOWN.
22302 * sysdeps/unix/sysv/linux/pathconf.c
22303 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
22304 Save and restore errno.
22305
52ce4860
JM
223062013-04-02 Joseph Myers <joseph@codesourcery.com>
22307
22308 [BZ #15327]
22309 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
22310 arguments using __kernel_casinh.
22311 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
22312 arguments using __kernel_casinhf.
22313 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
22314 arguments using __kernel_casinhl.
22315 * math/libm-test.inc (cacosh_test): Add more tests.
22316 * sysdeps/i386/fpu/libm-test-ulps: Update.
22317 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22318
81f311c2
SP
223192013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
22320
e7906a47
SP
22321 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
22322 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
22323
92e3664b
SP
22324 * bench/Makefile (bench): Add sin and slowsin.
22325 * benchtests/sin-inputs: New file.
22326 * benchtests/slowsin-inputs: New file.
22327 * benchtests/slowsin.c: New file.
22328
81f311c2
SP
22329 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
22330 (bench): Add slowexp and slowpow.
22331 (exp-ITER): Increase iterations.
22332 (pow-ITER): Likewise.
22333 * benchtests/exp-inputs: Change input.
22334 * benchtests/pow-inputs: Likewise.
22335 * benchtests/slowexp-inputs: New file.
22336 * benchtests/slowexp.c: New file.
22337 * benchtests/slowpow-inputs: New file.
22338 * benchtests/slowpow.c: New file.
22339
ab0f1aa9
AZ
223402013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22341
22342 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
22343 instructions.
22344 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
22345 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
22346 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
22347 * benchtests/Makefile: Add rint benchtest.
22348 * benchtests/rint-inputs: Input for rint benchtest.
22349
57267616
TS
223502013-04-02 Thomas Schwinge <thomas@codesourcery.com>
22351
22352 * Versions.def (libm): Add GLIBC_2.18.
22353 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
22354 hidden libm prototypes.
22355 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
22356 * math/Makefile (libm-calls): Add s_issignaling.
22357 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
22358 __issignalingf, __issignalingl. Adjust all libm.abilist files.
22359 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
22360 declaration.
22361 * math/math.h [__USE_GNU] (issignaling): New macro.
22362 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
22363 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
22364 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
22365 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
22366 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
22367 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
22368 * manual/arith.texi (issignaling): New section.
22369 * manual/libm-err-tab.pl (@all_functions): Update comment.
22370 * math/gen-libm-test.pl (parse_args): Apply special handling for
22371 issignaling.
22372 * math/libm-test.inc (print_float, issignaling_test): New
22373 functions.
22374 (check_float_internal): Add issignaling checks.
22375 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
22376 default definition.
22377 * sysdeps/powerpc/math-tests.h: New file.
22378 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
22379 tests.
22380 * math/test-snan.c (TEST_FUNC): Likewise.
22381
6142896d
DM
223822013-03-30 David S. Miller <davem@davemloft.net>
22383
22384 * po/de.po: Update from translation team.
22385
ccc8cadf
JM
223862013-03-30 Joseph Myers <joseph@codesourcery.com>
22387
22388 [BZ #10357]
22389 * math/k_casinh.c (__kernel_casinh): Handle arguments with
22390 imaginary part less than 1.0 and real part less than 0.5
22391 specially.
22392 * math/k_casinhf.c (__kernel_casinhf): Likewise.
22393 * math/k_casinhl.c (__kernel_casinhl): Likewise.
22394 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
22395 (cacos_test): Add more tests.
22396 (casin_test): Likewise.
22397 (casinh_test): Likewise.
22398 * sysdeps/i386/fpu/libm-test-ulps: Update.
22399 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22400
0f6a8d4b
SP
224012013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
22402
0d1029de
SP
22403 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
22404 ONE with its value.
22405
c2d94018
SP
22406 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
22407 (__pow_mp): Replace ONE and MONE with their values.
22408 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
22409 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
22410 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
22411 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
22412 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
22413 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
22414
27ec37f1
SP
22415 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
22416
a64d7e0e
SP
22417 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
22418 (__pow_mp): Replace ZERO and MZERO with their values.
22419 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
22420 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
22421 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
22422 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
22423 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
22424 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
22425 (__sqr): Likewise.
22426
d26dd3eb
SP
22427 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
22428
0f6a8d4b
SP
22429 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
22430
e57b0c61
RM
224312013-03-28 Roland McGrath <roland@hack.frob.com>
22432
22433 * include/stdlib.h [!SHARED] (__call_tls_dtors):
22434 Declare with __attribute__ ((weak)).
22435 * stdlib/exit.c (__libc_atexit) [!SHARED]:
22436 Call __call_tls_dtors only if it's not NULL.
22437
356b3480
RM
224382013-03-28 Roland McGrath <roland@hack.frob.com>
22439
288f7d79
RM
22440 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
22441 didn't do it already, then set _dl_phdr and _dl_phnum based on the
22442 magic __ehdr_start linker symbol if it's defined.
22443 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
22444 them up here if it was already done.
22445
dc0a0263
RM
22446 * elf/dl-support.c (_dl_phdr): Make pointer to const.
22447 (_dl_aux_init): Use const in cast when setting it.
22448 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
22449 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
22450 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
22451
3d3436ae
RM
22452 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
22453 Declare them here.
22454 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
22455 * csu/libc-tls.c: Nor here.
22456 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
22457
356b3480
RM
22458 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
22459 (__libc_message): Never call vsyslog.
22460
b0f1246a
AM
224612013-03-28 Alan Modra <amodra@gmail.com>
22462
22463 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
22464 Define as empty.
22465 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
22466 Likewise.
22467
fbbe2b9a
AZ
224682013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22469
22470 [BZ #15214]
22471 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
22472 underflow.
22473 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22474
1728ab37
SP
224752013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
22476
7a86be6e
SP
22477 [BZ #15304]
22478 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
22479 Don't add gid passed as argument.
22480
1728ab37
SP
22481 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
22482
3a7182a1
JM
224832013-03-27 Joseph Myers <joseph@codesourcery.com>
22484
22485 [BZ #15307]
22486 * math/k_casinh.c (__kernel_casinh): Handle arguments with
22487 imaginary part between 1.0 and 1.5 and real part less than 0.5
22488 specially.
22489 * math/k_casinhf.c (__kernel_casinhf): Likewise.
22490 * math/k_casinhl.c (__kernel_casinhl): Likewise.
22491 * math/libm-test.inc (cacos_test): Add more tests.
22492 (casin_test): Likewise.
22493 (casinh_test): Likewise.
22494 * sysdeps/i386/fpu/libm-test-ulps: Update.
22495 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22496
6f2e90e7
SP
224972013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
22498
5739f705
SP
22499 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
22500 constants.
22501 (norm): Likewise.
22502 (denorm): Likewise.
22503 (__dbl_mp): Likewise.
22504 (add_magnitudes): Likewise.
22505 (sub_magnitudes): Likewise.
22506 (__add): Likewise.
22507 (__sub): Likewise.
22508 (__mul): Likewise.
22509 (__sqr): Likewise.
22510 (__inv): Likewise.
22511 (__dvd): Likewise.
22512
e375e83d
SP
22513 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
22514 commented code.
22515 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
22516 (__dubcos): Likewise.
22517 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
22518 (__ieee754_acos): Likewise.
22519 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
22520 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
22521 (__exp1): Likewise.
22522 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
22523 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
22524 (log1): Likewise.
22525 (my_log2): Likewise.
22526 (checkint): Likewise.
22527 * sysdeps/ieee754/dbl-64/e_remainder.c
22528 (__ieee754_remainder): Likewise.
22529 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
22530 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
22531 (bsloww): Likewise.
22532 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
22533
6f2e90e7
SP
22534 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
22535 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
22536 MANTISSA_STORE_T to store computations on mantissa. Use
22537 macros for rounding and division.
22538 (denorm): Likewise.
22539 (__dbl_mp): Likewise.
22540 (add_magnitudes): Likewise.
22541 (sub_magnitudes): Likewise.
22542 (__mul): Likewise.
22543 (__sqr): Likewise.
22544 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
22545 powers of two in terms of TWOPOW macro.
22546 (mp_no): Make type of mantissa as MANTISSA_T.
22547 [!RADIXI]: Define RADIXI.
22548 [!TWO52]: Define TWO52.
22549 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
22550
fce14d4e
AZ
225512013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22552
22553 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
22554 llroundl symbol when building for PPC32.
22555
9ad027fb
MW
225562013-03-24 Mark H Weaver <mhw@netris.org>
22557
22558 * manual/arith.texi (Normalization Functions): Fix prototypes for
22559 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
22560
e42a38dd
AZ
225612013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22562
22563 [BZ #13889]
22564 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
22565 high value to check if expl overflow.
22566 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
22567 to check for underflow and overflow.
22568 * math/libm-test.inc: Add exp test.
22569
2e0fb521
DL
225702013-03-21 Dmitry V. Levin <ldv@altlinux.org>
22571
22572 [BZ #11120]
22573 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
22574 with NOT_IN_libc.
22575
b5784d95
AZ
225762013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22577
22578 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
22579 symbol.
22580
5aa4a1a1
TS
225812013-03-21 Thomas Schwinge <thomas@codesourcery.com>
22582
bdef0be7
TS
22583 * math/gen-libm-test.pl (parse_args, special_functions): Properly
22584 wrap blocks consisting of several statements.
22585
5aa4a1a1
TS
22586 * sysdeps/generic/math-tests.h: New file.
22587 * sysdeps/i386/fpu/math-tests.h: Likewise.
22588 * math/test-snan.c: Include it.
22589 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
22590
98c48fe5
JM
225912013-03-21 Joseph Myers <joseph@codesourcery.com>
22592
22593 [BZ #15285]
22594 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
22595 (__ieee754_j0l): Do not improve calculations using cos of twice
22596 input for inputs above LDBL_MAX / 2.0L.
22597 (__ieee754_y0l): Likewise.
22598 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
22599 (__ieee754_j1l): Do not improve calculations using cos of twice
22600 input for inputs above LDBL_MAX / 2.0L.
22601 (__ieee754_y1l): Likewise.
22602 * math/libm-test.inc (j0_test): Add another test.
22603 (j1_test): Likewise.
22604 (y0_test): Likewise.
22605 (y1_test): Likewise.
22606 * sysdeps/i386/fpu/libm-test-ulps: Update.
22607
3775a8bc
SP
226082013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
22609
22610 * Rules ($(objpfx)bench-%.c): Include code from a C source
22611 file.
22612
0a1b2ae6
JM
226132013-03-21 Joseph Myers <joseph@codesourcery.com>
22614
22615 [BZ #15287]
22616 * math/k_casinh.c (__kernel_casinh): Handle arguments with
22617 imaginary part 1.0 and real part less than 0.5 specially.
22618 * math/k_casinhf.c (__kernel_casinhf): Likewise.
22619 * math/k_casinhl.c (__kernel_casinhl): Likewise.
22620 * math/libm-test.inc (cacos_test): Add more tests.
22621 (casin_test): Likewise.
22622 (casinh_test): Likewise.
22623 * sysdeps/i386/fpu/libm-test-ulps: Update.
22624 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22625
b33d4ce4
SP
226262013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
22627
22628 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
22629 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
22630
bef0b507
JM
226312013-03-20 Joseph Myers <joseph@codesourcery.com>
22632
22633 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
22634 * config.make.in (config-cflags-sse4): Remove variable.
22635 (config-cflags-avx): Likewise.
22636 (config-cflags-sse2avx): Likewise.
22637 (config-cflags-novzeroupper): Likewise.
22638 (config-asflags-i686): Likewise.
22639 (have-mfma4): Likewise.
22640 (have-as-vis3): Likewise.
22641 (MIG): Likewise.
22642 * configure.in (MIG): Do not AC_SUBST.
22643 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
22644 (libc_cv_cc_sse4): Do not AC_SUBST.
22645 (libc_cv_cc_avx): Likewise.
22646 (libc_cv_cc_sse2avx): Likewise.
22647 (libc_cv_cc_novzeroupper): Likewise.
22648 (libc_cv_cc_fma4): Likewise.
22649 (libc_cv_as_i686): Likewise.
22650 (libc_cv_sparc_as_vis3): Likewise.
22651 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
22652 LIBC_CONFIG_VAR.
22653 (config-asflags-i686): Likewise.
22654 (config-cflags-avx): Likewise.
22655 (config-cflags-sse2avx): Likewise.
22656 (have-mfma4): Likewise.
22657 (config-cflags-novzeroupper): Likewise.
22658 * sysdeps/mach/configure.in (MIG): Likewise.
22659 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
22660 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
22661 LIBC_CONFIG_VAR.
22662 (config-cflags-avx): Likewise.
22663 (config-cflags-sse2avx): Likewise.
22664 (have-mfma4): Likewise.
22665 (config-cflags-novzeroupper): Likewise.
22666 * configure: Regenerated.
22667 * sysdeps/i386/configure: Likewise.
22668 * sysdeps/mach/configure: Likewise.
22669 * sysdeps/sparc/configure: Likewise.
22670 * sysdeps/x86_64/configure: Likewise.
22671
912cc4b3
RM
226722013-03-20 Roland McGrath <roland@hack.frob.com>
22673
22674 [BZ #14812]
22675 * locale/programs/localedef.c (options): Put N_ translation marker
22676 on argument names, not just descriptions.
22677
04eed2b0
MS
226782013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
22679
22680 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
22681
a065ceff
OB
226822013-03-20 Ondřej Bílka <neleai@seznam.cz>
22683
9bb2a810 22684 [BZ #14176]
a065ceff
OB
22685 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
22686
a600e5ce
RM
226872013-03-19 Roland McGrath <roland@hack.frob.com>
22688
22689 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
22690 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
22691 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
22692 [!BEFORE_ABORT] (before_abort): New function.
22693 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
22694 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
22695 (writev_for_fatal): New function.
22696 (WRITEV_FOR_FATAL): New macro; call that.
22697 (backtrace_and_maps): New function.
22698 (BEFORE_ABORT): New macro; call that.
22699 (struct str_list): Type removed.
22700 (__libc_message, __libc_fatal): Functions removed.
22701 Include <sysdeps/posix/libc_fatal.c> instead.
22702
6b18bea6
JM
227032013-03-19 Joseph Myers <joseph@codesourcery.com>
22704
22705 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
22706 constants.
22707 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
22708 double constants.
22709
aaa8cb4b
AS
227102013-03-19 Andreas Schwab <schwab@suse.de>
22711
44673770
AS
22712 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
22713 * sysdeps/gnu/configure: Regenerate.
22714
aaa8cb4b
AS
22715 * configure.in: Substitute libc_cv_rtlddir.
22716 * configure: Regenerate.
22717 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
22718 * Makeconfig (rtlddir, inst_rtlddir): New variables.
22719 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
22720 * elf/Makefile (install-others, CFLAGS-interp.c)
22721 (ldso_install, common-ldd-rewrite): Likewise.
22722 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
22723 $(inst_slibdir)/$(rtld-installed-name).
22724 * scripts/rellns-sh: Add -p option.
22725 * Makerules (make-shlib-link): Use rellns-sh to get relative name
22726 for source.
22727
d3cfc668
SP
227282013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
22729
22730 * manual/nptl.texi: Renamed to ...
22731 * manual/threads.texi: ... this.
22732 * manual/Makefile (chapters): Update.
22733
0e2b9cdd
RM
227342013-03-18 Roland McGrath <roland@hack.frob.com>
22735
22736 [BZ #14812]
22737 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
22738 on argument names, not just descriptions.
0e2b9cdd
RM
22739 * malloc/memusagestat.c (options): Likewise.
22740 * nss/getent.c (options): Likewise.
63270c24
RM
22741
227422013-03-18 Benno Schulenberg <bensberg@justemail.net>
22743
22744 [BZ #14812]
22745 * iconv/iconv_prog.c (options): Put N_ translation marker
22746 on argument names, not just descriptions.
22747 * iconv/iconvconfig.c (options): Likewise.
0e2b9cdd 22748
b2e1393c
OB
227492013-03-18 Ondrej Bilka <neleai@seznam.cz>
22750
22751 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
22752 implementation which is faster on all x86_64 architectures.
22753 Tested on AMD, Intel Nehalem, SNB, IVB.
22754 * sysdeps/x86_64/strnlen.S: Likewise.
22755
22756 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
22757 Remove all multiarch strlen and strnlen versions.
22758 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
22759 Remove strlen and strnlen related parts.
22760
22761 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
22762 Inline strlen part.
22763 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
22764
22765 * sysdeps/x86_64/multiarch/strlen.S: Remove.
22766 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
22767 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
22768 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
22769 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
22770 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
22771
ec4ff04d
CD
227722013-03-17 Carlos O'Donell <carlos@redhat.com>
22773
22774 * manual/memory.texi (Malloc Tunable Parameters):
22775 Sort parameters alphabetically. Add comments for missing entries.
22776
cd18e90a
DM
227772013-03-17 David S. Miller <davem@davemloft.net>
22778
22779 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22780
2a185d32
JM
227812013-03-16 Joseph Myers <joseph@codesourcery.com>
22782
d2f9799e
JM
22783 [BZ #15283]
22784 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
22785 for arguments at most half maximum finite value.
22786 * math/libm-test.inc (j0_test): Add more tests.
22787 (j1_test): Likewise.
22788 (y0_test): Likewise.
22789 (y1_test): Likewise.
22790 * sysdeps/i386/fpu/libm-test-ulps: Update.
22791 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22792
2a185d32
JM
22793 [BZ #14155]
22794 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
22795 1 / x and functions P and Q for arguments above 0x1p256L.
22796 (__ieee754_y0l): Likewise.
22797 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
22798 (__ieee754_y1l): Likewise.
22799 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
22800 (j1_test): Likewise.
22801 (y0_test): Likewise.
22802 (y1_test): Likewise.
22803
6cbec759
TS
228042013-03-16 Thomas Schwinge <thomas@codesourcery.com>
22805
22806 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
22807 variable.
22808
bc16e260
RM
228092013-03-15 Roland McGrath <roland@hack.frob.com>
22810
aefc9b8c
RM
22811 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
22812 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
22813 zero since it's initialized to EXEC_PAGESIZE.
22814
bc16e260
RM
22815 * sysdeps/unix/sysv/linux/ldsodefs.h
22816 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
22817 * sysdeps/generic/ldsodefs.h: ... here.
22818
a57da955
TS
228192013-03-15 Thomas Schwinge <thomas@codesourcery.com>
22820
af00a34d
TS
22821 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
22822
495ded2c
TS
22823 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
22824 math/test-snan.c.
22825 * math/test-snan.c: Renamed from
22826 sysdeps/powerpc/fpu/test-powerpc-snan.c.
22827 * math/Makefile (tests): Add test-snan.
22828 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
22829 test-powerpc-snan.
22830
777b0332
TS
22831 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
22832 SUFFIX. Initialize qNaN_var with __builtin_nan family of
22833 functions.
22834 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
22835 __builtin_nan family of functions.
22836 * math/libm-test.inc (initialize): Initialize qnan_value with
22837 __builtin_nan family of functions.
22838 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
22839 Remove variables.
22840 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
22841 Remove functions.
22842 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
22843 storage class. Initialize qNaN_var and sNaN_var with
22844 __builtin_nan and __builtin_nans families of functions,
22845 respectively.
22846
64d063b8
TS
22847 * math/libm-test.inc (acosh_test): Also test with qNaN input.
22848 (sqrt_test): Remove duplicate test with qNaN input.
22849 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
22850 (round_test, signbit_test, significand_test): Note missing +/-Inf
22851 as well as qNaN tests.
22852
67e971f1
TS
22853 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
22854 qNaN_var. Fix a few strings, too.
22855 * math/libm-test.inc (nan_value): Rename to qnan_value.
22856 * math/gen-libm-test.pl (%beautify): Adjust to that.
22857 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
22858 * math/test-misc.c (main): Likewise.
22859 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
22860 to __qnan_bytes, and __qnan_union, respectively.
22861 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
22862 Likewise.
22863 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
22864 and lqnanval, respectively.
22865 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
22866 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
22867 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
22868 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
22869
64487e12
TS
22870 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
22871 * math/test-misc.c (main) [__x86_64__]: Enable test for long
22872 doubles.
22873
e015e27b
TS
22874 * math/test-misc.c (main): Fix copy'n'pastos.
22875 * misc/tst-efgcvt.c (special): Likewise.
22876
a57da955
TS
22877 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
22878 Remove declarations.
22879
1e380345
SP
228802013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
22881
22882 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
22883 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
22884 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
22885 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
22886
ef26eece
AZ
228872013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22888
22889 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
22890 macro to return vdso values correctly in IFUNC implementations.
22891 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
22892 Optimization by using IFUNC.
22893
8cfdb7e0
SP
228942013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
22895 Richard Henderson <rth@redhat.com>
22896 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
22897
22898 * Makefile.in (bench): New target.
22899 * NEWS: Mention the benchmark framework.
22900 * Rules (bench): Likewise.
22901 (binaries-bench): Generate binaries for functions to
22902 benchmark.
22903 * benchtests/Makefile: New makefile for benchmark tests.
22904 * benchtests/bench-skeleton.c: New skeleton file for benchmark
22905 programs.
22906 * benchtests/exp-inputs: New input file for EXP function.
22907 * benchtests/pow-inputs: New input file for POW function.
22908 * scripts/bench.pl: New script to generate source files for
22909 benchmark programs.
22910
bcda9880
SP
229112013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
22912
d22ca8cd
SP
22913 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
22914 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
22915 computations on mantissa. Use macros for rounding and
22916 division.
22917 (denorm): Likewise.
22918 (__dbl_mp): Likewise.
22919 (add_magnitudes): Likewise.
22920 (sub_magnitudes): Likewise.
22921 (__mul): Likewise.
22922 (__sqr): Likewise.
22923 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
22924 powers of two in terms of TWOPOW macro.
22925 (mp_no): Make type of mantissa as MANTISSA_T.
22926 [!RADIXI]: Define RADIXI.
22927 [!TWO52]: Define TWO52.
22928 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
22929
bcda9880
SP
22930 * manual/nptl.texi (cindex): Modify threads to pthreads.
22931
06d5adfb
JM
229322013-03-15 Joseph Myers <joseph@codesourcery.com>
22933
22934 * sysdeps/x86_64/preconfigure: Regenerated.
22935
41c7328e
JM
229362013-03-14 Joseph Myers <joseph@codesourcery.com>
22937
22938 [BZ #14155]
22939 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
22940 0x1p28 and above.
22941 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
22942 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
22943 0x1p28 and above.
22944 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
22945 * math/libm-test.inc (j0_test): Do not allow one spurious
22946 underflow exception.
22947 (y1_test): Likewise.
22948
e25cfa60
SP
229492013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
22950
0409959c
SP
22951 * manual/Makefile (chapters): Add nptl.
22952 * manual/debug.texi (Debugging Support): Add link to Threads
22953 chapter.
22954 * manual/nptl.texi: New file.
22955
e25cfa60
SP
22956 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
22957
58a1335e
PB
229582013-03-14 Petr Baudis <pasky@ucw.cz>
22959
22960 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
22961 for non-NULL pointer before the memory validity test. Pointed
22962 out by Holger Brunck <holger.brunck@keymile.com>.
22963
9dc7c64f
AS
229642013-03-13 Andreas Schwab <schwab@suse.de>
22965
22966 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
22967 instead of .os.
22968
54206aa6
JM
229692013-03-13 Joseph Myers <joseph@codesourcery.com>
22970
22971 * timezone/zic.c: Update from tzcode 2013b.
22972
e98cdb38
CD
229732013-03-12 Carlos O'Donell <carlos@redhat.com>
22974
22975 * manual/install.texi (Configuring and compiling):
22976 Mention i686 and i586.
22977 * INSTALL: Regenerate.
22978
9967e003
RM
229792013-03-12 Roland McGrath <roland@hack.frob.com>
22980
22981 * sysdeps/init_array/elf-init.c: New file.
22982 * csu/elf-init.c
22983 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
22984 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
22985
22986 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
22987 __gmon_start__ as global, but as static with a .preinit_array pointer.
22988 * sysdeps/init_array/gmon-start.c: New file. Use that.
22989 * sysdeps/init_array/crti.S: New file, empty except for comments.
22990 * sysdeps/init_array/crtn.S: Likewise.
22991
e6b5a293 229922013-03-11 Ondřej Bílka <neleai@seznam.cz>
80f844c9
OB
22993
22994 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
22995 definining bcopy.
80f844c9
OB
22996 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
22997 Remove Prefer_SSE_for_memop.
22998 * sysdeps/x86_64/multiarch/init-arch.h: Remove
22999 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
23000 HAS_PREFER_SSE_FOR_MEMOP.
80f844c9
OB
23001 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
23002 memset-x86-64.
80f844c9 23003 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
e6b5a293 23004 Remove bzero, memset ifunc support.
80f844c9
OB
23005 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
23006 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
23007 * sysdeps/x86_64/multiarch/memset.S: Likewise.
23008 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
23009
fb6b0fcb
AS
230102013-03-11 Andreas Schwab <schwab@suse.de>
23011
23012 [BZ #15234]
23013 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
23014 by SHLIB_COMPAT.
23015 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
23016 (GLIBC_2.16): Remove pthread_atfork.
23017
3e6bd4b1
PP
230182013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
23019
23020 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
23021 (ptestcases.h): Likewise.
23022
222d7f00
RM
230232013-03-08 Roland McGrath <roland@hack.frob.com>
23024
23025 * Makeconfig ($(common-objpfx)config.status): Depend on
23026 sysdeps/*/preconfigure{,.in} too.
23027
1ba4f030
JM
230282013-03-08 Joseph Myers <joseph@codesourcery.com>
23029
a222d91a
JM
23030 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
23031 (__free_hook): Use void * instead of __malloc_ptr_t.
23032 (__malloc_hook): Likewise.
23033 (__realloc_hook): Likewise.
23034 (__memalign_hook): Likewise.
23035 (__after_morecore_hook): Likewise.
23036 * malloc/arena.c (save_malloc_hook): Likewise.
23037 (save_free_hook): Likewise.
23038 * malloc/hooks.c (malloc_hook_ini): Likewise.
23039 (realloc_hook_ini): Likewise.
23040 (memalign_hook_ini): Likewise.
23041 * malloc/malloc.c (malloc_hook_ini): Likewise.
23042 (realloc_hook_ini): Likewise.
23043 (memalign_hook_ini): Likewise.
23044 (__free_hook): Likewise.
23045 (__malloc_hook): Likewise.
23046 (__realloc_hook): Likewise.
23047 (__memalign_hook): Likewise.
23048 (__libc_malloc): Likewise.
23049 (__libc_free): Likewise.
23050 (__libc_realloc): Likewise.
23051 (__libc_memalign): Likewise.
23052 (__libc_valloc): Likewise.
23053 (__libc_pvalloc): Likewise.
23054 (__libc_calloc): Likewise.
23055 (__posix_memalign): Likewise.
23056 * malloc/morecore.c (__sbrk): Likewise.
23057 (__default_morecore): Likewise.
23058
5cc45e10
JM
23059 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
23060
dd54b864
JM
23061 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
23062 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
23063 __malloc_ptrdiff_t.
23064
1ba4f030
JM
23065 * malloc/malloc.h (__malloc_size_t): Remove macro.
23066 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
23067 __malloc_size_t.
23068 (old_memalign_hook): Likewise.
23069 (old_realloc_hook): Likewise.
23070 (struct hdr): Likewise.
23071 (flood): Likewise.
23072 (mallochook): Likewise.
23073 (memalignhook): Likewise.
23074 (reallochook): Likewise.
23075 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
23076 (tr_old_realloc_hook): Likewise.
23077 (tr_old_memalign_hook): Likewise.
23078 (tr_mallochook): Likewise.
23079 (tr_reallochook): Likewise.
23080 (tr_memalignhook): Likewise.
23081
edf66e57
AZ
230822013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23083
23084 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
23085 default_ldbl_pack and using as default implementation.
23086 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
23087 implementation.
23088 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
23089 redundant definition.
23090 (ldbl_insert_mantissa): Likewise.
23091 (ldbl_canonicalize): Likewise.
23092 (ldbl_nearbyint): Likewise.
23093 (ldbl_pack): Rename to ldbl_pack_ppc.
23094 (ldbl_unpack): Rename to ldbl_unpack_ppc.
23095 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
23096 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
23097
6d9145d8
SP
230982013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
23099
23100 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
23101 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
23102 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
23103 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
23104 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
23105 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
23106 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
23107 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
23108
4dd4e157
AJ
231092013-03-07 Andreas Jaeger <aj@suse.de>
23110
23111 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
23112 bits/mman-linux.h.
23113
adbb8027
SP
231142013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
23115
ce544b5b
SP
23116 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
23117 Include mpa.h and declare __MPEXP.
23118 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
23119 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
23120 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
23121 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
23122 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
23123 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
23124 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
23125
4cc149fd
SP
23126 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
23127 (__slowpow): Use long double EXPL and LOGL functions to
23128 compute POW.
23129 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
23130 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
23131 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
23132 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
23133 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
23134 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
23135
e6ebd4a7
SP
23136 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
23137 intermediate variable to calculate exponent.
23138 (__sqr): Likewise.
23139 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
23140 Likewise.
23141 (__sqr): Likewise.
23142
82a9811d
SP
23143 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
23144 [!NO__SQR]: Define __sqr.
23145 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
23146 and NO__SQR. Remove all code except __mul and __sqr. Include
23147 sysdeps/ieee754/dbl-64/mpa.c.
23148 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
23149
adbb8027
SP
23150 [BZ #12723]
23151 * posix/Makefile (tests): Add tst-pathconf.
23152 * posix/tst-pathconf.c: New test case.
23153 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
23154 _PC_PIPE_BUF.
23155 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
23156
39120df9
PF
231572013-03-06 Patsy Franklin <pfrankli@redhat.com>
23158
23159 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
23160
67525cb8
AJ
231612013-03-06 Andreas Jaeger <aj@suse.de>
23162
664a9ce4
AJ
23163 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
23164 definition via __MAP_ANONYMOUS.
23165
8e39047d
AJ
23166 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
23167 it's not part of Linux headers.
23168
67525cb8
AJ
23169 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
23170 (MAP_HUGE_MASK): Define.
23171
23172 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
23173 Define.
23174 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
23175 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
23176 Define.
23177 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
23178 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
23179 Define.
23180 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
23181 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
23182 Define.
23183 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
23184
23185 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
23186 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
23187 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
23188 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
23189 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
23190 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
23191
23192 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
23193 Handle f2fs.
23194
23195 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
23196 Handle f2fs and efivarfs.
23197
23198 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
23199 f2fs.
23200
23201 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
23202 (EFIVARFS_MAGIC): Add.
23203 (F2FS_LINK_MAX): Add.
23204
e1b42695
PP
232052013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
23206
23207 * stdio-common/vfprintf.c: Replace __builtin_expect with
23208 __glibc_unlikely.
23209
2d67d91a
JM
232102013-03-06 Joseph Myers <joseph@codesourcery.com>
23211
23212 [BZ #13550]
23213 * sysdeps/generic/bp-sym.h: Remove file.
23214 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
23215 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
23216 <bp-sym.h> and <bp-asm.h>.
23217 (__longjmp): Don't use BP_SYM.
23218 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
23219 and <bp-asm.h>.
23220 (memcpy): Don't use BP_SYM.
23221 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
23222 <bp-sym.h> and <bp-asm.h>.
23223 (memcpy): Don't use BP_SYM.
23224 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
23225 <bp-asm.h>.
23226 (memcpy): Don't use BP_SYM.
23227 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
23228 <bp-asm.h>.
23229 (memset): Don't use BP_SYM.
23230 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
23231 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
23232 (__bzero): Don't use BP_SYM.
23233 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
23234 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
23235 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
23236 <bp-sym.h> and <bp-asm.h>.
23237 (memcmp): Don't use BP_SYM. Remove comment about bounded
23238 pointers.
23239 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
23240 <bp-sym.h> and <bp-asm.h>.
23241 (memcpy): Don't use BP_SYM.
23242 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
23243 <bp-sym.h> and <bp-asm.h>.
23244 (memset): Don't use BP_SYM.
23245 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
23246 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
23247 (__bzero): Don't use BP_SYM.
23248 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
23249 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
23250 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
23251 <bp-sym.h> and <bp-asm.h>.
23252 (strncmp): Don't use BP_SYM. Remove comment about bounded
23253 pointers.
23254 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
23255 <bp-sym.h> and <bp-asm.h>.
23256 (memcpy): Don't use BP_SYM.
23257 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
23258 <bp-sym.h> and <bp-asm.h>.
23259 (memset): Don't use BP_SYM.
23260 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
23261 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
23262 (__bzero): Don't use BP_SYM.
23263 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
23264 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
23265 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
23266 <bp-sym.h> and <bp-asm.h>.
23267 (__memchr): Don't use BP_SYM.
23268 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
23269 <bp-sym.h> and <bp-asm.h>.
23270 (memcmp): Don't use BP_SYM. Remove comment about bounded
23271 pointers.
23272 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
23273 <bp-sym.h> and <bp-asm.h>.
23274 (memcpy): Don't use BP_SYM.
23275 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
23276 <bp-sym.h> and <bp-asm.h>.
23277 (__mempcpy): Don't use BP_SYM.
23278 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
23279 <bp-sym.h> and <bp-asm.h>.
23280 (__memrchr): Don't use BP_SYM.
23281 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
23282 <bp-sym.h> and <bp-asm.h>.
23283 (memset): Don't use BP_SYM.
23284 (__bzero): Likewise.
23285 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
23286 <bp-sym.h> and <bp-asm.h>.
23287 (__rawmemchr): Don't use BP_SYM.
23288 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
23289 <bp-sym.h> and <bp-asm.h>.
23290 (__STRCMP): Don't use BP_SYM.
23291 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
23292 <bp-sym.h> and <bp-asm.h>.
23293 (strchr): Don't use BP_SYM.
23294 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
23295 <bp-sym.h> and <bp-asm.h>.
23296 (__strchrnul): Don't use BP_SYM.
23297 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
23298 <bp-sym.h> and <bp-asm.h>.
23299 (strlen): Don't use BP_SYM.
23300 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
23301 <bp-sym.h> and <bp-asm.h>.
23302 (strncmp): Don't use BP_SYM. Remove comment about bounded
23303 pointers.
23304 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
23305 <bp-sym.h> and <bp-asm.h>.
23306 (__strnlen): Don't use BP_SYM.
23307 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
23308 <bp-sym.h> and <bp-asm.h>.
23309 (__GI__setjmp): Don't use BP_SYM.
23310 (_setjmp): Likewise.
23311 (__sigsetjmp): Likewise.
23312 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
23313 (L(start_addresses)): Don't use BP_SYM.
23314 (_start): Likewise.
23315 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
23316 <bp-asm.h>.
23317 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
23318 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
23319 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
23320 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
23321 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
23322 <bp-asm.h>.
23323 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
23324 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
23325 about bounded pointers.
23326 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
23327 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
23328 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
23329 <bp-asm.h>.
23330 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
23331 about bounded pointers. Remove GKM FIXME comments.
23332 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
23333 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
23334 <bp-asm.h>.
23335 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
23336 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
23337 Remove GKM FIXME comments.
23338 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
23339 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
23340 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
23341 <bp-asm.h>.
23342 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
23343 about bounded pointers. Remove GKM FIXME comment.
23344 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
23345 and <bp-asm.h>.
23346 (strncmp): Don't use BP_SYM. Remove comment about bounded
23347 pointers.
23348 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
23349 <bp-sym.h> and <bp-asm.h>.
23350 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
23351 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
23352 <bp-sym.h> and <bp-asm.h>.
23353 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
23354 comment.
23355
cdcf361f
PP
233562013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
23357
23358 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
23359 call free(NULL).
23360
3c4a2b15
DM
233612013-03-05 David S. Miller <davem@davemloft.net>
23362
23363 * po/es.po: Update from translation team.
23364
cdcf361f 233652013-03-05 Andreas Jaeger <aj@suse.de>
890b58d3
AJ
23366
23367 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
23368 <bits/mman-linux.h>.
23369 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
23370 is fine.
23371 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
23372 <bits/mman-linux.h> to end of file.
23373 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
23374 is fine.
23375 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
23376 <bits/mman-linux.h> to end of file.
23377 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
23378 is fine.
23379 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
23380 <bits/mman-linux.h> to end of file.
23381
23382 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
23383 (MCL_CURRENT, MCL_FUTURE): Define here.
23384
5f67c04f
AK
233852013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
23386
8a4473cc 23387 [BZ #15232]
5f67c04f
AK
23388 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
23389 attribute_hidden.
23390 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
23391
c3e94a95
AK
233922013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
23393
23394 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
23395 fourth parameter needed for rt_sigprocmask syscall.
23396 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
23397 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
23398 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
23399 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
23400 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
23401 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
23402
cfb6382a
JM
234032013-03-04 Joseph Myers <joseph@codesourcery.com>
23404
23405 [BZ #13550]
23406 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
23407 comment about bounded pointers.
23408 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
23409 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
23410
539d8e01
AJ
234112013-03-04 Andreas Jaeger <aj@suse.de>
23412
23413 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
23414 common definitions.
23415
23416 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
23417 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
23418 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
23419 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
23420 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
539d8e01
AJ
23421 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
23422
2e167a70 234232013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
e0b780ad
AZ
23424
23425 [BZ #15055]
23426 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
23427 __ieee754_sqrl instead of __sqrl.
23428
68508633
JM
234292013-03-01 Joseph Myers <joseph@codesourcery.com>
23430
23431 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
23432 * sysdeps/powerpc/fpu_control.h: ... here.
23433 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
23434 * sysdeps/powerpc/bits/fenvinline.h: ... here.
23435 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
23436 * sysdeps/powerpc/bits/mathinline.h: ... here.
23437
7775448e
RM
234382013-03-01 Roland McGrath <roland@hack.frob.com>
23439
23440 * elf/dl-hwcaps.c (_dl_important_hwcaps):
23441 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
23442 to just [NEED_DL_SYSINFO_DSO].
23443 * elf/dl-support.c: Likewise.
23444 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
23445 * elf/rtld.c (dl_main): Likewise.
23446 * elf/setup-vdso.h (setup_vdso): Likewise.
23447 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
23448 * sysdeps/unix/sysv/linux/dl-sysdep.c
23449 (_dl_discover_osversion): Likewise.
23450
4e9b5995
CD
234512013-03-01 Carlos O'Donell <carlos@redhat.com>
23452
23453 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
23454 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
23455
e23872c8
SP
234562013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
23457
e5c74c63
SP
23458 * NEWS: Mention libm performance improvements and non-x86 PI
23459 futex support.
23460
e23872c8
SP
23461 * csu/libc-start.c (__pthread_initialize_minimal): Change
23462 function arguments.
23463 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
23464
b5510883
JM
234652013-02-28 Joseph Myers <joseph@codesourcery.com>
23466
23467 [BZ #13550]
23468 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
23469 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
23470 <bp-sym.h> and <bp-asm.h>.
23471 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
23472 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
23473 and <bp-asm.h>.
23474 (memcpy): Don't use BP_SYM.
23475 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
23476 <bp-asm.h>.
23477 (__mpn_add_n): Don't use BP_SYM.
23478 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
23479 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
23480 and <bp-asm.h>.
23481 (__mpn_addmul_1): Don't use BP_SYM.
23482 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
23483 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
23484 <bp-sym.h>.
23485 (_setjmp): Don't use BP_SYM.
23486 (__novmx_setjmp): Likewise.
23487 (__GI__setjmp): Likewise.
23488 (__vmx_setjmp): Likewise.
23489 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
23490 <bp-sym.h>.
23491 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
23492 (__bzero): Don't use BP_SYM.
23493 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
23494 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
23495 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
23496 <bp-sym.h> and <bp-asm.h>.
23497 (memcpy): Don't use BP_SYM.
23498 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
23499 <bp-sym.h> and <bp-asm.h>.
23500 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
23501 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
23502 <bp-sym.h> and <bp-asm.h>.
23503 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
23504 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
23505 <bp-asm.h>.
23506 (__mpn_lshift): Don't use BP_SYM.
23507 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
23508 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
23509 <bp-asm.h>.
23510 (memset): Don't use BP_SYM.
23511 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
23512 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
23513 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
23514 <bp-asm.h>.
23515 (__mpn_mul_1): Don't use BP_SYM.
23516 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
23517 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
23518 <bp-sym.h> and <bp-asm.h>.
23519 (memcmp): Don't use BP_SYM.
23520 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
23521 <bp-sym.h> and <bp-asm.h>.
23522 (memcpy): Don't use BP_SYM.
23523 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
23524 <bp-sym.h> and <bp-asm.h>.
23525 (memset): Don't use BP_SYM.
23526 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
23527 <bp-sym.h> and <bp-asm.h>.
23528 (strncmp): Don't use BP_SYM.
23529 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
23530 <bp-sym.h> and <bp-asm.h>.
23531 (memcpy): Don't use BP_SYM.
23532 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
23533 <bp-sym.h> and <bp-asm.h>.
23534 (memset): Don't use BP_SYM.
23535 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
23536 <bp-sym.h> and <bp-asm.h>.
23537 (__memchr): Don't use BP_SYM.
23538 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
23539 <bp-sym.h> and <bp-asm.h>.
23540 (memcmp): Don't use BP_SYM.
23541 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
23542 <bp-sym.h> and <bp-asm.h>.
23543 (memcpy): Don't use BP_SYM.
23544 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
23545 <bp-sym.h> and <bp-asm.h>.
23546 (__mempcpy): Don't use BP_SYM.
23547 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
23548 <bp-sym.h> and <bp-asm.h>.
23549 (__memrchr): Don't use BP_SYM.
23550 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
23551 <bp-sym.h> and <bp-asm.h>.
23552 (memset): Don't use BP_SYM.
23553 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
23554 <bp-sym.h> and <bp-asm.h>.
23555 (__rawmemchr): Don't use BP_SYM.
23556 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
23557 <bp-sym.h> and <bp-asm.h>.
23558 (__STRCMP): Don't use BP_SYM.
23559 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
23560 <bp-sym.h> and <bp-asm.h>.
23561 (strchr): Don't use BP_SYM.
23562 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
23563 <bp-sym.h> and <bp-asm.h>.
23564 (__strchrnul): Don't use BP_SYM.
23565 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
23566 <bp-sym.h> and <bp-asm.h>.
23567 (strlen): Don't use BP_SYM.
23568 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
23569 <bp-sym.h> and <bp-asm.h>.
23570 (strncmp): Don't use BP_SYM.
23571 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
23572 <bp-sym.h> and <bp-asm.h>.
23573 (__strnlen): Don't use BP_SYM.
23574 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
23575 <bp-asm.h>.
23576 (__mpn_rshift): Don't use BP_SYM.
23577 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
23578 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
23579 <bp-sym.h> and <bp-asm.h>.
23580 (__sigsetjmp): Don't use BP_SYM.
23581 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
23582 (L(start_addresses)): Don't use BP_SYM.
23583 (_start): Likewise.
23584 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
23585 <bp-asm.h>.
23586 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
23587 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
23588 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
23589 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
23590 <bp-asm.h>.
23591 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
23592 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
23593 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
23594 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
23595 <bp-asm.h>.
23596 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
23597 comments.
23598 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
23599 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
23600 <bp-asm.h>.
23601 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
23602 FIXME comments.
23603 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
23604 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
23605 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
23606 <bp-asm.h>.
23607 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
23608 comment.
23609 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
23610 and <bp-asm.h>.
23611 (strncmp): Don't use BP_SYM,
23612 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
23613 <bp-asm.h>.
23614 (__mpn_sub_n): Don't use BP_SYM.
23615 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
23616 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
23617 and <bp-asm.h>.
23618 (__mpn_submul_1): Don't use BP_SYM.
23619 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
23620 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
23621 <bp-sym.h> and <bp-asm.h>.
23622 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
23623 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
23624 <bp-sym.h> and <bp-asm.h>.
23625 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
23626 comment.
23627
8d19fe64
SP
236282013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
23629
23630 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
23631 Use ZK to minimize writes to Z.
23632 (sub_magnitudes): Simplify code a bit.
23633 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
23634 Use ZK to minimize writes to Z.
23635 (sub_magnitudes): Simplify code a bit.
23636
85bd816a
RM
236372013-02-27 Roland McGrath <roland@hack.frob.com>
23638
23639 * csu/gmon-start.c: Add special exception to license text.
23640
b5977bf2
RH
236412013-02-27 Richard Henderson <rth@redhat.com>
23642
23643 * scripts/config.guess: Update from config.git.
23644 * scripts/config.sub: Likewise.
23645
11d6e2f2
SP
236462013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
23647
09c14ed2
SP
23648 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
23649
a688864e
SP
23650 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
23651
6295157a
SP
23652 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
23653
b8de2202
SP
23654 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
23655
11d6e2f2
SP
23656 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
23657
7e80ddb8
RM
236582013-02-26 Roland McGrath <roland@hack.frob.com>
23659
23660 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
23661 [$(build-shared = yes].
7e80ddb8 23662
7da6d9ed
SP
236632013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
23664
45f05884
SP
23665 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
23666 (__mul): Reduce iterations for calculating mantissa.
23667
2236d359
SP
23668 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
23669 MPTWO.
23670 (__mpranred): Likewise.
23671
7da6d9ed
SP
23672 [BZ #15160]
23673 * malloc/memusagestat.c (main): Draw graphs for heap and stack
23674 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
23675
b7688c42
PE
236762013-02-26 Paul Eggert <eggert@cs.ucla.edu>
23677
23678 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
23679 Define __attribute__.
23680
53a5c423
SP
236812013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
23682
23683 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
23684 unused.
23685 * posix/regex_internal.h (__attribute): Remove.
23686 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
23687 (re_string_context_at): Likewise.
23688 (bitset_not): Use __attribute__ and mark function as possibly
23689 unused.
23690 (bitset_merge): Likewise.
23691 (bitset_mask): Likewise.
23692 (re_string_char_size_at): Likewise.
23693 (re_string_wchar_at): Likewise.
23694 (re_string_elem_size_at): Likewise.
23695
60f5a8b5
SP
236962013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
23697
2a983a2e
SP
23698 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
23699 code.
23700 (cc32): Likewise.
23701
e69804d1
SP
23702 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
23703 (__acr): Likewise.
23704 (__cpy): Likewise.
23705 (norm): Likewise.
23706 (denorm): Likewise.
23707 (__dbl_mp): Likewise.
23708 (add_magnitudes): Likewise.
23709 (sub_magnitudes): Likewise.
23710 (__mul): Likewise.
23711 (__inv): Likewise.
23712
2f22a1e8
SP
23713 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
23714 style.
23715
8930ddc7
SP
23716 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
23717 style.
23718
dc60cb11
SP
23719 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
23720 code.
23721
60f5a8b5
SP
23722 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
23723 up changes with default code.
23724 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
23725 Likewise.
23726
b4d1fd33
AM
237272013-02-24 Allan McRae <allan@archlinux.org>
23728
faf6f8bc
AM
23729 * manual/socket.texi (The Internet Namespace): Order menu items
23730 to match that in the file.
23731
b4d1fd33
AM
23732 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
23733 node listing of the info page menu.
23734
2366713d
JM
237352013-02-21 Joseph Myers <joseph@codesourcery.com>
23736
23737 [BZ #13550]
23738 * sysdeps/i386/bp-asm.h: Remove file.
23739 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
23740 (PARMS): Do not use macros from bp-asm.h.
23741 (S1): Likewise.
23742 (S2): Likewise.
23743 (SIZE): Likewise.
23744 (__mpn_add_n): Do not use BP_SYM
23745 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
23746 "bp-asm.h".
23747 (PARMS): Do not use macros from bp-asm.h.
23748 (S1): Likewise.
23749 (SIZE): Likewise.
23750 (__mpn_addmul_1): Do not use BP_SYM
23751 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
23752 "bp-asm.h".
23753 (PARMS): Do not use macros from bp-asm.h.
23754 (SIGMSK): Likewise.
23755 (_setjmp): Likewise. Do not use BP_SYM.
23756 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
23757 "bp-asm.h".
23758 (PARMS): Do not use macros from bp-asm.h.
23759 (SIGMSK): Likewise.
23760 (setjmp): Likewise. Do not use BP_SYM.
23761 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
23762 "bp-asm.h".
23763 (PARMS): Do not use macros from bp-asm.h.
23764 (__frexp): Do not use BP_SYM.
23765 (frexp): Likewise.
23766 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
23767 "bp-asm.h".
23768 (PARMS): Do not use macros from bp-asm.h.
23769 (__frexpf): Do not use BP_SYM.
23770 (frexpf): Likewise.
23771 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
23772 "bp-asm.h".
23773 (PARMS): Do not use macros from bp-asm.h.
23774 (__frexpl): Do not use BP_SYM.
23775 (frexpl): Likewise.
23776 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
23777 "bp-asm.h".
23778 (PARMS): Do not use macros from bp-asm.h.
23779 (__remquo): Do not use BP_SYM.
23780 (remquo): Likewise.
23781 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
23782 "bp-asm.h".
23783 (PARMS): Do not use macros from bp-asm.h.
23784 (__remquof): Do not use BP_SYM.
23785 (remquof): Likewise.
23786 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
23787 "bp-asm.h".
23788 (PARMS): Do not use macros from bp-asm.h.
23789 (__remquol): Do not use BP_SYM.
23790 (remquol): Likewise.
23791 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
23792 "bp-asm.h".
23793 (PARMS): Do not use macros from bp-asm.h.
23794 (DEST): Likewise.
23795 (SRC): Likewise.
23796 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
23797 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
23798 "bp-asm.h".
23799 (PARMS): Do not use macros from bp-asm.h.
23800 (strlen): Do not use BP_SYM.
23801 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
23802 "bp-asm.h".
23803 (PARMS): Do not use macros from bp-asm.h.
23804 (S1): Likewise.
23805 (S2): Likewise.
23806 (SIZE): Likewise.
23807 (__mpn_add_n): Do not use BP_SYM.
23808 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
23809 "bp-asm.h".
23810 (PARMS): Do not use macros from bp-asm.h.
23811 (S1): Likewise.
23812 (SIZE): Likewise.
23813 (__mpn_addmul_1): Do not use BP_SYM.
23814 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
23815 weak_alias.
23816 (bzero): Likewise.
23817 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
23818 "bp-asm.h".
23819 (PARMS): Do not use macros from bp-asm.h.
23820 (S): Likewise.
23821 (SIZE): Likewise.
23822 (__mpn_lshift): Do not use BP_SYM.
23823 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
23824 "bp-asm.h".
23825 (PARMS): Do not use macros from bp-asm.h.
23826 (DEST): Likewise.
23827 (SRC): Likewise.
23828 (LEN): Likewise.
23829 (memcpy): Likewise. Do not use BP_SYM.
23830 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
23831 libc_hidden_def and weak_alias.
23832 (mempcpy): Do not use BP_SYM in weak_alias.
23833 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
23834 "bp-asm.h".
23835 (PARMS): Do not use macros from bp-asm.h.
23836 (DEST): Likewise.
23837 (LEN): Likewise.
23838 [!BZERO_P] (CHR): Likewise.
23839 (memset): Likewise. Do not use BP_SYM.
23840 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
23841 "bp-asm.h".
23842 (PARMS): Do not use macros from bp-asm.h.
23843 (S1): Likewise.
23844 (SIZE): Likewise.
23845 (__mpn_mul_1): Do not use BP_SYM.
23846 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
23847 "bp-asm.h".
23848 (PARMS): Do not use macros from bp-asm.h.
23849 (S): Likewise.
23850 (SIZE): Likewise.
23851 (__mpn_rshift): Do not use BP_SYM.
23852 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
23853 "bp-asm.h".
23854 (PARMS): Do not use macros from bp-asm.h.
23855 (STR): Likewise.
23856 (CHR): Likewise.
23857 (strchr): Likewise. Do not use BP_SYM.
23858 (index): Do not use BP_SYM in weak_alias.
23859 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
23860 "bp-asm.h".
23861 (PARMS): Do not use macros from bp-asm.h.
23862 (DEST): Likewise.
23863 (SRC): Likewise.
23864 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
23865 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
23866 "bp-asm.h".
23867 (PARMS): Do not use macros from bp-asm.h.
23868 (strlen): Do not use BP_SYM.
23869 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
23870 "bp-asm.h".
23871 (PARMS): Do not use macros from bp-asm.h.
23872 (S1): Likewise.
23873 (S2): Likewise.
23874 (SIZE): Likewise.
23875 (__mpn_sub_n): Do not use BP_SYM.
23876 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
23877 "bp-asm.h".
23878 (PARMS): Do not use macros from bp-asm.h.
23879 (S1): Likewise.
23880 (SIZE): Likewise.
23881 (__mpn_submul_1): Do not use BP_SYM.
23882 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
23883 "bp-asm.h".
23884 (PARMS): Do not use macros from bp-asm.h.
23885 (S1): Likewise.
23886 (S2): Likewise.
23887 (SIZE): Likewise.
23888 (__mpn_add_n): Do not use BP_SYM.
23889 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
23890 weak_alias.
23891 (bzero): Likewise.
23892 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
23893 "bp-asm.h".
23894 (PARMS): Do not use macros from bp-asm.h.
23895 (BLK2): Likewise.
23896 (LEN): Likewise.
23897 (memcmp): Do not use BP_SYM.
23898 (bcmp): Do not use BP_SYM in weak_alias.
23899 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
23900 "bp-asm.h".
23901 (PARMS): Do not use macros from bp-asm.h.
23902 (DEST): Likewise.
23903 (SRC): Likewise.
23904 (LEN): Likewise.
23905 (memcpy): Likewise. Do not use BP_SYM.
23906 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
23907 "bp-asm.h".
23908 (PARMS): Do not use macros from bp-asm.h.
23909 (DEST): Likewise.
23910 (SRC): Likewise.
23911 (LEN): Likewise.
23912 (memmove): Likewise. Do not use BP_SYM.
23913 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
23914 "bp-asm.h".
23915 (PARMS): Do not use macros from bp-asm.h.
23916 (DEST): Likewise.
23917 (SRC): Likewise.
23918 (LEN): Likewise.
23919 (__mempcpy): Likewise. Do not use BP_SYM.
23920 (mempcpy): Do not use BP_SYM in weak_alias.
23921 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
23922 "bp-asm.h".
23923 (PARMS): Do not use macros from bp-asm.h.
23924 (DEST): Likewise.
23925 (LEN): Likewise.
23926 [!BZERO_P] (CHR): Likewise.
23927 (memset): Likewise. Do not use BP_SYM.
23928 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
23929 "bp-asm.h".
23930 (PARMS): Do not use macros from bp-asm.h.
23931 (STR2): Likewise.
23932 (strcmp): Do not use BP_SYM.
23933 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
23934 "bp-asm.h".
23935 (PARMS): Do not use macros from bp-asm.h.
23936 (STR): Likewise.
23937 (DELIM): Likewise.
23938 [USE_AS_STRTOK_R] (SAVE): Likewise.
23939 (FUNCTION): Likewise. Do not use BP_SYM.
23940 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
23941 aliases.
23942 (strtok_r): Likewise.
23943 (__GI___strtok_r): Likewise.
23944 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
23945 (PARMS): Do not use macros from bp-asm.h.
23946 (S): Likewise.
23947 (SIZE): Likewise.
23948 (__mpn_lshift): Do not use BP_SYM.
23949 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
23950 (PARMS): Do not use macros from bp-asm.h.
23951 (STR): Likewise.
23952 (CHR): Likewise.
23953 (__memchr): Do not use BP_SYM.
23954 (memchr): Do not use BP_SYM in weak_alias.
23955 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
23956 (PARMS): Do not use macros from bp-asm.h.
23957 (BLK2): Likewise.
23958 (LEN): Likewise.
23959 (memcmp): Do not use BP_SYM.
23960 (bcmp): Do not use BP_SYM in weak_alias.
23961 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
23962 (PARMS): Do not use macros from bp-asm.h.
23963 (S1): Likewise.
23964 (SIZE): Likewise.
23965 (__mpn_mul_1): Do not use BP_SYM.
23966 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
23967 "bp-asm.h".
23968 (PARMS): Do not use macros from bp-asm.h.
23969 (STR): Likewise.
23970 (CHR): Likewise.
23971 (__rawmemchr): Do not use BP_SYM.
23972 (rawmemchr): Do not use BP_SYM in weak_alias.
23973 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
23974 (PARMS): Do not use macros from bp-asm.h.
23975 (S): Likewise.
23976 (SIZE): Likewise.
23977 (__mpn_rshift): Do not use BP_SYM.
23978 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
23979 (PARMS): Do not use macros from bp-asm.h.
23980 (SIGMSK): Likewise.
23981 (__sigsetjmp): Likewise. Do not use BP_SYM.
23982 * sysdeps/i386/start.S: Do not include "bp-sym.h".
23983 (_start): Do not use BP_SYM.
23984 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
23985 (PARMS): Do not use macros from bp-asm.h.
23986 (DEST): Likewise.
23987 (SRC): Likewise.
23988 (__stpcpy): Likewise. Do not use BP_SYM.
23989 (stpcpy): Do not use BP_SYM in weak_alias.
23990 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
23991 "bp-asm.h".
23992 (PARMS): Do not use macros from bp-asm.h.
23993 (DEST): Likewise.
23994 (SRC): Likewise.
23995 (LEN): Likewise.
23996 (__stpncpy): Likewise. Do not use BP_SYM.
23997 (stpncpy): Do not use BP_SYM in weak_alias.
23998 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
23999 (PARMS): Do not use macros from bp-asm.h.
24000 (STR): Likewise.
24001 (CHR): Likewise.
24002 (strchr): Likewise. Do not use BP_SYM.
24003 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
24004 "bp-asm.h".
24005 (PARMS): Do not use macros from bp-asm.h.
24006 (STR): Likewise.
24007 (CHR): Likewise.
24008 (__strchrnul): Likewise. Do not use BP_SYM.
24009 (strchrnul): Do not use BP_SYM in weak_alias.
24010 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
24011 "bp-asm.h".
24012 (PARMS): Do not use macros from bp-asm.h.
24013 (STOP): Likewise.
24014 (strcspn): Do not use BP_SYM.
24015 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
24016 "bp-asm.h".
24017 (PARMS): Do not use macros from bp-asm.h.
24018 (STR): Likewise.
24019 (STOP): Likewise.
24020 (strpbrk): Likewise. Do not use BP_SYM.
24021 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
24022 "bp-asm.h".
24023 (PARMS): Do not use macros from bp-asm.h.
24024 (STR): Likewise.
24025 (CHR): Likewise.
24026 (strrchr): Likewise. Do not use BP_SYM.
24027 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
24028 (PARMS): Do not use macros from bp-asm.h.
24029 (SKIP): Likewise.
24030 (strspn): Do not use BP_SYM.
24031 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
24032 (PARMS): Do not use macros from bp-asm.h.
24033 (STR): Likewise.
24034 (DELIM): Likewise.
24035 (SAVE): Likewise.
24036 (FUNCTION): Likewise. Do not use BP_SYM.
24037 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
24038 aliases.
24039 (strtok_r): Likewise.
24040 (__GI___strtok_r): Likewise.
24041 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
24042 (PARMS): Do not use macros from bp-asm.h.
24043 (S1): Likewise.
24044 (S2): Likewise.
24045 (SIZE): Likewise.
24046 (__mpn_sub_n): Do not use BP_SYM.
24047 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
24048 "bp-asm.h".
24049 (PARMS): Do not use macros from bp-asm.h.
24050 (S1): Likewise.
24051 (SIZE): Likewise.
24052 (__mpn_submul_1): Do not use BP_SYM.
24053 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
24054 <bp-sym.h>.
24055 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
24056 and <bp-asm.h>.
24057 (PARMS): Do not use macros from bp-asm.h.
24058 (FLAGS): Likewise.
24059 (PTID): Likewise.
24060 (TLS): Likewise.
24061 (CTID): Likewise.
24062 (__clone): Do not use BP_SYM.
24063 (clone): Do not use BP_SYM in weak_alias.
24064 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
24065 and <bp-asm.h>.
24066 (PARMS): Do not use macros from bp-asm.h.
24067 (LEN): Likewise.
24068 (__mmap64): Do not use BP_SYM.
24069 (mmap64): Do not use BP_SYM in weak_alias.
24070 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
24071 <bp-sym.h> and <bp-asm.h>.
24072 (PARMS): Do not use macros from bp-asm.h.
24073 (__posix_fadvise64_l64): Do not use BP_SYM.
24074 * sysdeps/unix/sysv/linux/i386/semtimedop.S
24075 (PARMS): Do not use macros from bp-asm.h.
24076 (NSOPS): Likewise.
24077 (semtimedop): Do not use BP_SYM.
24078 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
24079 and <bp-asm.h>.
24080
582a3cff
AM
240812013-02-21 Allan McRae <allan@archlinux.org>
24082
24083 * manual/message.texi (Charset conversion in gettext):
24084 Move @end statement to beginning of line.
24085
bab8a695
SP
240862013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
24087
80945231
SP
24088 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
24089 static.
24090 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
24091 Likewise.
24092
bab8a695
SP
24093 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
24094 (denorm): Likewise.
24095 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
24096 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
24097
e21d7aa7
AK
240982013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
24099
24100 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
24101 tail-call to the resolved function if pltexit isn't needed.
24102
4c7a4263
SP
241032013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
24104
24105 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
24106 or Y being zero as being unlikely.
24107 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
24108 Likewise.
24109
41f49342
CD
241102013-02-20 Carlos O'Donell <carlos@redhat.com>
24111
24112 * manual/nss.texi (System Databases and Name Service Switch):
24113 Remove frobnicate @pxref.
24114
50022a93
TS
241152013-02-20 Thomas Schwinge <thomas@codesourcery.com>
24116
24117 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
24118 __attribute__ ((unused)) to __attribute__ ((__unused__)).
24119
08cbd996
PM
241202013-02-20 Petr Machata <pmachata@redhat.com>
24121
24122 * elf/elf.h (R_ARM_TARGET1): New macro.
24123 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
24124 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
24125 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
24126 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
24127 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
24128 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
24129 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
24130 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
24131 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
24132 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
24133 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
24134 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
24135 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
24136 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
24137 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
24138 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
24139 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
24140 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
24141 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
24142 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
24143 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
24144 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
24145 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
24146 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
24147 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
24148 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
24149 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
24150 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
24151 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
24152 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
24153 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
24154 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
24155 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
24156 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
24157 (R_ARM_THM_GOT_BREL12): Likewise.
24158 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
24159 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
24160 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
24161 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
24162 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
24163 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
24164 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
24165 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
24166 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
24167
c7b275d6
TS
241682013-02-20 Thomas Schwinge <thomas@codesourcery.com>
24169
24170 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
24171 __attribute_used__ to __attribute__ ((unused)).
24172
20cd7fb3
SP
241732013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
24174
24175 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
24176 powerpc mpa.c.
24177 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
24178 comment formatting.
24179 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
24180
92945b52
JM
241812013-02-19 Joseph Myers <joseph@codesourcery.com>
24182
24183 [BZ #13550]
24184 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
24185 Remove macro.
24186 (ENTER): Remove both macro definitions.
24187 (LEAVE): Likewise.
24188 (CHECK_BOUNDS_LOW): Likewise.
24189 (CHECK_BOUNDS_HIGH): Likewise.
24190 (CHECK_BOUNDS_BOTH): Likewise.
24191 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
24192 (RETURN_BOUNDED_POINTER): Likewise.
24193 (RETURN_NULL_BOUNDED_POINTER): Likewise.
24194 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
24195 (POP_ERRNO_LOCATION_RETURN): Likewise.
24196 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
24197 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
24198 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
24199 macros.
24200 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
24201 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
24202 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
24203 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
24204 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
24205 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
24206 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
24207 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
24208 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
24209 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
24210 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
24211 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
24212 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
24213 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
24214 removed macros.
24215 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
24216 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
24217 macros.
24218 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
24219 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
24220 * sysdeps/i386/i586/memset.S (memset): Likewise.
24221 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
24222 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
24223 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
24224 macros.
24225 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
24226 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
24227 Change uses of L(2) to L(out).
24228 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
24229 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
24230 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
24231 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
24232 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
24233 removed macros.
24234 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
24235 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
24236 macros.
24237 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
24238 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
24239 (RETURN): Do not use macro LEAVE.
24240 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
24241 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
24242 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
24243 * sysdeps/i386/i686/memset.S (memset): Likewise.
24244 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
24245 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
24246 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
24247 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
24248 Likewise.
24249 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
24250 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
24251 L(1_2) and L(1_3) into L(1).
24252 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
24253 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
24254 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
24255 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
24256 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
24257 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
24258 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
24259 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
24260 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
24261 macros.
24262 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
24263 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
24264 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
24265 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
24266 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
24267 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
24268 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
24269 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
24270 * sysdeps/i386/strcspn.S (strcspn): Likewise.
24271 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
24272 * sysdeps/i386/strrchr.S (strrchr): Likewise.
24273 * sysdeps/i386/strspn.S (strspn): Likewise.
24274 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
24275 conditional code.
24276 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
24277 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
24278 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
24279 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
24280 L(1_3) into L(1_1).
24281 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
24282 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
24283 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
24284 macros.
24285 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
24286
2389741a
JJ
242872013-02-19 Jakub Jelinek <jakub@redhat.com>
24288
24289 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
24290 macro.
24291
2016b3cd
SP
242922013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
24293
e4f22324
SP
24294 * math/atest-exp.c (exp_mpn): Remove ROUND.
24295 * math/atest-exp2.c (exp_mpn): Likewise.
24296 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
24297
2016b3cd
SP
24298 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
24299 * stdlib/tst-tls-atexit-lib.c: Likewise.
24300 * stdlib/tst-tls-atexit.c: Likewise.
24301
4be9b544
MF
243022013-02-18 Mike Frysinger <vapier@gentoo.org>
24303
24304 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
24305 and __attribute_alloc_size__.
24306
2f62b9ee
MF
243072013-02-18 Mike Frysinger <vapier@gentoo.org>
24308
24309 * include/programs/xmalloc.h: Change __attribute_alloc_size to
24310 __attribute_alloc_size__.
24311 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
24312 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
24313
6ff444c4
MF
243142013-02-18 Mike Frysinger <vapier@gentoo.org>
24315
24316 * include/programs/xmalloc.h: New file.
24317 * catgets/gencat.c: Include it.
24318 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
24319 * elf/pldd.c: Likewise.
24320 * iconv/iconv_charmap.c: Likewise.
24321 * iconv/iconvconfig.c: Likewise.
24322 * iconv/strtab.c: Likewise.
24323 * locale/programs/locale.c: Likewise.
24324 * locale/programs/localedef.h: Likewise.
24325 * locale/programs/simple-hash.c: Likewise.
24326 * nscd/nscd.h: Likewise.
24327 * nss/makedb.c: Likewise.
24328 * sysdeps/generic/ldconfig.h: Likewise.
24329
be179c8a
SP
243302013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
24331
ba384f6e
SP
24332 * Versions.def: Add GLIBC_2.18.
24333 * include/link.h (struct link_map): New member l_tls_dtor_count.
24334 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
24335 (__call_tls_dtors): Likewise.
24336 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
24337 __cxa_thread_atexit_impl.
24338 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
24339 Likewise.
24340 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
24341 Likewise.
24342 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
24343 Likewise.
24344 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
24345 Likewise.
24346 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
24347 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
24348 Likewise.
24349 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
24350 Likewise.
24351 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
24352 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
24353 Likewise.
24354 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
24355 (tests): Add test case tst-tls-atexit.
24356 (modules-names): Add shared library for tst-tls-atexit.
85891aca 24357 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
ba384f6e
SP
24358 (GLIBC_PRIVATE): Add __call_tls_dtors.
24359 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
24360 for libstdc++.
24361 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
24362 * stdlib/tst-tls-atexit.c: New test case.
24363 * stdlib/tst-tls-atexit-lib.c: New test case.
24364
ffaa74cf 24365 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
ffaa74cf 24366
be179c8a
SP
24367 * elf/Versions (ld): Add _dl_find_dso_for_object.
24368 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
24369 * elf/dl-open.c (_dl_find_dso_for_object): New function.
24370 (dl_open_worker): Use _dl_find_dso_for_object.
24371 * elf/dl-sym.c (do_sym): Likewise.
24372 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
24373
f78b5caa
AK
243742013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
24375
24376 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
24377 Syntactic changes only.
24378 (_dl_runtime_profile): Do a tail-call to the resolved function.
24379
29691210
JM
243802013-02-17 Joseph Myers <joseph@codesourcery.com>
24381
24382 [BZ #13550]
24383 * sysdeps/x86_64/bp-asm.h: Remove file.
24384 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
24385 <bp-sym.h> and <bp-asm.h>.
24386 (__clone): Do not use BP_SYM.
24387 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
24388 <bp-sym.h> and <bp-asm.h>.
24389 * sysdeps/unix/x86_64/sysdep.S: Likewise.
24390 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
24391 "bp-asm.h".
24392 (_setjmp): Do not use BP_SYM.
24393 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
24394 "bp-asm.h".
24395 (setjmp): Do not use BP_SYM.
24396 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
24397 libc_hidden_def.
24398 (mempcpy): Do not use BP_SYM in weak_alias.
24399 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
24400 "bp-asm.h".
24401 (strchr): Do not use BP_SYM.
24402 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
24403 "bp-asm.h".
24404 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
24405 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
24406 (_start): Do not use BP_SYM.
24407 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
24408 "bp-asm.h".
24409 (strcat): Do not use BP_SYM.
24410 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
24411 "bp-asm.h".
24412 (STRCMP): Do not use BP_SYM.
24413 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
24414 "bp-asm.h".
24415 (STRCPY): Do not use BP_SYM.
24416 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
24417 "bp-asm.h".
24418 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
24419 "bp-asm.h".
24420 (FUNCTION): Do not use BP_SYM.
24421 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
24422 weak_alias.
24423 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
24424
f238fd19
AJ
244252013-02-17 Andreas Jaeger <aj@suse.de>
24426
24427 * time/Versions: Sort entries.
24428 * string/Versions: Likewise.
24429 * resolv/Versions: Likewise.
24430 * posix/Versions: Likewise.
24431 * iconv/Versions: Likewise.
24432 * elf/Versions: Likewise.
24433 * wcsmbs/Versions: Likewise.
24434
bd07f23c 244352013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
4709fe76 24436
22af19f9
SP
24437 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
24438 loop termination condition.
24439
4709fe76
SP
24440 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
24441 variable to calculate EZ.
24442 (__sqr): Likewise.
2d0e0f29
SP
24443
24444 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
24445 the lower precision input.
24446
daaa7713
JM
244472013-02-15 Joseph Myers <joseph@codesourcery.com>
24448
24449 [BZ #13550]
24450 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
24451 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
24452 (run-via-rtld-prefix): Do not handle %-bp tests.
24453 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
24454 (all-object-suffixes): Remove .ob.
24455 (bppfx): Remove variable.
24456 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
24457 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
24458 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
24459 [$(build-bounded) = yes] (libtype.ob): Likewise.
24460 * Makerules (elide-routines.ob): Remove variable.
24461 (do-tests-clean): Do not handle *-bp.out.
24462 (common-mostlyclean): Do not handle *-bp and *-bp.out.
24463 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
24464 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
24465 (tests): Do not include $(tests-bp.out).
24466 (xtests): Do not include $(xtests-bp.out).
24467 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
24468 [$(build-bounded) = yes] ($(addprefix
24469 $(objpfx),$(binaries-bounded))): Remove rule.
24470 ($(objpfx)%-bp.out): Remove rule.
24471 * config.make.in (build-bounded): Remove variable.
24472 * crypt/Makefile [$(build-bounded) = yes]
24473 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
24474 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
24475 append to variable.
24476 [$(build-bounded) = yes] (install-lib): Likewise.
24477 [$(build-bounded) = yes] (generated): Likewise.
24478 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
24479 Remove rule.
24480 * intl/Makefile [$(build-bounded) = yes]
24481 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
24482 * math/Makefile [$(build-bounded) = yes]
24483 ($(tests:%=$(objpfx)%-bp): Likewise.
24484 * misc/Makefile [$(build-bounded) = yes]
24485 ($(objpfx)tst-tsearch-bp): Likewise.
24486 * nptl/Makeconfig (bounded-thread-library): Remove variable.
24487 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
24488 Remove dependency.
24489 * string/Makefile (o-objects.ob): Remove variable.
24490 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
24491 (CFLAGS-.ob): Remove variable.
24492 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
24493 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
24494 both definitions of variable.
24495 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
24496 (ASFLAGS-.ob): Remove variable.
24497
e97ed6dd
JM
244982013-02-14 Joseph Myers <joseph@codesourcery.com>
24499
2bdd4ca6
JM
24500 [BZ #13550]
24501 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
24502 Remove __BOUNDED_POINTERS__ from condition.
24503 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
24504 * string/bits/string2.h [!__NO_STRING_INLINES &&
24505 !__BOUNDED_POINTERS__]: Likewise.
24506 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
24507 Likewise.
24508 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
24509 Remove conditional code.
24510 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
24511 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
24512 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
24513 condition.
24514
e97ed6dd
JM
24515 [BZ #13550]
24516 * csu/libc-start.c: Do not include <bp-sym.h>.
24517 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
24518 * elf/dl-open.c: Do not include <bp-sym.h>.
24519 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
24520 * math/fegetenv.c: Do not include <bp-sym.h>.
24521 (fegetenv): Do not use BP_SYM in versioned symbols.
24522 * nptl/sysdeps/pthread/bits/libc-lockP.h
24523 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
24524 <bp-sym.h>.
24525 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24526 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
24527 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24528 (__pthread_mutex_destroy): Likewise.
24529 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24530 (__pthread_mutex_lock): Likewise.
24531 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24532 (__pthread_mutex_trylock): Likewise.
24533 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24534 (__pthread_mutex_unlock): Likewise.
24535 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24536 (__pthread_mutexattr_init): Likewise.
24537 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24538 (__pthread_mutexattr_destroy): Likewise.
24539 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24540 (__pthread_mutexattr_settype): Likewise.
24541 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24542 (__pthread_rwlock_init): Likewise.
24543 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24544 (__pthread_rwlock_destroy): Likewise.
24545 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24546 (__pthread_rwlock_rdlock): Likewise.
24547 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24548 (__pthread_rwlock_tryrdlock): Likewise.
24549 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24550 (__pthread_rwlock_wrlock): Likewise.
24551 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24552 (__pthread_rwlock_trywrlock): Likewise.
24553 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24554 (__pthread_rwlock_unlock): Likewise.
24555 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24556 (__pthread_key_create): Likewise.
24557 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24558 (__pthread_setspecific): Likewise.
24559 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24560 (__pthread_getspecific): Likewise.
24561 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
24562 Likewise.
24563 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24564 (_pthread_cleanup_push_defer): Likewise.
24565 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24566 (_pthread_cleanup_pop_restore): Likewise.
24567 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
24568 (pthread_setcancelstate): Likewise.
24569 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
24570 <bp-sym.h>.
24571 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
24572 (memchr): Do not use BP_SYM in weak_alias.
24573 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
24574 (fegetenv): Do not use BP_SYM in versioned symbols.
24575 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
24576 (fesetenv): Do not use BP_SYM in versioned symbols.
24577 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
24578 (feupdateenv): Do not use BP_SYM in versioned symbols.
24579 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
24580 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
24581 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
24582 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
24583 (open64): Do not use BP_SYM in weak_alias.
24584 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
24585 (fegetenv): Do not use BP_SYM in versioned symbols.
24586 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
24587 (fesetenv): Do not use BP_SYM in versioned symbols.
24588 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
24589 (feupdateenv): Do not use BP_SYM in versioned symbols.
24590 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
24591 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
24592 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
24593 (feraiseexcept): Do not use BP_SYM in versioned symbols.
24594 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
24595 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
24596 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
24597 <bp-sym.h>.
24598 (__libc_start_main): Do not use BP_SYM.
24599
d6752ccd
SP
246002013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
24601
cb57ce60
SP
24602 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
24603 redundant return line.
24604 (norm): Likewise.
24605 (denorm): Likewise.
24606 (dbl_mp): Likewise.
24607 (sub_magnitudes): Likewise.
24608 (__add): Likewise.
24609 (__sub): Likewise.
24610 (__mul): Likewise.
24611 (__inv): Likewise.
24612 (__dvd): Likewise.
24613 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
24614 (norm): Likewise.
24615 (denorm): Likewise.
24616 (dbl_mp): Likewise.
24617 (sub_magnitudes): Likewise.
24618 (__add): Likewise.
24619 (__sub): Likewise.
24620 (__mul): Likewise.
24621 (__inv): Likewise.
24622 (__dvd): Likewise.
24623
f414520d
SP
24624 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
24625 instead of __mul.
24626 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
24627 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
24628 (cc32): Likewise.
24629
d6752ccd
SP
24630 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
24631 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
24632 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
24633 of __mul for squares.
24634 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
24635 function
24636 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
24637 Likewise.
24638 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
24639 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
24640
70d9946a
JM
246412013-02-13 Joseph Myers <joseph@codesourcery.com>
24642
24643 [BZ #13550]
24644 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
24645 code.
24646 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
24647 prototype or function definition. Rename ubp_* variables and
24648 parameters. Remove argv definitions conditional on
24649 [__BOUNDED_POINTERS__].
24650 * debug/backtrace.c (__backtrace): Do not use __unbounded.
24651 * elf/dl-runtime.c (_dl_fixup): Likewise.
24652 * include/set-hooks.h (RUN_HOOK): Likewise.
24653 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
24654 definition.
24655 * string/strcpy.c (strcpy): Do not use __unbounded.
24656 * sysdeps/generic/frame.h (struct layout): Likewise.
24657 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
24658 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
24659 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
24660 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
24661 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
24662 (__backtrace): Likewise.
24663 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
24664 use __ptrvalue.
24665 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
24666 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
24667 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
24668 Likewise.
24669 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
24670 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
24671 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
24672 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
24673 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
24674 Do not use __unbounded.
24675 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
24676 Rename __unboundedrlimits parameter to rlimits in prototype.
24677 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
24678 Do not use __unbounded.
24679 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
24680 not use __ptrvalue.
24681 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
24682 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
24683 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
24684 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
24685 __ptrvalue or __unbounded.
24686 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
24687 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
24688 use __unbounded.
24689 (__new_msgctl): Do not use __ptrvalue.
24690 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
24691 __unbounded.
24692 (__libc_msgrcv): Do not use __ptrvalue.
24693 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
24694 startup_info): Do not use __unbounded.
24695 (__libc_start_main): Likewise. Rename ubp_* variables and
24696 parameters. Remove argv definitions conditional on
24697 [__BOUNDED_POINTERS__].
24698 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
24699 __ptrvalue.
24700 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
24701 use __unbounded.
24702 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
24703 or __ptrvalue.
24704 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
24705 use __unbounded.
24706 (__new_shmctl): Do not use __ptrvalue.
24707 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
24708 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
24709 Likewise.
24710 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
24711 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
24712 (__libc_sigaction): Likewise.
24713 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
24714 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
24715 Likewise.
24716 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
24717
cc7834d6
OB
247182013-02-13 Ondřej Bílka <neleai@seznam.cz>
24719
ffb1ec7b 24720 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
170704c9
OB
24721
24722 * string/mempcpy.c: Implement by calling memcpy.
24723
bdf02814
SP
247242013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
24725
c2af38aa
SP
24726 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
24727
4e92d59e
SP
24728 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
24729 evaluation.
24730
909279a5
SP
24731 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
24732 values in the mantissa.
24733
bdf02814
SP
24734 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
24735 minimize writes to Z.
24736 (sub_magnitudes): Simplify code a bit.
24737
cd525923
RM
247382013-02-12 Roland McGrath <roland@hack.frob.com>
24739
24740 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
24741 from the message. The linker prefixes all warnings with that already.
24742
7e2f0d2d
AS
247432013-02-12 Andreas Schwab <schwab@suse.de>
24744
a445af0b
AS
24745 [BZ #15078]
24746 * posix/regexec.c (extend_buffers): Add parameter min_len.
24747 (check_matching): Pass minimum needed length.
24748 (clean_state_log_if_needed): Likewise.
24749 (get_subexp): Likewise.
24750 * posix/Makefile (tests): Add bug-regex34.
24751 (bug-regex34-ENV): Define.
24752 * posix/bug-regex34.c: New file.
24753
7e2f0d2d
AS
24754 [BZ #11561]
24755 * posix/regcomp.c (parse_bracket_exp): When looking up collating
24756 elements compare against the byte sequence of it, not its name.
24757 * posix/Makefile (tests): Add bug-regex35.
24758 (bug-regex35-ENV): Define.
24759 * posix/bug-regex35.c: New file.
24760
a175b684
TV
247612013-02-11 Tom de Vries <tom@codesourcery.com>
24762
24763 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
24764 comment.
24765 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
24766 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
24767 (CHECK_EOL): Add undef.
24768
310998fe 247692013-02-11 Ondřej Bílka <neleai@seznam.cz>
41eda41d
OB
24770
24771 * bits/stdlib-bsearch.h: New file.
24772 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
310998fe 24773 * stdlib/stdlib.h: Likewise.
41eda41d 24774
8ded91fb
RM
247752013-02-11 Roland McGrath <roland@hack.frob.com>
24776
24777 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
24778 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
24779 declaration.
24780 * manual/search.texi (Array Search Function): Add missing const in
24781 lfind prototype.
24782 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
24783 declaration to use rlim_t.
24784 (Basic Scheduling Functions): Remove erroneous const from
24785 sched_getparam prototype. Remove erroneous * from
24786 sched_get_priority_max and sched_get_priority_min prototypes.
24787 (Resource Usage): Fix summary @comment on vtimes to refer to
24788 sys/vtimes.h rather than vtimes.h.
24789 Add missing *s in vtimes prototype.
24790 (Limits on Resources): Fix ulimit prototype to return long int.
24791 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
24792 prototypes to use long int rather than double.
24793 (BSD Random): Fix initstate and setstate to use char *, not void *.
24794 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
24795 prototype to make second argument 'struct aiocb64 *const[]'.
24796 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
24797 (Status of AIO Operations): Remove erroneous const in aio_return and
24798 aio_return64 prototypes.
24799 (Synchronizing I/O): Fix sync prototype to return void.
24800 * manual/startup.texi (Suboptions): Remove an erroneous const in
24801 getsubopt prototype.
24802 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
24803 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
24804 use size_t rather than int.
24805 (Scanning All Users): Likewise for getpwent_r.
24806 (Setting Groups): Add missing const to setgroups prototype.
24807 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
24808 * manual/socket.texi (Host Names): Fix gethostbyaddr and
24809 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
24810 'const void *' rather than 'const char *'.
24811 (Host Address Functions): Likewise for inet_ntop.
24812 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
24813 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
24814 ssize_t for return value.
24815 (Sending Data): Likewise for send, sendto, sendmsg.
24816 (Socket Option Functions): Add a missing const in setsockopt prototype.
24817 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
24818 use wchar_t for the argument.
24819 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
24820 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
24821 take no arguments.
24822 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
24823 double/float/long double for second argument.
24824 Fix return types of significand, significandf, significandl.
24825 * manual/filesys.texi (Setting Permissions): Use mode_t for second
24826 argument in fchmod prototype.
24827 (File Owner): Use uid_t and gid_t in fchown prototype.
24828 (File Times): Add const to utimes, futimes, and lutimes prototypes.
24829 (Making Special Files): Use mode_t and dev_t in mknod prototype.
24830 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
24831 use 'const struct dirent **' as argument types to CMP function pointer
24832 argument.
24833 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
24834 (File Times): Fix summary magic @comment for struct utimbuf and utime
24835 to refer to utime.h, not time.h.
24836 * manual/string.texi (Argz Functions): Add missing const in
24837 argz_extract and argz_next prototypes.
24838 (Finding Tokens in a String): Likewise for basename.
24839 (String/Array Comparison): Fix typo in wcscasecmp prototype.
24840 (Copying and Concatenation): Fix typo in wmemmove prototype.
24841 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
24842 (Signal Stack): Remove erroneous const in sigstack prototype.
24843 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
24844 prototype.
24845 (Simple Calendar Time): Likewise for stime.
24846 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
24847 prototype.
24848 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
24849 say sys/sysctl.h instead.
24850 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
24851 and vsyslog prototypes.
24852
fe77fe6d
TV
248532013-02-11 Tom de Vries <tom@codesourcery.com>
24854
24855 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
24856 Remove.
24857
3a09b620
RM
248582013-02-11 Roland McGrath <roland@hack.frob.com>
24859
24860 * misc/sys/mman.h: Fix typo in mremap comment.
24861
550a0b89
RM
248622013-02-08 Roland McGrath <roland@hack.frob.com>
24863
24864 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
24865 the '\0' terminator.
24866
a2da1673
JM
248672013-02-08 Joseph Myers <joseph@codesourcery.com>
24868
24869 [BZ #13550]
24870 * debug/segfault.c: Don't include <bp-checks.h>.
24871 * sysdeps/generic/bp-checks.h: Remove file.
24872 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
24873 (__GETDENTS): Don't use CHECK_N.
24874 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
24875 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
24876 (__getgroups): Don't use CHECK_N.
24877 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
24878 (setgroups): Don't use CHECK_N.
24879 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
24880 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
24881 (__libc_msgrcv): Don't use CHECK_N.
24882 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
24883 (__libc_msgsnd): Don't use CHECK_N.
24884 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
24885 <bp-checks.h>.
24886 (__libc_pread): Don't use CHECK_N.
24887 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
24888 include <bp-checks.h>.
24889 (__libc_pread64): Don't use CHECK_N.
24890 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
24891 include <bp-checks.h>.
24892 (__libc_pwrite): Don't use CHECK_N.
24893 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
24894 include <bp-checks.h>.
24895 (__libc_pwrite64): Don't use CHECK_N.
24896 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
24897 <bp-checks.h>.
24898 (__libc_pread): Don't use CHECK_N.
24899 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
24900 include <bp-checks.h>.
24901 (__libc_pread64): Don't use CHECK_N.
24902 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
24903 include <bp-checks.h>.
24904 (__libc_pwrite): Don't use CHECK_N.
24905 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
24906 include <bp-checks.h>.
24907 (__libc_pwrite64): Don't use CHECK_N.
24908 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
24909 (do_pread): Don't use CHECK_N.
24910 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
24911 (do_pread64): Don't use CHECK_N.
24912 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
24913 (do_pwrite): Don't use CHECK_N.
24914 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
24915 (do_pwrite64): Don't use CHECK_N.
24916 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
24917 (__libc_readv): Don't use CHECK_N.
24918 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
24919 (semop): Don't use CHECK_N.
24920 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
24921 <bp-checks.h>.
24922 (semtimedop): Don't use CHECK_N.
24923 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
24924 (__libc_pread): Don't use CHECK_N.
24925 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
24926 <bp-checks.h>.
24927 (__libc_pread64): Don't use CHECK_N.
24928 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
24929 <bp-checks.h>.
24930 (__libc_pwrite): Don't use CHECK_N.
24931 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
24932 <bp-checks.h>.
24933 (__libc_pwrite64): Don't use CHECK_N.
24934 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
24935 <bp-checks.h>.
24936 (__libc_msgrcv): Don't use CHECK_N.
24937 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
24938 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
24939 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
24940 (__libc_writev): Don't use CHECK_N.
24941
b84660a8
RM
249422013-02-08 Roland McGrath <roland@hack.frob.com>
24943
7f3e75f8
RM
24944 * string/strcpy.c: Removed unused variable.
24945
b84660a8
RM
24946 * Makeconfig (+sysdep-includes): Define with := rather than =.
24947 Use an existing include/ subdir of each sysdeps dir before it.
24948
471514d3
CD
249492013-02-08 Carlos O'Donell <carlos@redhat.com>
24950
24951 * nscd/connection.c (register_traced_file): Comment function.
24952 [HAVE_INOTIFY] (union __inev): Define.
24953 [HAVE_INOTIFY] (inotify_check_files): New function.
24954 [HAVE_INOTIFY] (clear_db_cache): Likewise.
24955 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
24956 clear_db_cache.
24957 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
24958
b2d3c3be
CD
249592013-02-08 Carlos O'Donell <carlos@redhat.com>
24960
24961 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
24962 loaded if not already and that a failure is permanent.
24963
b39949d2
CD
249642013-02-08 Carlos O'Donell <carlos@redhat.com>
24965
ddacd1db 24966 [BZ #15006]
b39949d2
CD
24967 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
24968 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
24969
b2c9eff4
JM
249702013-02-08 Joseph Myers <joseph@codesourcery.com>
24971
f3aae3f3
JM
24972 [BZ #13550]
24973 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
24974 (CHECK_1_NULL_OK): Likewise.
24975 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
24976 (__fxstat): Do not use CHECK_1.
24977 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
24978 <bp-checks.h>.
24979 (___fxstat64): Do not use CHECK_1.
24980 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
24981 <bp-checks.h>.
24982 (__fxstatat): Do not use CHECK_1.
24983 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
24984 <bp-checks.h>.
24985 (__fxstatat64): Do not use CHECK_1.
24986 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
24987 <bp-checks.h>.
24988 (__fxstat): Do not use CHECK_1.
24989 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
24990 <bp-checks.h>.
24991 (__fxstatat): Do not use CHECK_1.
24992 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
24993 <bp-checks.h>.
24994 (__getresgid): Do not use CHECK_1.
24995 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
24996 <bp-checks.h>.
24997 (__getresuid): Do not use CHECK_1.
24998 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
24999 <bp-checks.h>.
25000 (__lxstat): Do not use CHECK_1.
25001 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
25002 <bp-checks.h>.
25003 (__old_msgctl): Do not use CHECK_1.
25004 (__new_msgctl): Likewise.
25005 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
25006 <bp-checks.h>.
25007 (__new_setrlimit): Do not use CHECK_1.
25008 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
25009 <bp-checks.h>.
25010 (__old_shmctl): Do not use CHECK_1.
25011 (__new_shmctl): Likewise.
25012 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
25013 <bp-checks.h>.
25014 (__xstat): Do not use CHECK_1.
25015 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
25016 (__lxstat): Do not use CHECK_1.
25017 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
25018 <bp-checks.h>.
25019 (___lxstat64): Do not use CHECK_1.
25020 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
25021 (__old_msgctl): Do not use CHECK_1.
25022 (__new_msgctl): Likewise.
25023 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
25024 <bp-checks.h>.
25025 (__gettimeofday): Do not use CHECK_1.
25026 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
25027 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
25028 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
25029 <bp-checks.h>.
25030 (__gettimeofday): Do not use CHECK_1.
25031 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
25032 (__old_shmctl): Do not use CHECK_1_NULL_OK.
25033 (__new_shmctl): Do not use CHECK_1.
25034 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
25035 <bp-checks.h>.
25036 (do_sigtimedwait): Do not use CHECK_1.
25037 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
25038 <bp-checks.h>.
25039 (do_sigwaitinfo): Do not use CHECK_1.
25040 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
25041 <bp-checks.h>.
25042 (msgctl): Do not use CHECK_1.
25043 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
25044 <bp-checks.h>.
25045 (shmctl): Do not use CHECK_1.
25046 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
25047 (ustat): Do not use CHECK_1.
25048 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
25049 <bp-checks.h>.
25050 (__fxstat): Do not use CHECK_1.
25051 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
25052 <bp-checks.h>.
25053 (__fxstatat): Do not use CHECK_1.
25054 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
25055 <bp-checks.h>.
25056 (__lxstat): Do not use CHECK_1.
25057 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
25058 <bp-checks.h>.
25059 (__xstat): Do not use CHECK_1.
25060 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
25061 (__xstat): Do not use CHECK_1.
25062 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
25063 (___xstat64): Do not use CHECK_1.
25064
b2c9eff4
JM
25065 [BZ #13550]
25066 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
25067 definitions.
25068 (CHECK_BOUNDS_HIGH): Likewise.
25069 * string/strcpy.c: Do not include <bp-checks.h>.
25070 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
25071
f1d70dad
RM
250722013-02-07 Roland McGrath <roland@hack.frob.com>
25073
25074 * nscd/nscd-client.h (__nscd_drop_map_ref):
25075 Add __attribute__ ((unused)).
25076 * nis/nss-nisplus.h (niserr2nss): Likewise.
25077
25078 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
25079 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
25080
25081 * csu/libc-tls.c (init_static_tls, init_slotinfo):
25082 Remove inline keyword.
25083 * include/rounding-mode.h (round_away): Likewise.
25084 * libio/wfileops.c (adjust_wide_data): Likewise.
25085 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
25086 (__m128i_strloadu_tolower): Likewise.
25087 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
25088 (__m128i_strloadu_tolower): Likewise.
25089 * time/mktime.c (ydhms_diff): Likewise.
25090 * locale/elem-hash.h (elem_hash): Likewise.
25091 * locale/setlocale.c (setdata): Likewise.
25092 * posix/regex_internal.h (re_string_char_size_at): Likewise.
25093 (re_string_wchar_at): Likewise.
25094 (bitset_not, bitset_merge, bitset_mask): Likewise.
25095 [!(__GNUC__ > 3)] (inline): Remove macro.
25096 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
25097 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
25098 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
25099 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
25100 * string/memcmp.c (memcmp_bytes): Likewise.
25101 * locale/programs/locarchive.c (compute_hashval): Likewise.
25102 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
25103 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
25104 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
25105 * nss/getent.c (print_rpc, print_protocols): Likewise.
25106 (print_passwd, print_group, print_aliases): Likewise.
25107 * nis/nss-nisplus.h (niserr2nss): Likewise.
25108 * nscd/connections.c (restart_p): Likewise.
25109 Change return type to bool.
25110
eab55bfb
RM
251112013-02-05 Roland McGrath <roland@hack.frob.com>
25112
7bd642f5
RM
25113 * Makeconfig (all-Depend-files): Add existing
25114 $(sorted-subdirs:=/Depend) files.
25115 (all-subdirs): Remove nss.
25116 * sysdeps/unix/inet/Subdirs: Add it here instead.
25117 * hesiod/Depend: New file.
25118
573c29b2
RM
25119 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
25120 instead of calling alloca.
25121
b2e25af0
RM
25122 * io/lseek.c (__lseek): Rename to __libc_lseek.
25123 Define __lseek as an alias.
25124
eab55bfb
RM
25125 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
25126
9a0d1941
CD
251272013-02-04 Carlos O'Donell <carlos@redhat.com>
25128
25129 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
25130 else clause and remove check for non-standard endianness.
25131
b83bbec4
DM
251322013-02-04 David S. Miller <davem@davemloft.net>
25133
25134 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25135
6277fdab
JM
251362013-02-04 Joseph Myers <joseph@codesourcery.com>
25137
25138 [BZ #13550]
25139 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
25140 (__ubp_memchr): Remove prototype.
25141 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
25142 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
25143 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
25144 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
25145 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
25146 Remove alias.
25147 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
25148 (__ubp_memchr): Likewise.
25149 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
25150 (__ubp_memchr): Likewise.
25151 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
25152 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
25153 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
25154 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
25155 CHECK_STRING.
25156 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
25157 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
25158 (__getcwd): Do not use CHECK_STRING.
25159 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
25160 <bp-checks.h>.
25161 (__real_chown): Do not use CHECK_STRING.
25162 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
25163 <bp-checks.h>.
25164 (fchownat): Do not use CHECK_STRING.
25165 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
25166 CHECK_STRING.
25167 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
25168 <bp-checks.h>.
25169 (__lchown): Do not use CHECK_STRING.
25170 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
25171 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
25172 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
25173 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
25174 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
25175 include <bp-checks.h>.
25176 (truncate64): Do not use CHECK_STRING.
25177 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
25178 <bp-checks.h>.
25179 (__real_chown): Do not use CHECK_STRING.
25180 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
25181 <bp-checks.h>.
25182 (__lchown): Do not use CHECK_STRING.
25183 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
25184 <bp-checks.h>.
25185 (__chown): Do not use CHECK_STRING.
25186 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
25187 <bp-checks.h>.
25188 (truncate64): Do not use CHECK_STRING.
25189 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
25190 Likewise.
25191 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
25192 (__xmknod): Do not use CHECK_STRING.
25193 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
25194 <bp-checks.h>.
25195 (__xmknodat): Do not use CHECK_STRING.
25196 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
25197 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
25198
903ae060
AS
251992013-02-04 Andreas Schwab <schwab@suse.de>
25200
25201 [BZ #14142]
25202 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
25203 * include/netdb.h: Likewise for h_errno.
25204 * elf/tst-stackguard1.c: Include <tls.h>.
25205
542f9466
JK
252062013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
25207
25208 * elf/link.h (struct link_map): Extend the l_addr comment.
25209 * include/link.h (struct link_map): Likewise.
25210
e782a927
JM
252112013-02-01 Joseph Myers <joseph@codesourcery.com>
25212
25213 [BZ #13550]
25214 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
25215 (BOUNDED_1): Remove macro.
25216 * debug/backtrace.c: Don't include <bp-checks.h>.
25217 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
25218 (__backtrace): Likewise.
25219 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
25220 <bp-checks.h>.
25221 (__backtrace): Don't use BOUNDED_1.
25222 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
25223 <bp-checks.h>.
25224 (__backtrace): Don't use BOUNDED_1.
25225 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
25226 (__backtrace): Don't use BOUNDED_1.
25227 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
25228 (shmat): Don't use BOUNDED_N.
25229
8cf28c5e
JM
252302013-01-31 Joseph Myers <joseph@codesourcery.com>
25231
3a7ac8a0
JM
25232 [BZ #13550]
25233 * sysdeps/generic/bp-start.h: Remove file.
25234 * csu/libc-start.c: Don't include <bp-start.h>.
25235 (LIBC_START_MAIN): Set up __environ directly instead of using
25236 INIT_ARGV_and_ENVIRON.
25237 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
25238 <bp-start.h>.
25239
f3499f95
JM
25240 [BZ #13550]
25241 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
25242 definitions.
25243 (CHECK_FCNTL): Likewise.
25244 (CHECK_N_PAGES): Likewise.
25245
32a45bea
JM
25246 [BZ #13550]
25247 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
25248 definitions.
25249 (CHECK_SIGSET_NULL_OK): Likewise.
25250 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
25251 <bp-checks.h>.
25252 (sigpending): Don't use CHECK_SIGSET.
25253 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
25254 <bp-checks.h>.
25255 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
25256 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
25257 <bp-checks.h>.
25258 (do_sigsuspend): Don't use CHECK_SIGSET.
25259 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
25260 use CHECK_SIGSET.
25261 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
25262 (do_sigwait): Don't use CHECK_SIGSET.
25263 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
25264 use CHECK_SIGSET.
25265 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
25266 include <bp-checks.h>.
25267 (sigpending): Don't use CHECK_SIGSET.
25268 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
25269 include <bp-checks.h>.
25270 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
25271 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
25272 <bp-checks.h>.
25273 (sigpending): Don't use CHECK_SIGSET.
25274 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
25275 <bp-checks.h>.
25276 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
25277
2e8a5c8c
JM
25278 [BZ #13550]
25279 * sysdeps/generic/bp-semctl.h: Remove file.
25280 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
25281 <bp-checks.h> and <bp-semctl.h>.
25282 (__old_semctl): Don't use CHECK_SEMCTL.
25283 (__new_semctl): Likewise.
25284 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
25285 and <bp-semctl.h>.
25286 (__old_semctl): Don't use CHECK_SEMCTL.
25287 (__new_semctl): Likewise.
25288 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
25289 <bp-checks.h> and <bp-semctl.h>.
25290 (__old_semctl): Don't use CHECK_SEMCTL.
25291 (__new_semctl): Likewise.
25292 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
25293 <bp-checks.h> and <bp-semctl.h>.
25294 (semctl): Don't use CHECK_SEMCTL.
25295
c2d54929
JM
25296 [BZ #13550]
25297 * Makerules (elide-bp-thunks): Remove variable.
25298 (elide-routines.oS): Don't use $(elide-bp-thunks).
25299 (elide-routines.os): Likewise.
25300 (elide-routines.o): Likewise.
25301 (elide-routines.op): Likewise.
25302 (elide-routines.og): Likewise.
25303 (objects): Don't use $(bp-thunks).
25304 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
25305 include.
25306 (common-generated): Do not add s-proto-bp.d.
25307 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
25308 (int): Likewise.
25309 (typ): Likewise.
25310 Do not generate makefile rules for bounded-pointer thunks.
25311 * sysdeps/generic/bp-thunks.h: Remove file.
25312 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
25313 * sysdeps/unix/s-proto-bp.S: Likewise.
25314
8cf28c5e
JM
25315 [BZ #15062]
25316 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
25317 parts of result separately when argument is not close to line from
25318 -i to i and one part of argument is small.
25319 * math/k_casinhf.c (__kernel_casinhf): Likewise.
25320 * math/k_casinhl.c (__kernel_casinhl): Likewise.
25321 * math/libm-test.inc (cacos_test): Add more tests.
25322 (casin_test): Likewise.
25323 (casinh_test): Likewise.
25324 * sysdeps/i386/fpu/libm-test-ulps: Update.
25325 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25326
c4e33b8d
DM
253272013-01-31 David S. Miller <davem@davemloft.net>
25328
25329 * po/de.po: Update from translation team.
25330
3b60b421
MK
253312013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
25332
25333 * time/tzfile.c: Include stdint.h for SIZE_MAX.
25334
bb931195
TS
253352013-01-25 Thomas Schwinge <thomas@codesourcery.com>
25336
b5a5da23
TS
25337 * configure.in (_AC_PROG_CC_C89): New definition.
25338 * configure: Regenerate.
25339
bb931195
TS
25340 * configure.in (AC_PROG_CPP): New definition.
25341 * configure: Regenerate.
25342
8c53a12c
JM
253432013-01-23 Joseph Myers <joseph@codesourcery.com>
25344
25345 * debug/tst-backtrace.h: New file.
25346 * debug/tst-backtrace2.c: Include tst-backtrace.h.
25347 (ret): Remove variable.
25348 (x): Likewise.
25349 (FAIL): Remove macro.
25350 (NO_INLINE): Likewise.
25351 (fn1): Use match function instead of strstr.
25352 * debug/tst-backtrace3.c: Include tst-backtrace.h.
25353 (ret): Remove variable.
25354 (x): Likewise.
25355 (FAIL): Remove macro.
25356 (NO_INLINE): Likewise.
25357 (fn): Use match function instead of strstr.
25358 * debug/tst-backtrace4.c: Include tst-backtrace.h.
25359 (ret): Remove variable.
25360 (x): Likewise.
25361 (FAIL): Remove macro.
25362 (NO_INLINE): Likewise.
25363 (handle_signal): Use match function instead of strstr.
25364 * debug/tst-backtrace5.c: Include tst-backtrace.h.
25365 (ret): Remove variable.
25366 (x): Likewise.
25367 (FAIL): Remove macro.
25368 (NO_INLINE): Likewise.
25369 (handle_signal): Use match function instead of strstr.
25370
4858fa2a
RM
253712013-01-23 Roland McGrath <roland@hack.frob.com>
25372
25373 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
25374
bae8e7f5
DM
253752013-01-23 David S. Miller <davem@davemloft.net>
25376
25377 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
25378 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
25379 argument of CAS if possible.
25380 * sysdeps/sparc/sparc64/bits/atomic.h
25381 (__arch_compare_and_exchange_val_32_acq): Likewise.
25382 (__arch_compare_and_exchange_val_64_acq): Likewise.
25383
9cbbc4ae
PT
253842013-01-23 Pino Toscano <toscano.pino@tiscali.it>
25385
25386 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
25387 * sysdeps/posix/ulimit.c: ... this.
92a601b8 25388 Include <limits.h>.
67b3f58c 25389 * sysdeps/unix/bsd/ulimit.c: Remove file.
9cbbc4ae 25390
5655a0b5
AC
253912013-01-23 Adam Conrad <adconrad@0c3.net>
25392
25393 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
25394 (LDFLAGS-tst-array5): Likewise.
25395
052aff95
JM
253962013-01-23 Joseph Myers <joseph@codesourcery.com>
25397
25398 [BZ #15036]
25399 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
25400 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
25401 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
25402 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
25403
7c1e01aa
DM
254042013-01-21 David S. Miller <davem@davemloft.net>
25405
25406 * sysdeps/sparc/backtrace.c: New file.
25407 * sysdeps/sparc/sparc32/backtrace.h: New file.
25408 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
25409 * sysdeps/sparc/sparc64/backtrace.h: New file.
25410 * sysdeps/sparc/sparc64/backtrace.c: Delete.
25411 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
25412 -funwind-tables.
25413
ab087e0a
AS
254142013-01-21 Andreas Schwab <schwab@suse.de>
25415
25416 [BZ #15020]
25417 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
25418 closed its stdout.
25419
ed689c2f
AS
254202013-01-20 Andreas Schwab <schwab@linux-m68k.org>
25421
25422 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
25423 "mpa2.h".
25424 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
25425
31d470ac
JM
254262013-01-18 Joseph Myers <joseph@codesourcery.com>
25427 Mark Mitchell <mark@codesourcery.com>
25428 Tom de Vries <tom@codesourcery.com>
25429 Paul Pluzhnikov <ppluzhnikov@google.com>
25430
25431 * debug/tst-backtrace2.c: New file.
25432 * debug/tst-backtrace3.c: Likewise.
25433 * debug/tst-backtrace4.c: Likewise.
25434 * debug/tst-backtrace5.c: Likewise.
25435 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
25436 (CFLAGS-tst-backtrace3.c): Likewise.
25437 (CFLAGS-tst-backtrace4.c): Likewise.
25438 (CFLAGS-tst-backtrace5.c): Likewise.
25439 (LDFLAGS-tst-backtrace2): Likewise.
25440 (LDFLAGS-tst-backtrace3): Likewise.
25441 (LDFLAGS-tst-backtrace4): Likewise.
25442 (LDFLAGS-tst-backtrace5): Likewise.
25443 (tests): Add new tests tst-backtrace2, tst-backtrace3,
25444 tst-backtrace4 and tst-backtrace5.
25445
90567f30 254462013-01-18 Anton Blanchard <anton@samba.org>
471a1672
AB
25447 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
25448
25449 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
25450 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
25451 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
25452 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
25453 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
25454 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
25455 "+r" and remove output regs list as redundant. Add explicit inline
25456 asm to specify register of return val to work around compiler codegen
25457 bug. Remove (int) cast on return value. Add return type parameter to
25458 use in macro so that this macro does not truncate return value for
25459 64-bit values.
25460 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
25461 pass to INTERNAL_VSYSCALL_NCS.
25462 (INLINE_VSYSCALL): Add 'long int' as return type to
25463 INTERNAL_VSYSCALL_NCS macro invocation.
25464 (INTERNAL_VSYSCALL): Add 'long int' as return type to
25465 INTERNAL_VSYSCALL_NCS macro invocation.
25466 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
25467
d3b9ea61
SP
254682013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
25469
0b57daeb
SP
25470 [BZ #14496]
25471 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
25472 Fix application of SIMD FP exception mask.
25473
caa99d06
SP
25474 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
25475 mp_no from a power of two.
25476 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
25477 __mpexp_twomm1. Use __pow_mp.
25478
d3b9ea61
SP
25479 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
25480 multiplication.
25481
1dbaee3c
DM
254822013-01-17 David S. Miller <davem@davemloft.net>
25483
25484 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25485
728d7b43
JM
254862013-01-17 Joseph Myers <joseph@codesourcery.com>
25487
25488 [BZ #15023]
25489 * include/complex.h: Condition contents on [!_COMPLEX_H].
25490 (__kernel_casinhf): New prototype.
25491 (__kernel_casinh): Likewise.
25492 (__kernel_casinhl): Likewise.
25493 * math/Makefile (libm_calls): Add k_casinh.
25494 * math/k_casinh.c: New file.
25495 * math/k_casinhf.c: Likewise.
25496 * math/k_casinhl.c: Likewise.
25497 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
25498 finite nonzero arguments.
25499 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
25500 finite nonzero arguments.
25501 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
25502 finite nonzero arguments.
25503 * math/s_casinh.c: Do not include <float.h>.
25504 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
25505 * math/s_casinhf.c: Do not include <float.h>.
25506 (__casinhf): Move code for finite nonzero arguments to
25507 k_casinhf.c.
25508 * math/s_casinhl.c: Do not include <float.h>.
25509 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
25510 redefine.
25511 (__casinhl): Move code for finite nonzero arguments to
25512 k_casinhl.c.
25513 * math/libm-test.inc (cacos_test): Add more tests.
25514 * sysdeps/i386/fpu/libm-test-ulps: Update.
25515 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25516
2a26ef3a
PT
255172013-01-17 Pino Toscano <toscano.pino@tiscali.it>
25518
25519 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
25520 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
25521 [!HAVE_MREMAP]: Remove [defined linux] case.
25522 * malloc/arena.c: Do not include <malloc-sysdep.h>.
25523
a897655d
SP
255242013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
25525
25526 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
25527
881ebe89 255282013-01-17 H.J. Lu <hongjiu.lu@intel.com>
22676eaf
L
25529
25530 * elf/elf.h (R_386_SIZE32): New relocation.
25531 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
25532 R_386_SIZE32.
25533 (elf_machine_rela): Likewise.
25534 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
25535 R_X86_64_SIZE64 and R_X86_64_SIZE32.
25536
59981e9b
JM
255372013-01-17 Joseph Myers <joseph@codesourcery.com>
25538
25539 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
25540 (FP_FAST_FMA): Do not define.
25541 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
25542 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
25543 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
25544 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
25545 !_SOFT_FLOAT]: Likewise.
25546 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
25547 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
25548 value.
25549 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
25550 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
25551 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
25552 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
25553 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
25554 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
25555 file.
25556
cfa8054f
AS
255572013-01-16 Andreas Schwab <schwab@suse.de>
25558
25559 [BZ #14327]
25560 * include/stdlib.h (__mktemp): Add declaration.
25561 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
25562 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
25563
dd930cc5
SP
255642013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
25565
881ebe89
SP
25566 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
25567 definitions.
25568 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
25569 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
25570 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
25571 definitions here.
25572 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
25573 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
25574 definitions.
25575 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
25576 and ONE.
25577 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
25578 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
25579 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
25580 definitions.
25581 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
25582 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
25583 definitions.
25584 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
f93a8d15 25585
dd930cc5
SP
25586 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
25587
c19a9f89
DM
255882013-01-15 David S. Miller <davem@davemloft.net>
25589
1aa61767
DM
25590 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
25591 trunc{,f} to libm-sysdep_routes.
25592 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
25593 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
25594 file.
25595 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
25596 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
25597 file.
25598 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
25599 file.
25600 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
25601 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
25602 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
25603 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
25604 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
25605 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
25606 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
25607 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
25608
c42d5e98
DM
25609 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
25610 nearbyint{,f} to libm-sysdep_routes.
25611 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
25612 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
25613 New file.
25614 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
25615 file.
25616 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
25617 New file.
25618 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
25619 file.
25620 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
25621 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
25622 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
25623 file.
25624 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
25625 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
25626 file.
25627 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
25628 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
25629 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
25630
c19a9f89
DM
25631 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
25632 libc_feholdexcept and libc_fesetenv.
25633
357679d2
MF
256342013-01-15 Mike Frysinger <vapier@gentoo.org>
25635
25636 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
25637
65a82e3d
DM
256382013-01-14 David S. Miller <davem@davemloft.net>
25639
8b954ab9
DM
25640 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
25641 (SPARC_ASM_VIS2_IFUNC): Likewise.
25642 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
25643 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
25644 use of 'siam' instruction.
25645 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
25646 Likewise.
25647 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
25648 Likewise.
25649 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
25650 Likewise.
25651 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
25652 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
25653 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
25654 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
25655 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
25656 file.
25657 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
25658 file.
25659 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
25660 file.
25661 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
25662 file.
25663 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
25664 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
25665 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
25666 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
25667 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
25668 new VIS2 routines.
25669 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
25670 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
25671 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
25672 Likewise.
25673 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
25674 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
25675 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
25676 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
25677 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
25678 routines to libm-sysdep_routines.
25679 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
25680
65a82e3d
DM
25681 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
25682 fdim/fdimf to libm-sysdep_routines.
25683 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
25684 file.
25685 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
25686 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
25687 file.
25688 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
25689 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
25690 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
25691 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
25692 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
25693 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
25694 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
25695
e34ab705
SP
256962013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
25697
2a91b573
SP
25698 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
25699 to optimize copies.
25700
1066a534
SP
25701 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
25702 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
25703 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
25704
e34ab705
SP
25705 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
25706 local variable MPTWO.
25707 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
25708 Likewise.
25709
aba5e596
MF
257102013-01-13 Mike Frysinger <vapier@gentoo.org>
25711
25712 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
25713 GLOB_NOESCAPE.
25714
e557e9e5
MF
257152013-01-13 Mike Frysinger <vapier@gentoo.org>
25716
25717 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
25718
0428cec9
MF
257192013-01-13 Mike Frysinger <vapier@gentoo.org>
25720
25721 * manual/pattern.texi (glob_t): Document gl_flags.
25722 (glob64_t): Likewise.
25723
8794a964
DM
257242013-01-11 David S. Miller <davem@davemloft.net>
25725
66438c3f
RM
25726 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
25727 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
25728 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
32fcb36d
DM
25729 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
25730 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
25731 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
25732 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
25733 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
25734 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
25735 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
25736 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
25737 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
25738 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
25739
4ae4244d
DM
25740 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
25741 sparc V9 rather than using V8 code.
25742 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
25743 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
25744
8794a964
DM
25745 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
25746 Move to...
25747 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
25748 Here.
25749
6270516e
RM
257502013-01-11 Roland McGrath <roland@hack.frob.com>
25751
25752 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
25753 not in the main loop.
25754 * configure: Regenerated.
25755
6a57d931
JM
257562013-01-11 Joseph Myers <joseph@codesourcery.com>
25757
25758 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
25759 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
25760 to just #else.
25761 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
25762 [!__GLIBC_HAVE_LONG_LONG] case.
25763 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
25764 condition to just #else.
25765 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
25766 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
25767 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
25768 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
25769 unconditional.
25770 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
25771 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
25772 #elif condition to just #else.
25773 * sysdeps/unix/sysv/linux/sys/sysmacros.h
25774 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
25775 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
25776 #elif condition to just #else.
25777
0e8529e9
SE
257782013-01-11 Steve Ellcey <sellcey@mips.com>
25779
25780 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
25781 (EF_MIPS_ARCH_64): Fix value.
25782 (EF_MIPS_ARCH_32R2): New.
25783 (EF_MIPS_ARCH_64R2): New.
25784
740b3dbe
L
257852013-01-11 H.J. Lu <hongjiu.lu@intel.com>
25786
25787 * Makeconfig (+link-pie-before-libc): New.
25788 (+link-pie-after-libc): Likewise.
25789 (+link-pie-tests): Likewise.
25790 (+link-pie): Rewritten.
25791 (link-before-libc): Remove $(config-LDFLAGS).
25792 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
25793 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
25794 (config-LDFLAGS): Renamed to ...
25795 (rtld-LDFLAGS): This.
25796 (rtld-tests-LDFLAGS): New macro.
25797 (link-libc-rpath-link): Likewise.
25798 (link-libc-tests-rpath-link): Likewise.
25799 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
25800 (link-libc): Prepand $(link-libc-rpath-link).
25801 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
25802 (test-program-prefix): New macro.
25803 (test-via-rtld-prefix): Likewise.
25804 (test-program-cmd): Likewise.
25805 (host-test-program-cmd): Likewise.
25806 * Makefile ($(common-objpfx)testrun.sh): Replace
25807 $(run-program-prefix) with $(test-program-prefix).
25808 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
25809 $(rtld-LDFLAGS).
25810 ($(common-objpfx)shlib.lds): Likewise.
25811 (build-module-helper): Likewise.
25812 ($(common-objpfx)format.lds): Likewise.
25813 * Rules (binaries-pie-tests): New.
25814 (binaries-pie-notests): Likewise.
25815 (binaries-pie): Rewritten.
25816 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
25817 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
25818 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
25819 (make-test-out): Replace $(host-built-program-cmd) with
25820 $(host-test-program-cmd).
25821 * config.make.in (build-hardcoded-path-in-tests): New variable.
25822 * configure.in (--enable-hardcoded-path-in-tests): New configure
25823 option.
25824 (hardcoded_path_in_tests): New AC_SUBST.
25825 * configure: Regenerated.
25826 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
25827 $(built-program-cmd) with $(test-program-cmd).
25828 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
25829 (test_program_cmd): This.
25830 * elf/Makefile ($(objpfx)order.out): Run test with
25831 $(test-program-prefix).
25832 ($(objpfx)order2.out): Likewise.
25833 ($(objpfx)tst-initorder.out): Likewise.
25834 ($(objpfx)tst-initorder2.out): Likewise.
25835 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
25836 $(test-program-cmd).
25837 ($(objpfx)tst-array1-static.out): Likewise.
25838 ($(objpfx)tst-array2.out): Likewise.
25839 ($(objpfx)tst-array3.out): Likewise.
25840 ($(objpfx)tst-array4.out): Likewise.
25841 ($(objpfx)tst-array5.out): Likewise.
25842 ($(objpfx)tst-array5-static.out): Likewise.
25843 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
25844 $(test-program-cmd).
25845 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
25846 $(run-program-prefix) with $(test-program-prefix).
25847 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
25848 (test_program_prefix): This.
25849 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
25850 $(run-program-prefix) with $(test-program-prefix).
25851 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
25852 (test_program_prefix): This.
25853 * iconvdata/tst-tables.sh: Likewise.
25854 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
25855 $(run-program-prefix) with $(test-program-prefix).
25856 ($(objpfx)tst-translit.out): Likewise.
25857 ($(objpfx)tst-gettext2.out): Likewise.
25858 ($(objpfx)tst-gettext4.out): Likewise.
25859 ($(objpfx)tst-gettext6.out): Likewise.
25860 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
25861 (test_program_prefix): This.
25862 * intl/tst-gettext2.sh: Likewise.
25863 * intl/tst-gettext4.sh Likewise.
25864 * intl/tst-gettext6.sh: Likewise.
25865 * intl/tst-translit.sh: Likewise.
25866 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
25867 with $(test-program-cmd).
25868 * libio/Makefile ($(objpfx)test-freopen.out): Replace
25869 $(run-program-prefix) with $(test-program-prefix).
25870 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
25871 (test_program_prefix): This.
25872 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
25873 $(run-program-prefix) with $(test-program-prefix).
25874 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
25875 (test_program_prefix): This.
25876 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
25877 * posix/Makefile ($(objpfx)globtest.out): Replace
25878 $(run-via-rtld-prefix) and $(test-wrapper) with
25879 $(test-program-prefix) and $(test-via-rtld-prefix).
25880 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
25881 $(test-program-prefix).
25882 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
25883 $(host-test-program-cmd).
25884 (tst-spawn-ARGS): Likewise.
25885 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
25886 $(test-program-prefix).
25887 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
25888 (test_via_rtld_prefix): This.
25889 (test_wrapper): Renamed to ...
25890 (test_program_prefix): This.
25891 (run_program_prefix): Replaced by test_program_prefix.
25892 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
25893 (test_program_prefix): This.
25894 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
25895 with $(host-test-program-cmd).
25896 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
25897 $(run-program-prefix) with $(test-program-prefix).
25898 ($(objpfx)tst-printf.out): Likewise.
25899 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
25900 $(test-program-cmd).
25901 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
25902 (test_program_prefix): This.
25903 * stdio-common/tst-unbputc.sh: Likewise.
25904 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
25905 $(run-program-prefix) with $(test-program-prefix).
25906 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
25907 (test_program_prefix): This.
25908 * string/Makefile ($(objpfx)tst-svc.out): Replace
25909 $(built-program-cmd) with $(test-program-cmd).
25910
c6fe55cf
AJ
259112013-01-11 Andreas Jaeger <aj@suse.de>
25912
25913 [BZ #15003]
25914 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
25915 value. Sync with Linux 3.7.
25916
9e6919c8
DM
259172013-01-10 David S. Miller <davem@davemloft.net>
25918
25919 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
25920 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
25921 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
25922
1c9f1a02
RM
259232013-01-10 Roland McGrath <roland@hack.frob.com>
25924
25925 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
25926 never set.
25927 * configure: Regenerated.
25928
b9de2dde
DM
259292013-01-10 David S. Miller <davem@davemloft.net>
25930
25931 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
25932 sparc V9 rather than using V8 code.
25933 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
25934 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
25935
e7f68ef4
RM
259362013-01-10 Roland McGrath <roland@hack.frob.com>
25937
25938 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
25939 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
25940 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
25941 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
25942 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
25943 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
25944 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
25945 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
25946 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
25947 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
25948 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
25949 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
25950 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
25951 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
25952 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
25953 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
25954 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
25955 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
25956 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
25957 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
25958 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
25959 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
25960 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
25961 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
25962 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
25963 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
25964 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
25965
5a47cc9c
DM
259662013-01-10 David S. Miller <davem@davemloft.net>
25967
25968 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25969
4cf8f209
L
259702013-01-10 H.J. Lu <hongjiu.lu@intel.com>
25971
25972 * posix/Makefile (tests-static): New variable.
25973 (tests): Add $(tests-static).
25974 (tst-exec-static-ARGS): New variable.
25975 (tst-spawn-static-ARGS): Likewise.
25976 * posix/tst-exec-static.c: New file.
25977 * posix/tst-spawn-static.c: Likewise.
25978 * posix/tst-exec.c: Support run directly.
25979 * posix/tst-spawn.c: Likewise.
25980
fed0faa1
JM
259812013-01-10 Joseph Myers <joseph@codesourcery.com>
25982
828beb13
JM
25983 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
25984 long.
25985 * math/bits/mathcalls.h (llrint): Likewise.
25986 (llround): Likewise.
25987 * stdlib/stdlib.h (struct drand48_data): Likewise.
25988 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
25989 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
25990 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
25991 Likewise.
25992 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
25993 Likewise.
25994 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
25995 (elf_greg_t): Likewise.
25996 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
25997 (__jmp_buf): Likewise.
25998 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
25999 definitions.
26000 (llrint): Likewise, for all definitions.
26001 (llrintl): Likewise.
26002
fed0faa1
JM
26003 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
26004 Remove [__GNUC__] condition.
26005 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
26006 condition to just [__USE_ISOC99].
26007 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
26008
1a20cb20
L
260092013-01-10 H.J. Lu <hongjiu.lu@intel.com>
26010
26011 [BZ #14200]
26012 * sysdeps/unix/sysv/linux/x86/bits/environments.h
26013 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
26014 defined.
26015 (_POSIX_V6_ILP32_OFF32): Likewise.
26016 (_XBS5_ILP32_OFF32): Likewise.
26017 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
26018 (__ILP32_OFFBIG_LDFLAGS): Likewise.
26019
751b85f7
SP
260202013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
26021
7490eb81
SP
26022 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
26023
751b85f7
SP
26024 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
26025 doubles __mpexp_twomm1. Adjust usage.
26026 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
26027 Remove.
26028
988197f0
AS
260292013-01-10 Andreas Schwab <schwab@suse.de>
26030
26031 [BZ #14964]
26032 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
26033 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
26034
e83d7298
DM
260352013-01-09 David S. Miller <davem@davemloft.net>
26036
034ed64b 26037 [BZ #15003]
57f41c40
AS
26038 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
26039 (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
26040 (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
26041 (TCP_FASTOPEN): Define.
e83d7298
DM
26042 (tcp_repair_opt): New structure.
26043 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
26044 enum values.
57f41c40
AS
26045 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
26046 (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
26047 (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
e83d7298
DM
26048 (tcp_cookie_transactions): New structure.
26049
d5e0b9bd
AB
260502013-01-09 Anton Blanchard <anton@samba.org>
26051
26052 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
26053 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
26054 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
26055 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
26056
0c07e3ea
JM
260572013-01-09 Joseph Myers <joseph@codesourcery.com>
26058
26059 * include/features.h (__USE_ANSI): Remove.
26060
232f7002
RM
260612013-01-09 Roland McGrath <roland@hack.frob.com>
26062
ad98e30c
RM
26063 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
26064
232f7002
RM
26065 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
26066
950c99ca
SP
260672013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
26068
b5792741
SP
26069 * sysdeps/s390/fpu/libm-test-ulps: Update.
26070
47cf2278
SP
26071 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26072
950c99ca
SP
26073 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
26074 (__acr): Likewise.
26075 (__cpy): Likewise.
26076 (norm): Likewise.
26077 (denorm): Likewise.
26078 (__mp_dbl): Likewise.
26079 (__dbl_mp): Likewise.
26080 (add_magnitudes): Likewise.
26081 (sub_magnitudes): Likewise.
26082 (__add): Likewise.
26083 (__sub): Likewise.
26084 (__mul): Likewise.
26085 (__inv): Likewise.
26086 (__dvd): Likewise.
26087 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
26088 (__acr): Likewise.
26089 (__cpy): Likewise.
26090 (norm): Likewise.
26091 (denorm): Likewise.
26092 (__mp_dbl): Likewise.
26093 (__dbl_mp): Likewise.
26094 (add_magnitudes): Likewise.
26095 (sub_magnitudes): Likewise.
26096 (__add): Likewise.
26097 (__sub): Likewise.
26098 (__mul): Likewise.
26099 (__inv): Likewise.
26100 (__dvd): Likewise.
26101 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
26102 (__acr): Likewise.
26103 (__cpy): Likewise.
26104 (norm): Likewise.
26105 (denorm): Likewise.
26106 (__mp_dbl): Likewise.
26107 (__dbl_mp): Likewise.
26108 (add_magnitudes): Likewise.
26109 (sub_magnitudes): Likewise.
26110 (__add): Likewise.
26111 (__sub): Likewise.
26112 (__mul): Likewise.
26113 (__inv): Likewise.
26114 (__dvd): Likewise.
26115
eede9df9
JM
261162013-01-08 Joseph Myers <joseph@codesourcery.com>
26117
26118 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
26119 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
26120 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
26121 2 && __USE_EXTERN_INLINES]: Likewise.
26122
c40ea3d9
AJ
261232013-01-08 Andreas Jaeger <aj@suse.de>
26124
26125 [BZ# 14985]
26126 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
26127 Remove.
26128 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
26129 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
26130
2ccdea26
AB
261312013-01-07 Anton Blanchard <anton@samba.org>
26132
26133 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
26134 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
26135 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
26136 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
26137 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
26138 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
26139 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
26140 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
26141 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
26142 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
26143 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
26144 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
26145 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
26146 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
26147 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
26148 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
26149 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
26150 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
26151 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
26152 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
26153 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
26154 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
26155 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
26156 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
26157 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
26158 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
26159 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
26160 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
26161 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
26162 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
26163 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
26164 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
26165 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
26166 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
26167 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
26168 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
26169 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
26170 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
26171 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
26172 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
26173 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
26174 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
26175 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
26176
a9708fed
JM
261772013-01-07 Joseph Myers <joseph@codesourcery.com>
26178
375607b9
JM
26179 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
26180 (__MALLOC_PMT): Likewise.
26181 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
26182 [__GNUC__], only on [_LIBC].
26183 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
26184 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
26185 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
26186 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
26187 forward declaration.
26188 (realloc_hook_ini): Likewise.
26189 (memalign_hook_ini): Likewise.
26190 (__libc_memalign): Do not use __MALLOC_PMT in variable
26191 declaration.
26192 (__libc_valloc): Likewise.
26193 (__libc_pvalloc): Likewise.
26194 (__libc_calloc): Likewise.
26195 (__posix_memalign): Likewise.
26196
a9708fed
JM
26197 [BZ #14996]
26198 * math/s_casinh.c: Include <float.h>.
26199 (__casinh): Do not do computation with squaring and square root
26200 for large arguments.
26201 * math/s_casinhf.c: Include <float.h>.
26202 (__casinhf): Do not do computation with squaring and square root
26203 for large arguments.
26204 * math/s_casinhl.c: Include <float.h>.
26205 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
26206 (__casinhl): Do not do computation with squaring and square root
26207 for large arguments.
26208 * math/libm-test.inc (casin_test): Add more tests.
26209 (casinh_test): Likewise.
26210 * sysdeps/i386/fpu/libm-test-ulps: Update.
26211 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26212
afec409a
L
262132013-01-04 H.J. Lu <hongjiu.lu@intel.com>
26214
26215 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
26216 (__x86_64_raw_data_cache_size): Likewise.
26217 (__x86_64_data_cache_size_half): Likewise.
26218 (__x86_64_raw_data_cache_size_half): Likewise.
26219 (__x86_64_shared_cache_size): Likewise.
26220 (__x86_64_raw_shared_cache_size): Likewise.
26221 (__x86_64_shared_cache_size_half): Likewise.
26222 (__x86_64_raw_shared_cache_size_half): Likewise.
26223 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
26224 to ...
26225 (__x86_data_cache_size): This.
26226 (__x86_64_raw_data_cache_size): Renamed to ...
26227 (__x86_raw_data_cache_size): This.
26228 (__x86_64_data_cache_size_half): Renamed to ...
26229 (__x86_data_cache_size_half): This.
26230 (__x86_64_raw_data_cache_size_half): Renamed to ...
26231 (__x86_raw_data_cache_size_half): This.
26232 (__x86_64_shared_cache_size): Renamed to ...
26233 (__x86_shared_cache_size): This.
26234 (__x86_64_raw_shared_cache_size): Renamed to ...
26235 (__x86_raw_shared_cache_size): This.
26236 (__x86_64_shared_cache_size_half): Renamed to ...
26237 (__x86_shared_cache_size_half): This.
26238 (__x86_64_raw_shared_cache_size_half): Renamed to ...
26239 (__x86_raw_shared_cache_size_half): This.
26240 * sysdeps/x86_64/memcpy.S: Updated.
26241 * sysdeps/x86_64/memset.S: Likewise.
26242 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
26243 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
26244 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
26245
0b3986d0
DM
262462013-01-04 David S. Miller <davem@davemloft.net>
26247
26248 * sysdeps/sparc/fpu/libm-test-ulps: Update.
26249
e47686e9
AS
262502013-01-04 Andreas Schwab <schwab@linux-m68k.org>
26251
d643bac1
AS
26252 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
26253 1 to avoid redefinition warning.
26254 (__USE_GNU): Don't define.
26255 (init_signaling_nan): Protoize.
26256
e47686e9
AS
26257 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26258
b18decba
SP
262592013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
26260
fffb407f
SP
26261 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
26262 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
26263 (__cpymn): Likewise.
26264 (norm): Remove commented code.
26265 (denorm): Likewise.
26266 (__mp_dbl): Likewise.
26267 (__inv): Likewise.
26268 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
26269 (__cpymn): Likewise.
26270 (norm): Remove commented code.
26271 (denorm): Likewise.
26272 (__mp_dbl): Likewise.
26273 (__inv): Likewise.
26274
b18decba
SP
26275 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
26276 mp_no value for 1.0 and 2.0.
26277 (norm): Use RADIXI instead of radixi.d.
26278 (denorm): Likewise.
26279 (__mul): Use 0.0 instead of zero.d.
26280 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
26281 mp_no value for 1.0 and 2.0.
26282 (norm): Use RADIXI instead of radixi.d.
26283 (denorm): Likewise.
26284 (__mul): Use 0.0 instead of zero.d.
26285
cdc1c96f
JM
262862013-01-04 Joseph Myers <joseph@codesourcery.com>
26287
26288 [BZ #14994]
26289 * math/s_casinh.c (__casinh): Reduce finite argument to first
26290 quadrant then set signs of results at the end.
26291 * math/s_casinhf.c (__casinhf): Likewise.
26292 * math/s_casinhl.c (__casinhl): Likewise.
26293 * math/libm-test.inc (casin_test): Add more tests.
26294 (casinh_test): Likewise.
26295 * sysdeps/i386/fpu/libm-test-ulps: Update.
26296 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26297
302913e1
SP
262982013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
26299
6420d207
SP
26300 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
26301
a9e48ab4
SP
26302 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
26303
b7837264
SP
26304 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
26305 declarations.
26306 (denorm): Likewise.
26307 (__mp_dbl): Likewise.
26308 (__inv): Likewise.
26309
f8af25d2
SP
26310 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
26311 and adjust the header comment.
26312
302913e1
SP
26313 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
26314 variable name from declaration.
26315
5d7dd1ca
L
263162013-01-03 H.J. Lu <hongjiu.lu@intel.com>
26317
26318 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
26319 Initialize COMMON_CPUID_INDEX_7 element.
26320 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
26321 (CPUID_RTM): Likewise.
26322 (HAS_RTM): Likewise.
26323 (COMMON_CPUID_INDEX_7): New enum.
26324
2f5f40f4
AS
263252013-01-03 Andreas Schwab <schwab@linux-m68k.org>
26326
26327 [BZ #14981]
26328 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
26329 size is zero, record memory as freed.
26330
4056f4a0
AJ
263312013-01-03 Andreas Jaeger <aj@suse.de>
26332
26333 * po/ia.po: Add new Interlingua translation.
26334
ab15736f 263352012-01-03 Allan McRae <allan@archlinux.org>
fd80f0b7
AM
26336
26337 * locale/programs/localedef.c: Fix description of '--posix' flag.
26338
568035b7
JM
263392013-01-02 Joseph Myers <joseph@codesourcery.com>
26340
e6898b8d
JM
26341 * NEWS: Update dates in second copyright notice.
26342 * README: Update copyright dates in example.
26343 * manual/libc.texinfo: Update copyright dates.
26344 * scripts/test-installation.pl: Update copyright date in --version
26345 output.
26346
0e2f9562
JM
26347 * hurd/ctty-input.c: Fix copyright notice formatting.
26348 * hurd/ctty-output.c: Likewise.
26349 * hurd/dtable.c: Likewise.
26350 * hurd/hurd-raise.c: Likewise.
26351 * hurd/hurdprio.c: Likewise.
26352 * hurd/msgportdemux.c: Likewise.
26353 * misc/sys/file.h: Likewise.
26354 * misc/sys/ioctl.h: Likewise.
26355 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
26356 * sysdeps/mach/hurd/chdir.c: Likewise.
26357 * sysdeps/mach/hurd/fchdir.c: Likewise.
26358 * sysdeps/mach/hurd/rename.c: Likewise.
26359 * sysdeps/mach/hurd/rmdir.c: Likewise.
26360 * sysdeps/mach/hurd/seekdir.c: Likewise.
26361 * sysdeps/mach/hurd/setsid.c: Likewise.
26362 * sysdeps/posix/wait3.c: Likewise.
26363
568035b7
JM
26364 * All files with FSF copyright notices: Update copyright dates
26365 using scripts/update-copyrights.
26366 * intl/plural.c: Regenerated.
26367 * locale/programs/charmap-kw.h: Likewise.
26368 * locale/programs/locfile-kw.h: Likewise.
26369
da08f647
SP
263702013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
26371
0f5477af
SP
26372 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
26373 four values.
26374
44e0d4c2
SP
26375 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
26376 calculation loop and add branch prediction.
26377
4d55b4e5
SP
26378 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
26379 check access beyond bounds of m1np.
26380
da08f647
SP
26381 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
26382 MPTWO.
26383 (__inv): Remove local variable MPTWO to use the global
26384 constant.
26385 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
26386 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
26387 variable MPTWO.
26388 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
26389 MP3HALFS static const.
26390
8e051029
DM
263912013-01-01 David S. Miller <davem@davemloft.net>
26392
26393 * po/ca.po: Update from translation team.
26394
f4cf5f2d
JM
263952013-01-01 Joseph Myers <joseph@codesourcery.com>
26396
26397 * scripts/update-copyrights: New file.
26398 * Makeconfig: Reformat copyright notice.
26399 * ctype/ctype.h: Likewise.
26400 * debug/swprintf_chk.c: Likewise.
26401 * elf/dl-cache.c: Likewise.
26402 * elf/dl-debug.c: Likewise.
26403 * elf/dl-object.c: Likewise.
26404 * grp/initgroups.c: Likewise.
26405 * hurd/Makefile: Likewise.
26406 * hurd/hurd/signal.h: Likewise.
26407 * hurd/hurdfault.c: Likewise.
26408 * hurd/hurdioctl.c: Likewise.
26409 * hurd/hurdlookup.c: Likewise.
26410 * hurd/intr-msg.c: Likewise.
26411 * iconv/gconv_open.c: Likewise.
26412 * libio/swprintf.c: Likewise.
26413 * locale/lc-ctype.c: Likewise.
26414 * locale/nl_langinfo.c: Likewise.
26415 * mach/Machrules: Likewise.
26416 * mach/Makefile: Likewise.
26417 * malloc/obstack.h: Likewise.
26418 * manual/Makefile: Likewise.
26419 * manual/tsort.awk: Likewise.
26420 * misc/bits/stab.def: Likewise.
26421 * nis/nis_print_group_entry.c: Likewise.
26422 * nis/nis_table.c: Likewise.
26423 * nis/nss_compat/compat-pwd.c: Likewise.
26424 * nis/nss_compat/compat-spwd.c: Likewise.
26425 * po/Makefile: Likewise.
26426 * posix/fnmatch.c: Likewise.
26427 * posix/regex.h: Likewise.
26428 * resolv/Makefile: Likewise.
26429 * resolv/nss_dns/dns-network.c: Likewise.
26430 * resolv/res_hconf.c: Likewise.
26431 * scripts/gen-sorted.awk: Likewise.
26432 * soft-fp/soft-fp.h: Likewise.
26433 * stdio-common/printf.h: Likewise.
26434 * stdlib/monetary.h: Likewise.
26435 * stdlib/random.c: Likewise.
26436 * stdlib/random_r.c: Likewise.
26437 * sysdeps/generic/Makefile: Likewise.
26438 * sysdeps/gnu/Makefile: Likewise.
26439 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
26440 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
26441 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
26442 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
26443 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
26444 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
26445 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
26446 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
26447 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
26448 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
26449 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
26450 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
26451 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
26452 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
26453 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
26454 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
26455 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
26456 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
26457 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
26458 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
26459 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
26460 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
26461 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
26462 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
26463 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
26464 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
26465 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
26466 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
26467 * sysdeps/mach/hurd/errnos.awk: Likewise.
26468 * sysdeps/mach/hurd/fork.c: Likewise.
26469 * sysdeps/mach/hurd/getcwd.c: Likewise.
26470 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
26471 * sysdeps/mach/hurd/mmap.c: Likewise.
26472 * sysdeps/mach/hurd/utimes.c: Likewise.
26473 * sysdeps/mach/hurd/xmknod.c: Likewise.
26474 * sysdeps/posix/profil.c: Likewise.
26475 * sysdeps/posix/readdir_r.c: Likewise.
26476 * sysdeps/powerpc/bits/mathdef.h: Likewise.
26477 * sysdeps/powerpc/bits/setjmp.h: Likewise.
26478 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
26479 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
26480 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
26481 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
26482 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
26483 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
26484 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
26485 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
26486 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
26487 * sysdeps/pthread/lio_listio.c: Likewise.
26488 * sysdeps/sparc/dl-procinfo.h: Likewise.
26489 * sysdeps/unix/i386/sysdep.S: Likewise.
26490 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
26491 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
26492 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
26493 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
26494 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
26495 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
26496 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
26497 * sysdeps/unix/sysv/linux/speed.c: Likewise.
26498 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
26499 * sysdeps/wordsize-32/divdi3.c: Likewise.
26500 * time/sys/time.h: Likewise.
26501 * wcsmbs/Makefile: Likewise.
26502
0549fbba
DM
265032013-01-01 David S. Miller <davem@davemloft.net>
26504
a141f1a7
DM
26505 * po/fr.po: Update from translation team.
26506
0549fbba
DM
26507 * catgets/gencat.c: Update copyright year.
26508 * csu/version.c: Likewise.
26509 * debug/catchsegv.sh: Likewise.
26510 * debug/pcprofiledump.c: Likewise.
26511 * debug/xtrace.sh: Likewise.
26512 * elf/ldconfig.c: Likewise.
26513 * elf/ldd.bash.in: Likewise.
26514 * elf/pldd.c: Likewise.
26515 * elf/sotruss.ksh: Likewise.
26516 * elf/sprof.c: Likewise.
26517 * iconv/iconv_prog.c: Likewise.
26518 * iconv/iconvconfig.c: Likewise.
26519 * locale/programs/locale.c: Likewise.
26520 * locale/programs/localedef.c: Likewise.
26521 * login/programs/pt_chown.c: Likewise.
26522 * malloc/memusage.sh: Likewise.
26523 * malloc/memusagestat.c: Likewise.
26524 * malloc/mtrace.pl: Likewise.
26525 * nscd/nscd.c: Likewise.
26526 * nss/getent.c: Likewise.
26527 * nss/makedb.c: Likewise.
26528 * posix/getconf.c: Likewise.
26529
18ea052c
SP
265302012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
26531
26532 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
26533 numbers.
26534
9c89fca6
MF
265352012-12-30 Mike Frysinger <vapier@gentoo.org>
26536
26537 * math/bits/mathcalls.h (modf): Use __nonnull.
26538
085ec079
SP
265392012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
26540
26541 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
26542 (split): Use macro CN instead of the bare value.
26543 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
26544 could be used.
26545 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
26546 instead of the bare value.
26547 (power1): Likewise.
26548
6d9f97e1
SP
265492012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
26550
d63f73be
SP
26551 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
26552 __ATAN_TWOM.
26553 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
26554
6d9f97e1
SP
26555 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
26556 their values.
26557 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
26558 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
26559 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
26560 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
26561
4c4febf5
AJ
265622012-12-28 Andreas Jaeger <aj@suse.de>
26563
af5843ef
AJ
26564 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
26565 values are from Linux 3.7.
26566
4c4febf5
AJ
26567 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
26568 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
26569
99136f82
SP
265702012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
26571
2f216c3c 26572 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
91998e44
SP
26573 TRUE case.
26574
99136f82
SP
26575 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
26576 (norm): Likewise.
26577 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
26578 variables with preprocessor constants.
26579 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
26580 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
26581 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
26582
7fffbdff
BH
265832012-12-27 Bruno Haible <bruno@clisp.org>
26584
26585 [BZ #14317]
26586 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
26587 only if needed.
26588
b76eb5f0
SP
265892012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
26590
31a7fe5c
SP
26591 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
26592 and use variable directly.
26593 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
26594
b76eb5f0
SP
26595 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
26596 MPONE.
26597 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
26598 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
26599 variable MPONE.
26600 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
26601 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
26602 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
26603 include directive. Remove local variable MPONE.
26604 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
26605 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
26606 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
26607
2c8bfe7d
DM
266082012-12-25 David S. Miller <davem@davemloft.net>
26609
26610 * version.h (RELEASE): Set to "development".
26611 (VERSION): Set to "2.17.90".
26612 * NEWS: Add 2.18 section.
26613
147d03b0
DM
266142012-12-21 David S. Miller <davem@davemloft.net>
26615
26616 * po/hr.po: Update from translation team.
26617
a8ebb2b9
AK
266182012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26619
26620 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
26621
95b4f1b6
SE
266222012-12-19 Steve Ellcey <sellcey@mips.com>
26623
b2d94007 26624 * NEWS: Mention new memcpy for MIPS.
95b4f1b6 26625
cedb2a90
MS
266262012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
26627
26628 * manual/contrib.texi (Contributors): Spelling correction.
26629
bbf527d6
DM
266302012-12-15 David S. Miller <davem@davemloft.net>
26631
26632 * po/ru.po: Update from translation team.
26633
bc38c906
DM
266342012-12-13 David S. Miller <davem@davemloft.net>
26635
85429b1a
DM
26636 * NEWS: Mention IFUNC testsuite enhancements.
26637
d283e353
DM
26638 * po/pl.po: Update from translation team.
26639 * po/bg.po: Likewise.
26640
bc38c906
DM
26641 * manual/contrib.texi (Contributors): Update entries for Hongjiu
26642 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
26643
a181b0d7
DM
266442012-12-11 David S. Miller <davem@davemloft.net>
26645
4641d57e
DM
26646 * po/sv.po: Update from translation team.
26647
f7bc6495
DM
26648 * po/vi.po: Update from translation team.
26649
6fc9048f
DM
26650 * po/cs.po: Update from translation team.
26651
a181b0d7
DM
26652 * po/de.po: Update from translation team.
26653 * po/eo.po: Likewise.
26654 * po/nl.po: Likewise.
26655
f70bfe80
SP
266562012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
26657
3c8b4190
SP
26658 [BZ #14246]
26659 * manual/argp.texi (Argp Helper Functions): Move node to follow
26660 Argp Parsing State.
26661
f70bfe80
SP
26662 [BZ #14872]
26663 * manual/conf.texi (Limits on File System Capacity): Mention if
26664 terminating null is included in the max size.
26665
188f0adf
AJ
266662012-12-10 Andreas Jaeger <aj@suse.de>
26667
26668 * po/cs.po: Update from translation team.
26669
56e7d3ad
SP
266702012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
26671
26672 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
26673 void pointer and cast to uintptr_t.
26674 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
26675 path.
26676 * sysdeps/s390/s390-64/memcpy.S: Likewise.
26677 * sysdeps/s390/s390-64/memset.S: Likewise.
26678
76f2d2ea 266792012-12-08 Benno Schulenberg <bensberg@justemail.net>
c430c4af
BS
26680
26681 [BZ #14833]
26682 * menual/message.texi (Message Translation): Fix typos.
26683 (Helper programs for gettext): Likewise.
26684
67cbf9a2
AS
266852012-12-07 Andreas Schwab <schwab@linux-m68k.org>
26686
26687 [BZ #14898]
26688 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
26689 Change to -1.
26690
682d0e9a
DM
266912012-12-07 David S. Miller <davem@davemloft.net>
26692
26693 * po/libc.pot: Update.
26694
573cd484
RH
266952012-12-07 Richard Henderson <rth@redhat.com>
26696
7e9da188 26697 [BZ #10114]
573cd484
RH
26698 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
26699 normal/normal case to before the switch.
26700 (_FP_DIV): Likewise.
26701
e933a943
MF
267022012-12-06 Carlos O'Donell <carlos@systemhalted.org>
26703 Mike Frysinger <vapier@gentoo.org>
26704
26705 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
26706 check for __NR_fadvise64_64.
26707
82123268
CM
267082012-12-06 Chris Metcalf <cmetcalf@tilera.com>
26709
26710 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
26711 0, not just to plain "0" as a statement.
26712 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
26713 with cw.
26714
d9814526
JM
267152012-12-06 Joseph Myers <joseph@codesourcery.com>
26716
26717 * NEWS: Use sourceware.org in Bugzilla URL.
26718
7728c574
SP
267192012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
26720
f16946dd
SP
26721 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
26722 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
26723
5704bbcb
SP
26724 * stdio-common/tst-put-error.c (do_test): Add newline to the
26725 padded test to ensure flush.
26726
17aa0516
JL
267272012-12-05 Jeff Law <law@redhat.com>
26728
26729 * sunrpc/etc.rpc (fedfs_admin): Add entry.
26730
363313b5
JM
267312012-12-05 Joseph Myers <joseph@codesourcery.com>
26732
effbd42a
JM
26733 * README: Don't refer to ports add-on as distributed separately.
26734 Mention AArch64 in list of systems supported in the ports add-on.
26735
87600365
JM
26736 * LICENSES: Add more non-FSF copyright and license notices.
26737
a0d7066a
JM
26738 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
26739 ((unused)).
26740
66ca5a5b
JM
26741 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
26742
363313b5
JM
26743 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
26744 10000 as width of padded output.
26745
b37984ad
JM
267462012-12-04 Joseph Myers <joseph@codesourcery.com>
26747
9003570a
JM
26748 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
26749
b37984ad
JM
26750 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
26751 variable LX with __attribute__ ((unused)).
26752 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
26753 Likewise.
26754 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
26755 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
26756 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
26757 with __attribute__ ((unused)).
26758
c8df52ec
DM
267592012-12-04 David S. Miller <davem@abraco.davemloft.net>
26760
26761 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
26762
b3b099af
JM
267632012-12-04 Joseph Myers <joseph@codesourcery.com>
26764
c33aa6e3
JM
26765 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
26766 (CFLAGS-nldbl-acos.c): New variable.
26767 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
26768 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
26769 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
26770 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
26771 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
26772 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
26773 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
26774 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
26775 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
26776 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
26777 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
26778 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
26779 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
26780 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
26781 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
26782 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
26783 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
26784 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
26785 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
26786 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
26787 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
26788 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
26789 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
26790 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
26791 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
26792 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
26793 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
26794 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
26795 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
26796 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
26797 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
26798 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
26799 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
26800 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
26801 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
26802 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
26803 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
26804 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
26805 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
26806 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
26807 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
26808 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
26809 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
26810 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
26811 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
26812 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
26813 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
26814 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
26815 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
26816 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
26817 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
26818 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
26819 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
26820 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
26821 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
26822 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
26823 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
26824 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
26825 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
26826 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
26827 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
26828 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
26829 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
26830 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
26831 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
26832 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
26833 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
26834 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
26835 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
26836 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
26837 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
26838 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
26839 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
26840 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
26841 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
26842 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
26843 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
26844 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
26845 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
26846 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
26847 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
26848 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
26849 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
26850 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
26851 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
26852 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
26853 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
26854 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
26855 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
26856 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
26857 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
26858 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
26859 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
26860 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
26861 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
26862 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
26863 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
26864
20f0018d
JM
26865 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
26866 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
26867
b3b099af
JM
26868 [BZ #14914]
26869 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
26870 whole low double instead of just low 47 bits when splitting values
26871 into two parts.
26872
029264d1
AM
268732012-12-03 Allan McRae <allan@archlinux.org>
26874
26875 * manual/stdio.texi (Predefined Printf Handlers): Remove
26876 @hsep and @vsep usage.
26877
c9d6789e
MF
268782012-12-03 Mike Frysinger <vapier@gentoo.org>
26879
26880 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
26881 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
26882
4b7634a5
JL
268832012-12-03 Jeff Law <law@redhat.com>
26884
26885 * time/sys/time.h (settimeofday): Do not mark TV argument
26886 as __nonnull.
26887
eb6cbd24
MF
268882012-12-01 Mike Frysinger <vapier@gentoo.org>
26889
26890 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
26891 when currently writing and seek to current position when not.
26892 * libio/Makefile (tests): Remove bug-fclose1.
26893 * libio/bug-fclose1.c: Delete.
26894
f638872a
JM
268952012-12-01 Joseph Myers <joseph@codesourcery.com>
26896
26897 * manual/arith.texi (feenableexcept): Fix typo.
26898 (fedisableexcept): Likewise.
26899
48085d14
RM
269002012-11-30 Roland McGrath <roland@hack.frob.com>
26901
26902 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
26903 second, differently-typed declaration, rather than a cast.
26904
1a538b9f
SP
269052012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
26906
26907 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
26908 * include/rpc/svc.h: ... here.
26909
d07f2ff1 269102012-11-30 Aurelien Jarno <aurel32@debian.org>
cc8bb21c
AJ
26911
26912 [BZ #13013]
26913 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
26914 depending n and resplen2 to catch cases where answer
26915 equals answerp2.
26916
c93ec1f0
CD
269172012-11-29 Carlos O'Donell <carlos@systemhalted.org>
26918
26919 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
26920 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
26921
37db69de
MF
269222012-11-29 Mike Frysinger <vapier@gentoo.org>
26923
26924 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
26925
e10c4e4f
RM
269262012-11-29 Roland McGrath <roland@hack.frob.com>
26927
26928 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
26929
2af1b328
JL
269302012-11-28 Jeff Law <law@redhat.com>
26931
26932 [BZ #13761]
26933 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
26934 dataset_temporary. Track alloca usage into alloca_used.
26935 If dataset is large allocate and release it via malloc/free.
26936
111db5b1
FW
269372012-06-04 Florian Weimer <fweimer@redhat.com>
26938
f06cc227 26939 [BZ #14197]
111db5b1
FW
26940 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
26941
dd694abd
DM
269422012-11-28 David S. Miller <davem@davemloft.net>
26943
26944 * sysdeps/sparc/fpu/libm-test-ulps: Update.
26945
9984dd01
JM
269462012-11-28 Joseph Myers <joseph@codesourcery.com>
26947
26948 [BZ #14803]
26949 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
26950 of pi/2 rounded to nearest to 64 bits.
26951 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
26952 nearest to 64 bits.
26953 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
26954 bits.
26955
14bc93a9
JL
269562012-11-28 Jeff Law <law@redhat.com>
26957 Martin Osvald <mosvald@redhat.com>
26958
26959 [BZ #14889]
26960 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
26961 * sunrpc/svc.c: Include time.h.
26962 (__svc_accept_failed): New function.
26963 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
26964 any reason other than EINTR, call __svc_accept_failed.
26965 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
26966 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
26967
e3c6aa3a
AS
269682012-11-28 Andreas Schwab <schwab@suse.de>
26969
26970 * scripts/abilist.awk: Also handle indirect functions in .opd
26971 section.
26972
1bead169
JM
269732012-11-28 Joseph Myers <joseph@codesourcery.com>
26974
26975 [BZ #13881]
26976 * sysdeps/x86/fpu/powl_helper.c: New file.
26977 * sysdeps/x86/fpu/Makefile: Likewise.
26978 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
26979 (p3): New object.
26980 (__ieee754_powl): Use __powl_helper for finite arguments except
26981 integer exponents below 8.
26982 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
26983 (p3): New object.
26984 (__ieee754_powl): Use __powl_helper for finite arguments except
26985 integer exponents below 8.
26986 * math/libm-test.inc (pow_test): Add more tests and enable some
26987 previously disabled tests.
26988 * sysdeps/i386/fpu/libm-test-ulps: Update.
26989 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26990
0817d63d
SP
269912012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
26992 Carlos O'Donell <carlos_odonell@mentor.com>
26993
26994 * nss/makedb.c (is_prime): Assert that input is odd and greater
26995 than 4. Note that fact in a comment too.
26996 (next_prime): Add 4 to input.
26997
de2fd463
SP
269982012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
26999
27000 [BZ #11741]
27001 * libio/Makefile (tests): Add test case tst-fwrite-error.
27002 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
27003 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
27004 * libio/tst-fwrite-error.c: New test case.
27005
c515fb51
L
270062012-11-26 H.J. Lu <hongjiu.lu@intel.com>
27007
27008 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
27009 before casting to void *.
27010 * include/libc-internal.h (__pointer_type): New macro.
27011 (__integer_if_pointer_type_sub): Likewise.
27012 (__integer_if_pointer_type): Likewise.
27013 (cast_to_integer): Likewise.
27014 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
27015 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
27016 before casting to atomic64_t.
27017 (atomic_exchange_acq): Likewise.
27018 (__arch_exchange_and_add_body): Likewise.
27019 (__arch_add_body): Likewise.
27020 (atomic_add_negative): Likewise.
27021 (atomic_add_zero): Likewise.
27022
4cf77aa9
JM
270232012-11-26 Joseph Myers <joseph@codesourcery.com>
27024
27025 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
27026 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
27027 (add_fdes): Likewise.
27028 (linear_search_fdes): Likewise.
27029 (binary_search_unencoded_fdes): Likewise.
27030
d260b3b4
AS
270312012-11-26 Andreas Schwab <schwab@linux-m68k.org>
27032
27033 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
27034
67060746
AC
270352012-11-24 Adam Conrad <adconrad@0c3.net>
27036
27037 * configure.in: Autodetect C++ header directories.
27038 * configure: Regenerated.
27039
800938a1
MF
270402012-11-23 Mike Frysinger <vapier@gentoo.org>
27041
27042 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
27043
4e6e34e6
AS
270442012-11-23 Andreas Schwab <schwab@linux-m68k.org>
27045
27046 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27047
7c7feb47
JM
270482012-11-22 Joseph Myers <joseph@codesourcery.com>
27049
7184dcdf
JM
27050 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
27051 LDBL_MANT_DIG == 106]: Disable some tests.
27052 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
27053 Likewise.
27054 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
27055 Likewise.
27056
0a42601f
JM
27057 [BZ #14871]
27058 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
27059 input for small inputs. Return +/- pi/2 for large inputs.
27060 * math/libm-test.inc (atan_test): Add more tests.
27061
79c9b9fe
JM
27062 * sysdeps/generic/unwind-dw2-fde-glibc.c
27063 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
27064 __attribute__ ((unused)).
27065
c60d3bf2
JM
27066 [BZ #14645]
27067 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
27068 x * y if x and y are nonzero and z is zero.
27069
ef1e0867
JM
27070 [BZ #14811]
27071 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
27072 nonzero exponents with absolute value below 0x1p-117 to +/-
27073 0x1p-117.
27074
1468ded3
JM
27075 [BZ #14869]
27076 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
27077 up arguments below 2**-450, not just those below 2**-500.
27078 * math/libm-test.inc (hypot_test): Add another test.
27079
8e27e3cc
JM
27080 [BZ #14868]
27081 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
27082 Return a+b for ratio over 2**120, not 2**60.
27083 * math/libm-test.inc (hypot_test): Add another test.
27084
c9c0279b
JM
27085 * math/libm-test.inc (clog_test): Use
27086 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
27087 (clog10_test): Likewise.
27088
7c7feb47
JM
27089 [BZ #6778]
27090 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
27091
fff1530e
AS
270922012-11-22 Andreas Schwab <schwab@suse.de>
27093
27094 * sysdeps/i386/fpu/libm-test-ulps: Update.
27095
94558d30
PT
270962012-11-22 Pino Toscano <toscano.pino@tiscali.it>
27097
27098 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
27099 printf output with newline.
27100
7e1be741
L
271012012-11-21 H.J. Lu <hongjiu.lu@intel.com>
27102
6bfea974
L
27103 [BZ #14865]
27104 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
27105 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
27106 -z nodlopen, -z initfirst and -z execstack support.
27107 * configure: Regenerated.
27108
7e1be741
L
27109 * elf/elf.h (DF_1_NODIRECT): New macro.
27110 (DF_1_IGNMULDEF): Likewise.
27111 (DF_1_NOKSYMS): Likewise.
27112 (DF_1_NOHDR): Likewise.
27113 (DF_1_EDITED): Likewise.
27114 (DF_1_NORELOC): Likewise.
27115 (DF_1_SYMINTPOSE): Likewise.
27116 (DF_1_GLOBAUDIT): Likewise.
27117 (DF_1_SINGLETON): Likewise.
27118 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
27119 DT_1_SUPPORTED_MASK bits.
27120 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
27121
105ce2ce
CD
271222012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
27123
27124 * sysdeps/unix/make-syscalls.sh: Document prefixes.
27125
123be9de
TS
271262012-11-20 Thomas Schwinge <thomas@codesourcery.com>
27127
d072f3f7
TS
27128 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
27129 macro.
27130
123be9de
TS
27131 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
27132 (sendmmsg): Move declarations...
27133 * socket/sys/socket.h: ... here.
27134 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
27135 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
27136 include it from...
27137 * socket/recvmmsg.c: ... this new file.
27138 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
27139 (sendmmsg): Rename to __sendmmsg, create weak alias and make
27140 definition of __sendmmsg hidden.
27141 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
27142 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
27143 Move ENOSYS stub into and include it from...
27144 * socket/sendmmsg.c: ... this new file.
27145 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
27146 (sysdep_routines): Move recvmmsg and sendmmsg...
27147 * socket/Makefile (routines): ... here.
27148 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
27149 (GLIBC_PRIVATE): Add __sendmmsg.
27150 * include/sys/socket.h (__sendmmsg): Add declarations.
27151 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
27152 sendmmsg.
27153
cf9a5d18
JM
271542012-11-20 Joseph Myers <joseph@codesourcery.com>
27155
27156 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
27157 variable I1 with __attribute__ ((unused)).
27158 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
27159
ecd4caf9
JM
271602012-11-19 Joseph Myers <joseph@codesourcery.com>
27161
be14d48f
JM
27162 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
27163 DUMMY variables with __attribute__ ((unused)).
27164
ecd4caf9
JM
27165 * bits/byteswap.h: Include <bits/types.h>.
27166 (__bswap_64): Use __uint64_t instead of unsigned long long int.
27167
986cab95
PT
271682012-11-19 Pino Toscano <toscano.pino@tiscali.it>
27169
27170 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
27171 string_t. Do not manually set errno.
27172 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
27173 length with __strnlen. Make sure to both set errno and return it on
27174 failure.
27175
6d33cc9d
DM
271762012-11-19 David S. Miller <davem@davemloft.net>
27177
27178 With help from Joseph Myers.
27179 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
27180 very large arguments properly.
27181 * math/libm-test.inc (atan_test): New tests.
27182 (atan2_test): New tests.
27183 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27184 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
27185
ee663277
JM
271862012-11-19 Joseph Myers <joseph@codesourcery.com>
27187
877f2d8e
JM
27188 [BZ #14856]
27189 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
27190 Define to 3.
27191
116fc08a
JM
27192 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
27193 [POSIX] (EADDRNOTAVAIL): Likewise.
27194 [POSIX] (EAFNOSUPPORT): Likewise.
27195 [POSIX] (EALREADY): Likewise.
27196 [POSIX] (ECONNABORTED): Likewise.
27197 [POSIX] (ECONNREFUSED): Likewise.
27198 [POSIX] (ECONNRESET): Likewise.
27199 [POSIX] (EDESTADDRREQ): Likewise.
27200 [POSIX] (EDQUOT): Likewise.
27201 [POSIX] (EHOSTUNREACH): Likewise.
27202 [POSIX] (EIDRM): Likewise.
27203 [POSIX] (EISCONN): Likewise.
27204 [POSIX] (ELOOP): Likewise.
27205 [POSIX] (EMULTIHOP): Likewise.
27206 [POSIX] (ENETDOWN): Likewise.
27207 [POSIX] (ENETUNREACH): Likewise.
27208 [POSIX] (ENOBUFS): Likewise.
27209 [POSIX] (ENODATA): Likewise.
27210 [POSIX] (ENOLINK): Likewise.
27211 [POSIX] (ENOMSG): Likewise.
27212 [POSIX] (ENOPROTOOPT): Likewise.
27213 [POSIX] (ENOSR): Likewise.
27214 [POSIX] (ENOSTR): Likewise.
27215 [POSIX] (ENOTCONN): Likewise.
27216 [POSIX] (ENOTSOCK): Likewise.
27217 [POSIX] (EOPNOTSUPP): Likewise.
27218 [POSIX] (EOVERFLOW): Likewise.
27219 [POSIX] (EPROTO): Likewise.
27220 [POSIX] (EPROTONOSUPPORT): Likewise.
27221 [POSIX] (EPROTOTYPE): Likewise.
27222 [POSIX] (ESTALE): Likewise.
27223 [POSIX] (ETIME): Likewise.
27224 [POSIX] (ETXTBSY): Likewise.
27225 [POSIX] (EWOULDBLOCK): Likewise.
27226 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
27227 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
27228 [POSIX] (SEEK_CUR): Likewise.
27229 [POSIX] (SEEK_END): Likewise.
27230 [POSIX || UNIX98] (mode_t): Do not require.
27231 [POSIX] (off_t): Likewise.
27232 [POSIX] (pid_t): Likewise.
27233 [POSIX] (sys/stat.h): Do not allow header.
27234 [POSIX] (unistd.h): Likewise.
27235 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
27236 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
27237 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
27238 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
27239 require.
27240 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
27241 sigevent): Specify elements.
27242 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
27243 entry.
27244 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
27245 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
27246
a483863f
JM
27247 * conform/data/cpio.h-data [POSIX]: Disable whole file.
27248 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
27249 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
27250 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
27251 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
27252 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
27253 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
27254 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
27255 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
27256 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
27257 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
27258 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
27259 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
27260 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
27261 Likewise.
27262 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
27263 Likewise.
27264 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
27265 Likewise.
27266 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
27267 Likewise.
27268 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
27269 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
27270 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
27271 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
27272 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
27273 Specify lower bound on value.
27274 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
27275 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
27276 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
27277 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
27278 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
27279 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
27280 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
27281 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
27282 value.
27283 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
27284 as optional.
27285 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
27286 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
27287 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
27288 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
27289 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
27290 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
27291 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
27292 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
27293 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
27294 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
27295 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
27296 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
27297 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
27298 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
27299 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
27300 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
27301 entry.
27302 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
27303 optional.
27304 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
27305 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
27306 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
27307 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
27308 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
27309 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
27310 Likewise.
27311 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
27312 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
27313 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
27314 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
27315 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
27316 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
27317 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
27318 as optional.
27319 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
27320 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
27321 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
27322 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
27323 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
27324 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
27325 specify as optional.
27326 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
27327 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
27328 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
27329 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
27330 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
27331 [XPG3] (NL_LANGMAX): Likewise.
27332 [POSIX || XPG3] (NL_MSGMAX): Likewise.
27333 [POSIX || XPG3] (NL_NMAX): Likewise.
27334 [POSIX || XPG3] (NL_SETMAX): Likewise.
27335 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
27336 [XPG3] (NZERO): Likewise.
27337 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
27338 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
27339 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
27340 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
27341 (REG_ERANGE): Expect.
27342 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
27343 optional-constant.
27344 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
27345 Use (void) in prototype.
27346 [POSIX] (*_t): Allow.
27347 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
27348 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
27349 (WRDE_BADVAL): Expect.
27350
5ba924e3
JM
27351 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
27352 expect.
27353 [XPG3 || XPG4] (O_RSYNC): Likewise.
27354 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
27355 Likewise.
27356 [XPG3 || XPG4] (pthread_sigmask): Likewise.
27357 [XPG3 || XPG4] (sigqueue): Likewise.
27358 [XPG3 || XPG4] (sigtimedwait): Likewise.
27359 [XPG3 || XPG4] (sigwaitinfo): Likewise.
27360 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
27361 [XPG3 || XPG4] (vsnprintf): Likewise.
27362 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
27363 Likewise.
27364 [XPG3 || XPG4] (blksize_t): Likewise.
27365 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
27366 Likewise.
27367 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
27368 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
27369 [XPG3 || XPG4] (struct itimerspec): Likewise.
27370 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
27371 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
27372 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
27373 [XPG3 || XPG4] (clockid_t): Likewise.
27374 [XPG3 || XPG4] (timer_t): Likewise.
27375 [XPG3 || XPG4] (clock_getres): Likewise.
27376 [XPG3 || XPG4] (clock_gettime): Likewise.
27377 [XPG3 || XPG4] (clock_settime): Likewise.
27378 [XPG3 || XPG4] (nanosleep): Likewise.
27379 [XPG3 || XPG4] (timer_create): Likewise.
27380 [XPG3 || XPG4] (timer_delete): Likewise.
27381 [XPG3 || XPG4] (timer_gettime): Likewise.
27382 [XPG3 || XPG4] (timer_getoverrun): Likewise.
27383 [XPG3 || XPG4] (timer_settime): Likewise.
27384 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
27385 [XPG3 || XPG4] (getlogin_r): Likewise.
27386 [XPG3 || XPG4] (pread): Likewise.
27387 [XPG3 || XPG4] (pthread_atfork): Likewise.
27388 [XPG3 || XPG4] (pwrite): Likewise.
27389
ee663277
JM
27390 [BZ #14835]
27391 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
27392 <bits/siginfo.h>.
27393
942caa16
PT
273942012-11-19 Pino Toscano <toscano.pino@tiscali.it>
27395
e19af380
PT
27396 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
27397 finalizing MALLSTREAM.
27398
942caa16
PT
27399 * sysdeps/mach/hurd/syncfs.c: New file.
27400
cfde9b46
SP
274012012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
27402
27403 [BZ #14719]
27404 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
27405 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
27406 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
27407 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
27408 (_nss_dns_gethostbyname4_r): Likewise.
27409 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
27410 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
27411
f6da27e5
PH
274122012-11-19 Peng Haitao <penght@cn.fujitsu.com>
27413
27414 [BZ #13763]
27415 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
27416
6665d4a2
SM
274172012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
27418
1f51ee92
SM
27419 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
27420 * elf/cache.c (print_entry): Print ",AArch64" for
27421 FLAG_AARCH64_LIB64
27422
6665d4a2
SM
27423 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
27424 * elf/cache.c (print_entry): Print ",hard-float" for
27425 FLAG_ARM_LIBHF.
27426
05b227bd
DM
274272012-11-18 David S. Miller <davem@davemloft.net>
27428
27429 With help from Joseph Myers.
27430 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
27431 cutoff to 2**-13.
27432 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
27433 cutoff to 2**-25.
27434 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
27435 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
27436 small.
27437 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
27438 * math/libm-test.inc (y0_test): New tests.
27439 (y1_test): New tests.
27440 * sysdeps/i386/fpu/libm-test-ulps: Update.
27441 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
27442 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27443
786b0b67
AS
274442012-11-18 Andreas Schwab <schwab@linux-m68k.org>
27445
27446 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
27447 64-bit targets.
27448 * configure: Regenerated.
27449
8e18b86d
DM
274502012-11-17 David S. Miller <davem@davemloft.net>
27451
27452 [BZ #14811]
27453 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
27454 nonzero exponents with absolute value below 0x1p-128 to +/-
27455 0x1p-128.
27456
531f1ae0
JM
274572012-11-17 Joseph Myers <joseph@codesourcery.com>
27458
12df29e2
JM
27459 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
27460
150dc1a0
JM
27461 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
27462
531f1ae0
JM
27463 * posix/getconf-speclist.c: New file.
27464 * posix/posix-envs.def: Likewise.
27465 * posix/confstr.c (START_ENV_GROUP): New macro.
27466 (END_ENV_GROUP): Likewise.
27467 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
27468 (KNOWN_PRESENT_ENV_STRING): Likewise.
27469 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
27470 (UNKNOWN_ENVIRONMENT): Likewise.
27471 (confstr): Include posix-envs.def instead of handling
27472 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
27473 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
27474 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
27475 (END_ENV_GROUP): Likewise.
27476 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
27477 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
27478 (UNKNOWN_ENVIRONMENT): Likewise.
27479 (__sysconf): Include posix-envs.def instead of handling associated
27480 cases directly here.
27481 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
27482 preprocessing getconf-speclist.c rather than running getconf or
27483 generating empty file.
27484
a93f9cbc
PT
274852012-11-16 Pino Toscano <toscano.pino@tiscali.it>
27486
27487 * scripts/check-local-headers.sh: Ignore 'mach' headers.
27488
d64d9f87
AL
274892012-11-16 Andrej Lajovic <natrij@gmail.com>
27490
27491 [BZ #14672]
27492 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
27493
447885eb
DM
274942012-11-16 David S. Miller <davem@davemloft.net>
27495
27496 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
27497 smaller than LDBL_EPSILON/2.0L, just return xm1.
27498
bcbf9830
L
274992012-11-16 H.J. Lu <hongjiu.lu@intel.com>
27500
27501 * elf/tst-array1.c (init): Set constructor priority to 1000.
27502 (fini): Set destructor priority to 1000.
27503 * elf/tst-array2dep.c: Likewise.
27504
2b766585
SP
275052012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
27506
27507 [BZ #11741]
27508 * libio/fileops.c (_IO_new_file_write): Correctly return error.
27509 (_IO_new_file_xsputn): Also return EOF if none of the input
27510 data was written when overflow failed.
27511 * libio/iopadn.c (_IO_padn): Likewise.
27512 * libio/iowpadn.c (_IO_wpadn): Likewise.
27513 * stdio-common/tst-put-error.c: Add copyright notice.
27514 (do_test): Add case for printing padded string.
27515 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
27516 _IO_padn returned error.
27517 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
27518 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
27519 return EOF.
27520
b1848fde
SP
275212012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
27522
27523 * libio/libioP.h: Add comment note that the references to C++
27524 bits are now obsolete.
27525
2fd89785
MS
275262012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
27527
27528 * math/libm-test.inc (check_complex): Use asprintf.
27529
e3ea5409
JM
275302012-11-14 Joseph Myers <joseph@codesourcery.com>
27531
27532 * debug/pcprofiledump.c (print_version): Update copyright year.
27533 * malloc/memusagestat.c (print_version): Likewise.
27534
2e64d265
L
275352012-11-14 H.J. Lu <hongjiu.lu@intel.com>
27536
27537 [BZ #14831]
27538 * elf/Makefile (tests): Add tst-audit8.
27539 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
27540 ($(objpfx)tst-audit8.out): New target.
27541 (tst-audit8-ENV): New variable.
27542 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
27543 audit if l_reloc_result is NULL.
27544 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
27545 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
27546 * elf/tst-audit8.c: New file.
27547
c485e4d2
MS
275482012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
27549
27550 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
27551 * misc/Makefile (CFLAGS-select.c): Define.
27552 * posix/Makefile (CFLAGS-pause.c): Define.
27553
3a0d900a
DM
275542012-11-13 David S. Miller <davem@davemloft.net>
27555
27556 * crypt/Makefile: Move test targets after toplevel Rules
27557 inclusion. Grab any necessary sysdep routines when linking.
27558 * crypt/md5.c (md5_process_block): Remove define, we will always
27559 name it __md5_process_block.
27560 (md5_finish_ctx): Update md5_process_block call.
27561 (md5_stream): Likewise.
27562 (md5_process_bytes): Likewise.
27563 (md5_process_block): Rename to __md5_process_block and move to ...
27564 * crypt/md5-block.c: ... here.
27565 * crypt/sha256.c (sha256_process_block): Move to ...
27566 * crypt/sha256-block.c: ... here.
27567 * crypt/sha512.c (sha512_process_block): Move to ...
27568 * crypt/sha512-block.c: ... here.
27569 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
27570 path.
27571 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
27572 * sysdeps/sparc/sparc64/multiarch/Makefile
27573 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
27574 crypt subdir.
27575 (localedef-aux): Add md5 crypto assembler when in locale subdir.
27576 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
27577 multiarch changes.
27578 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
27579 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
27580 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
27581 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
27582 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
27583 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
27584 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
27585 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
27586 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
27587 file.
27588 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
27589 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
27590 file.
27591 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
27592
8ca89318
JM
275932012-11-13 Joseph Myers <joseph@codesourcery.com>
27594
e27d476a
JM
27595 * timezone/tzselect.ksh: Update from tzcode git revision
27596 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
27597 * timezone/zdump.c: Likewise.
27598 * timezone/zic.c: Likewise.
27599 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
27600 in TZVERSION setting, not $(PKGVERSION).
27601 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
27602 REPORT_BUGS_TO settings.
27603
8ca89318
JM
27604 [BZ #14838]
27605 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
27606 macro.
27607
47594329
MS
276082012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
27609
27610 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
27611 detection to immediately after _FP_ROUND().
27612 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
27613 bits are 0.
27614
640ac3f1
DM
276152012-11-11 David S. Miller <davem@davemloft.net>
27616
27617 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
27618 inttypes.h
27619 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
27620 __close rather than their public counterparts.
27621
3d2577bb
JM
276222012-11-10 Joseph Myers <joseph@codesourcery.com>
27623
27624 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
27625 file.
27626 [UNIX98] (sem_timedwait): Do not expect.
27627 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
27628 [XPG4 || UNIX98] (sockatmark): Do not expect.
27629 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
27630 (clock_getcpuclockid): Do not expect.
27631 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
27632 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
27633 Do not expect.
27634 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
27635 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
27636 [UNIX98] (vwscanf): Likewise.
27637 [UNIX98] (vswscanf): Likewise.
27638
fb1ae1ee
JM
276392012-11-09 Joseph Myers <joseph@codesourcery.com>
27640
9ec6f8bd
JM
27641 * timezone/version.h: Remove file.
27642 * timezone/README: Do not refer to version.h.
27643 * timezone/Makefile ($(objpfx)zic.o): New dependency on
27644 $(objpfx)version.h.
27645 ($(objpfx)zdump.o): Likewise.
c3f81911 27646 ($(objpfx)version.h): New target.
9ec6f8bd 27647
0aa8f8a1
JM
27648 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
27649 2012i.
27650 * timezone/README: Don't mention modification to tzselect.ksh.
27651 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
27652 work on unmodified tzselect.ksh. Substitute version numbers in
27653 tzselect.ksh.
27654
4e87147f
JM
27655 * Makefile (format-me): Remove.
27656 (INSTALL): Adjust indentation. Use commands directly instead of
27657 using $(format-me).
27658
8b748aed
JM
27659 * aclocal.m4 (ACX_PKGVERSION): New macro.
27660 (ACX_BUGURL): Likewise.
27661 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
27662 (PKGVERSION): New AC_DEFINE_UNQUOTED.
27663 (REPORT_BUGS_TO): Likewise.
27664 * configure: Regenerated.
27665 * config.h.in (PKGVERSION): New macro.
27666 (REPORT_BUGS_TO): Likewise.
27667 * config.make.in (PKGVERSION): New variable.
27668 (PKGVERSION_TEXI): Likewise.
27669 (REPORT_BUGS_TO): Likewise.
27670 (REPORT_BUGS_TEXI): Likewise.
27671 * Makefile (format-me): Use -I$(common-objpfx)manual.
27672 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
27673 ($(common-objpfx)manual/%): New target.
27674 (manual/%): Remove target.
27675 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
27676 (print_version): Use PKGVERSION.
27677 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
27678 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
27679 and REPORT_BUGS_TO.
27680 ($(objpfx)xtrace): Likewise.
27681 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
27682 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
27683 (print_version): Use PKGVERSION.
27684 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
27685 (do_version): Use PKGVERSION.
27686 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
27687 REPORT_BUGS_TO.
27688 (common-ldd-rewrite): Likewise.
27689 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
27690 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
27691 (print_version): Use PKGVERSION.
27692 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
27693 * elf/pldd.c (argp_program_bug_address): Remove variable.
27694 (more_help): New function.
27695 (argp): Use more_help.
27696 (print_version): Use PKGVERSION.
27697 * elf/sln.c (main): Use PKGVERSION.
27698 (usage): Use REPORT_BUGS_TO.
27699 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
27700 (top level): Use PKGVERSION.
27701 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
27702 (print_version): Use PKGVERSION.
27703 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
27704 (print_version): Use PKGVERSION.
27705 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
27706 (print_version): Use PKGVERSION.
27707 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
27708 (print_version): Use PKGVERSION.
27709 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
27710 (print_version): Use PKGVERSION.
27711 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
27712 (print_version): Use PKGVERSION.
27713 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
27714 and BUGURL.
27715 ($(objpfx)memusage): Likewise.
27716 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
27717 (do_version): Use PKGVERSION.
27718 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
27719 (print_version): Use PKGVERSION.
27720 * malloc/mtrace.pl ($PACKAGE): Remove variable.
27721 ($PKGVERSION): New variable.
27722 ($REPORT_BUGS_TO): Likewise.
27723 (usage): Use $REPORT_BUGS_TO.
27724 (top level): Use $PKGVERSION.
27725 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
27726 ($(objpfx)pkgvers.texi): New rule.
27727 ($(objpfx)stamp-pkgvers): Likewise.
27728 * manual/install.texi: Include pkgvers.texi.
27729 (--with-pkgversion): Document new configure option.
27730 (--with-bugurl): Likewise.
27731 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
27732 than necessarily for this particular distribution. Use
27733 REPORT_BUGS_TO for where to report bugs.
27734 * INSTALL: Regenerated.
27735 * manual/libc.texinfo: Include pkgvers.texi.
27736 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
27737 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
27738 (print_version): Use PKGVERSION.
27739 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
27740 (print_version): Use PKGVERSION.
27741 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
27742 (print_version): Use PKGVERSION.
27743 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
27744 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
27745 macro.
27746 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
27747 (print_version): Use PKGVERSION.
27748 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
27749 (print_version): Use PKGVERSION.
27750 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
27751 and PKGVERSION.
27752
92e4b6a9
JM
27753 * timezone/checktab.awk: Update from tzcode 2012i.
27754 * timezone/ialloc.c: Likewise.
27755 * timezone/private.h: Likewise.
27756 * timezone/scheck.c: Likewise.
27757 * timezone/tzfile.h: Likewise.
27758 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
27759 (TZVERSION): Hardcode tzcode version number.
27760 * timezone/zdump.c: Update from tzcode 2012i.
27761 * timezone/zic.c: Likewise.
27762 * timezone/version.h: New file.
27763 * timezone/README: Describe version.h. Update upstream location.
27764
9bde902c
JM
27765 [BZ #14824]
27766 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
27767 (mktemp): Enable declaration.
27768 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
27769 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
27770 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
27771 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
27772 Likewise.
27773 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
27774 Likewise.
27775 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
27776 Likewise.
27777 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
27778 Likewise.
27779 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
27780 Likewise.
27781 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
27782 Likewise.
27783
fb1ae1ee
JM
27784 [BZ #14821]
27785 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
27786 offset in buffer as u_int32_t not u_long. Consistently use memcpy
27787 for copies of such integer values.
27788 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
27789 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
27790
2c1adbcb
AJ
277912012-11-09 Andreas Jaeger <aj@suse.de>
27792
27793 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
27794 definitions and declarations that are provided by
27795 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
27796
d0f8457e
AK
277972012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
27798
3a235abb 27799 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
d0f8457e
AK
27800 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
27801 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
27802 definition.
27803
57241e26
MS
278042012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
27805
27806 * elf/elf.h: Update comment before AArch64 relocations.
27807
60e8270d
DM
278082012-11-07 David S. Miller <davem@davemloft.net>
27809
27810 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
27811 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
27812 (__start_context): Declare.
27813 (__makecontext_ret): Delete.
27814 (__makecontext): Hook up __start_context instead of
27815 __makecontext_ret.
27816 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
27817 (sysdep_routines): Add __start_context when in stdlib.
27818
0fbb0fbc
JM
278192012-11-07 Joseph Myers <joseph@codesourcery.com>
27820
27821 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
27822 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
27823 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
27824 hardcoded "nm".
27825 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
27826 (READELF): New variable. Use it instead of hardcoded "readelf".
27827
eb48db7e
L
278282012-11-07 H.J. Lu <hongjiu.lu@intel.com>
27829
27830 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
27831 * sysdeps/x86/Makefile: Here.
27832 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
27833 * sysdeps/x86/tst-xmmymm.sh: This.
27834
05bcf62a
JM
278352012-11-07 Joseph Myers <joseph@codesourcery.com>
27836
c4b6cf53
JM
27837 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
27838 expectations.
27839 [UNIX98] (pthread_barrier_t): Do not expect.
27840 [UNIX98] (pthread_barrierattr_t): Likewise.
27841 [UNIX98] (pthread_spinlock_t): Likewise.
27842 [UNIX98] (pthread_barrier_destroy): Likewise.
27843 [UNIX98] (pthread_barrier_init): Likewise.
27844 [UNIX98] (pthread_barrier_wait): Likewise.
27845 [UNIX98] (pthread_barrierattr_destroy): Likewise.
27846 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
27847 [UNIX98] (pthread_barrierattr_init): Likewise.
27848 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
27849 [UNIX98] (pthread_getcpuclockid): Likewise.
27850 [UNIX98] (pthread_mutex_timedlock): Likewise.
27851 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
27852 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
27853 [UNIX98] (pthread_sigmask): Likewise.
27854 [UNIX98] (pthread_spin_destroy): Likewise.
27855 [UNIX98] (pthread_spin_init): Likewise.
27856 [UNIX98] (pthread_spin_lock): Likewise.
27857 [UNIX98] (pthread_spin_trylock): Likewise.
27858 [UNIX98] (pthread_spin_unlock): Likewise.
27859 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
27860 Do not expect.
27861 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
27862 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
27863 [XPG3 || XPG4] (pthread_cond_t): Likewise.
27864 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
27865 [XPG3 || XPG4] (pthread_key_t): Likewise.
27866 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
27867 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
27868 [XPG3 || XPG4] (pthread_once_t): Likewise.
27869 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
27870 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
27871 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
27872 [XPG3 || XPG4] (pthread_t): Likewise.
27873
cbe6e120
JM
27874 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
27875 not expect.
27876 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
27877
1b126443
JM
27878 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
27879 Change function return type to int.
27880
b961a573
JM
27881 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
27882 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
27883 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
27884 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
27885 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
27886 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
27887 [!POSIX] (posix_madvise): Likewise.
27888 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
27889 && !UNIX98].
27890 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
27891 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
27892 (mode_t): Likewise.
27893 (posix_mem_offset): Likewise.
27894 (posix_typed_mem_get_info): Likewise.
27895 (posix_typed_mem_open): Likewise.
27896
9e188909
JM
27897 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
27898 Change condition to [XOPEN2K8].
27899
05bcf62a
JM
27900 * conform/conformtest.pl: Preprocess allow-header data with -x c
27901 instead of from stdin.
27902 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
27903 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
27904 [C99-based standards] (cerfc): Likewise.
27905 [C99-based standards] (cexp2): Likewise.
27906 [C99-based standards] (cexpm1): Likewise.
27907 [C99-based standards] (clog10): Likewise.
27908 [C99-based standards] (clog1p): Likewise.
27909 [C99-based standards] (clog2): Likewise.
27910 [C99-based standards] (clgamma): Likewise.
27911 [C99-based standards] (ctgamma): Likewise.
27912 [C99-based standards] (cerff): Likewise.
27913 [C99-based standards] (cerfcf): Likewise.
27914 [C99-based standards] (cexp2f): Likewise.
27915 [C99-based standards] (cexpm1f): Likewise.
27916 [C99-based standards] (clog10f): Likewise.
27917 [C99-based standards] (clog1pf): Likewise.
27918 [C99-based standards] (clog2f): Likewise.
27919 [C99-based standards] (clgammaf): Likewise.
27920 [C99-based standards] (ctgammaf): Likewise.
27921 [C99-based standards] (cerfl): Likewise.
27922 [C99-based standards] (cerfcl): Likewise.
27923 [C99-based standards] (cexp2l): Likewise.
27924 [C99-based standards] (cexpm1l): Likewise.
27925 [C99-based standards] (clog10l): Likewise.
27926 [C99-based standards] (clog1pl): Likewise.
27927 [C99-based standards] (clog2l): Likewise.
27928 [C99-based standards] (clgammal): Likewise.
27929 [C99-based standards] (ctgammal): Likewise.
27930 * conform/data/inttypes.h-data [C99-based standards]: Include
27931 stdint.h-data. Remove all expectations for stdint.h contents.
27932 [C99-based standards] (PRI*): Do not allow.
27933 [C99-based standards] (SCN*): Likewise.
27934 [C99-based standards] (*_t): Likewise.
27935 [C99-based-standards] (PRId8): Expect macro.
27936 [C99-based-standards] (PRIi8): Likewise.
27937 [C99-based-standards] (PRIo8): Likewise.
27938 [C99-based-standards] (PRIu8): Likewise.
27939 [C99-based-standards] (PRIx8): Likewise.
27940 [C99-based-standards] (PRIX8): Likewise.
27941 [C99-based-standards] (SCNd8): Likewise.
27942 [C99-based-standards] (SCNi8): Likewise.
27943 [C99-based-standards] (SCNo8): Likewise.
27944 [C99-based-standards] (SCNu8): Likewise.
27945 [C99-based-standards] (SCNx8): Likewise.
27946 [C99-based-standards] (PRIdLEAST8): Likewise.
27947 [C99-based-standards] (PRIiLEAST8): Likewise.
27948 [C99-based-standards] (PRIoLEAST8): Likewise.
27949 [C99-based-standards] (PRIuLEAST8): Likewise.
27950 [C99-based-standards] (PRIxLEAST8): Likewise.
27951 [C99-based-standards] (PRIXLEAST8): Likewise.
27952 [C99-based-standards] (SCNdLEAST8): Likewise.
27953 [C99-based-standards] (SCNiLEAST8): Likewise.
27954 [C99-based-standards] (SCNoLEAST8): Likewise.
27955 [C99-based-standards] (SCNuLEAST8): Likewise.
27956 [C99-based-standards] (SCNxLEAST8): Likewise.
27957 [C99-based-standards] (PRIdFAST8): Likewise.
27958 [C99-based-standards] (PRIiFAST8): Likewise.
27959 [C99-based-standards] (PRIoFAST8): Likewise.
27960 [C99-based-standards] (PRIuFAST8): Likewise.
27961 [C99-based-standards] (PRIxFAST8): Likewise.
27962 [C99-based-standards] (PRIXFAST8): Likewise.
27963 [C99-based-standards] (SCNdFAST8): Likewise.
27964 [C99-based-standards] (SCNiFAST8): Likewise.
27965 [C99-based-standards] (SCNoFAST8): Likewise.
27966 [C99-based-standards] (SCNuFAST8): Likewise.
27967 [C99-based-standards] (SCNxFAST8): Likewise.
27968 [C99-based-standards] (PRId16): Likewise.
27969 [C99-based-standards] (PRIi16): Likewise.
27970 [C99-based-standards] (PRIo16): Likewise.
27971 [C99-based-standards] (PRIu16): Likewise.
27972 [C99-based-standards] (PRIx16): Likewise.
27973 [C99-based-standards] (PRIX16): Likewise.
27974 [C99-based-standards] (SCNd16): Likewise.
27975 [C99-based-standards] (SCNi16): Likewise.
27976 [C99-based-standards] (SCNo16): Likewise.
27977 [C99-based-standards] (SCNu16): Likewise.
27978 [C99-based-standards] (SCNx16): Likewise.
27979 [C99-based-standards] (PRIdLEAST16): Likewise.
27980 [C99-based-standards] (PRIiLEAST16): Likewise.
27981 [C99-based-standards] (PRIoLEAST16): Likewise.
27982 [C99-based-standards] (PRIuLEAST16): Likewise.
27983 [C99-based-standards] (PRIxLEAST16): Likewise.
27984 [C99-based-standards] (PRIXLEAST16): Likewise.
27985 [C99-based-standards] (SCNdLEAST16): Likewise.
27986 [C99-based-standards] (SCNiLEAST16): Likewise.
27987 [C99-based-standards] (SCNoLEAST16): Likewise.
27988 [C99-based-standards] (SCNuLEAST16): Likewise.
27989 [C99-based-standards] (SCNxLEAST16): Likewise.
27990 [C99-based-standards] (PRIdFAST16): Likewise.
27991 [C99-based-standards] (PRIiFAST16): Likewise.
27992 [C99-based-standards] (PRIoFAST16): Likewise.
27993 [C99-based-standards] (PRIuFAST16): Likewise.
27994 [C99-based-standards] (PRIxFAST16): Likewise.
27995 [C99-based-standards] (PRIXFAST16): Likewise.
27996 [C99-based-standards] (SCNdFAST16): Likewise.
27997 [C99-based-standards] (SCNiFAST16): Likewise.
27998 [C99-based-standards] (SCNoFAST16): Likewise.
27999 [C99-based-standards] (SCNuFAST16): Likewise.
28000 [C99-based-standards] (SCNxFAST16): Likewise.
28001 [C99-based-standards] (PRId32): Likewise.
28002 [C99-based-standards] (PRIi32): Likewise.
28003 [C99-based-standards] (PRIo32): Likewise.
28004 [C99-based-standards] (PRIu32): Likewise.
28005 [C99-based-standards] (PRIx32): Likewise.
28006 [C99-based-standards] (PRIX32): Likewise.
28007 [C99-based-standards] (SCNd32): Likewise.
28008 [C99-based-standards] (SCNi32): Likewise.
28009 [C99-based-standards] (SCNo32): Likewise.
28010 [C99-based-standards] (SCNu32): Likewise.
28011 [C99-based-standards] (SCNx32): Likewise.
28012 [C99-based-standards] (PRIdLEAST32): Likewise.
28013 [C99-based-standards] (PRIiLEAST32): Likewise.
28014 [C99-based-standards] (PRIoLEAST32): Likewise.
28015 [C99-based-standards] (PRIuLEAST32): Likewise.
28016 [C99-based-standards] (PRIxLEAST32): Likewise.
28017 [C99-based-standards] (PRIXLEAST32): Likewise.
28018 [C99-based-standards] (SCNdLEAST32): Likewise.
28019 [C99-based-standards] (SCNiLEAST32): Likewise.
28020 [C99-based-standards] (SCNoLEAST32): Likewise.
28021 [C99-based-standards] (SCNuLEAST32): Likewise.
28022 [C99-based-standards] (SCNxLEAST32): Likewise.
28023 [C99-based-standards] (PRIdFAST32): Likewise.
28024 [C99-based-standards] (PRIiFAST32): Likewise.
28025 [C99-based-standards] (PRIoFAST32): Likewise.
28026 [C99-based-standards] (PRIuFAST32): Likewise.
28027 [C99-based-standards] (PRIxFAST32): Likewise.
28028 [C99-based-standards] (PRIXFAST32): Likewise.
28029 [C99-based-standards] (SCNdFAST32): Likewise.
28030 [C99-based-standards] (SCNiFAST32): Likewise.
28031 [C99-based-standards] (SCNoFAST32): Likewise.
28032 [C99-based-standards] (SCNuFAST32): Likewise.
28033 [C99-based-standards] (SCNxFAST32): Likewise.
28034 [C99-based-standards] (PRId64): Likewise.
28035 [C99-based-standards] (PRIi64): Likewise.
28036 [C99-based-standards] (PRIo64): Likewise.
28037 [C99-based-standards] (PRIu64): Likewise.
28038 [C99-based-standards] (PRIx64): Likewise.
28039 [C99-based-standards] (PRIX64): Likewise.
28040 [C99-based-standards] (SCNd64): Likewise.
28041 [C99-based-standards] (SCNi64): Likewise.
28042 [C99-based-standards] (SCNo64): Likewise.
28043 [C99-based-standards] (SCNu64): Likewise.
28044 [C99-based-standards] (SCNx64): Likewise.
28045 [C99-based-standards] (PRIdLEAST64): Likewise.
28046 [C99-based-standards] (PRIiLEAST64): Likewise.
28047 [C99-based-standards] (PRIoLEAST64): Likewise.
28048 [C99-based-standards] (PRIuLEAST64): Likewise.
28049 [C99-based-standards] (PRIxLEAST64): Likewise.
28050 [C99-based-standards] (PRIXLEAST64): Likewise.
28051 [C99-based-standards] (SCNdLEAST64): Likewise.
28052 [C99-based-standards] (SCNiLEAST64): Likewise.
28053 [C99-based-standards] (SCNoLEAST64): Likewise.
28054 [C99-based-standards] (SCNuLEAST64): Likewise.
28055 [C99-based-standards] (SCNxLEAST64): Likewise.
28056 [C99-based-standards] (PRIdFAST64): Likewise.
28057 [C99-based-standards] (PRIiFAST64): Likewise.
28058 [C99-based-standards] (PRIoFAST64): Likewise.
28059 [C99-based-standards] (PRIuFAST64): Likewise.
28060 [C99-based-standards] (PRIxFAST64): Likewise.
28061 [C99-based-standards] (PRIXFAST64): Likewise.
28062 [C99-based-standards] (SCNdFAST64): Likewise.
28063 [C99-based-standards] (SCNiFAST64): Likewise.
28064 [C99-based-standards] (SCNoFAST64): Likewise.
28065 [C99-based-standards] (SCNuFAST64): Likewise.
28066 [C99-based-standards] (SCNxFAST64): Likewise.
28067 [C99-based-standards] (PRIdMAX): Likewise.
28068 [C99-based-standards] (PRIiMAX): Likewise.
28069 [C99-based-standards] (PRIoMAX): Likewise.
28070 [C99-based-standards] (PRIuMAX): Likewise.
28071 [C99-based-standards] (PRIxMAX): Likewise.
28072 [C99-based-standards] (PRIXMAX): Likewise.
28073 [C99-based-standards] (SCNdMAX): Likewise.
28074 [C99-based-standards] (SCNiMAX): Likewise.
28075 [C99-based-standards] (SCNoMAX): Likewise.
28076 [C99-based-standards] (SCNuMAX): Likewise.
28077 [C99-based-standards] (SCNxMAX): Likewise.
28078 [C99-based-standards] (PRIdPTR): Likewise.
28079 [C99-based-standards] (PRIiPTR): Likewise.
28080 [C99-based-standards] (PRIoPTR): Likewise.
28081 [C99-based-standards] (PRIuPTR): Likewise.
28082 [C99-based-standards] (PRIxPTR): Likewise.
28083 [C99-based-standards] (PRIXPTR): Likewise.
28084 [C99-based-standards] (SCNdPTR): Likewise.
28085 [C99-based-standards] (SCNiPTR): Likewise.
28086 [C99-based-standards] (SCNoPTR): Likewise.
28087 [C99-based-standards] (SCNuPTR): Likewise.
28088 [C99-based-standards] (SCNxPTR): Likewise.
28089 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
28090 allow.
28091 * conform/data/stdint.h-data: Update comments to clarify
28092 requirements.
28093 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
28094 type.
28095 [C99-based standards] (INT8_MAX): Likewise.
28096 [C99-based standards] (INT16_MIN): Likewise.
28097 [C99-based standards] (INT16_MAX): Likewise.
28098 [C99-based standards] (INT32_MIN): Likewise.
28099 [C99-based standards] (INT32_MAX): Likewise.
28100 [C99-based standards] (INT64_MIN): Likewise.
28101 [C99-based standards] (INT64_MAX): Likewise.
28102 [C99-based standards] (UINT8_MAX): Likewise.
28103 [C99-based standards] (UINT16_MAX): Likewise.
28104 [C99-based standards] (UINT32_MAX): Likewise.
28105 [C99-based standards] (UINT64_MAX): Likewise.
28106 [C99-based standards] (INT_LEAST8_MIN): Likewise.
28107 [C99-based standards] (INT_LEAST8_MAX): Likewise.
28108 [C99-based standards] (INT_LEAST16_MIN): Likewise.
28109 [C99-based standards] (INT_LEAST16_MAX): Likewise.
28110 [C99-based standards] (INT_LEAST32_MIN): Likewise.
28111 [C99-based standards] (INT_LEAST32_MAX): Likewise.
28112 [C99-based standards] (INT_LEAST64_MIN): Likewise.
28113 [C99-based standards] (INT_LEAST64_MAX): Likewise.
28114 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
28115 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
28116 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
28117 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
28118 [C99-based standards] (INT_FAST8_MIN): Likewise.
28119 [C99-based standards] (INT_FAST8_MAX): Likewise.
28120 [C99-based standards] (INT_FAST16_MIN): Likewise.
28121 [C99-based standards] (INT_FAST16_MAX): Likewise.
28122 [C99-based standards] (INT_FAST32_MIN): Likewise.
28123 [C99-based standards] (INT_FAST32_MAX): Likewise.
28124 [C99-based standards] (INT_FAST64_MIN): Likewise.
28125 [C99-based standards] (INT_FAST64_MAX): Likewise.
28126 [C99-based standards] (UINT_FAST8_MAX): Likewise.
28127 [C99-based standards] (UINT_FAST16_MAX): Likewise.
28128 [C99-based standards] (UINT_FAST32_MAX): Likewise.
28129 [C99-based standards] (UINT_FAST64_MAX): Likewise.
28130 [C99-based standards] (INTPTR_MIN): Likewise.
28131 [C99-based standards] (INTPTR_MAX): Likewise.
28132 [C99-based standards] (UINTPTR_MAX): Likewise.
28133 [C99-based standards] (INTMAX_MIN): Likewise.
28134 [C99-based standards] (INTMAX_MAX): Likewise.
28135 [C99-based standards] (UINTMAX_MAX): Likewise.
28136 [C99-based standards] (PTRDIFF_MIN): Likewise.
28137 [C99-based standards] (PTRDIFF_MAX): Likewise.
28138 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
28139 [C99-based standards] (SIZE_MAX): Likewise.
28140 [C99-based standards] (WCHAR_MAX): Likewise.
28141 [C99-based standards] (WINT_MAX): Likewise.
28142 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
28143 constraint on value.
28144 [C99-based standards] (WCHAR_MIN): Likewise.
28145 [C99-based standards] (WINT_MIN): Likewise.
28146 [C99-based standards] (*_t): Allow.
28147 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
28148 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
28149 Include math.h-data and complex.h-data. Remove all expectations
28150 of math.h and complex.h contents.
28151 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
28152 at end of line.
28153 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
28154 (struct tm): Expect tag.
28155 [C99-based-standards] (wcstof): Expect function.
28156 [C99-based-standards] (wcstold): Likewise.
28157 [C99-based-standards] (wcstoll): Likewise.
28158 [C99-based-standards] (wcstoull): Likewise.
28159 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
28160 macro-int-constant. Specify type.
28161 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
28162 constraint on value.
28163 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
28164 Specify type.
28165 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
28166 Specify value.
28167 [ISO C standards]: Do not allow headers.
28168 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
28169 wcs[abcdefghijklmnopqrstuvwxyz]*.
28170 [ISO C standards] (*_t): Do not allow.
28171 * conform/data/wctype.h-data [C99-based standards] (iswblank):
28172 Expect function.
28173 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
28174 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
28175 Specify type.
28176 [ISO C standards]: Do not allow headers.
28177 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
28178 is[abcdefghijklmnopqrstuvwxyz]*.
28179 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
28180 to[abcdefghijklmnopqrstuvwxyz]*.
28181 [ISO C standards] (*_t): Do not allow.
28182 * conform/data/stdalign.h-data: New file.
28183 * conform/data/stdbool.h-data: Likewise.
28184 * conform/data/stdnoreturn.h-data: Likewise.
28185
7514feb8
RM
281862012-11-07 Roland McGrath <roland@hack.frob.com>
28187
28188 [BZ #14815]
28189 * manual/filesys.texi (Directory Entries): Typo fix.
28190 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
28191
19b2ecfc
MS
281922012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
28193
28194 * elf/elf.h (EM_AARCH64): New macro.
28195 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
28196 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
28197 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
28198 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
28199 (R_AARCH64_TLSDESC): Likewise.
28200 (NT_ARM_TLS): Likewise.
28201 (NT_ARM_HW_BREAK): Likewise.
28202 (NT_ARM_HW_WATCH): Likewise.
28203
60e235ee
JM
282042012-11-07 Joseph Myers <joseph@codesourcery.com>
28205
28206 [BZ #14811]
28207 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
28208 (__ieee754_powl): Saturate nonzero exponents with absolute value
28209 below 0x1p-79 to +/- 0x1p-79.
28210 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
28211 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
28212 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
28213 nonzero exponents with absolute value below 0x1p-32 to +/-
28214 0x1p-32.
28215 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
28216 (__ieee754_powl): Saturate nonzero exponents with absolute value
28217 below 0x1p-79 to +/- 0x1p-79.
28218 * math/libm-test.inc (pow_test): Add more tests.
28219
0ab234b7
AK
282202012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
28221
28222 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
28223 _dl_s390_cap_flags with kernel. Increase string length.
28224 (_dl_s390_platforms): Add z196 and zEC12.
28225
45832f74
JM
282262012-11-07 Joseph Myers <joseph@codesourcery.com>
28227
28228 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
28229 Change XOPEN21K to XOPEN2K.
28230
19218757
MK
282312012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
28232
28233 * string/memmove.c: Use memcpy when possible.
28234
c5f45721
AJ
282352012-11-06 Andreas Jaeger <aj@suse.de>
28236
28237 * po/eo.po: Update from translation team.
28238
82477c28
JM
282392012-11-06 Joseph Myers <joseph@codesourcery.com>
28240
28241 [BZ #14793]
28242 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
28243 exponent and small x and y exponents, scale x or y up. Increase
28244 by 2 the exponent used in scaling up.
28245 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
28246 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
28247 * math/libm-test.inc (fma_test): Add more tests.
28248 (fma_test_towardzero): Likewise.
28249 (fma_test_downward): Likewise.
28250 (fma_test_upward): Likewise.
28251
99252c8c
JM
282522012-11-05 Joseph Myers <joseph@codesourcery.com>
28253
acfa885f
JM
28254 [BZ #14805]
28255 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
28256 fenv_t *.
28257
99252c8c
JM
28258 [BZ #14801]
28259 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
28260 namespace for names of struct fields.
28261 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
28262 fenv_t fields.
28263 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
28264 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
28265
d6d98dea
ST
282662012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
28267
28268 [BZ #3665]
28269 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
28270
e10bb107
TS
282712012-11-04 Thomas Schwinge <thomas@codesourcery.com>
28272
28273 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
28274 PTR_DEMANGLE.
28275
28276 [BZ #5246]
28277 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
28278 PTR_DEMANGLE.
28279
a0c2940d
JM
282802012-11-04 Joseph Myers <joseph@codesourcery.com>
28281
28282 [BZ #14797]
28283 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
28284 definitely overflow as x * y not x * y + z.
28285 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
28286 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
28287 * math/libm-test.inc (fma_test): Add more tests.
28288 (fma_test_towardzero): Likewise.
28289 (fma_test_downward): Likewise.
28290 (fma_test_upward): Likewise.
28291
b830319d
TS
282922012-11-04 Thomas Schwinge <thomas@codesourcery.com>
28293
28294 [BZ #157]
28295
28296 * include/stub-tag.h: Remove file.
28297 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
28298 '#include' of it.
28299 * manual/maint.texi (Porting): Don't reference it.
28300 * Makerules ($(objpfx)stubs): Likewise.
28301 * dirent/closedir.c: Don't include <stub-tag.h>.
28302 * dirent/dirfd.c: Likewise.
28303 * dirent/fdopendir.c: Likewise.
28304 * dirent/getdents.c: Likewise.
28305 * dirent/getdents64.c: Likewise.
28306 * dirent/opendir.c: Likewise.
28307 * dirent/readdir.c: Likewise.
28308 * dirent/readdir64.c: Likewise.
28309 * dirent/readdir64_r.c: Likewise.
28310 * dirent/readdir_r.c: Likewise.
28311 * dirent/rewinddir.c: Likewise.
28312 * dirent/seekdir.c: Likewise.
28313 * dirent/telldir.c: Likewise.
28314 * gmon/profil.c: Likewise.
28315 * grp/setgroups.c: Likewise.
28316 * inet/if_index.c: Likewise.
28317 * io/access.c: Likewise.
28318 * io/chdir.c: Likewise.
28319 * io/chmod.c: Likewise.
28320 * io/chown.c: Likewise.
28321 * io/close.c: Likewise.
28322 * io/dup.c: Likewise.
28323 * io/dup2.c: Likewise.
28324 * io/dup3.c: Likewise.
28325 * io/euidaccess.c: Likewise.
28326 * io/faccessat.c: Likewise.
28327 * io/fchdir.c: Likewise.
28328 * io/fchmod.c: Likewise.
28329 * io/fchmodat.c: Likewise.
28330 * io/fchown.c: Likewise.
28331 * io/fchownat.c: Likewise.
28332 * io/fcntl.c: Likewise.
28333 * io/flock.c: Likewise.
28334 * io/fstatfs.c: Likewise.
28335 * io/fstatfs64.c: Likewise.
28336 * io/fstatvfs.c: Likewise.
28337 * io/fstatvfs64.c: Likewise.
28338 * io/futimens.c: Likewise.
28339 * io/fxstat.c: Likewise.
28340 * io/fxstat64.c: Likewise.
28341 * io/fxstatat.c: Likewise.
28342 * io/fxstatat64.c: Likewise.
28343 * io/getcwd.c: Likewise.
28344 * io/isatty.c: Likewise.
28345 * io/lchmod.c: Likewise.
28346 * io/lchown.c: Likewise.
28347 * io/link.c: Likewise.
28348 * io/linkat.c: Likewise.
28349 * io/lseek.c: Likewise.
28350 * io/lseek64.c: Likewise.
28351 * io/lxstat64.c: Likewise.
28352 * io/mkdir.c: Likewise.
28353 * io/mkdirat.c: Likewise.
28354 * io/mkfifo.c: Likewise.
28355 * io/mkfifoat.c: Likewise.
28356 * io/open.c: Likewise.
28357 * io/open64.c: Likewise.
28358 * io/openat.c: Likewise.
28359 * io/openat64.c: Likewise.
28360 * io/pipe.c: Likewise.
28361 * io/pipe2.c: Likewise.
28362 * io/poll.c: Likewise.
28363 * io/posix_fadvise.c: Likewise.
28364 * io/posix_fadvise64.c: Likewise.
28365 * io/posix_fallocate.c: Likewise.
28366 * io/posix_fallocate64.c: Likewise.
28367 * io/read.c: Likewise.
28368 * io/readlink.c: Likewise.
28369 * io/readlinkat.c: Likewise.
28370 * io/rmdir.c: Likewise.
28371 * io/sendfile.c: Likewise.
28372 * io/sendfile64.c: Likewise.
28373 * io/statfs.c: Likewise.
28374 * io/statfs64.c: Likewise.
28375 * io/statvfs.c: Likewise.
28376 * io/statvfs64.c: Likewise.
28377 * io/symlink.c: Likewise.
28378 * io/symlinkat.c: Likewise.
28379 * io/ttyname.c: Likewise.
28380 * io/ttyname_r.c: Likewise.
28381 * io/umask.c: Likewise.
28382 * io/unlink.c: Likewise.
28383 * io/unlinkat.c: Likewise.
28384 * io/utime.c: Likewise.
28385 * io/utimensat.c: Likewise.
28386 * io/write.c: Likewise.
28387 * io/xmknod.c: Likewise.
28388 * io/xmknodat.c: Likewise.
28389 * io/xstat.c: Likewise.
28390 * io/xstat64.c: Likewise.
28391 * login/getpt.c: Likewise.
28392 * login/grantpt.c: Likewise.
28393 * login/unlockpt.c: Likewise.
28394 * math/e_acoshl.c: Likewise.
28395 * math/e_acosl.c: Likewise.
28396 * math/e_asinl.c: Likewise.
28397 * math/e_atan2l.c: Likewise.
28398 * math/e_atanhl.c: Likewise.
28399 * math/e_coshl.c: Likewise.
28400 * math/e_expl.c: Likewise.
28401 * math/e_fmodl.c: Likewise.
28402 * math/e_gammal_r.c: Likewise.
28403 * math/e_hypotl.c: Likewise.
28404 * math/e_j0l.c: Likewise.
28405 * math/e_j1l.c: Likewise.
28406 * math/e_jnl.c: Likewise.
28407 * math/e_lgammal_r.c: Likewise.
28408 * math/e_log10l.c: Likewise.
28409 * math/e_log2l.c: Likewise.
28410 * math/e_logl.c: Likewise.
28411 * math/e_powl.c: Likewise.
28412 * math/e_rem_pio2l.c: Likewise.
28413 * math/e_sinhl.c: Likewise.
28414 * math/e_sqrtl.c: Likewise.
28415 * math/fclrexcpt.c: Likewise.
28416 * math/fedisblxcpt.c: Likewise.
28417 * math/feenablxcpt.c: Likewise.
28418 * math/fegetenv.c: Likewise.
28419 * math/fegetexcept.c: Likewise.
28420 * math/fegetround.c: Likewise.
28421 * math/feholdexcpt.c: Likewise.
28422 * math/fesetenv.c: Likewise.
28423 * math/fesetround.c: Likewise.
28424 * math/feupdateenv.c: Likewise.
28425 * math/fgetexcptflg.c: Likewise.
28426 * math/fraiseexcpt.c: Likewise.
28427 * math/fsetexcptflg.c: Likewise.
28428 * math/ftestexcept.c: Likewise.
28429 * math/k_cosl.c: Likewise.
28430 * math/k_rem_pio2l.c: Likewise.
28431 * math/k_sinl.c: Likewise.
28432 * math/k_tanl.c: Likewise.
28433 * math/s_asinhl.c: Likewise.
28434 * math/s_atanl.c: Likewise.
28435 * math/s_cbrtl.c: Likewise.
28436 * math/s_erfl.c: Likewise.
28437 * math/s_expm1l.c: Likewise.
28438 * math/s_log1pl.c: Likewise.
28439 * math/s_tanhl.c: Likewise.
28440 * misc/acct.c: Likewise.
28441 * misc/brk.c: Likewise.
28442 * misc/chflags.c: Likewise.
28443 * misc/chroot.c: Likewise.
28444 * misc/fchflags.c: Likewise.
28445 * misc/fgetxattr.c: Likewise.
28446 * misc/flistxattr.c: Likewise.
28447 * misc/fremovexattr.c: Likewise.
28448 * misc/fsetxattr.c: Likewise.
28449 * misc/fsync.c: Likewise.
28450 * misc/ftruncate.c: Likewise.
28451 * misc/futimes.c: Likewise.
28452 * misc/futimesat.c: Likewise.
28453 * misc/getdomain.c: Likewise.
28454 * misc/getdtsz.c: Likewise.
28455 * misc/gethostid.c: Likewise.
28456 * misc/gethostname.c: Likewise.
28457 * misc/getloadavg.c: Likewise.
28458 * misc/getpagesize.c: Likewise.
28459 * misc/getsysstats.c: Likewise.
28460 * misc/getxattr.c: Likewise.
28461 * misc/gtty.c: Likewise.
28462 * misc/ioctl.c: Likewise.
28463 * misc/lgetxattr.c: Likewise.
28464 * misc/listxattr.c: Likewise.
28465 * misc/llistxattr.c: Likewise.
28466 * misc/lremovexattr.c: Likewise.
28467 * misc/lsetxattr.c: Likewise.
28468 * misc/lutimes.c: Likewise.
28469 * misc/madvise.c: Likewise.
28470 * misc/mincore.c: Likewise.
28471 * misc/mlock.c: Likewise.
28472 * misc/mlockall.c: Likewise.
28473 * misc/mmap.c: Likewise.
28474 * misc/mprotect.c: Likewise.
28475 * misc/msync.c: Likewise.
28476 * misc/munlock.c: Likewise.
28477 * misc/munlockall.c: Likewise.
28478 * misc/munmap.c: Likewise.
28479 * misc/preadv.c: Likewise.
28480 * misc/preadv64.c: Likewise.
28481 * misc/ptrace.c: Likewise.
28482 * misc/pwritev.c: Likewise.
28483 * misc/pwritev64.c: Likewise.
28484 * misc/readv.c: Likewise.
28485 * misc/reboot.c: Likewise.
28486 * misc/remap_file_pages.c: Likewise.
28487 * misc/removexattr.c: Likewise.
28488 * misc/revoke.c: Likewise.
28489 * misc/select.c: Likewise.
28490 * misc/setdomain.c: Likewise.
28491 * misc/setegid.c: Likewise.
28492 * misc/seteuid.c: Likewise.
28493 * misc/sethostid.c: Likewise.
28494 * misc/sethostname.c: Likewise.
28495 * misc/setregid.c: Likewise.
28496 * misc/setreuid.c: Likewise.
28497 * misc/setxattr.c: Likewise.
28498 * misc/sstk.c: Likewise.
28499 * misc/stty.c: Likewise.
28500 * misc/swapoff.c: Likewise.
28501 * misc/swapon.c: Likewise.
28502 * misc/sync.c: Likewise.
28503 * misc/syncfs.c: Likewise.
28504 * misc/syscall.c: Likewise.
28505 * misc/truncate.c: Likewise.
28506 * misc/ualarm.c: Likewise.
28507 * misc/usleep.c: Likewise.
28508 * misc/ustat.c: Likewise.
28509 * misc/utimes.c: Likewise.
28510 * misc/vhangup.c: Likewise.
28511 * misc/writev.c: Likewise.
28512 * posix/_exit.c: Likewise.
28513 * posix/alarm.c: Likewise.
28514 * posix/execve.c: Likewise.
28515 * posix/fexecve.c: Likewise.
28516 * posix/fork.c: Likewise.
28517 * posix/fpathconf.c: Likewise.
28518 * posix/getaddrinfo.c: Likewise.
28519 * posix/getegid.c: Likewise.
28520 * posix/geteuid.c: Likewise.
28521 * posix/getgid.c: Likewise.
28522 * posix/getgroups.c: Likewise.
28523 * posix/getlogin.c: Likewise.
28524 * posix/getlogin_r.c: Likewise.
28525 * posix/getpgid.c: Likewise.
28526 * posix/getpid.c: Likewise.
28527 * posix/getppid.c: Likewise.
28528 * posix/getresgid.c: Likewise.
28529 * posix/getresuid.c: Likewise.
28530 * posix/getsid.c: Likewise.
28531 * posix/getuid.c: Likewise.
28532 * posix/glob64.c: Likewise.
28533 * posix/nanosleep.c: Likewise.
28534 * posix/pathconf.c: Likewise.
28535 * posix/pause.c: Likewise.
28536 * posix/posix_madvise.c: Likewise.
28537 * posix/pread.c: Likewise.
28538 * posix/pread64.c: Likewise.
28539 * posix/pwrite.c: Likewise.
28540 * posix/pwrite64.c: Likewise.
28541 * posix/sched_getaffinity.c: Likewise.
28542 * posix/sched_getp.c: Likewise.
28543 * posix/sched_gets.c: Likewise.
28544 * posix/sched_primax.c: Likewise.
28545 * posix/sched_primin.c: Likewise.
28546 * posix/sched_rr_gi.c: Likewise.
28547 * posix/sched_setaffinity.c: Likewise.
28548 * posix/sched_setp.c: Likewise.
28549 * posix/sched_sets.c: Likewise.
28550 * posix/sched_yield.c: Likewise.
28551 * posix/setgid.c: Likewise.
28552 * posix/setlogin.c: Likewise.
28553 * posix/setpgid.c: Likewise.
28554 * posix/setresgid.c: Likewise.
28555 * posix/setresuid.c: Likewise.
28556 * posix/setsid.c: Likewise.
28557 * posix/setuid.c: Likewise.
28558 * posix/sleep.c: Likewise.
28559 * posix/spawni.c: Likewise.
28560 * posix/sysconf.c: Likewise.
28561 * posix/times.c: Likewise.
28562 * posix/wait.c: Likewise.
28563 * posix/wait3.c: Likewise.
28564 * posix/wait4.c: Likewise.
28565 * posix/waitpid.c: Likewise.
28566 * resolv/gai_sigqueue.c: Likewise.
28567 * resource/getpriority.c: Likewise.
28568 * resource/getrlimit.c: Likewise.
28569 * resource/getrusage.c: Likewise.
28570 * resource/nice.c: Likewise.
28571 * resource/setpriority.c: Likewise.
28572 * resource/setrlimit.c: Likewise.
28573 * resource/ulimit.c: Likewise.
28574 * rt/aio_cancel.c: Likewise.
28575 * rt/aio_fsync.c: Likewise.
28576 * rt/aio_read.c: Likewise.
28577 * rt/aio_sigqueue.c: Likewise.
28578 * rt/aio_suspend.c: Likewise.
28579 * rt/aio_write.c: Likewise.
28580 * rt/clock_getres.c: Likewise.
28581 * rt/clock_gettime.c: Likewise.
28582 * rt/clock_nanosleep.c: Likewise.
28583 * rt/clock_settime.c: Likewise.
28584 * rt/lio_listio.c: Likewise.
28585 * rt/mq_close.c: Likewise.
28586 * rt/mq_getattr.c: Likewise.
28587 * rt/mq_notify.c: Likewise.
28588 * rt/mq_open.c: Likewise.
28589 * rt/mq_receive.c: Likewise.
28590 * rt/mq_send.c: Likewise.
28591 * rt/mq_setattr.c: Likewise.
28592 * rt/mq_timedreceive.c: Likewise.
28593 * rt/mq_timedsend.c: Likewise.
28594 * rt/mq_unlink.c: Likewise.
28595 * rt/shm_open.c: Likewise.
28596 * rt/shm_unlink.c: Likewise.
28597 * rt/timer_create.c: Likewise.
28598 * rt/timer_delete.c: Likewise.
28599 * rt/timer_getoverr.c: Likewise.
28600 * rt/timer_gettime.c: Likewise.
28601 * rt/timer_settime.c: Likewise.
28602 * setjmp/__longjmp.c: Likewise.
28603 * setjmp/setjmp.c: Likewise.
28604 * signal/kill.c: Likewise.
28605 * signal/killpg.c: Likewise.
28606 * signal/raise.c: Likewise.
28607 * signal/sigaction.c: Likewise.
28608 * signal/sigaltstack.c: Likewise.
28609 * signal/sigblock.c: Likewise.
28610 * signal/sigignore.c: Likewise.
28611 * signal/sigintr.c: Likewise.
28612 * signal/signal.c: Likewise.
28613 * signal/sigpause.c: Likewise.
28614 * signal/sigpending.c: Likewise.
28615 * signal/sigqueue.c: Likewise.
28616 * signal/sigreturn.c: Likewise.
28617 * signal/sigset.c: Likewise.
28618 * signal/sigsetmask.c: Likewise.
28619 * signal/sigstack.c: Likewise.
28620 * signal/sigsuspend.c: Likewise.
28621 * signal/sigtimedwait.c: Likewise.
28622 * signal/sigvec.c: Likewise.
28623 * signal/sigwait.c: Likewise.
28624 * signal/sigwaitinfo.c: Likewise.
28625 * signal/sysv_signal.c: Likewise.
28626 * socket/accept.c: Likewise.
28627 * socket/accept4.c: Likewise.
28628 * socket/bind.c: Likewise.
28629 * socket/connect.c: Likewise.
28630 * socket/getpeername.c: Likewise.
28631 * socket/getsockname.c: Likewise.
28632 * socket/getsockopt.c: Likewise.
28633 * socket/isfdtype.c: Likewise.
28634 * socket/listen.c: Likewise.
28635 * socket/recv.c: Likewise.
28636 * socket/recvfrom.c: Likewise.
28637 * socket/recvmsg.c: Likewise.
28638 * socket/send.c: Likewise.
28639 * socket/sendmsg.c: Likewise.
28640 * socket/sendto.c: Likewise.
28641 * socket/setsockopt.c: Likewise.
28642 * socket/shutdown.c: Likewise.
28643 * socket/sockatmark.c: Likewise.
28644 * socket/socket.c: Likewise.
28645 * socket/socketpair.c: Likewise.
28646 * stdio-common/ctermid.c: Likewise.
28647 * stdio-common/cuserid.c: Likewise.
28648 * stdio-common/remove.c: Likewise.
28649 * stdio-common/rename.c: Likewise.
28650 * stdio-common/renameat.c: Likewise.
28651 * stdio-common/tempname.c: Likewise.
28652 * stdlib/getcontext.c: Likewise.
28653 * stdlib/makecontext.c: Likewise.
28654 * stdlib/setcontext.c: Likewise.
28655 * stdlib/swapcontext.c: Likewise.
28656 * stdlib/system.c: Likewise.
28657 * streams/fattach.c: Likewise.
28658 * streams/fdetach.c: Likewise.
28659 * streams/getmsg.c: Likewise.
28660 * streams/getpmsg.c: Likewise.
28661 * streams/putmsg.c: Likewise.
28662 * streams/putpmsg.c: Likewise.
28663 * sysdeps/unix/bsd/getpt.c: Likewise.
28664 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
28665 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
28666 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
28667 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
28668 Likewise.
28669 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
28670 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
28671 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
28672 * sysvipc/msgctl.c: Likewise.
28673 * sysvipc/msgget.c: Likewise.
28674 * sysvipc/msgrcv.c: Likewise.
28675 * sysvipc/msgsnd.c: Likewise.
28676 * sysvipc/semctl.c: Likewise.
28677 * sysvipc/semget.c: Likewise.
28678 * sysvipc/semop.c: Likewise.
28679 * sysvipc/semtimedop.c: Likewise.
28680 * sysvipc/shmat.c: Likewise.
28681 * sysvipc/shmctl.c: Likewise.
28682 * sysvipc/shmdt.c: Likewise.
28683 * sysvipc/shmget.c: Likewise.
28684 * termios/tcdrain.c: Likewise.
28685 * termios/tcflow.c: Likewise.
28686 * termios/tcflush.c: Likewise.
28687 * termios/tcgetattr.c: Likewise.
28688 * termios/tcgetpgrp.c: Likewise.
28689 * termios/tcsendbrk.c: Likewise.
28690 * termios/tcsetattr.c: Likewise.
28691 * termios/tcsetpgrp.c: Likewise.
28692 * time/adjtime.c: Likewise.
28693 * time/clock.c: Likewise.
28694 * time/getitimer.c: Likewise.
28695 * time/gettimeofday.c: Likewise.
28696 * time/setitimer.c: Likewise.
28697 * time/settimeofday.c: Likewise.
28698 * time/stime.c: Likewise.
28699 * time/time.c: Likewise.
28700
287012012-11-04 Pino Toscano <toscano.pino@tiscali.it>
72e182e3 28702
a20492cf
PT
28703 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
28704 /usr/old/bin.
28705
72e182e3
PT
28706 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
28707 instead of spaces.
28708 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
28709
fbeafede
JM
287102012-11-03 Joseph Myers <joseph@codesourcery.com>
28711
5b5b04d6
JM
28712 [BZ #14796]
28713 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
28714 FE_TONEAREST before applying Dekker multiplication and Knuth
28715 addition. Clear inexact exceptions and check for exact zero
28716 results afterwards.
28717 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
28718 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
28719 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
28720 * math/libm-test.inc (fma_test): Add more tests.
28721 (fma_test_towardzero): Likewise.
28722 (fma_test_downward): Likewise.
28723 (fma_test_upward): Likewise.
28724 * sysdeps/generic/math_private.h (default_libc_fesetround): New
28725 function.
28726 (libc_fesetround): New macro.
28727 (libc_fesetroundf): Likewise.
28728 (libc_fesetroundl): Likewise.
28729 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
28730 function.
28731 (libc_fesetround_387): Likewise.
28732 (libc_fesetroundf): New macro.
28733 (libc_fesetround): Likewise.
28734 (libc_fesetroundl): Likewise.
28735 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
28736 function.
28737 (libc_fesetroundf): New macro.
28738 (libc_fesetround): Likewise.
28739 (libc_fesetroundl): Likewise.
28740 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
28741 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
28742 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
28743 libm_hidden_ver.
28744 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
28745 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
28746 libm_hidden_def.
28747 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
28748 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
28749 libm_hidden_ver.
28750 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
28751 libm_hidden_def.
28752
fbeafede
JM
28753 [BZ #3439]
28754 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
28755 integer constant usable in #if and use that to give value to enum
28756 constant.
28757 (FE_DIVBYZERO): Likewise.
28758 (FE_UNDERFLOW): Likewise.
28759 (FE_OVERFLOW): Likewise.
28760 (FE_INVALID): Likewise.
28761 (FE_INVALID_SNAN): Likewise.
28762 (FE_INVALID_ISI): Likewise.
28763 (FE_INVALID_IDI): Likewise.
28764 (FE_INVALID_ZDZ): Likewise.
28765 (FE_INVALID_IMZ): Likewise.
28766 (FE_INVALID_COMPARE): Likewise.
28767 (FE_INVALID_SOFTWARE): Likewise.
28768 (FE_INVALID_SQRT): Likewise.
28769 (FE_INVALID_INTEGER_CONVERSION): Likewise.
28770 (FE_TONEAREST): Likewise.
28771 (FE_TOWARDZERO): Likewise.
28772 (FE_UPWARD): Likewise.
28773 (FE_DOWNWARD): Likewise.
28774 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
28775 (FE_DIVBYZERO): Likewise.
28776 (FE_OVERFLOW): Likewise.
28777 (FE_UNDERFLOW): Likewise.
28778 (FE_INEXACT): Likewise.
28779 (FE_TONEAREST): Likewise.
28780 (FE_DOWNWARD): Likewise.
28781 (FE_UPWARD): Likewise.
28782 (FE_TOWARDZERO): Likewise.
28783 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
28784 (FE_UNDERFLOW): Likewise.
28785 (FE_OVERFLOW): Likewise.
28786 (FE_DIVBYZERO): Likewise.
28787 (FE_INVALID): Likewise.
28788 (FE_TONEAREST): Likewise.
28789 (FE_TOWARDZERO): Likewise.
28790 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
28791 (FE_OVERFLOW): Likewise.
28792 (FE_UNDERFLOW): Likewise.
28793 (FE_DIVBYZERO): Likewise.
28794 (FE_INEXACT): Likewise.
28795 (FE_TONEAREST): Likewise.
28796 (FE_TOWARDZERO): Likewise.
28797 (FE_UPWARD): Likewise.
28798 (FE_DOWNWARD): Likewise.
28799 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
28800 (FE_DIVBYZERO): Likewise.
28801 (FE_OVERFLOW): Likewise.
28802 (FE_UNDERFLOW): Likewise.
28803 (FE_INEXACT): Likewise.
28804 (FE_TONEAREST): Likewise.
28805 (FE_DOWNWARD): Likewise.
28806 (FE_UPWARD): Likewise.
28807 (FE_TOWARDZERO): Likewise.
28808
105ca950
CM
288092012-11-02 Chris Metcalf <cmetcalf@tilera.com>
28810
28811 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
28812
a542b389
AS
288132012-11-03 Andreas Schwab <schwab@linux-m68k.org>
28814
28815 * scripts/cross-test-ssh.sh (command): Use newlines to separate
28816 commands. Quote $PWD.
28817 (blacklist_exports): Don't use remove_newlines. Replace "declare
28818 -x" by "export".
28819 (remove_newlines): Remove.
28820
f62c8abc
L
288212012-11-02 H.J. Lu <hongjiu.lu@intel.com>
28822
28823 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
28824 * stdlib/stdlib.h (atof): Moved to ...
28825 * include/bits/stdlib-float.h: Here. New file.
28826 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
28827 * stdlib/bits/stdlib-float.h: New file.
28828 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
28829 -mno-sse -mno-mmx.
28830 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
28831 <xmmintrin.h>.
28832
0155d5b2
JM
288332012-11-02 Joseph Myers <joseph@codesourcery.com>
28834
a68d0680
JM
28835 * conform/conformtest.pl (@headers): Add fenv.h.
28836 * conform/data/fenv.h-data: New file.
28837 * include/fenv.h [_ISOMAC]: Disable all contents of file except
28838 include of <math/fenv.h>.
28839
caf7f573
JM
28840 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
28841 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
28842 && !UNIX98]. Enables tests for XOPEN2K8.
28843 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
28844 POSIX2008]: Likewise.
28845
6c073ad6
JM
28846 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
28847 (struct rusage): Do not expect type or its members.
28848
0155d5b2
JM
28849 [BZ #3439]
28850 * math/math.h (FP_NAN): Define macro to integer constant usable in
28851 #if and use that to give value to enum constant.
28852 (FP_INFINITE): Likewise.
28853 (FP_ZERO): Likewise.
28854 (FP_SUBNORMAL): Likewise.
28855 (FP_NORMAL): Likewise.
28856
b5dcacb4
AS
288572012-11-02 Andreas Schwab <schwab@linux-m68k.org>
28858
28859 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
28860 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
28861 arguments.
28862
f7934be8
RM
288632012-11-02 Roland McGrath <roland@hack.frob.com>
28864
28865 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
28866 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
28867 autoconf-time if not.
28868 * configure.in: Remove AC_PREREQ.
28869
d7d08bde
TMQMF
288702012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
28871
28872 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
28873 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
28874 of the internal implementation.
28875
dcdae19a
JM
288762012-11-02 Joseph Myers <joseph@codesourcery.com>
28877
28878 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
28879 except include of <misc/sys/syslog.h>.
28880
d6cffd3e
AS
288812012-11-01 Andreas Schwab <schwab@linux-m68k.org>
28882
28883 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
28884 function returns with a NULL context exit with zero.
28885
b3563932
TMQMF
288862012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
28887
28888 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
28889
b288a93d
L
288902012-11-01 H.J. Lu <hongjiu.lu@intel.com>
28891
28892 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
28893 (run_program_cmd): This.
28894 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
28895 (tst_langinfo): New variable. Use it.
28896
a2421a68
SAS
288972012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
28898
28899 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
28900 floating point opcodes.
28901
6f796e1b
TS
289022012-11-01 Thomas Schwinge <thomas@codesourcery.com>
28903
7402596b
TS
28904 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
28905 variable.
28906
d0d4f868
TS
28907 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
28908
6f796e1b
TS
28909 * sysdeps/mach/hurd/powerpc: Remove directory.
28910 * sysdeps/mach/powerpc: Likewise.
28911
4da224a2
AS
289122012-11-01 Andreas Schwab <schwab@linux-m68k.org>
28913
28914 * scripts/check-local-headers.sh: Ignore c++ headers.
28915
341dd673
TS
289162012-11-01 Thomas Schwinge <thomas@codesourcery.com>
28917
28918 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
28919 __libc_cleanup_region_start argument.
28920
473611b2
JM
289212012-11-01 Joseph Myers <joseph@codesourcery.com>
28922
28923 [BZ #14784]
28924 [BZ #14785]
28925 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
28926 x * y using scaling, not as x * y + z.
28927 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
28928 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
28929 * math/libm-test.inc (fma_test): Add more tests.
28930 (fma_test_towardzero): Likewise.
28931 (fma_test_downward): Likewise.
28932 (fma_test_upward): Likewise.
28933
4078da3d
TS
289342012-11-01 Thomas Schwinge <thomas@codesourcery.com>
28935
28936 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
28937
903252aa
JM
289382012-10-31 Joseph Myers <joseph@codesourcery.com>
28939
28940 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
28941 New variable.
28942
cbc818d0
TS
289432012-10-31 Thomas Schwinge <thomas@codesourcery.com>
28944
28945 * rt/tst-shm.c (worker): Correct checking for mmap failure.
28946
5a03cb1e
AS
289472012-10-31 Andreas Schwab <schwab@linux-m68k.org>
28948
28949 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
28950 Fix sort order.
28951 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
28952 Likewise.
28953
90aff2ff
TMQMF
289542012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
28955
28956 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
28957 Fix the order of the list for glibc 2.17.
28958 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
28959 Likewise.
28960
1818fcb7
AS
289612012-10-31 Andreas Schwab <schwab@linux-m68k.org>
28962
28963 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28964
ef82f4da
JM
289652012-10-31 Joseph Myers <joseph@codesourcery.com>
28966
16a0e2ec
JM
28967 [BZ #14610]
28968 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
28969 for low part of x being zero before using __atanl (y).
28970 * math/libm-test.inc (atan2_test): Add another test.
28971
0eb69512
JM
28972 * manual/install.texi (Configuring and compiling): Document
28973 general use of test-wrapper and test-wrapper-env.
28974 * INSTALL: Regenerated.
28975
ef82f4da
JM
28976 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
28977 (__fma): Do not extract and scale down low bits on after-rounding
28978 systems when result rounded to normal precision would have normal
28979 exponent.
28980 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
28981 (__fmal): Do not extract and scale down low bits on after-rounding
28982 systems when result rounded to normal precision would have normal
28983 exponent.
28984 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
28985 (__fmal): Do not extract and scale down low bits on after-rounding
28986 systems when result rounded to normal precision would have normal
28987 exponent.
28988 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
28989 macro.
28990 (fma_test): Add more tests.
28991 (fma_test_towardzero): Likewise.
28992 (fma_test_downward): Likewise.
28993 (fma_test_upward): Likewise.
28994
954ef0d9
L
289952012-10-30 H.J. Lu <hongjiu.lu@intel.com>
28996
28997 * sysdeps/i386/tininess.h: Renamed to ...
28998 * sysdeps/x86/tininess.h: This.
28999 * sysdeps/x86_64/tininess.h: Removed.
29000
df61ffb2
JM
290012012-10-30 Joseph Myers <joseph@codesourcery.com>
29002
29003 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
29004 input. Use $(build-program-cmd).
29005 ($(objpfx)tst-array1-static.out): Likewise.
29006 ($(objpfx)tst-array2.out): Likewise.
29007 ($(objpfx)tst-array3.out): Likewise.
29008 ($(objpfx)tst-array4.out): Likewise.
29009 ($(objpfx)tst-array5.out): Likewise.
29010 ($(objpfx)tst-array5-static.out): Likewise.
29011
01767843
CM
290122012-10-30 Chris Metcalf <cmetcalf@tilera.com>
29013
47cc1490
CM
29014 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
29015 if defined.
29016
01767843
CM
29017 * nss/nsswitch.h (nss_interface_function): Provide new
29018 macro for use with NSS functions.
29019 * grp/initgroups.c: Use new macro.
29020 * nss/getXXbyYY.c: Likewise.
29021 * nss/getXXbyYY_r.c: Likewise.
29022 * nss/getXXent.c: Likewise.
29023 * nss/getXXent_r.c: Likewise.
29024 * sysdeps/posix/getaddrinfo.c: Likewise.
29025
8321aa97
AJ
290262012-10-30 Andreas Jaeger <aj@suse.de>
29027
29028 * po/ru.po: Update Russion translation from translation project.
29029
2a27fd6d
JM
290302012-10-30 Joseph Myers <joseph@codesourcery.com>
29031
8627a232
JM
29032 [BZ #14152]
29033 [BZ #14783]
29034 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
29035 result and shift together with sticky bit instead of replicating
29036 round-to-nearest rounding.
29037 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
29038 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
29039 * math/libm-test.inc (fma_test): Add more tests. Do not permit
29040 missing underflow exceptions.
29041 (fma_test_towardzero): Add more tests.
29042 (fma_test_downward): Likewise.
29043 (fma_test_upward): Likewise.
29044
2a27fd6d
JM
29045 [BZ #14047]
29046 * sysdeps/generic/tininess.h: New file.
29047 * sysdeps/i386/tininess.h: Likewise.
29048 * sysdeps/sh/tininess.h: Likewise.
29049 * sysdeps/x86_64/tininess.h: Likewise.
29050 * stdlib/tst-strtod-underflow.c: Likewise.
29051 * stdlib/tst-tininess.c: Likewise.
29052 * stdlib/strtod_l.c: Include <tininess.h>.
29053 (round_and_return): Do not set errno for exact underflow cases.
29054 Force an underflow exception when setting errno for underflow.
29055 Determine underflow based on rounding to normal precision if
29056 TININESS_AFTER_ROUNDING.
29057 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
29058 ERANGE for exact underflow cases.
29059 * stdlib/Makefile (tests): Add tst-tininess and
29060 tst-strtod-underflow.
29061 ($(objpfx)tst-tininess): Use $(link-libm).
29062 ($(objpfx)tst-strtod-underflow): Likewise.
29063
e7170363
AJ
290642012-10-30 Andreas Jaeger <aj@suse.de>
29065
e5088dc6
AJ
29066 [BZ#14767]
29067 * elf/Makefile (tests): Remove conditional for have-initfini-array
29068 since this is now always required and the variable does not exist
29069 anymore.
29070 (tests-static): Likewise.
29071 (modules-names): Likewise.
29072
e7170363 29073 * po/eo.po: Add Esperanto translation from translation project.
b0988f10
AJ
29074
29075 * elf/tst-array1.c (fini_array): Make writeable so that it can be
29076 merged with constructor/destructor.
29077 (init_array): Likewise.
29078 * elf/tst-array2dep.c (fini_array): Likewise.
29079 (init_array): Likewise.
29080
60457d8a
MF
290812012-10-29 Mike Frysinger <vapier@gentoo.org>
29082
29083 * manual/message.texi: Delete @cartouche tags.
29084
8bece752
PT
290852012-10-29 Pino Toscano <toscano.pino@tiscali.it>
29086
94ce799f
PT
29087 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
29088 EOPNOTSUPP.
29089 * sysdeps/mach/hurd/fsync.c: Likewise.
29090
8bece752
PT
29091 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
29092 [_POSIX_REALTIME_SIGNALS]: Change condition to
29093 [_POSIX_REALTIME_SIGNALS > 0].
29094
86ebe6b1
AJ
290952012-10-27 Andreas Jaeger <aj@suse.de>
29096
29097 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
29098 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
29099 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
29100 [__WORDSIZE != 64]: Likewise.
29101
54399c08
L
291022012-10-26 H.J. Lu <hongjiu.lu@intel.com>
29103
29104 * iconvdata/tst-table.sh: Remove ${SHELL}.
29105 * iconvdata/tst-tables.sh: Likewise.
29106
e2211bed
DM
291072012-10-25 David S. Miller <davem@davemloft.net>
29108
29109 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
29110 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
29111 of strtoull.
29112
f303f97c
DM
29113 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
29114 ifunc-impl-list.c
29115 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
29116 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
29117 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
29118 file.
29119
1e9d84cd
RM
291202012-10-25 Roland McGrath <roland@hack.frob.com>
29121
29122 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
29123 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
29124 __getdirentries.
29125
df381762
JM
291262012-10-25 Joseph Myers <joseph@codesourcery.com>
29127 Jim Blandy <jimb@codesourcery.com>
29128
29129 * scripts/cross-test-ssh.sh: New file.
29130 * manual/install.texi (Configuring and compiling): Document use of
29131 cross-test-ssh.sh.
29132 * INSTALL: Regenerated.
29133
bff64913
PT
291342012-10-25 Pino Toscano <toscano.pino@tiscali.it>
29135
29136 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
29137 EOPNOTSUPP.
29138
25fe8932
JM
291392012-10-25 Joseph Myers <joseph@codesourcery.com>
29140
29141 * Makeconfig (run-program-prefix): Fix comment.
29142
cc1290d0
JM
291432012-10-24 Joseph Myers <joseph@codesourcery.com>
29144 Jim Blandy <jimb@codesourcery.com>
29145
29146 * Makeconfig (test-wrapper): New variable,
29147 (test-wrapper-env): Likewise.
29148 [$(cross-compiling) = yes && $(test-wrapper) != ""]
29149 (run-built-tests): Define to yes.
29150 (run-program-prefix): Use $(test-wrapper).
29151 (built-program-cmd): Likewise.
29152 * Rules (make-test-out): Use $(test-wrapper-env) and
29153 $(host-built-program-cmd).
29154 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
29155 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
29156 tst-pathopt.sh.
29157 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
29158 $(test-wrapper-env) to tst-rtld-load-self.sh.
29159 ($(objpfx)order2.out): Use $(test-wrapper).
29160 ($(objpfx)tst-initorder.out): Likewise.
29161 ($(objpfx)tst-initorder2.out): Likewise.
29162 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
29163 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
29164 (test_wrapper_env): New variable. Use it to run ld.so.
29165 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
29166 Use it to run ld.so.
29167 (test_wrapper_env): Likewise.
29168 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
29169 $(test-wrapper) to run-iconv-test.sh.
29170 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
29171 (ICONV): Use $test_wrapper.
29172 * posix/Makefile ($(objpfx)globtest.out): Pass
29173 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
29174 globtest.sh, not $(run-program-prefix).
29175 * posix/globtest.sh (run_via_rtld_prefix): New variable.
29176 (test_wrapper): Likewise.
29177 (test_wrapper_env): Likewise. Use it to run globtest with HOME
29178 set together with run_via_rtld_prefix.
29179 (run_program_prefix): Define in terms of test_wrapper and
29180 run_via_rtld_prefix.
29181
6e6249d0
RM
291822012-10-24 Roland McGrath <roland@hack.frob.com>
29183
29184 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
29185 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
29186 Targets removed.
29187
29188 [BZ #14743]
29189 * include/time.h: Remove librt_hidden_proto (clock_gettime).
29190 Declare __clock_getres, __clock_gettime, __clock_settime,
29191 __clock_nanosleep, and __clock_getcpuclockid.
29192 * rt/clock_gettime.c: Define __clock_gettime as an alias.
29193 Remove librt_hidden_def (clock_gettime).
29194 * sysdeps/unix/clock_gettime.c: Likewise.
29195 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
29196 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
29197 * rt/clock_getres.c: Define __clock_getres as an alias.
29198 * sysdeps/posix/clock_getres.c: Likewise.
29199 * rt/clock_settime.c: Define __clock_settime as an alias.
29200 * sysdeps/unix/clock_settime.c: Likewise.
29201 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
29202 * sysdeps/unix/clock_nanosleep.c: Likewise.
29203 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
29204 * rt/clock-compat.c: New file.
29205 * rt/Makefile (librt-routines): Add clock-compat and move
29206 $(clock-routines) to ...
29207 (routines): ... here, new variable.
29208 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
29209 Don't add get_clockfreq here.
29210 * rt/Versions (libc: GLIBC_2.17): New version set.
29211 Add clock_* symbols here.
29212 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
29213 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
29214 (GLIBC_2.17): Add clock_* symbols.
29215 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
29216 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
29217 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
29218 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
29219 Likewise.
29220 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
29221 Likewise.
29222 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
29223 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
29224 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
29225 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
29226 * NEWS: Mention the move.
29227
29228 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
29229 Use __open, __read, __close rather than their public counterparts.
29230 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
29231 (__get_clockfreq_via_cpuinfo): Likewise.
29232 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
29233 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
29234
29235 * config.h.in (HAVE_IFUNC): New #undef.
29236 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
29237 was successful.
29238 * configure: Regenerated.
29239
0cae3f4b
MF
292402012-10-24 Mike Frysinger <vapier@gentoo.org>
29241
29242 * configure.in: Move READELF check to start of file.
29243 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
29244 libc_cv_asm_gnu_indirect_function in the process.
29245 * configure: Regenerated.
29246
8175a253
MF
292472012-10-24 Mike Frysinger <vapier@gentoo.org>
29248
29249 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
29250 send the output to /dev/null.
29251 (libc_cv_cc_with_libunwind): Likewise.
29252 (libc_cv_as_noexecstack): Likewise.
29253 * configure: Regenerate.
29254
0708a7d1
JM
292552012-10-24 Joseph Myers <joseph@codesourcery.com>
29256
10b40d85
JM
29257 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
29258
0708a7d1
JM
29259 * posix/globtest.sh (TMPDIR): Do not set.
29260 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
29261 (testout): Likewise.
29262
9fddec1a
AJ
292632012-10-24 Andreas Jaeger <aj@suse.de>
29264
3a8db22f
AJ
29265 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
29266 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
29267 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
29268 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
29269 posix_fadvise64, posix_fallocate64.
29270
9fddec1a
AJ
29271 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
29272 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
29273 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
29274 Likewise.
29275 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
29276 Likewise.
29277 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
29278
29279 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
29280 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
29281 <bits/fcntl-linux.h>.
29282 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
29283
29284 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
29285 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
29286 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
29287 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
29288 [__WORDSIZE != 64]: Likewise.
29289
ebfd1bbd
JM
292902012-10-23 Joseph Myers <joseph@codesourcery.com>
29291
03ac099f
JM
29292 * Makeconfig (run-built-tests): New variable.
29293 * Rules [$(cross-compiling) = yes]: Change condition to
29294 [$(run-built-tests) = no].
29295 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
29296 to [$(run-built-tests) = yes].
29297 * elf/Makefile [$(cross-compiling) = no]: Likewise
29298 * grp/Makefile [$(cross-compiling) = no]: Likewise.
29299 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
29300 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
29301 * intl/Makefile [$(cross-compiling) = no]: Likewise.
29302 * io/Makefile [$(cross-compiling) = no]: Likewise.
29303 * libio/Makefile [$(cross-compiling) = no]: Likewise.
29304 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
29305 * misc/Makefile [$(cross-compiling) = no]: Likewise.
29306 * posix/Makefile [$(cross-compiling) = no]: Likewise.
29307 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
29308 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
29309 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
29310 * string/Makefile [$(cross-compiling) = no]: Likewise.
29311
ebfd1bbd
JM
29312 * posix/Makefile ($(objpfx)globtest.out): Pass
29313 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
29314 $(rtld-installed-name).
29315 * posix/globtest.sh (elf_objpfx): Remove variable.
29316 (rtld_installed_name): Likewise.
29317 (library_path): Likewise.
29318 (run_program_prefix): New variable. Use for running globtest
29319 binary.
29320
166bca24
JB
293212012-10-23 Jim Blandy <jimb@codesourcery.com>
29322 Joseph Myers <joseph@codesourcery.com>
29323
29324 * Makeconfig (host-built-program-cmd): New variable.
29325 * elf/Makefile (tst-stackguard1-ARGS): Use
29326 $(host-built-program-cmd).
29327 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
29328 (tst-spawn-ARGS): Likewise.
29329 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
29330
88866099
JM
293312012-10-23 Joseph Myers <joseph@codesourcery.com>
29332 Jim Blandy <jimb@codesourcery.com>
29333
29334 * Makeconfig (run-via-rtld-prefix): New variable.
29335 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
29336 (built-program-cmd): Likewise.
29337
b4b4c296
AJ
293382012-10-22 Andreas Jaeger <aj@suse.de>
29339
29340 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
29341 __O_RSYNC if it exists, otherwise to O_SYNC.
29342
6fb54a22
JB
293432012-10-22 Jim Blandy <jimb@codesourcery.com>
29344 Joseph Myers <joseph@codesourcery.com>
29345
29346 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
29347 /dev/null.
29348 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
29349 from /dev/null
29350 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
29351 /dev/null.
29352
481b90b9
AJ
293532012-10-22 Andreas Jaeger <aj@suse.de>
29354
2a0e2669
AJ
29355 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
29356 Define always.
29357 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
29358
76e38f9a
AJ
29359 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
29360 bits/fcntl-linux.h.
29361
7cd37b43
AJ
29362 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
29363 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
29364
481b90b9
AJ
29365 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
29366 to __O_LARGEFILE.
29367 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
29368 to __O_LARGEFILE.
29369
aba75984
JB
293702012-10-21 Jim Blandy <jimb@codesourcery.com>
29371 Joseph Myers <joseph@codesourcery.com>
29372
29373 * config.make.in (NM): New variable.
29374
88d4247f
AJ
293752012-10-21 Andreas Jaeger <aj@suse.de>
29376
29377 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
29378 definitions and declarations that are provided by
29379 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
29380
f2eed205
L
293812012-10-20 H.J. Lu <hongjiu.lu@intel.com>
29382
29383 [BZ #14683]
29384 * elf/Makefile (tests-static): Add tst-leaks1-static.
29385 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
29386 ($(objpfx)tst-leaks1-static): New rule.
29387 ($(objpfx)tst-leaks1-static-mem): Likewise.
29388 (tst-leaks1-static-ENV): New macro.
29389 * elf/dl-open.c (dl_open_worker): Check the main application
29390 only if SHARED is defined.
29391 * elf/tst-leaks1-static.c: New file.
29392
335e6931
AJ
293932012-10-20 Andreas Jaeger <aj@suse.de>
29394
29395 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
29396 generic values for Linux.
29397 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
29398 and declarations that are provided by <bits/fcntl-linux.h> and
29399 include <bits/fcntl-linux.h>.
29400 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
29401 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
29402
ac5c94d3
RM
294032012-10-20 Roland McGrath <roland@hack.frob.com>
29404
29405 * io/fcntl.h: Move include of <bits/types.h> to the top and
29406 include it unconditionally.
29407
de54b33a
L
294082012-10-20 H.J. Lu <hongjiu.lu@intel.com>
29409
228cfb01
L
29410 * wcsmbs/Makefile (tests-ifunc): New variable.
29411 (tests): Add $(tests-ifunc).
29412 * wcsmbs/test-wcschr-ifunc.c: New file.
29413 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
29414 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
29415 * wcsmbs/test-wcslen-ifunc.c: Likewise.
29416 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
29417 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
29418
69f07e5f
L
29419 * string/Makefile (tests-ifunc): New variable.
29420 (tests): Add $(tests-ifunc).
29421 * string/test-memccpy.c (TEST_NAME): New macro.
29422 * string/test-memchr.c (TEST_NAME): Likewise.
29423 * string/test-memcmp.c (TEST_NAME): Likewise.
29424 * string/test-memcpy.c (TEST_NAME): Likewise.
29425 * string/test-memmem.c (TEST_NAME): Likewise.
29426 * string/test-memmove.c (TEST_NAME): Likewise.
29427 * string/test-memset.c (TEST_NAME): Likewise.
29428 * string/test-rawmemchr.c (TEST_NAME): Likewise.
29429 * string/test-stpcpy.c (TEST_NAME): Likewise.
29430 * string/test-stpncpy.c (TEST_NAME): Likewise.
29431 * string/test-strcasecmp.c (TEST_NAME): Likewise.
29432 * string/test-strcasestr.c (TEST_NAME): Likewise.
29433 * string/test-strcat.c (TEST_NAME): Likewise.
29434 * string/test-strchr.c (TEST_NAME): Likewise.
29435 * string/test-strcmp.c(TEST_NAME): Likewise.
29436 * string/test-strcpy.c (TEST_NAME): Likewise.
29437 * string/test-strcspn.c (TEST_NAME): Likewise.
29438 * string/test-strlen.c (TEST_NAME): Likewise.
29439 * string/test-strncasecmp.c (TEST_NAME): Likewise.
29440 * string/test-strncmp.c (TEST_NAME): Likewise.
29441 * string/test-strncpy.c (TEST_NAME): Likewise.
29442 * string/test-strnlen.c (TEST_NAME): Likewise.
29443 * string/test-strpbrk.c (TEST_NAME): Likewise.
29444 * string/test-strrchr.c (TEST_NAME): Likewise.
29445 * string/test-strspn.c (TEST_NAME): Likewise.
29446 * string/test-strstr.c (TEST_NAME): Likewise.
29447 * string/test-bcopy-ifunc.c: New file.
29448 * string/test-bzero-ifunc.c: Likewise.
29449 * string/test-memccpy-ifunc.c: Likewise.
29450 * string/test-memchr-ifunc.c: Likewise.
29451 * string/test-memcmp-ifunc.c: Likewise.
29452 * string/test-memcpy-ifunc.c: Likewise.
29453 * string/test-memmem-ifunc.c: Likewise.
29454 * string/test-memmove-ifunc.c: Likewise.
29455 * string/test-mempcpy-ifunc.c: Likewise.
29456 * string/test-memset-ifunc.c: Likewise.
29457 * string/test-rawmemchr-ifunc.c: Likewise.
29458 * string/test-stpcpy-ifunc.c: Likewise.
29459 * string/test-stpncpy-ifunc.c: Likewise.
29460 * string/test-strcasecmp-ifunc.c: Likewise.
29461 * string/test-strcasestr-ifunc.c: Likewise.
29462 * string/test-strcat-ifunc.c: Likewise.
29463 * string/test-strchr-ifunc.c: Likewise.
29464 * string/test-strchrnul-ifunc.c: Likewise.
29465 * string/test-strcmp-ifunc.c: Likewise.
29466 * string/test-strcpy-ifunc.c: Likewise.
29467 * string/test-strcspn-ifunc.c: Likewise.
29468 * string/test-strlen-ifunc.c: Likewise.
29469 * string/test-strncasecmp-ifunc.c: Likewise.
29470 * string/test-strncat-ifunc.c: Likewise.
29471 * string/test-strncmp-ifunc.c: Likewise.
29472 * string/test-strncpy-ifunc.c: Likewise.
29473 * string/test-strnlen-ifunc.c: Likewise.
29474 * string/test-strpbrk-ifunc.c: Likewise.
29475 * string/test-strrchr-ifunc.c: Likewise.
29476 * string/test-strspn-ifunc.c: Likewise.
29477 * string/test-strstr-ifunc.c: Likewise.
29478
de54b33a
L
29479 * debug/Makefile (tests-ifunc): New variable.
29480 (tests): Add $(tests-ifunc).
29481 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
29482 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
29483 * debug/test-stpcpy_chk-ifunc.c: New file.
29484 * debug/test-strcpy_chk-ifunc.c: Likewise.
29485
88481c16
SP
294862012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
29487
29488 [BZ #13601]
29489 * elf/dl-load.c (open_verify): Retry read if the entire ELF
29490 header is not read in.
29491
135948bd
JM
294922012-10-19 Joseph Myers <joseph@codesourcery.com>
29493
89f1c388
JM
29494 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
29495 script to $(SHELL) as $<. Pass $(common-objpfx) to script
29496 directly. Pass built executable to script as
29497 $(built-program-cmd).
29498 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
29499 $testprogram without using LD_LIBRARY_PATH and $ldso.
29500
e40a0d21
JM
29501 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
29502 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
29503 $(rtld-installed-name).
29504 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
29505 (rtld_installed_name): Likewise.
29506 (library_path): Likewise.
29507 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
29508 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
29509 $(run-program-prefix) to tst-tables.sh.
29510 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
29511 it to run tst-table-from and tst-table-to.
29512 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
29513 Pass it to tst-table.sh.
29514 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
29515 $(run-program-prefix) to tst-gettext.sh.
29516 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
29517 tst-translit.sh.
29518 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
29519 tst-gettext2.sh.
29520 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
29521 to run tst-gettext.
29522 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
29523 to run tst-gettext2.
29524 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
29525 to run tst-translit.
29526 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
29527 $(run-program-prefix) to tst-mtrace.sh.
29528 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
29529 to run tst-mtrace.
29530 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
29531 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
29532 $(rtld-installed-name).
29533 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
29534 (rtld_installed_name): Likewise.
29535 (run_program_prefix): New variable. Use it to run wordexp-test.
29536
728e272a
JM
29537 * Makeconfig (ARCH): Remove all definitions.
29538 (machine): Likewise.
29539 [ARCH]: Remove conditional code.
29540 [!objdir]: Give error.
29541 [!objdir] (objpfx): Remove.
29542 [!objdir] (common-objpfx): Likewise.
29543 [!objdir] (common-objdir): Likewise.
29544 * configure.in (config_makefile): Remove. Hardcode Makefile in
29545 AC_CONFIG_FILES call.
29546 * configure: Regenerated.
29547
d528cdcf
JM
29548 [BZ #13888]
29549 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
29550 or TMPDIR.
29551 (testout): Likewise.
29552
135948bd
JM
29553 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
29554 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
29555 $(rtld-installed-name).
29556 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
29557 (rtld_installed_name): Likwise.
29558 (runit): Remove function.
29559 (run_getconf): New variable, Use it for running getconf binary.
29560
38c78296
L
295612012-10-18 H.J. Lu <hongjiu.lu@intel.com>
29562
29563 [BZ #14716]
29564 * string/test-memmem.c (check_result): New function.
29565 (do_one_test): Use it.
29566 (check1): New function.
29567 (test_main): Use it.
29568
d077f65f
MT
295692012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
29570
29571 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
29572
ced52c71
JM
295732012-10-18 Joseph Myers <joseph@codesourcery.com>
29574
29575 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
29576 (_G_LSEEK64): Likewise.
29577 (_G_MMAP64): Likewise.
29578 (_G_FSTAT64): Likewise.
29579 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
29580 (_G_LSEEK64): Likewise.
29581 (_G_MMAP64): Likewise.
29582 (_G_FSTAT64): Likewise.
29583 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
29584 unconditional. Call __mmap64 directly.
29585 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
29586 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
29587 __lseek64 directly.
29588 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
29589 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
29590 __mmap64 directly.
29591 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
29592 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
29593 __lseek64 directly.
29594 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
29595 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
29596 __lseek64 directly.
29597 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
29598 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
29599 __lseek64 directly.
29600 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
29601 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
29602 __fxstat64 directly.
29603 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
29604 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
29605 unconditional.
29606 (freopen64) [!_G_OPEN64]: Remove conditional code.
29607 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
29608 unconditional.
29609 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
29610 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
29611 unconditional.
29612 (ftello64) [!_G_LSEEK64]: Remove conditional code.
29613 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
29614 unconditional.
29615 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
29616 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
29617 unconditional.
29618 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
29619 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
29620 unconditional.
29621 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
29622 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
29623 unconditional.
29624 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
29625 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
29626 unconditional.
29627 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
29628
b741de23
SP
296292012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
29630
29631 [BZ #12140]
29632 * manual/memory.texi (Malloc Tunable Parameters): Add note
29633 about free list pointers overwriting some perturb bytes.
29634 Wording suggested by Roland McGrath.
29635
f9b9d9c9
JM
296362012-10-17 Joseph Myers <joseph@codesourcery.com>
29637
29638 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
29639 (lgamma_test): Likewise.
29640 (tgamma_test): Likewise.
29641
172a631a
FW
296422012-10-16 Florian Weimer <fweimer@redhat.com>
29643
29644 [BZ #14700]
29645 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
29646 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
29647
e9f37252
MK
296482012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
29649
29650 * NEWS: Mention BZ #14716.
29651 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
29652 when removing AVAILABLE1_USES_J macro.
29653
d394eb74
L
296542012-10-12 H.J. Lu <hongjiu.lu@intel.com>
29655
29656 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
29657 (__bswap_64): __uint64_t for unsigned 64-bit int.
29658
ca38dc17
AS
296592012-10-12 Andreas Schwab <schwab@linux-m68k.org>
29660
29661 * include/string.h (memmem): Declare libc hidden alias.
29662 * string/memmem.c (memmem): Define libc hidden alias.
29663 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
29664 __read, __close instead of open, read, close.
29665
9a387d1f
L
296662012-10-11 H.J. Lu <hongjiu.lu@intel.com>
29667
ac49ecaf
L
29668 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
29669 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
29670 global and hidden.
29671 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
29672 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
29673 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
29674 Likewise.
29675 (__rawmemchr_sse2): Likewise.
29676 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
29677 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
29678 (__strchr_sse2): Likewise.
29679 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
29680 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
29681 (__strcasecmp_sse2): Likewise.
29682 (__strncasecmp_sse2): Likewise.
29683 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
29684 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
29685 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
29686 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
29687 (__strrchr_sse2): Likewise.
29688 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
29689 ifunc-impl-list.c.
29690 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
29691 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
29692 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
29693 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
29694 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
29695 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
29696 * sysdeps/x86_64/multiarch/memset.S: Likewise.
29697 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
29698 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
29699 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
29700 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
29701 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
29702 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
29703 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
29704 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
29705 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
29706 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
29707 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
29708 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
29709 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
29710 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
29711 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
29712 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
29713 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
29714 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
29715 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
29716 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
29717 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
29718 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
29719 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
29720
b090e8ea
L
29721 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
29722 global and hidden.
29723 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
29724 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
29725 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
29726 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
29727 Likewise.
29728 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
29729 Likewise.
29730 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
29731 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
29732 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
29733 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
29734 ifunc-impl-list.c.
29735 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
29736 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
29737 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
29738 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
29739 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
29740 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
29741 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
29742 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
29743 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
29744 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
29745 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
29746 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
29747 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
29748 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
29749 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
29750 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
29751 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
29752 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
29753 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
29754 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
29755 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
29756 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
29757 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
29758 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
29759 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
29760 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
29761 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
29762 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
29763 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
29764 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
29765 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
29766 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
29767 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
29768 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
29769 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
29770 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
29771 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
29772 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
29773 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
29774 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
29775 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
29776
11dd4af6
L
29777 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
29778 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
29779 * include/ifunc-impl-list.h: New file.
29780 * misc/ifunc-impl-list.c: Likewise.
29781 * misc/Makefile (routines): Add ifunc-impl-list.
29782 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
29783 * string/test-string.h: Include <ifunc-impl-list.h>.
57f41c40
AS
29784 (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
29785 TEST_NAME]: New variables.
11dd4af6
L
29786 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
29787 are defined.
29788 (test_init): Call __libc_ifunc_impl_list to initialize
29789 func_list if TEST_IFUNC and TEST_NAME are defined.
29790
9a387d1f
L
29791 * string/Makefile (strop-tests): Add bcopy and bzero.
29792 * string/test-bcopy.c: New file.
29793 * string/test-bzero.c: Likewise.
29794 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
29795 defined.
29796 * string/test-memset.c: Support bzero test if TEST_BZERO is
29797 defined.
29798 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
29799 __libc_memmove.
29800 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
29801 __libc_memset.
29802 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
29803 of memset.
29804
472371b9
JM
298052012-10-10 Joseph Myers <joseph@codesourcery.com>
29806
1e4a9536
JM
29807 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
29808 * configure: Regenerated.
29809
d173d12e
JM
29810 * Makeconfig (+link-static-before-libc): Don't include
29811 $(link-static-libc).
29812
472371b9
JM
29813 * libio/libio.h (_IO_pos_t): Remove.
29814
89a3ad0b
AO
298152012-10-10 Alexandre Oliva <aoliva@redhat.com>
29816
29817 * NEWS: Add note about FIPS mode. Wording suggested by Roland
29818 McGrath.
29819
e7451425
AO
298202012-10-10 Alexandre Oliva <aoliva@redhat.com>
29821
29822 * crypt/crypt-entry.c: Include fips-private.h.
29823 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
29824 * crypt/md5c-test.c (main): Tolerate disabled MD5.
29825 * sysdeps/unix/sysv/linux/fips-private.h: New file.
29826 * sysdeps/generic/fips-private.h: New file, dummy fallback.
29827
4ba74a35
AO
298282012-10-10 Alexandre Oliva <aoliva@redhat.com>
29829
29830 * crypt/crypt-private.h: Include stdbool.h.
29831 (_ufc_setup_salt_r): Return bool.
29832 * crypt/crypt-entry.c: Include errno.h.
29833 (__crypt_r): Return NULL with EINVAL for bad salt.
29834 * crypt/crypt_util.c (bad_for_salt): New.
29835 (_ufc_setup_salt_r): Check that salt is long enough and within
29836 the specified alphabet.
29837 * crypt/badsalttest.c: New file.
29838 * crypt/Makefile (tests): Add it.
29839 ($(objpfx)badsalttest): New.
29840
f96f1242
MK
298412012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
29842
29843 * NEWS: Add entry for BZ #14602.
29844
0e8e0c1c
JM
298452012-10-09 Joseph Myers <joseph@codesourcery.com>
29846
29847 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
29848 type-generic.
29849 * math/libm-test.inc: Update comment listing what functions and
29850 macros are tested.
29851 (isgreater_test): New function.
29852 (isgreaterequal_test): Likewise.
29853 (isless_test): Likewise.
29854 (islessequal_test): Likewise.
29855 (islessgreater_test): Likewise.
29856 (isunordered_test): Likewise.
29857 (main): Call the new functions.
29858
273edc5e
RM
298592012-10-09 Roland McGrath <roland@hack.frob.com>
29860
b8493de0
RM
29861 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
29862 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
29863 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
29864 * sysdeps/i386/configure: Regenerated.
29865 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
29866 * sysdeps/mach/configure: Regenerated.
29867 * sysdeps/mach/hurd/configure: Regenerated.
29868 * sysdeps/powerpc/configure: Regenerated.
29869 * sysdeps/powerpc/powerpc32/configure: Regenerated.
29870 * sysdeps/powerpc/powerpc64/configure: Regenerated.
29871 * sysdeps/s390/s390-32/configure: Regenerated.
29872 * sysdeps/s390/s390-64/configure: Regenerated.
29873 * sysdeps/sh/configure: Regenerated.
29874 * sysdeps/sparc/configure: Regenerated.
29875 * sysdeps/unix/sysv/linux/configure: Regenerated.
29876 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
29877 * sysdeps/x86_64/configure: Regenerated.
29878
273edc5e
RM
29879 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
29880 defined. Don't check if MAP is NULL.
29881
c8450f70
JM
298822012-10-09 Joseph Myers <joseph@codesourcery.com>
29883
29884 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
29885 (_G_stat64): Likewise.
29886 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
29887 (_G_stat64): Likewise.
29888 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
29889 instead of struct _G_stat64.
29890 * libio/fileops.c (mmap_remap_check): Likewise.
29891 (decide_maybe_mmap): Likewise.
29892 (_IO_new_file_seekoff): Likewise.
29893 (_IO_file_stat): Likewise.
29894 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
29895 _G_off64_t.
29896 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
29897 instead of struct _G_stat64.
29898 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
29899
57e605ba
MK
299002012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
29901
29902 [BZ #14602]
29903 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
29904 Replace with ...
29905 (CHECK_EOL): New macro.
29906 (two_way_short_needle): Check beginning of haystack for EOL. Use
29907 CHECK_EOL.
29908 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
29909 Replace with CHECK_EOL.
29910 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
29911 Replace with CHECK_EOL.
29912
ef1bb361
JM
299132012-10-08 Joseph Myers <joseph@codesourcery.com>
29914
29915 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
29916 type-generic.
29917 * math/libm-test.inc: Update comment listing what functions and
29918 macros are tested.
29919 (finite_test): New function.
29920 (isinf_test): Likewise.
29921 (isnan_test): Likewise.
29922 (fpclassify_test): Test subnormal input.
29923 (isfinite_test): Likewise.
29924 (isnormal_test): Likewise.
29925 (main): Call the new functions.
29926
55f11534
JN
299272012-10-08 Jonathan Nieder <jrnieder@gmail.com>
29928
29929 [BZ #14660]
29930 * Makerules (%.dynsym): Force C locale when running
29931 $(OBJDUMP) --dynamic-syms.
29932
1ab29350
AS
299332012-10-08 Andreas Schwab <schwab@linux-m68k.org>
29934
29935 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
29936 <stdint.h>.
29937
f1ecb7ef
DM
299382012-10-06 David S. Miller <davem@davemloft.net>
29939
29940 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
29941 upper 32-bits of the length value in %o2 since we use branch-on-register
29942 tests which consider the entire 64-bit register.
29943
5d41d91a
L
299442012-10-06 H.J. Lu <hongjiu.lu@intel.com>
29945
29946 * string/test-strstr.c (check2): Add a test for page boundary.
29947
3baddb72
DM
299482012-10-05 David S. Miller <davem@davemloft.net>
29949
29950 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
29951 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
29952 file.
29953 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
29954 sysdep_routines.
29955 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
29956 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
29957 and bzero when HWCAP_SPARC_CRYPTO is present.
29958
9cee5585
L
299592012-10-05 H.J. Lu <hongjiu.lu@intel.com>
29960
d7e0dab9
L
29961 [BZ #14602]
29962 * string/test-strstr.c (check2): New function.
29963 (test_main): Call check2.
29964
03759f47
L
29965 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
29966 and bug-strchr1.
29967 * string/bug-strcasestr1.c (do_test): Moved to ...
29968 * string/test-strcasestr.c (check1): Here. New function.
29969 (do_one_test): Break out result checking code into ...
29970 (check_result): This. New function.
29971 (do_one_test): Call check_result.
29972 (test_main): Call check1.
29973 * string/bug-strchr1.c (do_test): Moved to ...
29974 * string/test-strchr.c (check1): Here. New function.
29975 (do_one_test): Break out result checking code into ...
29976 (check_result): This. New function.
29977 (do_one_test): Call check_result.
29978 (test_main): Call check1.
29979 * string/bug-strstr1.c (main): Moved to ...
046f153e 29980 * string/test-strstr.c (check1): Here. New function.
03759f47
L
29981 (do_one_test): Break out result checking code into ...
29982 (check_result): This. New function.
29983 (do_one_test): Call check_result.
29984 (test_main): Call check1.
29985 * string/bug-strcasestr1.c: Removed.
29986 * string/bug-strchr1.c: Likewise.
29987 * string/bug-strstr1.c: Likewise.
29988
53cea63e
L
29989 * elf/Makefile (dl-routines): Add hwcaps.
29990 * elf/dl-support.c (_dl_important_hwcaps): Removed.
29991 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
29992 (_dl_important_hwcaps): Moved to ...
29993 * elf/dl-hwcaps.c: Here. New file.
29994 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
29995
9cee5585 29996 [BZ #14557]
bb859b06
L
29997 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
29998 if IS_IN_rtld isn't defined.
29999
9cee5585
L
30000 * elf/dl-support.c (_dl_sysinfo_map): New.
30001 Include "get-dynamic-info.h" and "setup-vdso.h".
30002 (_dl_non_dynamic_init): Call setup_vdso.
30003 * elf/dynamic-link.h: Don't include <assert.h>.
30004 (elf_get_dynamic_info): Moved to ...
30005 * elf/get-dynamic-info.h: Here. New file.
30006 * elf/dynamic-link.h: Include "get-dynamic-info.h".
30007 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
30008 * elf/setup-vdso.h: Here. New file.
30009 * elf/rtld.c: Include "setup-vdso.h".
30010 (dl_main): Call setup_vdso.
30011
23c31b76
JM
300122012-10-05 Joseph Myers <joseph@codesourcery.com>
30013
28234b07
JM
30014 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
30015 creal in comment listing functions tested. List finite, isinf,
30016 isnan, isless, islessequal, isgreater, isgreaterequal,
30017 islessgreater, isunordered, lgamma_r and pow10 as functions and
30018 macros not tested. Mention which functions not tested are aliases
30019 for other functions. Fix typo. Note that signs of NaNs are not
30020 tested.
30021
23c31b76
JM
30022 * scripts/config.guess: Update from config.git.
30023 * scripts/config.sub: Likewise.
30024
9043e228
RM
300252012-10-04 Roland McGrath <roland@hack.frob.com>
30026
30027 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
30028 * misc/madvise.c (madvise): Renamed to __madvise.
30029 Make madvise a weak alias.
30030 * include/sys/mman.h: Declare __madvise.
30031 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
30032 * sysdeps/unix/syscalls.list
30033 (madvise): Make __madvise the strong name, and madvise a weak alias.
30034 * sysdeps/unix/sysv/linux/syscalls.list
30035 (madvise, mmap): Remove redundant entries.
30036 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
30037 * malloc/malloc.c (mtrim): Likewise.
30038 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
30039
f57f8055
RM
300402012-10-03 Roland McGrath <roland@hack.frob.com>
30041
30042 * sysdeps/mach/hurd/dl-cache.c: File removed.
30043 * config.h.in (USE_LDCONFIG): New #undef.
30044 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
30045 * configure: Regenerated.
30046 * elf/Makefile (dl-routines): Add dl-cache only under
30047 [$(use-ldconfig) = yes].
30048 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
30049 cache on [USE_LDCONFIG].
30050 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
30051 [USE_LDCONFIG].
30052 * elf/rtld.c (dl_main): Likewise.
30053
5bb0c10a
PT
300542012-10-03 Pino Toscano <toscano.pino@tiscali.it>
30055
30056 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
30057 _SC_LEVEL4_CACHE_LINESIZE.
30058
010188c6
RM
300592012-10-03 Roland McGrath <roland@hack.frob.com>
30060
30061 * sysdeps/unix/bsd/confstr.h: File removed.
30062
b6c5ec07
AO
300632012-10-02 Alexandre Oliva <aoliva@redhat.com>
30064
30065 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
30066 sys/sdt-config.h.
30067
408223d4
RM
300682012-10-02 Roland McGrath <roland@hack.frob.com>
30069
30070 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
30071 Make 'mapoff' field ElfW(Off) rather than off_t.
30072
bb9510dc
DL
300732012-10-02 Dmitry V. Levin <ldv@altlinux.org>
30074
fc997c6e
DL
30075 * nscd/Makefile: Remove nscd-cflags and all its users.
30076 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
30077 (CFLAGS-nonlib): Add compiler flags for nscd modules.
30078
bb9510dc
DL
30079 [BZ #10631]
30080 * malloc.c (malloc_printerr): Clarify error message.
30081
05699367
L
300822012-10-02 H.J. Lu <hongjiu.lu@intel.com>
30083
30084 [BZ #14648]
30085 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
30086 Set bit_FMA_Usable if FMA is supported.
30087 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
30088 macro.
30089 (bit_FMA4_Usable): Updated.
30090 (index_FMA_Usable): New macro.
30091 (CPUID_FMA): Likewise
30092 (HAS_FMA): Defined with bit_FMA_Usable.
30093
51367701
RM
300942012-10-01 Roland McGrath <roland@hack.frob.com>
30095
30096 * bits/types.h (__swblk_t): Type removed.
30097 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
30098 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
30099 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
30100 (__SWBLK_T_TYPE): Likewise.
30101 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
30102 (__SWBLK_T_TYPE): Likewise.
30103 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
30104 (__SWBLK_T_TYPE): Likewise.
30105 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
30106 (__SWBLK_T_TYPE): Likewise.
30107
4d57bf63 301082012-10-01 Patsy Franklin <pfrankli@redhat.com>
1e9d84cd 30109 Honza Horak <hhorak@redhat.com>
4d57bf63
JL
30110
30111 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
30112 (xdr_mapname): Use YPMAXMAP as maxsize.
30113 (xdr_peername): Use YPMAXPEER as maxsize.
30114 (xdr_keydat): Use YPAXRECORD as maxsize.
30115 (xdr_valdat): Use YPMAXRECORD as maxsize.
30116
93c65d43
RM
301172012-10-01 Roland McGrath <roland@hack.frob.com>
30118
497a03d6
RM
30119 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
30120
93c65d43
RM
30121 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
30122 * csu/init-first.c: ... here.
30123 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
30124 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
30125 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
30126 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
30127 * sysdeps/i386/init-first.c: File removed.
30128 * sysdeps/sh/init-first.c: File removed.
30129
bec749fd
JM
301302012-10-01 Joseph Myers <joseph@codesourcery.com>
30131
30132 [BZ #14645]
30133 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
30134 if x * y might underflow to zero and z is zero.
30135 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
30136 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
30137 * math/libm-test.inc (min_subnorm_value): New variable.
30138 (fma_test): Add more tests.
30139 (fma_test_towardzero): Likewise.
30140 (fma_test_downward): Likewise
30141 (fma_test_upward): Likewise.
30142 (initialize): Set min_subnorm_value.
30143
8ec5b013
JM
301442012-09-29 Joseph Myers <joseph@codesourcery.com>
30145
30146 [BZ #14638]
30147 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
30148 0 + 0.
30149 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
30150 mode for addition resulting in exact zero.
30151 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
30152 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
30153 exact 0 + 0.
30154 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
30155 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
30156 * math/libm-test.inc (fma_test): Add more tests.
30157 (fma_test_towardzero): New function.
30158 (fma_test_downward): Likewise.
30159 (fma_test_upward): Likewise.
30160 (main): Call the new functions.
30161
b1fa802e
DM
301622012-09-28 David S. Miller <davem@davemloft.net>
30163
30164 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
30165
d3b9fd9e
RM
301662012-09-28 Roland McGrath <roland@hack.frob.com>
30167
ea4d37b3
RM
30168 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
30169 instead of SIGALRM.
30170
ac51c949
RM
30171 * sysdeps/gnu/_G_config.h: Moved to ...
30172 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
30173 * sysdeps/mach/hurd/_G_config.h: Moved to ...
30174 * sysdeps/generic/_G_config.h: ... here.
30175
28c195f7
RM
30176 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
30177
848917f9
RM
30178 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
30179
6bacf05b
RM
30180 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
30181 Conditionalize target on [libnss_test1.so-version].
30182
91363dbb
RM
30183 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
30184
cc87f7d8
RM
30185 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
30186 (elfobjdir): Move out of conditionals.
30187
b1c608fe
RM
30188 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
30189 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
30190 (__nss_lookup_function): Conditionalize label remove_from_tree on
30191 [!DO_STATIC_NSS || SHARED], matching its only use.
d3b9fd9e 30192
1d9a6d96
DM
301932012-09-28 David S. Miller <davem@davemloft.net>
30194
30195 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
30196 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
30197 file.
30198 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
30199 sysdep_routines.
30200 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
30201 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
30202 when HWCAP_SPARC_CRYPTO is present.
30203
72581615
PT
302042012-09-28 Pino Toscano <toscano.pino@tiscali.it>
30205
30206 * io/tst-mknodat.c: Create a FIFO instead of a socket.
30207
715a900c
JL
302082012-09-28 Andreas Schwab <schwab@linux-m68k.org>
30209
30210 [BZ #6530]
30211 * stdio-common/vfprintf.c (process_string_arg): Revert
30212 2000-07-22 change.
30213
302142011-09-28 Jonathan Nieder <jrnieder@gmail.com>
30215
30216 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
30217 for testcase.
30218 * stdio-common/tst-sprintf.c: Include <locale.h>
30219 (main): Test sprintf's handling of incomplete multibyte
30220 characters.
30221
9bac1d86
L
302222012-09-28 H.J. Lu <hongjiu.lu@intel.com>
30223
30224 * elf/dl-runtime.c (VERSYMIDX): Removed.
30225 * elf/dl-version.c (VERSYMIDX): Likewise.
30226 * elf/do-rel.h (VERSYMIDX): Likewise.
30227 (VALIDX): Likewise.
30228 * elf/dynamic-link.h (VERSYMIDX): Likewise.
30229 * elf/rtld.c (VALIDX): Likewise.
30230 (ADDRIDX): Likewise.
9bac1d86
L
30231 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
30232 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
30233 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
9c464f9c
L
30234 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
30235 (VALIDX): Likewise.
30236 (ADDRIDX): Likewise.
9bac1d86 30237
b31606c0
PT
302382012-09-28 Pino Toscano <toscano.pino@tiscali.it>
30239
30240 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
30241
11541177
JL
302422012-09-28 Dmitry V. Levin <ldv@altlinux.org>
30243
30244 [BZ #11438]
30245 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
30246 to global scope.
30247 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
30248 addresses are in the same scope as 192.0.2/24.
30249 * posix/gai.conf: Document new scope table defaults.
30250
adb26fae
SP
302512012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
30252
30253 [BZ #5298]
30254 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
30255 for ftell. Compute offsets from write pointers instead.
30256 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
30257
4573c6b0
SP
302582012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
30259
30260 [BZ #14543]
30261 * libio/Makefile (tests): New test case tst-fseek.
30262 * libio/tst-fseek.c: New test case to verify that fseek/ftell
30263 combination works in wide mode.
30264 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
30265 state when the external buffer state changes.
30266
aa9bbfe6
DM
302672012-09-27 David S. Miller <davem@davemloft.net>
30268
30269 [BZ #14376]
30270 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
30271 pass reloc->r_addend in as the 'high' argument to
30272 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
30273
784421e7
DM
30274 * sysdeps/sparc/fpu/libm-test-ulps: Update.
30275
c39bc8b8
PT
302762012-09-28 Pino Toscano <toscano.pino@tiscali.it>
30277
30278 * rt/tst-aio2.c: Include <pthread.h>.
30279 * rt/tst-aio3.c: Likewise.
30280
1ccc2399
SE
302812012-09-27 Steve Ellcey <sellcey@mips.com>
30282
30283 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
30284
31ed4153
L
302852012-09-27 H.J. Lu <hongjiu.lu@intel.com>
30286
25f5f885
L
30287 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
30288 contents on [SHARED].
31ed4153 30289
b7bfe116
MP
302902012-09-26 Marek Polacek <polacek@redhat.com>
30291
30292 [BZ #14530]
30293 [BZ #13741]
30294 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
30295 for C++ and GCC <4.3 as well as for non GCC compilers.
30296
43c4edba
MT
302972012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
30298
30299 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
30300
6a1bf82f
RM
303012012-09-25 Roland McGrath <roland@hack.frob.com>
30302
30303 * Makefile.in (all, install): Declare with .PHONY.
30304 Reported by Michael Hope <michael.hope@linaro.org>.
30305
8ad11b9a
TMQMF
303062012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
30307
30308 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
30309 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
30310 system header.
30311 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
30312 Likewise.
30313 (sydep_routines): Add the new and the internal functions.
30314 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
30315 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
30316 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
30317 (GLIBC_2.17): Add the new function.
30318 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
30319 (GLIBC_2.17): Likewise.
30320 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
30321 (GLIBC_2.17): Likewise.
30322 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
30323 (GLIBC_2.17): Likewise.
30324 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
30325
7e2fca8d
AM
303262012-09-25 Alan Modra <amodra@gmail.com>
30327
30328 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
30329 Add release barrier before setting once_control to say
30330 initialisation is done. Add hints on lwarx. Use macro in
30331 place of isync.
30332 (clear_once_control): Add release barrier.
30333
b87c4b24
JM
303342012-09-25 Joseph Myers <joseph@codesourcery.com>
30335
d032e0d2
JM
30336 [BZ #13629]
30337 * math/s_clog.c (__clog): Handle more values close to |z| = 1
30338 specially.
30339 * math/s_clog10.c (__clog10): Likewise.
30340 * math/s_clog10f.c (__clog10f): Likewise.
30341 * math/s_clog10l.c (__clog10l): Likewise.
30342 * math/s_clogf.c (__clogf): Likewise.
30343 * math/s_clogl.c (__clogl): Likewise.
30344 * math/Makefile (libm-calls): Add x2y2m1.
30345 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
30346 (__x2y2m1): Likewise.
30347 (__x2y2m1l): Likewise.
30348 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
30349 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
30350 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
30351 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
30352 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
30353 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
30354 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
30355 * sysdeps/i386/fpu/libm-test-ulps: Update.
30356 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30357
b87c4b24
JM
30358 [BZ #14621]
30359 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
30360 int as type of variable DEPTH.
30361 (glob): Use size_t instead of int as type of variables NEWCOUNT
30362 and OLD_PATHC.
30363
6d3bf199
LD
303642012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
30365
22bf5c17
LD
30366 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
30367 Add s_sincosf-sse2.
30368 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
30369 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
30370 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
30371 macros for using routine as __sincosf_ia32.
30372 Use macro for function declaration and weak_alias.
30373 * sysdeps/i386/fpu/libm-test-ulps: Update.
30374
30375 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
30376 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
30377
30378 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
6d3bf199
LD
30379 subnormal argument.
30380 * math/s_cexpf.c (__cexpf): Likewise.
30381 * math/s_csinf.c (__csinf): Likewise.
30382 * math/s_csinhf.c (__csinhf): Likewise.
30383 * math/s_ctanf.c (__ctanf): Likewise.
30384 * math/s_ctanhf.c (__ctanhf): Likewise.
30385 * math/s_ccosh.c (__ccoshf): Likewise.
30386 * math/s_cexp.c (__cexpl): Likewise.
30387 * math/s_csin.c (__csin): Likewise.
30388 * math/s_csinh.c (__csinh): Likewise.
30389 * math/s_ctan.c (__ctan): Likewise.
30390 * math/s_ctanh.c (ctanh): Likewise.
30391 * math/s_ccoshl.c (__ccoshl): Likewise.
30392 * math/s_cexpl.c (__cexpl): Likewise.
30393 * math/s_csinl.c (__csinl): Likewise.
30394 * math/s_csinhl.c (__csinhl): Likewise.
30395 * math/s_ctanl.c (__ctanl): Likewise.
30396 * math/s_ctanhl.c (__ctanhl): Likewise.
30397
203e5603
JM
303982012-09-25 Joseph Myers <joseph@codesourcery.com>
30399
30400 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
30401 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
30402 (_IO_off_t): Define to __off_t, not _G_off_t.
30403 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
30404 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
30405 (_IO_wint_t): Define to wint_t, not _G_wint_t.
30406 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
30407 type of __dummy and __dummy2 fields.
30408 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
30409 (_G_ssize_t): Likewise.
30410 (_G_off_t): Likewise.
30411 (_G_pid_t): Likewise.
30412 (_G_uid_t): Likewise.
30413 (_G_wchar_t): Likewise.
30414 (_G_wint_t): Likewise.
30415 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
30416 (_G_ssize_t): Likewise.
30417 (_G_off_t): Likewise.
30418 (_G_pid_t): Likewise.
30419 (_G_uid_t): Likewise.
30420 (_G_wchar_t): Likewise.
30421 (_G_wint_t): Likewise.
30422 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
30423 (_G_ssize_t): Likewise.
30424 (_G_off_t): Likewise.
30425 (_G_pid_t): Likewise.
30426 (_G_uid_t): Likewise.
30427 (_G_wchar_t): Likewise.
30428 (_G_wint_t): Likewise.
30429
9fab36eb
SP
304302012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
30431
30432 * malloc/arena.c: Include malloc-sysdep.h.
30433 (shrink_heap): Use check_may_shrink_heap to decide if madvise
30434 is sufficient to shrink the heap or an unmap is needed.
30435 * sysdeps/generic/malloc-sysdep.h: New file. Define
30436 new function check_may_shrink_heap.
30437 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
30438 new function check_may_shrink_heap.
30439
2b4f00d1
SP
304402012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
30441
30442 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
30443 comments.
30444
9a9028b1
DL
304452012-09-24 Dmitry V. Levin <ldv@altlinux.org>
30446
57c69bef
DL
30447 * catgets/test-gencat.sh: Add "set -e".
30448 * elf/tst-pathopt.sh: Likewise.
30449 * grp/tst_fgetgrent.sh: Likewise.
30450 * iconvdata/run-iconv-test.sh: Likewise.
30451 * intl/tst-gettext.sh: Likewise.
30452 * intl/tst-gettext2.sh: Likewise.
30453 * intl/tst-gettext4.sh: Likewise.
30454 * intl/tst-gettext6.sh: Likewise.
30455 * intl/tst-translit.sh: Likewise.
30456 * io/ftwtest-sh: Likewise.
30457 * libio/test-freopen.sh: Likewise.
30458 * malloc/tst-mtrace.sh: Likewise.
30459 * posix/globtest.sh: Likewise.
30460 * posix/tst-getconf.sh: Likewise.
30461 * posix/wordexp-tst.sh: Likewise.
30462 * stdio-common/tst-printf.sh: Likewise.
30463 * stdio-common/tst-unbputc.sh: Likewise.
30464 * stdlib/tst-fmtmsg.sh: Likewise.
30465 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
30466 * catgets/Makefile: Do not specify -e option when running
30467 testsuite shell scripts.
30468 * elf/Makefile: Likewise.
30469 * grp/Makefile: Likewise.
30470 * iconvdata/Makefile: Likewise.
30471 * intl/Makefile: Likewise.
30472 * io/Makefile: Likewise.
30473 * libio/Makefile: Likewise.
30474 * malloc/Makefile: Likewise.
30475 * posix/Makefile: Likewise.
30476 * stdio-common/Makefile: Likewise.
30477 * stdlib/Makefile: Likewise.
30478 * sysdeps/x86_64/Makefile: Likewise.
30479
9a9028b1
DL
30480 * io/ftwtest-sh: Add copyright header.
30481 * posix/globtest.sh: Likewise.
30482 * posix/tst-getconf.sh: Likewise.
30483 * posix/wordexp-tst.sh: Likewise.
30484 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
30485
ced6f16e
L
304862012-09-24 H.J. Lu <hongjiu.lu@intel.com>
30487
94b32c39
L
30488 [BZ #13679]
30489 * Makeconfig (+link): Defined as $(+link-static) if
30490 $(build-shared) isn't yes.
30491 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
30492 isn't yes.
30493 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
30494
189e935b
L
30495 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
30496
ced6f16e
L
30497 [BZ #14562]
30498 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
30499 new chunk size with MALLOC_ALIGN_MASK.
30500
a9f8e53a
JM
305012012-09-24 Joseph Myers <joseph@codesourcery.com>
30502
30503 [BZ #5044]
30504 * stdio-common/printf_fphex.c: Include <stdbool.h> and
30505 <rounding-mode.h>.
30506 (__printf_fphex): Determine rounding using get_rounding_mode and
30507 round_away.
30508 * stdio-common/tst-printf-round.c (struct hex_test): New
30509 structure.
30510 (hex_tests): New variable.
30511 (test_hex_in_one_mode): New function.
30512 (do_test): Also run tests for hex float output.
30513
43153109
JM
305142012-09-21 Joseph Myers <joseph@codesourcery.com>
30515
30516 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
30517 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
30518 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
30519 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
30520 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
30521 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
30522 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
30523 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
30524
8a26625d
JM
305252012-09-20 Joseph Myers <joseph@codesourcery.com>
30526
30527 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
30528 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
30529 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
30530 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
30531
f3fd569c
DL
305322012-09-19 Dmitry V. Levin <ldv@altlinux.org>
30533
30534 [BZ #14579]
30535 * elf/rtld.c (dl_main): Limit the check for self loading to normal
30536 mode only.
30537 * elf/tst-rtld-load-self.sh: New test.
30538 * elf/Makefile: Run it.
30539
63bbedd4
JM
305402012-09-18 Joseph Myers <joseph@codesourcery.com>
30541
30542 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
30543 (tst-writev-ENV): Remove.
30544 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
30545
626f8b6a
CM
305462012-09-17 Chris Metcalf <cmetcalf@tilera.com>
30547
30548 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
30549
b7aaa4d6
JM
305502012-09-17 Joseph Myers <joseph@codesourcery.com>
30551
30552 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
30553 unconditional.
30554 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
30555 Likewise.
30556 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
30557 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
30558 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
30559 Likewise.
30560
65513990
L
305612012-09-14 H.J. Lu <hongjiu.lu@intel.com>
30562
30563 [BZ #14587]
30564 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
30565 * config.make.in (have-cpp-asm-debuginfo): Removed.
30566 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
30567 * configure: Regenerated.
30568
784761be
JM
305692012-09-14 Joseph Myers <joseph@codesourcery.com>
30570
30571 [BZ #5044]
30572 * stdio-common/printf_fp.c: Include <stdbool.h> and
30573 <rounding-mode.h>.
30574 (___printf_fp): Determine rounding using get_rounding_mode and
30575 round_away.
30576 * stdio-common/tst-printf-round.c: New file.
30577 * stdio-common/Makefile (tests): Add tst-printf-round.
30578 (link-libm): New variable.
30579 ($(objpfx)tst-printf-round): Depend in $(link-libm).
30580
9503345f
L
305812012-09-13 H.J. Lu <hongjiu.lu@intel.com>
30582
30583 [BZ #14576]
30584 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
30585 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
30586 Likewise.
30587 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
30588 Likewise.
30589
ad35fc00
JM
305902012-09-13 Joseph Myers <joseph@codesourcery.com>
30591
30592 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
30593 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
30594 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
30595 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
30596
6c9b0f68
JM
305972012-09-12 Joseph Myers <joseph@codesourcery.com>
30598
30599 [BZ #14518]
30600 * include/rounding-mode.h: New file.
30601 * sysdeps/generic/get-rounding-mode.h: Likewise.
30602 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
30603 * stdlib/strtod_l.c: Include <rounding-mode.h>.
30604 (MAX_VALUE): New macro.
30605 (MIN_VALUE): Likewise.
30606 (overflow_value): New function.
30607 (underflow_value): Likewise.
30608 (round_and_return): Use overflow_value and underflow_value to
30609 determine return values in overflow and underflow cases. Use
30610 round_away to determine rounding depending on rounding mode.
30611 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
30612 determine return values in overflow and underflow cases.
30613 * stdlib/tst-strtod-round.c: Include <fenv.h>.
30614 (struct test_results): New structure.
30615 (struct test): Use struct test_results to store expected results
30616 for all rounding modes.
30617 (TEST): Include expected results for all rounding modes.
30618 (test_in_one_mode): New function.
30619 (do_test): Use test_in_one_mode to compute and check results.
30620 Check results for all rounding modes.
30621 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
30622 $(link-libm).
30623
19fcedd5
AM
306242012-12-09 Allan McRae <allan@archlinux.org>
30625
1e9d84cd 30626 * sysdeps/i386/fpu/libm-test-ulps: Update
19fcedd5 30627
8bbfd2f1
JM
306282012-09-11 Joseph Myers <joseph@codesourcery.com>
30629
30630 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
30631 (_G_int32_t): Likewise.
30632 (_G_uint16_t): Likewise.
30633 (_G_uint32_t): Likewise.
30634 (_G_HAVE_BOOL): Likewise.
30635 (_G_HAVE_ATEXIT): Likewise.
30636 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
30637 (_G_HAVE_IO_FILE_OPEN): Likewise.
30638 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
30639 (_G_int32_t): Likewise.
30640 (_G_uint16_t): Likewise.
30641 (_G_uint32_t): Likewise.
30642 (_G_HAVE_BOOL): Likewise.
30643 (_G_HAVE_ATEXIT): Likewise.
30644 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
30645 (_G_HAVE_IO_FILE_OPEN): Likewise.
30646 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
30647 (_G_int32_t): Likewise.
30648 (_G_uint16_t): Likewise.
30649 (_G_uint32_t): Likewise.
30650 (_G_HAVE_BOOL): Likewise.
30651 (_G_HAVE_ATEXIT): Likewise.
30652 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
30653 (_G_HAVE_IO_FILE_OPEN): Likewise.
30654
b1dc5912
L
306552012-09-11 H.J. Lu <hongjiu.lu@intel.com>
30656
30657 * csu/libc-tls.c: Update copyright years.
30658
0e886ef9
JM
306592012-09-10 Joseph Myers <joseph@codesourcery.com>
30660
28361c5e
JM
30661 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
30662 [!_G_USING_THUNKS]: Remove conditional code.
30663 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
30664 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
30665
0e886ef9
JM
30666 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
30667 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
30668 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
30669 (_G_VTABLE_LABEL_PREFIX): Likewise.
30670 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
30671 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
30672 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
30673 (_G_VTABLE_LABEL_PREFIX): Likewise.
30674 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
30675 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
30676 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
30677 (_G_VTABLE_LABEL_PREFIX): Likewise.
30678 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
30679
bcba7aa2
L
306802012-09-10 H.J. Lu <hongjiu.lu@intel.com>
30681
30682 * libio/Makefile: Include ../Makeconfig before tests.
30683 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
30684 only if $(build-shared) is yes.
30685
06585ee8
L
30686 * iconv/gconv_db.c: Update copyright years.
30687
80ccd52c
LD
306882012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
30689
30690 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
30691 unwind info if defined PIC. Fix special cases description.
30692 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
30693
30694 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
30695 DP_HI_MASK entry.
30696 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
30697
691bc9c1
L
306982012-09-07 H.J. Lu <hongjiu.lu@intel.com>
30699
3d9b46b3
L
30700 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
30701
de2139a9
L
30702 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
30703 is NULL.
30704
5ca78dd0
L
30705 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
30706 (LDLIBS-tst-chk4): This.
30707 (LDFLAGS-tst-chk5): Renamed to ...
30708 (LDLIBS-tst-chk5): This.
30709 (LDFLAGS-tst-chk6): Renamed to ...
30710 (LDLIBS-tst-chk6): This.
30711 (LDFLAGS-tst-lfschk4): Renamed to ...
30712 (LDLIBS-tst-lfschk4): This.
30713 (LDFLAGS-tst-lfschk5): Renamed to ...
30714 (LDLIBS-tst-lfschk5): This.
30715 (LDFLAGS-tst-lfschk6): Renamed to ...
30716 (LDLIBS-tst-lfschk6): This.
30717
691bc9c1
L
30718 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
30719 on $(common-objpfx)soversions.mk.
30720
65cafb1c
JM
307212012-09-07 Joseph Myers <joseph@codesourcery.com>
30722
30723 [BZ #10014]
30724 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
30725 example host name.
30726
c78ab094
SP
307272012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
30728
30729 * malloc/arena.c (arena_get_retry): New function that gets
30730 another arena for the caller to try its request on.
30731 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
30732 current arena cannot fulfill the request.
30733 (__libc_memalign): Likewise.
30734 (__libc_memalign): Likewise.
30735 (__libc_pvalloc): Likewise.
30736 (__libc_calloc): Likewise.
30737
01f49f59
JT
307382012-09-05 John Tobey <john.tobey@gmail.com>
30739
30740 [BZ #13542]
30741 * manual/arith.texi (Operations on Complex): Fix description
30742 of carg branch cut.
30743
4c23fed5
JM
307442012-09-06 Joseph Myers <joseph@codesourcery.com>
30745
1d3c8572
JM
30746 [BZ #10014]
30747 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
30748 host name.
30749
4c23fed5
JM
30750 [BZ #10038]
30751 * manual/memory.texi (Memory): Make order of menu items match
30752 order of sections.
30753
04570aaa
L
307542012-09-06 H.J. Lu <hongjiu.lu@intel.com>
30755
30756 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
30757 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
30758 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
30759
b80af2f4
L
307602012-09-06 H.J. Lu <hongjiu.lu@intel.com>
30761
30762 * csu/libc-tls.c (static_dtv): Renamed to ...
30763 (_dl_static_dtv): This. Make it global.
30764 (_dl_initial_dtv): Removed.
30765 (__libc_setup_tls): Updated.
30766 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
30767 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
30768 DL_INITIAL_DTV.
30769
2abe9f15
PM
307702012-09-06 Petr Machata <pmachata@redhat.com>
30771
30772 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
30773 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
30774 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
30775 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
30776
0948c3af
L
307772012-09-06 H.J. Lu <hongjiu.lu@intel.com>
30778
30779 [BZ #14545]
30780 * csu/libc-tls.c (_dl_initial_dtv): New variable.
30781 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
30782 freeing dtv[-1].
30783
a5055ad1
L
307842012-09-06 H.J. Lu <hongjiu.lu@intel.com>
30785
30786 [BZ #14544]
30787 * Makeconfig (link-static-before-libc): Replace $(+prector)
30788 with $(+prectorT).
30789 (link-static-after-libc): Replace $(+postctor) with
30790 $(+postctorT).
30791 (link-bounded): Replace $(+prector)/$(+postctor) with
30792 $(+prectorT)/$(+postctorT).
30793 (+prectorT): New macro.
30794 (+postctorT): Likewise.
30795
ed8c2ecd
JM
307962012-09-06 Joseph Myers <joseph@codesourcery.com>
30797
30798 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
30799 (round_str): Handle values above the maximum for IBM long double
30800 as inexact.
30801 * stdlib/tst-strtod-round.c (tests): Regenerated.
30802
14c996c8
AK
308032012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
30804
30805 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
30806 assembler flag.
30807 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
30808 zarch_nohighgprs around the zarch optimized routines.
30809 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
30810 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
30811 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
30812 for zarch.
30813
430d6ce6
DM
308142012-09-05 David S. Miller <davem@davemloft.net>
30815
30816 * sysdeps/sparc/fpu/libm-test-ulps: Update.
30817
57f41c40
AS
30818 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
30819 (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
ff04dda4
DM
30820 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
30821 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
30822 entries.
30823
24d4e01b
AO
308242012-09-05 Alexandre Oliva <aoliva@redhat.com>
30825
30826 * malloc/arena.c: Fold copyright years.
30827 * malloc/mcheck.c, malloc/memusage.c: Likewise.
30828
61d58174
AO
308292012-09-05 Alexandre Oliva <aoliva@redhat.com>
30830
30831 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
30832
20196a5e
AO
308332012-09-05 Alexandre Oliva <aoliva@redhat.com>
30834
30835 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
30836
5c447383
AO
308372012-09-05 Alexandre Oliva <aoliva@redhat.com>
30838
30839 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
30840 change internal state upon failure.
30841
fad64255
AO
308422012-09-05 Alexandre Oliva <aoliva@redhat.com>
30843
30844 * malloc/mcheck.c (mcheck_check_all): Fix typo.
30845 * malloc/memusage.c (mmap): Likewise.
30846 (mmap64, mremap): Likewise. Adjust name in comment.
30847
1ffb8c90
SP
308482012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
30849
30850 * libio/fileops.c: Fix typos in comments.
30851 * libio/oldfileops.c: Likewise.
30852 * libio/wfileops.c: Likewise.
30853
6ef9cc37
SP
308542012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
30855
30856 [BZ #1349]
30857 * malloc/Makefile (tests): Add tst-malloc-usable test case.
30858 (tst-malloc-usable-ENV): Set environment for test case.
30859 * malloc/hooks.c (malloc_check_get_size): New function to get
30860 requested size.
30861 * malloc/malloc.c (musable): Use malloc_check_get_size.
30862 * malloc/tst-malloc-usable.c: New test case.
30863
4d038ae3
AS
308642012-09-05 Andreas Schwab <schwab@linux-m68k.org>
30865
30866 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
30867
c4e85184
AM
308682012-09-05 Allan McRae <allan@archlinux.org>
30869
b9dafc56 30870 [BZ #13966]
c4e85184
AM
30871 * configure.in (CXX_SYSINCLUDES): Use compiler output to
30872 determine header location.
30873 * configure: Regenerated.
30874
e1343020
AS
308752012-09-05 Andreas Schwab <schwab@linux-m68k.org>
30876
30877 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
30878 float format.
30879 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
a0070b7e
AS
30880 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
30881 format.
e1343020
AS
30882 (test): Regenerate.
30883
0a9f1987
DM
308842012-09-04 David S. Miller <davem@davemloft.net>
30885
30886 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
30887 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
30888 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
30889
29237804
FW
308902012-09-04 Florian Weimer <fweimer@redhat.com>
30891
30892 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
30893 failures.
30894
edb3cb88
FW
30895 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
30896
60160d83
JM
308972012-09-04 Joseph Myers <joseph@codesourcery.com>
30898
30899 [BZ #9914]
30900 * libio/iogetdelim.c: Include <limits.h>.
30901 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
30902 + len + 1 would overflow.
30903
bcd6c8dc
AJ
309042012-09-03 Andreas Jaeger <aj@suse.de>
30905
30906 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
30907 * sysdeps/i386/fpu/libm-test-ulps: Update.
30908
4ffffbd2
LD
309092012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
30910
30911 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
30912 Add s_sinf-sse2, s_conf-sse2.
30913
30914 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
30915 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
30916 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
30917 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
30918
30919 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
30920 for using routine as __sinf_ia32.
30921 Use macro for function declaration and weak_alias.
30922 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
30923 for using routine as __cosf_ia32.
30924 Use macro for function declaration and weak_alias.
30925
30926 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
30927 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
30928
30929 * sysdeps/x86_64/fpu/s_sinf.S: New file.
30930 * sysdeps/x86_64/fpu/s_cosf.S: New file.
30931 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
30932
30933 * math/libm-test.inc (cos_test): Add more test cases.
30934 (sin_test): Likewise.
30935 (sincos_test): Likewise.
30936
511fa286
AK
309372012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
30938
30939 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
30940 (IFUNC_RESOLVE): Make pointers to the specialized implementations
30941 hidden.
30942 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
30943
5f30cfec
L
309442012-09-02 H.J. Lu <hongjiu.lu@intel.com>
30945
30946 [BZ #14538]
30947 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
30948 first element of the GOT.
30949 (elf_machine_load_address): Return the difference between
30950 the runtime address of _DYNAMIC and elf_machine_dynamic ().
30951
0786794f
AM
309522012-09-01 Allan McRae <allan@archlinux.org>
30953
5f30cfec
L
30954 [BZ #13412]
30955 * configure.in (AWK): Require gawk version 3.0 or later.
30956 * configure: Regenerated.
0786794f 30957
26889eac
JM
309582012-09-01 Joseph Myers <joseph@codesourcery.com>
30959
30960 * sysdeps/unix/sysv/linux/kernel-features.h
30961 (__ASSUME_POSIX_CPU_TIMERS): Remove.
30962 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
30963 [__NR_clock_getres]: Make code unconditional.
30964 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
30965 (clock_getcpuclockid): Remove code left unreachable by removal of
30966 conditionals.
30967 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
30968 code unconditional.
30969 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
30970 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
30971 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
30972 Make code unconditional.
30973 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
30974 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
30975 * sysdeps/unix/sysv/linux/clock_settime.c
30976 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
30977 conditional code.
30978 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
30979 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
30980
d22e28b0
L
309812012-08-29 H.J. Lu <hongjiu.lu@intel.com>
30982
30983 [BZ #14476]
30984 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
30985 scripts/test-installation.pl.
30986
30987 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
30988 and $ld_so_version if it is set.
30989
050af9c4
SP
309902012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
30991
30992 [BZ #14516]
30993 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
30994 failure if reading from procfs failed.
30995 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
30996
ad845c0b
JM
309972012-08-27 Joseph Myers <joseph@codesourcery.com>
30998
30999 * sysdeps/unix/sysv/linux/kernel-features.h
31000 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
31001 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
31002 Remove conditional code.
31003 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
31004 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
31005 Remove conditional code.
31006 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
31007 * sysdeps/unix/sysv/linux/i386/fxstat.c
31008 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
31009 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
31010 * sysdeps/unix/sysv/linux/i386/fxstatat.c
31011 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
31012 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
31013 * sysdeps/unix/sysv/linux/i386/lxstat.c
31014 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
31015 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
31016 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
31017 Remove conditional code.
31018 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
31019 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
31020 Remove conditional code.
31021 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
31022 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
31023 <kernel-features.h>.
31024 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
31025 Remove.
31026 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
31027 Remove conditional code.
31028 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
31029 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
31030 Remove conditional.
31031
5dbf56af
MF
310322012-08-27 Mike Frysinger <vapier@gentoo.org>
31033
31034 [BZ #5400]
31035 * NEWS: Add fixed bug number.
31036
d6e70f43
JM
310372012-08-27 Joseph Myers <joseph@codesourcery.com>
31038
7efb4737
JM
31039 [BZ #14519]
31040 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
31041 underflowing exponent in case of negative sign.
31042 * stdlib/tst-strtod-round-data: Add more tests.
31043 * stdlib/tst-strtod-round.c (tests): Regenerated.
31044
af92131a
JM
31045 [BZ #3479]
31046 * stdlib/strtod_l.c (NDIG): Remove.
31047 (HEXNDIG): Likewise.
31048 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
31049 smallest representable value.
31050 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
31051 lie within an exact representation of 1/2 ulp of the result.
31052 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
31053 unconditionally.
31054 (TENS_P9_IDX): Define unconditionally.
31055 (TENS_P9_SIZE): Likewise.
31056 (TENS_P10_IDX): Likewise.
31057 (TENS_P10_SIZE): Likewise.
31058 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
31059 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
31060 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
31061 entries for 10^2^13 and 10^2^14.
31062 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
31063 (TENS_P13_IDX): Define.
31064 (TENS_P13_SIZE): Likewise.
31065 (TENS_P14_IDX): Likewise.
31066 (TENS_P14_SIZE): Likewise.
31067 (_fpioconst_pow10): Change array size to
31068 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
31069 unconditional.
31070 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
31071 1024]: Add entries for 10^2^13 and 10^2^14.
31072 [LAST_POW10 > _LAST_POW10]: Remove #error.
31073 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
31074 (_fpioconst_pow10): Change array size to
31075 FPIOCONST_POW10_ARRAY_SIZE.
31076 * stdlib/gen-fpioconst.c: New file.
31077 * stdlib/gen-tst-strtod-round.c: Likewise.
31078 * stdlib/tst-strtod-round-data: Likewise.
31079 * stdlib/tst-strtod-round.c: Likewise.
31080 * stdlib/Makefile (tests): Add tst-strtod-round.
31081
d6e70f43
JM
31082 [BZ #14459]
31083 * stdlib/strtod_l.c: Include <stdint.h>.
31084 (NDEBUG): Do not define.
31085 (round_and_return): Change EXPONENT parameter to type intmax_t.
31086 Rearrange calculations to avoid internal overflow possibilities.
31087 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
31088 Rearrange calculations to avoid internal overflow possibilities.
31089 Assert that number fits inside MPNSIZE limbs.
31090 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
31091 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
31092 calculations and add assertions to avoid internal overflow
31093 possibilities. Add casts to avoid signed/unsigned operations.
31094 * stdlib/tst-strtod-overflow.c: New file.
31095 * stdlib/Makefile (tests): Add tst-strtod-overflow.
31096
1f529f7d
MP
310972012-08-25 Marek Polacek <polacek@redhat.com>
31098
31099 * time/time.h: Fix some typos in comments.
31100
59a629f1
RM
311012012-08-23 Roland McGrath <roland@hack.frob.com>
31102
31103 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
31104 * posix/tst-rfc3484-2.c: Likewise.
31105 * posix/tst-rfc3484-3.c: Likewise.
31106
d3bafbc9
SM
311072012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
31108
31109 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
31110 (EF_ARM_ABI_FLOAT_HARD): Likewise.
31111
4efcc022
JM
311122012-08-23 Joseph Myers <joseph@codesourcery.com>
31113
31114 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
31115 #include of fxstatat64.c.
31116
3cc3ef96
RM
311172012-08-22 Roland McGrath <roland@hack.frob.com>
31118
f04e2132
RM
31119 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
31120 * shadow/getspent_r.c: Likewise.
31121 * shadow/getspnam.c: Likewise.
31122 * shadow/getspnam_r.c: Likewise.
31123 * gshadow/getsgent.c: Likewise.
31124 * gshadow/getsgent_r.c: Likewise.
31125 * gshadow/getsgnam.c: Likewise.
31126 * gshadow/getsgnam_r.c: Likewise.
31127 * inet/getnetbyad.c: Likewise.
31128 * inet/getnetbyad_r.c: Likewise.
31129 * inet/getnetbynm.c: Likewise.
31130 * inet/getnetbynm_r.c: Likewise.
31131 * inet/getnetent.c: Likewise.
31132 * inet/getnetent_r.c: Likewise.
31133 * inet/getproto.c: Likewise.
31134 * inet/getproto_r.c: Likewise.
31135 * inet/getprtent.c: Likewise.
31136 * inet/getprtent_r.c: Likewise.
31137 * inet/getprtname.c: Likewise.
31138 * inet/getprtname_r.c: Likewise.
31139 * inet/getrpcbyname.c: Likewise.
31140 * inet/getrpcbyname_r.c: Likewise.
31141 * inet/getrpcbynumber.c: Likewise.
31142 * inet/getrpcbynumber_r.c: Likewise.
31143 * inet/getrpcent.c: Likewise.
31144 * inet/getrpcent_r.c: Likewise.
31145 * inet/getaliasent.c: Likewise.
31146 * inet/getaliasent_r.c: Likewise.
31147 * inet/getaliasname.c: Likewise.
31148 * inet/getaliasname_r.c: Likewise.
31149 * nscd/getgrgid_r.c: Likewise.
31150 * nscd/getgrnam_r.c: Likewise.
31151 * nscd/gethstbyad_r.c: Likewise.
31152 * nscd/gethstbynm3_r.c: Likewise.
31153 * nscd/getpwnam_r.c: Likewise.
31154 * nscd/getpwuid_r.c: Likewise.
31155 * nscd/getsrvbynm_r.c: Likewise.
31156 * nscd/getsrvbypt_r.c: Likewise.
31157 * nscd/gai.c: Likewise.
31158
c53d909c
RM
31159 * configure.in (build_nscd): New substituted variable, set
31160 by --disable-build-nscd and defaults to $use_nscd.
31161 * configure: Regenerated.
31162 * config.make.in (build-nscd): New substituted variable.
31163 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
31164 Change conditional to require [$(build-nscd) = yes] as well.
31165 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
31166
3cc3ef96
RM
31167 [BZ# 13696]
31168 * configure.in (use_nscd): New substituted variable, set by
31169 --disable-nscd. If enabled, define USE_NSCD.
31170 * configure: Regenerated.
31171 * config.h.in: Add USE_NSCD.
31172 * config.make.in (use-nscd): New substituted variable.
31173 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
31174 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
31175 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
31176 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
31177 (CFLAGS-getgrnam_r.c): Likewise.
31178 (CFLAGS-initgroups.c): Likewise.
31179 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
31180 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
31181 Variables removed.
31182 * inet/getnetgrent_r.c
31183 (nscd_setnetgrent): New function, broken out of ...
31184 (setnetgrent): ... here. Call it.
31185 (innetgr): Conditionalize nscd bits on [USE_NSCD].
31186 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
31187 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
31188 * nscd/Makefile (routines, aux): Move definitions after include of
31189 Makeconfig. Conditionalize on [$(use-nscd) != no].
31190 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
31191 Conditionalize on [USE_NSCD].
31192 (is_nscd, nscd_init_cb): Likewise.
31193 (nss_load_library): Conditionalize init callback on [USE_NSCD].
31194 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
31195 * nss/nss_db/db-init.c: Likewise.
31196 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
31197 [USE_NSCD].
31198 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
31199 (make_request): Use it.
31200 (cache_valid_p): New function.
31201 (__check_pf): Use it.
31202 * NEWS: Add item for --disable-nscd.
31203
07e51550
DL
312042012-08-22 Dmitry V. Levin <ldv@altlinux.org>
31205
31206 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
31207 to support sed >= 4.2.1-20-ga9bf076.
31208 * configure: Regenerated.
31209
35a5b08b
RM
312102012-08-22 Roland McGrath <roland@hack.frob.com>
31211
31212 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
31213 Conditionalize whole body on [IREL].
31214
8479f23a
JL
312152012-08-22 Jeff Law <law@redhat.com>
31216
31217 [BZ #14505]
31218 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
31219 if the family is PF_UNSPEC.
31220
48da0b21
MF
312212012-08-22 Mike Frysinger <vapier@gentoo.org>
31222
31223 * Makerules (lib-version): Rename from V.
31224 (install-lib-nosubdir): Change V to lib-version.
31225
15d0da8c
WS
312262012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
31227
31228 [BZ #14252]
31229 * powerpc32/power6/wcschr.c: New file.
31230 * powerpc32/power6/wcscpy.c: New file.
31231 * powerpc32/power6/wcsrchr.c: New file.
31232 * powerpc64/power6/wcschr.c: New file.
31233 * powerpc64/power6/wcscpy.c: New file.
31234 * powerpc64/power6/wcsrchr.c: New file.
31235
bcca0895
MK
312362012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
31237
31238 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
31239 (two_way_short_needle): Use it.
5a4aaa33
RM
31240 * string/strstr.c (AVAILABLE1_USES_J): Define.
31241 * string/strcasestr.c: Likewise.
99677e57
MK
31242
31243 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
31244 array references.
31245 * string/strcasestr.c (TOLOWER): Make side-effect safe.
31246
400726de
MK
31247 [BZ #11607]
31248 * NEWS: Add an entry.
31249 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
31250 define their defaults.
31251 (two_way_short_needle): Detect end-of-string on-the-fly.
31252 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
31253 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
31254 * string/bug-strcasestr1.c: New test.
31255 * string/Makefile: Run it.
31256
20a71f2c
MK
312572012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
31258
31259 [BZ #11607]
31260 * string/str-two-way.h (two_way_short_needle): Optimize matching of
31261 the first character.
31262
21ad0558
RM
312632012-08-21 Roland McGrath <roland@hack.frob.com>
31264
31265 * csu/elf-init.c (__libc_csu_irel): Function removed.
31266 * csu/libc-start.c (apply_irel): New function.
31267 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
31268
0e1d9911
JM
312692012-08-21 Joseph Myers <joseph@codesourcery.com>
31270
31271 * sysdeps/unix/sysv/linux/kernel-features.h
31272 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
31273 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
31274 <kernel-features.h>.
31275 [__NR_fadvise64_64]: Make code unconditional.
31276 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
31277 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
31278 !__NR_fadvise64_64)]: Likewise.
31279 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
31280 !__NR_fadvise64_64))]: Likewise.
31281 [__NR_fadvise64]: Make code unconditional.
31282 [!__NR_fadvise64]: Remove conditional code.
31283 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
31284 <kernel-features.h>.
31285 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
31286 unconditional.
31287 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
31288 conditional code.
31289 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
31290 not include <kernel-features.h>.
31291 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
31292 unconditional.
31293 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
31294 conditional code.
31295 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
31296 include <kernel-features.h>.
31297 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
31298 unconditional.
31299 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
31300 conditional code.
31301
14a50c9d
WS
313022012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
31303
31304 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
31305 slight instruction rearrangements per scrollpipe analysis.
31306 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
31307
c0f4faf0
RM
313082012-08-20 Roland McGrath <roland@hack.frob.com>
31309
696da859
RM
31310 * manual/syslog.texi (syslog; vsyslog, closelog):
31311 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
31312 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
31313
c0f4faf0
RM
31314 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
31315 DSOCAPS to match condition on defining it.
31316
348363b2
JM
313172012-08-20 Joseph Myers <joseph@codesourcery.com>
31318
a35cbf28
JM
31319 * sysdeps/unix/sysv/linux/kernel-features.h
31320 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
31321 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
31322 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
31323 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
31324 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
31325 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
31326 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
31327 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
31328 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
31329 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
31330
445f7ecd
JM
31331 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
31332 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
31333
348363b2
JM
31334 * sysdeps/unix/sysv/linux/kernel-features.h
31335 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
31336 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
31337 unconditional.
31338 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
31339 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
31340 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
31341 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
31342 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
31343 Make code unconditional.
31344 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
31345 (__mmap64) [!__NR_mmap2]: Likewise.
31346 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
31347 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
31348 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
31349 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
31350 [__NR_mmap2]: Make code unconditional.
31351 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
31352 (__mmap64) [!__NR_mmap2]: Likewise.
31353
bc5bc0e5
AK
313542012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
31355
31356 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
31357
88d506de
AJ
313582012-08-18 Andreas Jaeger <aj@suse.de>
31359
31360 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
31361
493387d2
MF
313622012-08-18 Mike Frysinger <vapier@gentoo.org>
31363
31364 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
31365 * include/unistd.h (__have_sock_cloexec): Likewise.
31366 (__have_pipe2): Likewise.
31367 (__have_dup3): Likewise.
31368
a277af22
MF
313692012-08-18 Mike Frysinger <vapier@gentoo.org>
31370
31371 [BZ #9685]
31372 * include/unistd.h (__have_pipe2): Change define into an extern int.
31373 (__have_dup3): Likewise.
31374 * socket/have_sock_cloexec.c: Include fcntl.h.
31375 (__have_pipe2): New variable.
31376 (__have_dup3): Likewise.
31377
fdab8fd3
MF
313782012-08-17 Mike Frysinger <vapier@gentoo.org>
31379
31380 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
31381
31035e80
MP
313822012-08-17 Marek Polacek <polacek@redhat.com>
31383
31384 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
31385 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
31386
3bd9e993
RM
313872012-08-17 Roland McGrath <roland@hack.frob.com>
31388
c91c505f
RM
31389 * configure.in: Add AC_SUBST for sysheaders.
31390 * configure: Regenerated.
31391 * config.make.in (sysheaders): New substituted variable.
31392
7c6f9d53
RM
31393 * sysdeps/unix/mkfifo.c: Moved ...
31394 * sysdeps/posix/mkfifo.c: ... here.
31395 * sysdeps/unix/mkfifoat.c: Moved ...
31396 * sysdeps/posix/mkfifoat.c: ... here.
31397
31398 * sysdeps/unix/utime.c: Moved ...
31399 * sysdeps/posix/utime.c: ... here.
31400
31401 * sysdeps/unix/time.c: Moved ...
31402 * sysdeps/posix/time.c: ... here.
e3b398f9
RM
31403 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
31404 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
7c6f9d53
RM
31405
31406 * sysdeps/unix/nice.c: Moved ...
31407 * sysdeps/posix/nice.c: ... here.
31408
31409 * sysdeps/unix/alarm.c: Moved ...
31410 * sysdeps/posix/alarm.c: ... here.
31411
3bd9e993
RM
31412 * intl/Makefile ($(codeset_mo)): Depend on the input file.
31413
d1f09384
JL
314142012-08-17 Jeff Law <law@redhat.com>
31415
31416 * intl/Makefile (codeset_mo): New variable.
31417 ($(codeset_mo)): New target.
31418 (tst-codeset.out): Depend on that. Remove explicit rule.
31419 (tst-gettext3.out, tst-gettext5.out): Likewise.
31420 (LOCPATH-ENV, tst-codeset-ENV): New variables.
31421 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
31422 * intl/tst-codeset.sh: Remove.
31423 * intl/tst-gettext3.sh: Likewise.
31424 * intl/tst-gettext5.sh: Likewise.
31425
2ae1ae5c
RM
314262012-08-17 Roland McGrath <roland@hack.frob.com>
31427
c31fdb83
RM
31428 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
31429 * sysdeps/unix/syscalls.list: ... here.
31430
a0844057
RM
31431 * sysdeps/posix/getaddrinfo.c
31432 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
31433 (gaiconf_init, gaiconf_reload): Use them.
31434 [!_STATBUF_ST_NSEC]
31435 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
31436 Define using time_t rather than struct timespec.
31437
750c1f2a
RM
31438 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
31439 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
31440 Macros removed.
31441 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
31442 [!NO_THREADS].
31443 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
31444 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
31445 Likewise.
31446
2ae1ae5c
RM
31447 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
31448 __libc_cleanup_push argument.
31449
e66a42f5
RM
31450 * bits/param.h: New file.
31451 * misc/sys/param.h: New file.
31452 * include/sys/param.h: New file.
31453 * misc/Makefile (headers): Add bits/param.h.
31454 * sysdeps/generic/sys/param.h: File removed.
31455 * sysdeps/unix/sysv/linux/bits/param.h: New file.
31456 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
31457 * sysdeps/mach/hurd/bits/param.h: New file.
4078da3d 31458 * sysdeps/mach/hurd/sys/param.h: File removed.
e66a42f5 31459
b7c08a66
RM
31460 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
31461 last change.
31462
b2e1c562
RM
31463 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
31464 [_IO_MTSAFE_IO].
31465 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
31466 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
31467 New macros.
31468
c75ccd4c
RM
31469 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
31470 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
31471 rather than -D_IO_MTSAFE_IO conditionally.
31472 * stdio-common/Makefile (CPPFLAGS): Likewise.
31473 * wcsmbs/Makefile (CPPFLAGS): Likewise.
31474 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
31475 Use $(libio-mtsafe).
31476 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
31477 of -D_IO_MTSAFE_IO.
31478 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
31479 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
31480 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
31481 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
31482 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
31483 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
31484 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
31485 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
31486 (CFLAGS-fread_u_chk.c): Likewise.
31487 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
31488 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
31489 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
31490 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
31491 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
31492 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
31493 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
31494 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
31495 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
31496
31497 * libio/Makefile: Test [$(libc-reentrant) = yes]
31498 instead of [$(filter %REENTRANT, $(defines)) nonempty].
31499
31500 * Makeconfig
31501 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
31502 * sysdeps/pthread/configure: File removed.
31503 * sysdeps/pthread/Makeconfig: New file.
31504 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
31505 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
31506
d9195db8
GB
315072012-08-16 Gary Benson <gbenson@redhat.com>
31508
31509 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
31510 unmapping the first object in a namespace.
31511
86466cd9
RM
315122012-08-16 Roland McGrath <roland@hack.frob.com>
31513
31514 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
31515 (__internal_setnetgrent): ... this. Add internal_function to
31516 definition. Add libc_hidden_def.
31517 (setnetgrent): Update caller.
31518 (internal_endnetgrent): Renamed to ...
31519 (__internal_endnetgrent): ... this. Add internal_function to
31520 definition. Add libc_hidden_def.
31521 (endnetgrent): Update caller.
31522 (internal_getnetgrent_r): Renamed to ...
31523 (__internal_getnetgrent_r): ... this. Add internal_function to
31524 definition. Add libc_hidden_def.
31525 (__getnetgrent_r): Update caller.
31526 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
31527
c3c8283c
JM
315282012-08-16 Joseph Myers <joseph@codesourcery.com>
31529
31530 * stdlib/longlong.h: Update from GCC.
31531
db1ee0a8
RM
315322012-08-16 Roland McGrath <roland@hack.frob.com>
31533
31534 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
31535 on _QL, which is set by umul_ppmm but never used.
31536 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
31537 variables, which are set by GMP macros but never used.
31538 * stdio-common/_itowa.c (_itowa): Likewise.
31539 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
31540 * stdlib/mod_1.c (mpn_mod_1): Likewise.
31541
30f69637
CD
315422012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
31543
31544 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
31545 struct La_sh_regs is not constant.
31546 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
31547 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
31548 and struct La_sparc64_regs are not constant.
31549
93a78ac4
JM
315502012-08-16 Joseph Myers <joseph@codesourcery.com>
31551
31552 * sysdeps/unix/sysv/linux/kernel-features.h
31553 (__ASSUME_POSIX_TIMERS): Remove.
31554 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
31555 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
31556 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
31557 Make code unconditional.
31558 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
31559 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
31560 Make code unconditional.
31561 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
31562 * sysdeps/unix/sysv/linux/clock_nanosleep.c
31563 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
31564 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
31565 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
31566 Make code unconditional.
31567 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
31568 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
31569 (__libc_missing_posix_timers): Remove.
31570
dd924cd7
RM
315712012-08-15 Roland McGrath <roland@hack.frob.com>
31572
4b4f2771
RM
31573 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
31574 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
31575
601c888b
RM
31576 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
31577
176790a7
RM
31578 * elf/dl-sym.c: Include <stdlib.h>.
31579
329bc018
RM
31580 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
31581 constants, which avoids warnings in 32-bit builds.
31582
e04e272d
RM
31583 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
31584 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
31585
952bf94a
RM
31586 * misc/lseek.c: File moved to ...
31587 * io/lseek.c: ... here.
31588
7c99b50a
RM
31589 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
31590
dd924cd7
RM
31591 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
31592 shifting LEN more than 31 bits at once.
31593
b3f479a8
LD
315942012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
31595
31596 [BZ #14195]
8c4ae0d4
RM
31597 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
31598 segmentation fault for a case of two empty input strings.
b3f479a8
LD
31599 * string/test-strncasecmp.c (check1): Renamed to...
31600 (bz12205): ...this.
31601 (bz14195): Add new testcase for two empty input strings and N > 0.
31602 (test_main): Call new testcase, adapt for renamed function.
31603
9c55864e
AJ
316042012-08-15 Andreas Jaeger <aj@suse.de>
31605
31606 [BZ #14090]
31607 * crypt/md5test2.c: New test, based on test supplied by Serge
31608 Belyshev <belyshev@depni.sinp.msu.ru>.
31609 * crypt/Makefile (xtests): Add md5test-giant..
31610 * crypt/Makefile ($(objpfx)md5test-giant): Add.
31611
02dcb6c5
PE
316122012-08-15 Paul Eggert <eggert@cs.ucla.edu>
31613
31614 [BZ #14090]
31615 * crypt/md5.c (md5_process_block): Don't assume the buffer
31616 length is less than 2**32.
31617 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
31618 length is less than 2**64.
31619
a3f95dcc
RM
316202012-08-15 Roland McGrath <roland@hack.frob.com>
31621
be75d758
RM
31622 * string/str-two-way.h: Include <sys/param.h>.
31623 (MAX): Macro removed.
31624
7312ca90
RM
31625 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
31626 Move #define and #undef of memmove to just before and after
31627 including <string.h>.
31628
9a0a5486
RM
31629 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
31630 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
31631 and after including <string.h>. Move declarations of
31632 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
31633 to before #include "string/memmove.c".
31634
67cc348d
RM
31635 * include/dirent.h: Declare __getdirentries.
31636
a3f95dcc
RM
31637 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
31638 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
31639
ca98e171
MF
316402012-08-14 Mike Frysinger <vapier@gentoo.org>
31641
31642 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
31643 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
31644 * sysdeps/i386/configure: Regenerated.
31645 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
31646 STABS_CURRENT_FILE, and STABS_FUN.
31647 (END): Remove call to STABS_FUN_END.
31648 (STABS_CURRENT_FILE1): Delete.
31649 (STABS_CURRENT_FILE): Likewise.
31650 (STABS_FUN): Likewise.
31651 (STABS_FUN_END): Likewise.
31652 (STABS_FUN2): Likewise.
31653 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
31654 * sysdeps/x86_64/configure: Regenerated.
31655
5908bf46
RM
316562012-08-14 Roland McGrath <roland@hack.frob.com>
31657
31658 * elf/dl-open.c: Include <atomic.h>.
1ec79f26 31659 * elf/dl-lookup.c: Likewise.
5908bf46 31660
f2c05b9e
JM
316612012-08-14 Joseph Myers <joseph@codesourcery.com>
31662
31663 * sysdeps/unix/sysv/linux/kernel-features.h
31664 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
31665 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
31666 unconditionally.
31667 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
31668 unconditionally.
31669 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
31670 condition on __ASSUME_CLONE_THREAD_FLAGS.
31671
e11f5155
AJ
316722012-08-14 Andreas Jaeger <aj@suse.de>
31673
31674 * sysdeps/i386/fpu/libm-test-ulps: Update.
31675
51a9ba86
MK
316762012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
31677
2fdd4f78
AJ
31678 * include/atomic.h (atomic_exchange_and_add): Split into ...
31679 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
31680 New atomic macros.
51a9ba86 31681
ba6cba9e
MT
316822012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
31683
31684 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
31685
42443a47
JL
316862012-08-13 Jeff Law <law@redhat.com>
31687
31688 * manual/stdio.texi (snprintf): Clarify handling of the trailing
31689 null byte in the output string.
31690
121dce05
JM
316912012-08-10 Joseph Myers <joseph@codesourcery.com>
31692
31693 * sysdeps/unix/sysv/linux/kernel-features.h
31694 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
31695 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
31696 (__ASSUME_ARG_MAX_STACK_BASED): Define.
31697 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
31698 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
31699 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
31700 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
31701
bf51f568
JL
317022012-08-09 Jeff Law <law@redhat.com>
31703
31704 [BZ #13939]
31705 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
31706 When avoid_arena is set, don't retry in the that arena. Pick the
31707 next one, whatever it might be.
31708 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
31709 (arena_lock): Pass in new parameter to arena_get2.
31710 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
31711 arena_get2.
31712 (__libc_malloc): Unify retrying after main arena failure with
31713 __libc_memalign version.
31714 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
31715
f85fa270
L
317162012-08-09 H.J. Lu <hongjiu.lu@intel.com>
31717
31718 [BZ #14166]
31719 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
31720 to __redirect_strstr.
31721 (__strstr_sse42): Use typeof __redirect_strstr.
31722 (__strstr_ia32): Likewise.
31723 (__libc_strstr): New prototype.
31724 (strstr): Renamed to ...
31725 (__libc_strstr): This.
31726 (strstr): New strong alias of __libc_strstr.
31727 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
31728 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
31729 __redirect_time.
31730 Include <time.h>.
31731 (__libc_time): New prototype.
31732 (time_ifunc): Replace time with __libc_time.
31733 (time): New strong alias and hidden definition of __libc_time.
31734 (__GI_time): Remove strong alias.
31735 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
31736 Include <stddef.h>.
31737 (memmove): Redefined to __redirect_memmove.
31738 (__memmove_sse2): Use typeof __redirect_memmove.
31739 (__memmove_ssse3): Likewise.
31740 (__memmove_ssse3_back): Likewise.
31741 (__libc_memmove): New prototype.
31742 (memmove): Renamed to ...
31743 (__libc_memmove): This.
31744 (memmove): New strong alias of __libc_memmove.
31745
33b4a91e
MS
317462012-08-08 Mark Salter <msalter@redhat.com>
31747
31748 * elf/elf.h
31749 (R_MN10300_TLS_GD): Define.
31750 (R_MN10300_TLS_LD): Likewise.
31751 (R_MN10300_TLS_LDO): Likewise.
31752 (R_MN10300_TLS_GOTIE): Likewise.
31753 (R_MN10300_TLS_IE): Likewise.
31754 (R_MN10300_TLS_LE): Likewise.
31755 (R_MN10300_TLS_DTPMOD): Likewise.
31756 (R_MN10300_TLS_DTPOFF): Likewise.
31757 (R_MN10300_TLS_TPOFF): Likewise.
31758 (R_MN10300_SYM_DIFF): Likewise.
31759 (R_MN10300_ALIGN): Likewise.
31760 (R_MN10300_NUM): Update.
31761
b36137f1
JM
317622012-08-08 Joseph Myers <joseph@codesourcery.com>
31763
31764 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
31765 Remove.
31766
cdd915fd
RM
317672012-08-08 Roland McGrath <roland@hack.frob.com>
31768
a2433aac
RM
31769 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
31770
cdd915fd
RM
31771 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
31772 sysdeps/unix -> sysdeps/posix move.
31773 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
31774
bf9b740a
AM
317752012-08-07 Allan McRae <allan@archlinux.org>
31776
31777 [BZ #14303]
31778 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
31779 (SUNOS_CPP): Likewise.
31780 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
31781 not found.
31782 (open_input): Call CPP using execvp.
31783
93df14ee
JM
317842012-08-07 Joseph Myers <joseph@codesourcery.com>
31785
31786 * sysdeps/unix/sysv/linux/kernel-features.h
31787 (__ASSUME_PROT_GROWSUPDOWN): Remove.
31788 (__ASSUME_NO_CLONE_DETACHED): Likewise.
31789 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
31790 (__ASSUME_WAITID_SYSCALL): Likewise.
31791 * sysdeps/unix/sysv/linux/dl-execstack.c
31792 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
31793 code unconditional.
31794 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
31795 conditional code.
31796 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
31797 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
31798 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
31799 code.
31800 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
31801 unconditional.
31802 [__ASSUME_WAITID_SYSCALL]: Likewise.
31803 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
31804
d34689de
RM
318052012-08-07 Roland McGrath <roland@hack.frob.com>
31806
a281decc
RM
31807 * sysdeps/unix/closedir.c: Renamed to ...
31808 * sysdeps/posix/closedir.c: ... here.
31809 * sysdeps/unix/dirfd.c: Renamed to ...
31810 * sysdeps/posix/dirfd.c: ... here.
31811 * sysdeps/unix/dirstream.h: Renamed to ...
31812 * sysdeps/posix/dirstream.h: ... here.
31813 * sysdeps/unix/fdopendir.c: Renamed to ...
31814 * sysdeps/posix/fdopendir.c: ... here.
31815 * sysdeps/unix/opendir.c: Renamed to ...
31816 * sysdeps/posix/opendir.c: ... here.
31817 * sysdeps/unix/readdir.c: Renamed to ...
31818 * sysdeps/posix/readdir.c: ... here.
31819 * sysdeps/unix/readdir_r.c: Renamed to ...
31820 * sysdeps/posix/readdir_r.c: ... here.
31821 * sysdeps/unix/rewinddir.c: Renamed to ...
31822 * sysdeps/posix/rewinddir.c: ... here.
31823 * sysdeps/unix/seekdir.c: Renamed to ...
31824 * sysdeps/posix/seekdir.c: ... here.
31825 * sysdeps/unix/telldir.c: Renamed to ...
31826 * sysdeps/posix/telldir.c: ... here.
31827 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
31828 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
31829 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
31830 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
31831
22895b47
RM
31832 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
31833 * bits/fcntl.h: ... here.
31834
707a53b6
RM
31835 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
31836 not 0.
31837 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
31838 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
31839 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
31840 (struct flock): Move l_start, l_len to the beginning.
31841 Use __pid_t for l_pid.
31842 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
31843 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
31844 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
31845 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
31846 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
31847 [__USE_LARGEFILE64] (struct flock64): New type.
31848 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
31849
f0bd3e25
RM
31850 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
31851 * bits/dirent.h: ... here.
31852
d34689de
RM
31853 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
31854 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
31855
6dad2c06
JM
318562012-08-07 Joseph Myers <joseph@codesourcery.com>
31857
31858 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
31859 Change from 2.6.0 to 2.6.16.
31860 * sysdeps/unix/sysv/linux/configure: Regenerated.
31861 * sysdeps/unix/sysv/linux/kernel-features.h
31862 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
31863 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
31864 version.
31865 (__ASSUME_UTIMES): Likewise.
31866 (__ASSUME_CLONE_STOPPED): Remove.
31867 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
31868 architectures, not kernel version.
31869 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
31870 (__ASSUME_NO_CLONE_DETACHED): Likewise.
31871 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
31872 (__ASSUME_WAITID_SYSCALL): Likewise.
31873 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
31874 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
31875 * README: State 2.6.16 as minimum Linux kernel version. Do not
31876 refer to older versions.
31877
03af9520
RM
318782012-08-06 Roland McGrath <roland@hack.frob.com>
31879
8e49df1d
RM
31880 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
31881 Define alphasort64 as an alias.
31882 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
31883 Define versionsort64 as an alias.
31884 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
31885 Define scandir64 as an alias.
31886 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
31887 Define scandirat64 as an alias.
31888 * dirent/alphasort64.c (alphasort64):
31889 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
31890 * dirent/versionsort64.c: Likewise.
31891 * dirent/scandir64.c: Likewise.
31892 * dirent/scandirat64.c: Likewise.
31893 * sysdeps/wordsize-64/alphasort.c: File removed.
31894 * sysdeps/wordsize-64/alphasort64.c: File removed.
31895 * sysdeps/wordsize-64/scandir.c: File removed.
31896 * sysdeps/wordsize-64/scandir64.c: File removed.
31897 * sysdeps/wordsize-64/scandirat.c: File removed.
31898 * sysdeps/wordsize-64/scandirat64.c: File removed.
31899 * sysdeps/wordsize-64/versionsort.c: File removed.
31900 * sysdeps/wordsize-64/versionsort64.c: File removed.
31901 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
31902 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
31903 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
31904 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
31905 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
31906 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
31907 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
31908 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
31909
31910 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
31911 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
31912 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
31913 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
31914 [defined __arch64__ || defined __sparcv9]
31915 (__INO_T_MATCHES_INO64_T): New macro.
31916 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
31917 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
31918 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
31919 * sysdeps/unix/sysv/linux/bits/dirent.h
31920 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
31921 (_DIRENT_MATCHES_DIRENT64): New macro.
31922
03af9520
RM
31923 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
31924 Define lockf64 as an alias.
31925 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
31926 Define fseeko64 as an alias.
31927 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
31928 Define ftello64 as an alias.
31929 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
31930 Define _IO_fgetpos64 and fgetpos64 as aliases.
31931 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
31932 Define _IO_fsetpos64 and fsetpos64 as aliases.
31933 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
31934 Conditionalize body on this.
31935 * libio/fseeko64.c: Likewise.
31936 * libio/ftello64.c: Likewise.
31937 * libio/iofgetpos64.c: Likewise.
31938 * libio/iofsetpos64.c: Likewise.
31939 * sysdeps/wordsize-64/lockf.c: File removed.
31940 * sysdeps/wordsize-64/lockf64.c: File removed.
31941 * sysdeps/wordsize-64/fseeko.c: File removed.
31942 * sysdeps/wordsize-64/fseeko64.c: File removed.
31943 * sysdeps/wordsize-64/ftello.c: File removed.
31944 * sysdeps/wordsize-64/ftello64.c: File removed.
31945 * sysdeps/wordsize-64/iofgetpos.c: File removed.
31946 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
31947 * sysdeps/wordsize-64/iofsetpos.c: File removed.
31948 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
31949 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
31950 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
31951 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
31952 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
31953 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
31954 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
31955 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
31956 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
31957 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
31958 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
31959
31960 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
31961 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
31962 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
31963 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
31964 [defined __arch64__ || defined __sparcv9]
31965 (__OFF_T_MATCHES_OFF64_T): New macro.
31966 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
31967 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
31968 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
31969 (__OFF_T_MATCHES_OFF64_T): New macro.
31970
c5757acd
L
319712012-08-06 H.J. Lu <hongjiu.lu@intel.com>
31972
31973 * stdlib/secure-getenv.c (__secure_getenv): Replace
31974 GLIBC_2_16 with GLIBC_2_17.
31975
3a31811e
L
319762012-08-06 H.J. Lu <hongjiu.lu@intel.com>
31977
31978 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
31979 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
31980
faa2bccb
DM
319812012-08-03 David S. Miller <davem@davemloft.net>
31982
31983 * sysdeps/sparc/fpu/libm-test-ulps: Update.
31984
85fe1997
JM
319852012-08-03 Joseph Myers <joseph@codesourcery.com>
31986
31987 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
31988 Remove.
31989 (__ASSUME_CORRECT_SI_PID): Likewise.
31990 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
31991 (__ASSUME_TMPFS_NAME): Likewise.
31992 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
31993 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
31994 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
31995 (HAVE_AUX_SECURE): Make definition unconditional.
31996 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
31997 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
31998
4f75b7a0
RM
319992012-08-03 Roland McGrath <roland@hack.frob.com>
32000
32001 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
32002 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
32003 * sysdeps/mach/hurd/eloop-threshold.h: New file.
32004 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
32005 __eloop_threshold instead of SYMLOOP_MAX.
32006
32007 * sysdeps/generic/eloop-threshold.h: New file.
32008 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
32009 of MAXSYMLINKS.
32010 * elf/chroot_canon.c (chroot_canon): Likewise.
32011
7aab07e4
JM
320122012-08-03 Joseph Myers <joseph@codesourcery.com>
32013
32014 [BZ #13717]
32015 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
32016 Change to 2.6.0 everywhere.
32017 * sysdeps/unix/sysv/linux/configure: Regenerated.
32018 * sysdeps/unix/sysv/linux/kernel-features.h
32019 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
32020 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
32021 kernel versions.
32022 (__ASSUME_POSIX_TIMERS): Define unconditionally.
32023 (__ASSUME_FUTEX_REQUEUE): Remove.
32024 (__ASSUME_STATFS64): Define unconditionally.
32025 (__ASSUME_AT_SECURE): Likewise.
32026 (__ASSUME_CORRECT_SI_PID): Likewise.
32027 (__ASSUME_TGKILL): Define without depending on kernel version for
32028 i386.
32029 (__ASSUME_UTIMES): Likewise.
32030 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
32031 kernel version.
32032 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
32033 (__ASSUME_TMPFS_NAME): Likewise.
32034 * README: Update reference to Linux kernel versions.
32035
b67e9372
MP
320362012-08-02 Marek Polacek <polacek@redhat.com>
32037
1f529f7d 32038 [BZ# 14150]
b67e9372
MP
32039 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
32040 libc_cv_asm_type_prefix with %.
32041 * configure: Regenerated.
d2441631
RM
32042 * include/libc-symbols.h: Remove comment about
32043 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
b67e9372
MP
32044 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
32045 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
32046 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
32047 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
32048 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
32049 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
32050 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
32051 * elf/tst-unique2mod1.c: Likewise.
32052 * elf/tst-unique1mod2.c: Likewise.
32053 * elf/tst-unique1mod1.c: Likewise.
32054 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
32055 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
32056 Replace ASM_TYPE_DIRECTIVE with .type.
32057 * sysdeps/s390/s390-64/sysdep.h: Likewise.
32058 * sysdeps/i386/sysdep.h: Likewise.
32059 * sysdeps/x86_64/sysdep.h: Likewise.
32060 * sysdeps/sh/sysdep.h: Likewise.
d2441631
RM
32061 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
32062 Do not define ASM_TYPE_DIRECTIVE.
b67e9372 32063 * sysdeps/powerpc/sysdep.h: Likewise.
d2441631
RM
32064 * sysdeps/powerpc/powerpc32/sysdep.h:
32065 Replace ASM_TYPE_DIRECTIVE with .type.
b67e9372
MP
32066 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
32067 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
32068 * sysdeps/i386/fpu/e_powf.S: Likewise.
32069 * sysdeps/i386/fpu/e_expl.S: Likewise.
32070 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
32071 * sysdeps/i386/fpu/e_acosh.S: Likewise.
32072 * sysdeps/i386/fpu/e_pow.S: Likewise.
32073 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
32074 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
32075 * sysdeps/i386/fpu/s_expm1.S: Likewise.
32076 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
32077 * sysdeps/i386/fpu/e_log2.S: Likewise.
32078 * sysdeps/i386/fpu/e_log2l.S: Likewise.
32079 * sysdeps/i386/fpu/e_scalb.S: Likewise.
32080 * sysdeps/i386/fpu/e_powl.S: Likewise.
32081 * sysdeps/i386/fpu/e_log10f.S: Likewise.
32082 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
32083 * sysdeps/i386/fpu/e_logl.S: Likewise.
32084 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
32085 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
32086 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
32087 * sysdeps/i386/fpu/e_log2f.S: Likewise.
32088 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
32089 * sysdeps/i386/fpu/e_log.S: Likewise.
32090 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
32091 * sysdeps/i386/fpu/e_logf.S: Likewise.
32092 * sysdeps/i386/fpu/e_log10l.S: Likewise.
32093 * sysdeps/i386/fpu/e_atanh.S: Likewise.
32094 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
32095 * sysdeps/i386/fpu/e_log10.S: Likewise.
32096 * sysdeps/i386/fpu/s_frexp.S: Likewise.
32097 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
32098 * sysdeps/i386/fpu/s_asinh.S: Likewise.
32099 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
32100 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
32101 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
32102 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
32103 * sysdeps/i386/i686/strtok.S: Likewise.
32104 * sysdeps/i386/i386-mcount.S: Likewise.
32105 * sysdeps/i386/strtok.S: Likewise.
32106 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
32107 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
32108 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
32109 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
32110 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
32111 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
32112 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
32113 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
32114 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
32115 * sysdeps/x86_64/_mcount.S: Likewise.
32116 * sysdeps/x86_64/strtok.S: Likewise.
32117 * sysdeps/sh/_mcount.S: Likewise.
32118
2747bf9a
RM
321192012-08-01 Roland McGrath <roland@hack.frob.com>
32120
32121 * libio/iofopen.c: Include <fcntl.h>.
32122 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
32123 (_IO_fopen64, fopen64): Define as aliases.
32124 * libio/iofopen64.c: Include <fcntl.h>.
32125 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
32126 Conditionalize body on this.
32127 * sysdeps/wordsize-64/iofopen.c: File removed.
32128 * sysdeps/wordsize-64/iofopen64.c: File removed.
32129
3fb791b8
MP
321302012-08-01 Marek Polacek <polacek@redhat.com>
32131
32132 * libc/Makeconfig: Use elf in place of binfmt-subdir.
32133 Use dlfcn directly instead of a variable.
32134 (binfmt-subdir): Do not define.
32135 (dlfcn): Likewise.
32136
a9f1039f
JM
321372012-08-01 Joseph Myers <joseph@codesourcery.com>
32138
23bddc06
JM
32139 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
32140 Remove all definitions.
32141 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
32142 <kernel-features.h>.
32143 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
32144 (miss_F_GETOWN_EX): Remove all definitions.
32145 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
32146 macro definition.
32147 [!__ASSUME_FCNTL64]: Remove conditional code.
32148 [__ASSUME_FCNTL64]: Make code unconditional.
32149 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
32150 <kernel-features.h>.
32151 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
32152 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
32153 (lockf64) [__NR_fcntl64]: Make code unconditional.
32154 (lockf64) [__ASSUME_FCNTL64]: Likewise.
32155
a9f1039f
JM
32156 * sysdeps/unix/sysv/linux/kernel-features.h
32157 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
32158 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
32159 Make code unconditional.
32160 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
32161 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
32162 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
32163 [__NR_vfork]: Make code unconditional.
32164 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
32165 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
32166 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
32167 [__NR_vfork]: Make code unconditional.
32168 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
32169 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
32170
09c0ee5f
RM
321712012-08-01 Roland McGrath <roland@hack.frob.com>
32172
48aec5b9
RM
32173 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
32174 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
32175
cd97c966
RM
32176 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
32177 Define mkstemp64 as an alias.
3f55550c
RM
32178 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
32179 Define mkstemps64 as an alias.
cd97c966
RM
32180 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
32181 Define mkostemp64 as an alias.
b8625cfc
RM
32182 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
32183 Define mkostemps64 as an alias.
cd97c966
RM
32184 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
32185 Conditionalize body on this.
32186 * misc/mkostemp64.c: Likewise.
b8625cfc 32187 * misc/mkostemps64.c: Likewise.
3f55550c 32188 * misc/mkstemps64.c: Likewise.
cd97c966
RM
32189 * sysdeps/wordsize-64/mkstemp64.c: File removed.
32190 * sysdeps/wordsize-64/mkostemp64.c: File removed.
32191 * sysdeps/wordsize-64/mkostemp.c: File removed.
32192 * sysdeps/wordsize-64/mkstemp.c: File removed.
32193 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
32194 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
32195 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
32196 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
32197
09c0ee5f
RM
32198 [BZ #14138]
32199 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
32200 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
32201 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
32202 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
32203
32204 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
32205 compat_symbol macros from <shlib-compat.h> rather than the underlying
32206 default_symbol_version and symbol_version macros, so that DEFAULT
32207 lines in shlib-versions are respected.
32208 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
32209
7e66ee51
FW
322102012-08-01 Florian Weimer <fweimer@redhat.com>
32211
32212 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
32213 Declare with warn_unused_result.
32214 (setgid, setregid, setegid, setresgid): Likewise.
32215 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
32216 Likewise.
32217 * WUR-REPORT: Remove set*id functions.
32218
d2a54255
PT
322192012-07-31 Pino Toscano <toscano.pino@tiscali.it>
32220
32221 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
32222
7ecdb005
RM
322232012-07-31 Roland McGrath <roland@hack.frob.com>
32224
b4180a5e 32225 [BZ #10191]
789bd351
RM
32226 * include/sys/socket.h (__libc_accept, __libc_accept4):
32227 Add attribute_hidden.
32228 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
32229
40ce302d
RM
32230 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
32231 use of PTR_MANGLE.
32232 * inet/getnetgrent_r.c (setup): Likewise.
32233
7ecdb005
RM
32234 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
32235
e2eabb2c
DM
322362012-07-31 David S. Miller <davem@davemloft.net>
32237
32238 * sysdeps/sparc/fpu/libm-test-ulps: Update.
32239
d0419dbf
JM
322402012-07-31 Joseph Myers <joseph@codesourcery.com>
32241
32242 [BZ #13629]
32243 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
32244 value between 1.0 and 2.0 and smaller part has absolute value less
32245 than 1.0.
32246 * math/s_clog10.c (__clog10): Likewise.
32247 * math/s_clog10f.c (__clog10f): Likewise.
32248 * math/s_clog10l.c (__clog10l): Likewise.
32249 * math/s_clogf.c (__clogf): Likewise.
32250 * math/s_clogl.c (__clogl): Likewise.
32251 * math/libm-test.inc (clog_test): Add more tests.
32252 (clog10_test): Likewise.
32253 * sysdeps/i386/fpu/libm-test-ulps: Update.
32254 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32255
2bc13872
FW
322562012-07-31 Florian Weimer <fweimer@redhat.com>
32257
32258 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
32259 Exit with zero in case no suitable GID is found, and write a
32260 message to standard error.
32261
bea9b193
RM
322622012-07-30 Roland McGrath <roland@hack.frob.com>
32263
32264 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
32265 rather than to 1.
32266 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
32267 (MAXPATHLEN): Removed.
32268 (NOGROUP, NODEV): New macros.
32269 (setbit, clrbit, isset, isclr): New macros.
32270 (howmany, roundup, powerof2): New macros.
32271 (DEV_BSIZE): New macro.
32272
32273 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
32274 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
32275
32276 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
32277 definition on [!__NO_LONG_DOUBLE_MATH].
32278
32279 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
32280 PTR_MANGLE and PTR_DEMANGLE.
32281
32282 * socket/accept4.c (accept4): Rename to __libc_accept4.
32283 Define accept4 as a weak alias.
32284
32285 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
32286 on [_DIRENT_HAVE_D_TYPE].
32287 * io/ftw.c (ftw_dir): Likewise.
32288
32289 * io/xmknod.c (__xmknod): Don't check PATH for being null.
32290
32291 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
32292
32293 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
32294 Use the BSD numbers rather than the arbitrary ones we had.
32295 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
32296 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
32297 (SIGXCPU, SIGXFSZ): New macros.
32298 (_NSIG): Now 32.
32299
32300 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
32301 initializer on [_LIBC_REENTRANT].
32302
32303 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
32304 definitions inside [_POSIX_MAPPED_FILES].
32305
32306 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
32307
32308 * dirent/opendir.c: Include <fcntl.h>.
32309
32310 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
32311 (__libc_getspecific): Likewise.
32312 (__libc_key_create): Likewise.
32313
32314 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
32315 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
32316 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
32317 (tmpfile64): Define as alias.
32318 * sysdeps/wordsize-64/tmpfile.c: File removed.
32319 * sysdeps/wordsize-64/tmpfile64.c: File removed.
32320 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
32321 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
32322
32323 * stdio-common/vfscanf.c: Include <stdbool.h>.
32324 * nss/makedb.c: Likewise.
32325 * stdio-common/_i18n_number.h: Likewise.
32326 * argp/argp-help.c: Likewise.
32327 * posix/wordexp.c: Likewise.
32328 * sysdeps/posix/spawni.c: Likewise.
32329 * nss/nss_files/files-initgroups.c: Likewise.
32330 * stdio-common/reg-modifier.c: Include <stdlib.h>.
32331 * nss/nss_files/files-initgroups.c: Likewise.
32332 * nss/nss_db/db-netgrp.c: Likewise.
32333 * nss/nss_db/db-initgroups.c: Likewise.
32334 * io/fchmodat.c: Include <sys/stat.h>.
32335
32336 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
32337 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
32338
32339 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
32340 [HAVE_MMAP].
32341
32342 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
32343 Add multiple inclusion protection.
32344
e5abc686
DM
323452012-07-27 David S. Miller <davem@davemloft.net>
32346
32347 * sysdeps/sparc/fpu/libm-test-ulps: Update.
32348
815e6fa3
GB
323492012-07-27 Gary Benson <gbenson@redhat.com>
32350
32351 [BZ #14298]
32352 * elf/rtld.c: Include <stap-probe.h>.
32353 (dl_main): Added static probes "init_start" and "init_complete".
32354 * elf/dl-load.c: Include <stap-probe.h>.
32355 (lose): Take new parameter "nsid".
32356 Added static probe "map_failed".
32357 (_dl_map_object_from_fd): Pass namespace id to lose.
32358 Added static probe "map_start".
32359 (open_verify): Pass namespace id to lose.
32360 * elf/dl-open.c: Include <stap-probe.h>.
32361 (dl_open_worker) Added static probes "map_complete", "reloc_start"
32362 and "reloc_complete".
32363 * elf/dl-close.c: Include <stap-probe.h>.
32364 (_dl_close_worker): Added static probes "unmap_start" and
32365 "unmap_complete".
32366 * elf/rtld-debugger-interface.txt: New file documenting the above.
32367
9f98c16c
RM
323682012-07-26 Roland McGrath <roland@hack.frob.com>
32369
32370 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
32371 rather than a string variable.
32372 * sunrpc/rpc_main.c (h_output): Likewise.
32373 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
32374
f3c22df3
PT
323752012-07-26 Pino Toscano <toscano.pino@tiscali.it>
32376
32377 * inet/check_native.c: New file.
32378
3129cfc6
JM
323792012-07-26 Joseph Myers <joseph@codesourcery.com>
32380
da865e95
JM
32381 [BZ #13629]
32382 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
32383 if larger part has absolute value 1.0.
32384 * math/s_clog10.c (__clog10): Likewise.
32385 * math/s_clog10f.c (__clog10f): Likewise.
32386 * math/s_clog10l.c (__clog10l): Likewise.
32387 * math/s_clogf.c (__clogf): Likewise.
32388 * math/s_clogl.c (__clogl): Likewise.
32389 * math/libm-test.inc (clog_test): Add more tests.
32390 (clog10_test): Likewise.
32391 * sysdeps/i386/fpu/libm-test-ulps: Update.
32392 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32393
3129cfc6
JM
32394 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
32395 (pltexit): Likewise.
32396 (La_regs): Likewise.
32397 (La_retval): Likewise.
32398 (int_retval): Likewise.
32399 Update #error for removed macros to refer only to definitions in
32400 tst-audit.h.
32401 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
32402 macro.
32403 (pltexit): Likewise.
32404 (La_regs): Likewise.
32405 (La_retval): Likewise.
32406 (int_retval): Likewise.
32407 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
32408 macro.
32409 (pltexit): Likewise.
32410 (La_regs): Likewise.
32411 (La_retval): Likewise.
32412 (int_retval): Likewise.
32413 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
32414 macro.
32415 (pltexit): Likewise.
32416 (La_regs): Likewise.
32417 (La_retval): Likewise.
32418 (int_retval): Likewise.
32419 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
32420 macro.
32421 (pltexit): Likewise.
32422 (La_regs): Likewise.
32423 (La_retval): Likewise.
32424 (int_retval): Likewise.
32425 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
32426 macro.
32427 (pltexit): Likewise.
32428 (La_regs): Likewise.
32429 (La_retval): Likewise.
32430 (int_retval): Likewise.
32431 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
32432 macro.
32433 (pltexit): Likewise.
32434 (La_regs): Likewise.
32435 (La_retval): Likewise.
32436 (int_retval): Likewise.
32437 * sysdeps/generic/tst-audit.h: Update comment to refer only to
32438 macro definitions in tst-audit.h.
32439 * sysdeps/i386/tst-audit.h: New file.
32440 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
32441 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
32442 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
32443 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
32444 * sysdeps/sh/tst-audit.h: Likewise.
32445 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
32446 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
32447 * sysdeps/x86_64/tst-audit.h: Likewise.
32448
bfc07087
AJ
324492012-07-26 Andreas Jaeger <aj@suse.de>
32450
b1b2aaf8
AJ
32451 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
32452 ptrace.
32453
32454 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
32455 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
32456 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
32457 PTRACE_O_MASK.
32458 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
32459 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
32460 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
32461
bfc07087
AJ
32462 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
32463 value.
32464
32465 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
32466 _sigsys.
32467 (si_call_addr, si_syscall, si_arch): Define new macro.
32468 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
32469 _sigsys.
32470 (si_call_addr, si_syscall, si_arch): Define new marcro.
32471 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
32472 _sigsys.
32473 (si_call_addr, si_syscall, si_arch): Define new macro.
32474 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
32475 _sigsys.
32476 (si_call_addr, si_syscall, si_arch): Define new macro.
32477
89b4b02f
JM
324782012-07-25 Joseph Myers <joseph@codesourcery.com>
32479
32480 [BZ #13717]
32481 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
32482 Change to 2.4.21 where previously 2.4.1.
32483 * sysdeps/unix/sysv/linux/configure: Regenerated.
32484 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
32485 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
32486 Linux kernel version.
32487 (__ASSUME_STD_AUXV): Remove.
32488 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
32489 kernel version.
32490 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
32491 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
32492 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
32493 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
32494 (__ASSUME_NETLINK_SUPPORT): Likewise.
32495 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
32496 (__no_netlink_support): Remove conditional definition.
32497 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
32498 Remove.
32499 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
32500 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
32501 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
32502 (if_nameindex_ioctl): Remove.
32503 (if_nameindex_netlink): Do not handle __no_netlink_support.
32504 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
32505 code.
32506 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
32507 Remove conditional code.
32508 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
32509 code.
32510 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
32511 unconditional.
32512 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
32513 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
32514 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
32515 Remove.
32516 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
32517 [!__ASSUME_STD_AUXV]: Remove conditional code.
32518 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
32519 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
32520 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
32521 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
32522 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
32523 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
32524 code.
32525 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
32526 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
32527 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
32528 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
32529 conditional code.
32530 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
32531 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
32532 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
32533 code.
32534 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
32535 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
32536 conditional code.
32537 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
32538 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
32539 code unconditional.
32540 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
32541 conditional code.
32542 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
32543 unconditional.
32544 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
32545 conditional code.
32546 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
32547 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
32548 unconditional.
32549 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
32550 conditional code.
32551 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
32552 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
32553 code unconditional.
32554 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
32555 conditional code.
32556 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
32557 unconditional.
32558 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
32559 conditional code.
32560 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
32561 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
32562 code unconditional.
32563 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
32564 conditional code.
32565 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
32566 unconditional.
32567 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
32568 conditional code.
32569
842a39cd
AS
325702012-07-25 Andreas Schwab <schwab@linux-m68k.org>
32571
32572 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
32573 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
32574 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
32575 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
32576 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
32577 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
32578 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
32579 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
32580 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
32581 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
32582 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
32583 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
32584 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
32585 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
32586 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
32587 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
32588 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
32589 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
32590 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
32591 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
32592 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
32593 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
32594 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
32595
84b3fd84
FW
325962012-07-25 Florian Weimer <fweimer@redhat.com>
32597
32598 * Versions.def: Add GLIBC_2.17.
84b3fd84
FW
32599 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
32600 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
32601 Introduce __libc_secure_getenv.
0c7936d5
FW
32602 * stdlib/Versions (2.17): Add secure_getenv
32603 (GLIBC_PRIVATE): Add __libc_secure_getenv.
32604 * stdlib/secure-getenv.c: Rename __secure_getenv to
32605 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
32606 symbol __secure_getenv for GLIBC_2.0.
84b3fd84
FW
32607 * stdlib/tst-secure-getenv.c: New.
32608 * stdlib/Makefile (tests): Add testcase.
84b3fd84
FW
32609 * manual/startup.texi (Environment Access): Document
32610 secure_getenv.
84b3fd84
FW
32611 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
32612 __libc_secure_getenv.
32613 * inet/ruserpass.c (ruserpass): Likewise.
32614 * malloc/mtrace.c (mtrace): Likewise.
32615 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
0c7936d5 32616 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
84b3fd84
FW
32617 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
32618 * sysdeps/posix/tempname.c: Likewise. Evaluate
32619 HAVE_SECURE_GETENV.
32620 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
0c7936d5 32621 __secure_getenv to __libc_secure_getenv.
84b3fd84 32622 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
84b3fd84
FW
32623 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
32624 Likewise.
32625 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
32626 Likewise.
32627 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
32628 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
32629 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
32630 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
32631 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
32632 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
32633 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
84b3fd84 32634
56e49b71
JM
326352012-07-25 Joseph Myers <joseph@codesourcery.com>
32636
32637 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
32638 (struct La_i86_retval): Likewise.
32639 (struct La_x86_64_regs): Likewise.
32640 (struct La_x86_64_retval): Likewise.
32641 (struct La_x32_regs): Likewise.
32642 (struct La_x32_retval): Likewise.
32643 (struct La_ppc32_regs): Likewise.
32644 (struct La_ppc32_retval): Likewise.
32645 (struct La_ppc64_regs): Likewise.
32646 (struct La_ppc64_retval): Likewise.
32647 (struct La_sh_regs): Likewise.
32648 (struct La_sh_retval): Likewise.
32649 (struct La_s390_32_regs): Likewise.
32650 (struct La_s390_32_retval): Likewise.
32651 (struct La_s390_64_regs): Likewise.
32652 (struct La_s390_64_retval): Likewise.
32653 (struct La_sparc32_regs): Likewise.
32654 (struct La_sparc32_retval): Likewise.
32655 (struct La_sparc64_regs): Likewise.
32656 (struct La_sparc64_retval): Likewise.
32657 (struct audit_ifaces): Remove architecture-specific pltenter and
32658 pltexit members.
32659 * sysdeps/i386/ldsodefs.h: New file.
32660 * sysdeps/powerpc/ldsodefs.h: Likewise.
32661 * sysdeps/s390/ldsodefs.h: Likewise.
32662 * sysdeps/sh/ldsodefs.h: Likewise.
32663 * sysdeps/sparc/ldsodefs.h: Likewise.
32664 * sysdeps/x86_64/ldsodefs.h: Likewise.
32665
354691b7
MP
326662012-07-25 Marek Polacek <polacek@redhat.com>
32667
32668 [BZ #6808]
32669 * math/libm-test.inc (yn_test): Add another test.
32670 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
32671 to ERANGE when the result is +-Inf.
32672 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
32673 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
32674 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
32675 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
32676
bf9e2071
JM
326772012-07-24 Joseph Myers <joseph@codesourcery.com>
32678
32679 * conform/data/time.h-data (NULL): Use macro-constant. Require
32680 equal to 0.
32681 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
32682 clock_t.
32683 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
32684
57633811
TS
326852012-07-23 Thomas Schwinge <thomas@codesourcery.com>
32686
32687 * configure.in <sysdeps resolving>: Correct printing
32688 Implies_before.
32689 * configure: Regenerate.
32690
c23c33b0
TS
326912012-07-22 Thomas Schwinge <thomas@codesourcery.com>
32692
32693 * math/w_ilogb.c: Include <limits.h>.
32694 * math/w_ilogbl.c: Likewise.
32695
b5982523
JM
326962012-07-20 Joseph Myers <joseph@codesourcery.com>
32697
32698 * manual/lang.texi (__va_copy): Document primarily as ISO C99
32699 va_copy. Document allowing for unavailable va_copy only as
32700 pre-C99 compatibility.
32701 * manual/string.texi (Copying and Concatenation): Use va_copy
32702 instead of __va_copy in concat example.
32703
ac4ea442
PT
327042012-07-20 Pino Toscano <toscano.pino@tiscali.it>
32705
32706 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
32707 (__sendto): Use create_address_port. Initialize APORT and deallocate
32708 it if not null.
32709
f98eafbd
PT
32710 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
32711 with O_NOLINK passed to __file_name_lookup.
32712
898c7aab
PT
32713 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
32714 with O_NOLINK passed to __file_name_lookup.
32715
0ced335a
PT
32716 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
32717 negative N or less than NGIDS.
32718
b3404dbd
PT
32719 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
32720 type to string_t. Set ERANGE as errno and return it if NAME is not big
32721 enough. Use memcpy instead of strncpy.
32722
0f48659e
JM
327232012-07-20 Joseph Myers <joseph@codesourcery.com>
32724
32725 * elf/Makefile (check-data): Remove.
32726 (localplt.data): New vpath directive.
32727 ($(objpfx)check-localplt.out): Use localplt.data from vpath
32728 instead of $(check-data).
32729 * scripts/data/localplt-generic.data: Move to ...
32730 * sysdeps/generic/localplt.data: ... here.
32731 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
32732 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
32733 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
32734 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
32735 ... here.
32736 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
32737 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
32738 ... here.
32739 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
32740 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
32741 ... here.
32742 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
32743 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
32744 ... here.
32745 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
32746 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
32747 ... here.
32748 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
32749 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
32750 ... here.
32751
d37cbdaa
AZ
327522012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32753
32754 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
32755 PPC32 and PPC64 files.
32756 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
32757 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
32758
46f85fc2
AK
327592012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
32760
32761 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
32762 __makecontext_ret to ...
32763 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
32764 ... here and call exit if uc_link is NULL. New file.
32765 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
32766 __makecontext_ret.S.
32767 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
32768 __makecontext_ret to ...
32769 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
32770 ... here and call exit if uc_link is NULL. New file.
32771 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
32772 __makecontext_ret.S.
32773
08f43f9b
AK
327742012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
32775
32776 * elf/elf.h (R_390_IRELATIVE): New definition.
32777 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
32778 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
32779 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
32780 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
32781 (elf_machine_lazy_rel): Likewise.
32782 * sysdeps/s390/dl-irel.h: New file.
32783 * sysdeps/s390/s390-64/memcpy.S: New asm code.
32784 * sysdeps/s390/s390-64/memset.S: New asm code.
32785 * sysdeps/s390/s390-64/memcmp.S: New asm code.
32786 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
32787 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
32788 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
32789 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
32790 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
32791 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
32792 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
32793 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
32794 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
32795 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
32796 * sysdeps/s390/s390-32/memcpy.S: New asm code.
32797 * sysdeps/s390/s390-32/memset.S: New asm code.
32798 * sysdeps/s390/s390-32/memcmp.S: New asm code.
32799
3b05db33
MP
328002012-07-17 Marek Polacek <polacek@redhat.com>
32801
32802 [BZ #14349]
32803 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
32804 * sysdeps/s390/s390-64/configure.in: Likewise.
32805 * sysdeps/sparc/configure.in: Likewise.
32806 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
32807 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
32808 * sysdeps/i386/configure.in: Likewise.
32809 * sysdeps/x86_64/configure.in: Likewise.
32810 * sysdeps/sh/configure.in: Likewise.
32811 * sysdeps/s390/s390-32/configure: Regenerated.
32812 * sysdeps/s390/s390-64/configure: Likewise.
32813 * sysdeps/x86_64/configure: Likewise.
32814 * sysdeps/sh/configure: Likewise.
32815 * sysdeps/powerpc/powerpc64/configure: Likewise.
32816 * sysdeps/powerpc/powerpc32/configure: Likewise.
32817 * sysdeps/sparc/configure: Likwise.
32818 * sysdeps/i386/configure: Likewise.
32819
a66877c6
MP
32820 * elf/dl-open.c: Comment fixes.
32821
cfc82fd8
JM
328222012-07-17 Joseph Myers <joseph@codesourcery.com>
32823
bd29910a
JM
32824 * Makefile [CXX] (check-data): Remove.
32825 [CXX] (c++-types.data): New vpath directive.
32826 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
32827 vpath. Do not allow for C++ type data being missing.
32828 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
32829 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
32830 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
32831 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
32832 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
32833 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
32834 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
32835 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
32836 ... here.
32837 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
32838 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
32839 ... here.
32840 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
32841 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
32842 ... here.
32843 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
32844 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
32845 ... here.
32846 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
32847 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
32848 ... here.
32849 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
32850 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
32851 ... here.
32852 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
32853 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
32854 ... here.
32855 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
32856 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
32857
cfc82fd8
JM
32858 * elf/tls-macros.h (TLS_LE): Move architecture-specific
32859 definitions to architecture-specific files.
32860 (TLS_IE): Likewise.
32861 (TLS_LD): Likewise.
32862 (TLS_GD): Likewise.
32863 * sysdeps/i386/tls-macros.h: New file.
32864 * sysdeps/powerpc/tls-macros.h: Likewise.
32865 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
32866 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
32867 * sysdeps/sh/tls-macros.h: Likewise.
32868 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
32869 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
32870 * sysdeps/x86_64/tls-macros.h: Likewise.
32871
f7db3170
TS
328722012-07-17 Thomas Schwinge <thomas@codesourcery.com>
32873
07cbfc23
TS
32874 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
32875 zero value for regular exit case.
32876
f7db3170
TS
32877 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
32878 (__start_context): Preserve zero value for regular exit case.
32879
dc97c227
TS
328802012-07-17 Thomas Schwinge <thomas@codesourcery.com>
32881 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
32882
32883 * manual/setjmp.texi (setcontext): Clarify normal process
32884 termination when uc_link is the null pointer.
32885 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
32886 exit call.
32887
d0cd7d02
AS
328882012-07-16 Andreas Schwab <schwab@linux-m68k.org>
32889
32890 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
32891 preprocessor. Test for each exception mask separately.
32892
dd318934
AJ
328932012-07-16 Andreas Jaeger <aj@suse.de>
32894
32895 * po/ru.po: Update from translation team.
32896
8048311a
JM
328972012-07-15 Joseph Myers <joseph@codesourcery.com>
32898
32899 * conform/data/string.h-data (NULL): Use macro-constant. Require
32900 equal to 0.
32901 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
32902 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
32903 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
32904 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
32905 [ISO || ISO99 || ISO11] (*_t): Do not allow.
32906
b637d46e
AJ
329072012-07-13 Andreas Jaeger <aj@suse.de>
32908
32909 * po/fr.po: Update from translation team.
32910
541428fe
MP
329112012-07-12 Marek Polacek <polacek@redhat.com>
32912
32913 [BZ #14173]
32914 * math/libm-test.inc (yn_test): Add test for BZ #14173.
32915 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
32916 loop condition.
32917
ec332e94
JM
329182012-07-12 Joseph Myers <joseph@codesourcery.com>
32919
32920 [BZ #13717]
32921 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
32922 Change to 2.4.1 where previously 2.4.0.
32923 * sysdeps/unix/sysv/linux/configure: Regenerated.
32924 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
32925 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
32926 version.
32927 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
32928 (__ASSUME_AT_CLKTCK): Remove.
32929 (__ASSUME_AT_PAGESIZE): Likewise.
32930 (__ASSUME_AT_XID): Likewise.
32931 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
32932 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
32933 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
32934 unconditionally.
32935 (HAVE_AUX_PAGESIZE): Likewise.
32936 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
32937 [__ASSUME_AT_CLKTCK]: Make code unconditional.
32938 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
32939
7b6e99be
JB
329402012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
32941
32942 [BZ #14307]
32943 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
32944 the temporary buffer used to invoke __gethostbyname2_r,
32945 __gethostbyaddr_r and gethostbyname4_r to make room for struct
32946 host_data / struct gaih_addrtuple.
32947 * resolv/nss_dns/dns-host.c (global scope): Move definition of
32948 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
32949 header file nss/nsswitch.h.
32950 * nss/nsswitch.h (global scope): Add definition of implementation
32951 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
32952 resolv/nss_dns/dns-host.c).
32953
608404eb
AJ
329542012-07-11 Andreas Jaeger <aj@suse.de>
32955
32956 * po/fr.po: Update from translation team.
32957
71220aca
AJ
32958 * po/sv.po: Update from translation team
32959 * po/fr.po: Another update from translation team.
32960
28cfe843
AZ
329612012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32962
32963 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
32964 for subnormals or multiply small sinh result by itself.
32965 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
32966 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32967
6b90f981
DM
329682012-07-11 David S. Miller <davem@davemloft.net>
32969
32970 * sysdeps/sparc/fpu/libm-test-ulps: Update.
32971
c6825772
AS
329722012-07-10 Andreas Schwab <schwab@linux-m68k.org>
32973
32974 [BZ #14347]
32975 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
32976 (INTERNAL_MARK): Shift it here.
32977
7b8e0d49
MP
329782012-07-10 Marek Polacek <polacek@redhat.com>
32979
32980 [BZ #14151]
32981 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
32982 libc_cv_asm_global_directive with .globl.
32983 * configure: Regenerated.
32984 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
32985 with .globl.
32986 * sysdeps/i386/configure: Regenerated.
32987 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
32988 with .globl.
32989 * sysdeps/x86_64/configure: Regenerated.
32990 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
32991 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
32992 * elf/tst-unique2mod2.c: Likewise.
32993 * elf/tst-unique2mod1.c: Likewise.
32994 * elf/tst-unique1mod2.c: Likewise.
32995 * elf/tst-unique1mod1.c: Likewise.
32996 * sysdeps/s390/s390-32/sysdep.h: Likewise.
32997 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
32998 * sysdeps/s390/s390-64/sysdep.h: Likewise.
32999 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
33000 * sysdeps/mach/sysdep.h: Likewise.
33001 * sysdeps/i386/sysdep.h: Likewise.
33002 * sysdeps/i386/i386-mcount.S: Likewise.
33003 * sysdeps/x86_64/_mcount.S: Likewise.
33004 * sysdeps/x86_64/sysdep.h: Likewise.
33005 * sysdeps/sh/_mcount.S: Likewise.
33006 * sysdeps/sh/sysdep.h: Likewise.
33007 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
33008 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
33009 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
33010 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
33011 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
33012 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
33013 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
33014 * locale/localeinfo.h: Likewise.
33015 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
33016 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
33017
6c55cda3
RM
330182012-07-09 Roland McGrath <roland@hack.frob.com>
33019
33020 [BZ #14336]
33021 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
33022 system".
33023 * manual/message.texi (The Uniforum approach): Likewise.
33024 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
33025 (glibc iconv Implementation): Likewise.
33026
638a572e
JM
330272012-07-09 Joseph Myers <joseph@codesourcery.com>
33028
33029 [BZ #14337]
33030 * math/s_clog.c (__clog): Avoid scaling a value down where that
33031 could result in underflow.
33032 * math/s_clog10.c (__clog10): Likewise.
33033 * math/s_clog10f.c (__clog10f): Likewise.
33034 * math/s_clog10l.c (__clog10l): Likewise.
33035 * math/s_clogf.c (__clogf): Likewise.
33036 * math/s_clogl.c (__clogl): Likewise.
33037 * math/libm-test.inc (clog_test): Add more tests.
33038 (clog10_test): Likewise.
33039 * sysdeps/i386/fpu/libm-test-ulps: Update.
33040 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33041
261f4859
AS
330422012-07-06 Andreas Schwab <schwab@linux-m68k.org>
33043
0abaf3e4
AS
33044 [BZ #14283]
33045 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
33046 by 7 not 8 to examine high bit of fractional part.
33047
261f4859
AS
33048 [BZ #14042]
33049 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
33050 for call to __mcount_internal.
33051 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
33052 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
33053 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
33054
f17ac40d
JM
330552012-07-06 Joseph Myers <joseph@codesourcery.com>
33056
9ad63c23
JM
33057 [BZ #14154]
33058 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
33059 approximation for values within 0x1p-13f of an odd multiple of
33060 pi/4.
33061 * math/libm-test.inc (tan_test): Do not allow spurious underflow
33062 exception. Add more tests.
33063 * sysdeps/i386/fpu/libm-test-ulps: Update.
33064
f17ac40d
JM
33065 [BZ #6778]
33066 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
33067 inputs and return -1 for them. Do not check for +Inf in case not
33068 reachable for +Inf.
33069 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
33070 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
33071 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
33072 and return -1 for them. Do not check for +Inf in case not
33073 reachable for +Inf.
33074 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
33075 define.
33076 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
33077 and return -1 for them. Do not check for +Inf in case not
33078 reachable for +Inf.
33079 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
33080 spurious underflow.
33081 * sysdeps/i386/fpu/libm-test-ulps: Update.
33082 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33083
fb21f89b
MF
330842012-07-06 Mike Frysinger <vapier@gentoo.org>
33085
33086 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
33087
cdfe2c5e
JM
330882012-07-05 Joseph Myers <joseph@codesourcery.com>
33089
33090 [BZ #14157]
33091 [BZ #14331]
33092 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
33093 could result in spurious underflow. Scale down values above
33094 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
33095 * math/s_csqrtf.c (__csqrtf): Likewise.
33096 * math/s_csqrtl.c (__csqrtl): Likewise.
33097 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
33098 spurious underflow.
33099 * sysdeps/i386/fpu/libm-test-ulps: Update.
33100 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33101
70d35b67
AS
331022012-07-04 Andreas Schwab <schwab@linux-m68k.org>
33103
704bc459
AS
33104 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
33105 xopen-msg.sed.
33106 * catgets/xopen-msg.awk: New file.
33107 * catgets/xopen-msg.sed: Removed.
33108
70d35b67
AS
33109 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
33110 po2text.sed.
33111 * intl/po2test.awk: New file.
33112 * intl/po2test.sed: Removed.
33113
ca61cf32
JM
331142012-07-04 Joseph Myers <joseph@codesourcery.com>
33115
33116 [BZ #14328]
33117 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
33118 or multiply small sinh result by itself.
33119 * math/s_ctanf.c (__ctanf): Likewise.
33120 * math/s_ctanh.c (__ctanh): Likewise.
33121 * math/s_ctanhf.c (__ctanhf): Likewise.
33122 * math/s_ctanhl.c (__ctanhl): Likewise.
33123 * math/s_ctanl.c (__ctanl): Likewise.
33124 * math/libm-test.inc (ctan_test_tonearest): New function.
33125 (ctan_test_towardzero): Likewise.
33126 (ctan_test_downward): Likewise.
33127 (ctan_test_upward): Likewise.
33128 (ctanh_test_tonearest): Likewise.
33129 (ctanh_test_towardzero): Likewise.
33130 (ctanh_test_downward): Likewise.
33131 (ctanh_test_upward): Likewise.
33132 (main): Call these new functions.
33133 * sysdeps/i386/fpu/libm-test-ulps: Update.
33134 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33135
ca48a46a
MF
331362012-07-03 Mike Frysinger <vapier@gentoo.org>
33137
33138 * .gitignore: Delete /ports entry.
33139
9d63d37d
AJ
331402012-07-03 Andreas Jaeger <aj@suse.de>
33141
33142 * po/bg.po: Update from translation team.
33143 * po/cs.po: Likewise.
33144 * po/de.po: Likewise.
33145 * po/hr.po: Likewise.
33146 * po/nl.pl: Likewise.
33147 * po/pl.po: Likewise.
33148 * po/vi.po: Likewise.
33149
370ca3d2
JM
331502012-07-03 Joseph Myers <joseph@codesourcery.com>
33151
95f5a9a8
JM
33152 * Makeconfig [!+link] (+link-before-libc): New variable.
33153 [!+link] (+link-after-libc): Likewise.
33154 [!+link] (+link-tests): Likewise.
33155 [!+link] (+link): Define in terms of $(+link-before-libc) and
33156 $(+link-after-libc).
33157 [!+link-static] (+link-static-before-libc): New variable.
33158 [!+link-static] (+link-static-after-libc): Likewise.
33159 [!+link-static] (+link-static-tests): Likewise.
33160 [!+link-static] (+link-static): Define in terms of
33161 $(+link-static-before-libc) and $(+link-static-after-libc).
33162 [build-shared] (link-libc-before-gnulib): New variable.
33163 [build-shared] (link-libc-tests): Likewise.
33164 [build-shared] (link-libc): Define in terms of
33165 $(link-libc-before-gnulib).
33166 [!build-shared] (link-libc-tests): New variable.
33167 (link-libc-static-tests): New variable.
33168 [!gnulib] (gnulib-arch): New variable.
33169 [!gnulib] (gnulib-tests): Likewise.
33170 [!gnulib] (static-gnulib-arch): Likewise.
33171 [!gnulib] (static-gnulib-tests): Likewise.
33172 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
33173 Define with "=" instead of ":=".
33174 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
33175 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
33176 * Rules (binaries-all-notests): New variable.
33177 (binaries-all-tests): Likewise.
33178 (binaries-static-notests): Likewise.
33179 (binaries-static-tests): Likewise.
33180 (binaries-all): Define using $(binaries-all-notests) and
33181 $(binaries-all-tests).
33182 (binaries-static): Define using $(binaries-static-notests) and
33183 $(binaries-static-tests).
33184 (binaries-shared-tests): New variable.
33185 (binaries-shared-notests): Likewise.
33186 (binaries-shared): Remove variable.
33187 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
33188 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
33189 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
33190 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
33191 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
33192 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
33193 * elf/Makefile (sln-modules): New variable.
33194 (extra-objs): Add $(sln-modules:=.o).
33195 (ldconfig-modules): Add static-stubs.
33196 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
33197 * elf/static-stubs.c: New file.
33198
7a845b2c
JM
33199 [BZ #14283]
33200 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
33201 by 7 not 8 to examine high bit of fractional part. Use volatile
33202 variables when splitting into final array of floats if
33203 __FLT_EVAL_METHOD__ != 0.
33204 * math/libm-test.inc (cos_test): Add another test.
33205 (sin_test): Likewise.
33206 * sysdeps/i386/fpu/libm-test-ulps: Update.
33207
e2283f38
JM
33208 [BZ #14273]
33209 * math/libm-test.inc (cosh_test): Add more tests.
33210
370ca3d2
JM
33211 * version.h (RELEASE): Set to "development".
33212 (VERSION): Set to "2.16.90".
33213
ee9247c3
CD
332142012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
33215
33216 * NEWS: Update copyright. Remove last-updated date.
33217 Mention math library bug fixes and timezone data changes.
33218 * README: Mention GNU/Hurd, x32, and HPPA support status.
33219
4648c381
TS
332202012-06-28 Thomas Schwinge <thomas@codesourcery.com>
33221
33222 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
33223
aac78a43
AJ
332242012-06-27 Andreas Jaeger <aj@suse.de>
33225
33226 * manual/contrib.texi (Contributors): Add Samuel Thibault.
33227
ed3dbfad
AJ
332282012-06-25 Andreas Jaeger <aj@suse.de>
33229
33230 * sysdeps/s390/fpu/libm-test-ulps: Update.
33231
4d0ee855
AS
332322012-06-23 Andreas Schwab <schwab@linux-m68k.org>
33233 Thomas Schwinge <thomas@codesourcery.com>
33234
33235 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
33236 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
33237 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
33238 fanotify_mark.
33239
af1bce34
TS
332402012-06-23 Thomas Schwinge <thomas@codesourcery.com>
33241
a9fa33ba
TS
33242 * sysdeps/mach/start.c: Remove file.
33243 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
33244 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
33245 * sysdeps/sh/init-first.c: Likewise.
33246
58f902b8
TS
33247 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
33248 registers for frame unwinding purposes, add CFI directives.
33249 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
33250 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
33251 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
33252 Likewise.
33253
1518f58b
TS
33254 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
33255 __fortify_fail returning.
33256 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
33257
db9b5059
TS
33258 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
33259 sysdeps/sh/____longjmp_chk.S.
33260 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
33261 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
33262 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
33263 (gen-as-const-headers): Append sigaltstack-offsets.sym.
33264
967705fe
TS
33265 * sysdeps/sh/abort-instr.h: New file.
33266 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
33267 process in case exit returns.
33268
a9def8c4
TS
33269 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
33270 initialize the GOT register before use.
33271
2a649725
TS
33272 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
33273 calculation of ARGC > 4.
33274
af1bce34
TS
33275 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
33276 meaningful names to some local labels.
33277
d230f50a
KK
332782012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
33279 Kaz Kojima <kkojima@rr.iij4u.or.jp>
33280
33281 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
33282 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
33283 (__arch_compare_and_exchange_val_16_acq): Likewise.
33284 (__arch_compare_and_exchange_val_32_acq): Likewise.
33285 (atomic_exchange_and_add): Fix gUSA sequence.
33286 (atomic_add): Likewise.
33287 (atomic_add_negative): Likewise.
33288 (atomic_add_zero): Likewise.
33289 (atomic_bit_test_set): Likewise.
33290
0479b305
AS
332912012-06-22 Andreas Schwab <schwab@redhat.com>
33292
33293 [BZ #13579]
33294 * include/link.h (struct link_map): Add l_free_initfini.
33295 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
33296 l_initfini.
33297 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
33298 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
33299 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
33300 set.
33301
0e3933b9
CD
333022012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
33303
33304 * configure.in: Use AC_LANG_SOURCE.
33305 * configure: Regenerate.
33306
4248b1b1
RM
333072012-06-22 Roland McGrath <roland@hack.frob.com>
33308
33309 * configure.in (libc_cv_localstatedir): New substituted variable.
33310 * configure: Regenerated.
33311 * config.make.in (localstatedir): New variable, substituted from
33312 libc_cv_localstatedir.
33313 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
33314 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
33315 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
33316 * sysdeps/gnu/configure: Regenerated.
33317
006dd861
JL
333182012-06-21 Jeff Law <law@redhat.com>
33319
33320 [BZ #14277]
33321 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
33322 free. Simplify list management for _LIBC case.
33323
79662d42
JM
333242012-06-21 Joseph Myers <joseph@codesourcery.com>
33325
b7abb4bf
JM
33326 [BZ #14273]
33327 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
33328 Clear sign bit of 64-bit integer value before comparing against
33329 overflow value.
33330
79662d42
JM
33331 * sysdeps/mach/configure: Regenerated.
33332
1f150908
L
333332012-06-21 H.J. Lu <hongjiu.lu@intel.com>
33334
33335 [BZ #14278]
33336 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
33337
28363bbf
JL
333382012-06-21 Jeff Law <law@redhat.com>
33339
33340 [BZ #13882]
33341 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
33342 uint16_t for elements in the "seen" array to avoid char overflows.
80784193 33343 * elf/dl-fini.c (_dl_sort_fini): Likewise.
28363bbf
JL
33344 * elf/dl-open.c (dl_open_worker): Likewise.
33345
09615db4
CD
333462012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
33347
33348 * scripts/list-sources.sh: Scan PORTS for translations.
33349 * po/libc.pot: Regenerated.
33350
2174c6dd
AJ
333512012-06-21 Andreas Jaeger <aj@suse.de>
33352
33353 [BZ #12194]
33354 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
33355 warning.
33356 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
33357 * bits/byteswap-16.h (__bswap_16): Likewise.
33358 * bits/byteswap.h (__bswap_constant_16): Likewise.
33359
3ee947b1
L
333602012-06-18 H.J. Lu <hongjiu.lu@intel.com>
33361
33362 [BZ #14117]
a2f34833
L
33363 * sysdeps/i386/fpu_control.h: Removed.
33364 * sysdeps/x86_64/fpu_control.h: Moved to ...
33365 * sysdeps/x86/fpu_control.h: Here.
33366
3ee947b1
L
33367 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
33368 (_FPU_SETCW): Likewise.
33369
ed1825f8
L
333702012-06-15 H.J. Lu <hongjiu.lu@intel.com>
33371
25f1282a
L
33372 [BZ #14117]
33373 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
33374 * sysdeps/x86/fpu/bits/mathinline.h: This.
33375 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
33376
ed1825f8
L
33377 [BZ #14050]
33378 [BZ #14117]
33379 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
33380 functions if __x86_64__ is defined.
33381
36d54b74
CLT
333822012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
33383
33384 * string/endian.h: Add !__ASSEMBLER__ condition for including
33385 conversion interfaces.
33386
10285c21
JM
333872012-06-15 Joseph Myers <joseph@codesourcery.com>
33388
33389 [BZ #14241]
33390 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
33391 of ABS(x) in calculating zero to negative powers other than odd
33392 integers.
33393 * math/libm-test.inc (pow_test): Add more tests.
33394
06c5abbd
AJ
333952012-06-15 Andreas Jaeger <aj@suse.de>
33396
33397 * manual/contrib.texi (Contributors): Update entry of Liubov
33398 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
33399 Machado Filho.
33400
a3aeac40
CH
334012012-06-15 Cyril Hrubis <metan@ucw.cz>
33402
33403 * string/string.h: Add __wur to GNU version of strerror_r.
33404
49bdf4c1
L
334052012-06-14 H.J. Lu <hongjiu.lu@intel.com>
33406
33407 [BZ #14229]
33408 * string/Makefile (tests): Add tst-strtok_r.
33409 * string/tst-strtok_r.c: New file.
33410 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
33411 RAX_LP/RDX_LP on SAVE_PTR.
33412
834f9b8d
RM
334132012-06-14 Roland McGrath <roland@hack.frob.com>
33414
33415 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
33416
75fa1921
JM
334172012-06-14 Joseph Myers <joseph@codesourcery.com>
33418
33419 * libm_test.inc (csqrt_test): Allow more spurious underflow
33420 exceptions.
33421 (j0_test): Likewise.
33422 (j1_test): Likewise.
33423 (y0_test): Likewise.
33424 (y1_test): Likewise.
33425
771766df
CD
334262012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
33427
33428 * po/Makefile (libc.pot): Use UTF-8 charset.
33429
ceb9e56b
PP
334302012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
33431
33432 [BZ #14210]
33433 Suppress sign-conversion warning from FD_SET.
33434 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
33435 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
33436 not unsigned long int.
33437 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
33438
ddb28975
L
334392012-06-12 H.J. Lu <hongjiu.lu@intel.com>
33440
33441 [BZ #14050]
33442 [BZ #14117]
33443 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
33444 __extern_always_inline instead of __extern_inline.
33445 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
33446 (__signbit): Likewise.
33447 (__signbitl): Support C++ namespace.
33448 (lrintf): New inline function.
33449 (lrint): Likewise.
33450 (llrintf): Likewise.
33451 (llrint): Likewise.
33452 (fmaxf): Likewise.
33453 (fmax): Likewise.
33454 (fminf): Likewise.
33455 (fmin): Likewise.
33456 (rint): Likewise.
33457 (rintf): Likewise.
33458 (ceil): Likewise.
33459 (ceilf): Likewise.
33460 (floor): Likewise.
33461 (floorf): Likewise.
33462 (nearbyint): Likewise.
33463 (nearbyintf): Likewise.
33464
d7b4fb26
TS
334652012-06-12 Thomas Schwinge <thomas@codesourcery.com>
33466
33467 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
33468 non-default versions.
33469
eb55f5c2
RM
334702012-06-11 Roland McGrath <roland@hack.frob.com>
33471
33472 [BZ #14218]
33473 * manual/argp.texi (Argp): Reword argp_parse description slightly.
33474
366af02c
TS
334752012-06-09 Thomas Schwinge <thomas@codesourcery.com>
33476
99ff6e5c
TS
33477 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
33478 (FE_UPWARD, FE_DOWNWARD): Don't define.
33479 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
33480 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
33481
366af02c
TS
33482 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
33483 reading it.
33484 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
33485 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
33486
793ea851
KK
334872012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
33488
33489 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
33490 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
33491 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
33492 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
33493
a728a38f
L
334942012-06-06 H.J. Lu <hongjiu.lu@intel.com>
33495
33496 [BZ #14117]
c08010c7
L
33497 * sysdeps/i386/fpu/bits/fenv.h: Removed.
33498 * sysdeps/i386/fpu/Implies: New file.
33499 * sysdeps/x86_64/fpu/Implies: Likewise.
33500 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
33501 * sysdeps/x86/fpu/bits/fenv.h: This.
33502
a728a38f
L
33503 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
33504 __SSE_MATH__.
33505
6e230d11
SP
335062012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
33507
33508 [BZ #14134]
33509 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
33510 character 0xffff that matches the last element of the
33511 conversion table.
33512
1b671feb
AZ
335132012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33514
33515 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
33516 fmodl commit.
33517
6043738b
AZ
335182012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33519
33520 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
33521 values higher than 25.6283.
33522
34ae0b32
AZ
335232012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33524
33525 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
33526 subnormal exponent extraction and add some __builtin_expect.
33527 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
33528 Fix for subnormal mantissa calculation.
33529
1214ec8f
MF
335302012-06-04 Mike Frysinger <vapier@gentoo.org>
33531
33532 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
33533 cpu2 is -1 and errno is not ENOSYS.
33534
f3d1f93c
L
335352012-06-04 H.J. Lu <hongjiu.lu@intel.com>
33536
33537 [BZ #14117]
0e4a3cd7
L
33538 * sysdeps/i386/i486/bits/string.h: Renamed to ...
33539 * sysdeps/x86/bits/string.h: This.
33540 * sysdeps/x86_64/bits/string.h: Removed.
33541
6704c645
L
33542 * sysdeps/i386/i486/bits/string.h: Define inline functions only
33543 if not compiling for x86-64, but compiling for >= i486.
33544
48495318
L
33545 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
33546 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
33547
14adcbfc
L
33548 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
33549 New macro from Linux kernel 3.4.0.
33550 (FP_XSTATE_MAGIC2): Likewise.
33551 (FP_XSTATE_MAGIC2_SIZE): Likewise.
33552 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
33553 (struct _fpx_sw_bytes): New struct.
33554 (struct _xsave_hdr): Likewise.
33555 (struct _ymmh_state): Likewise.
33556 (struct _xstate): Likewise.
33557
68e408ab
L
33558 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
33559 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
33560 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
33561 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
33562 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
33563 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
33564
f3d1f93c
L
33565 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
33566 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
33567 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
33568 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
33569 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
33570 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
33571
d9dc34cd
TMQMF
335722012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
33573
33574 [BZ #13743]
33575 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
33576 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
33577 (sysdep_headers): Include sys/platform/ppc.h.
33578 * sysdeps/powerpc/test-gettimebase.c: Test for
33579 __ppc_get_timebase() to catch future ISA opcode/insn changes.
33580 * manual/Makefile (appendices): Include platform.texi.
33581 * manual/contrib.texi (Contributors): Update @node pointers.
33582 * manual/maint.texi (Maintenance): Likewise.
33583 (Platform): New node.
33584 * manual/platform.texi: New file. Document the new features.
33585
4af3879c
SP
335862012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
33587 Jakub Jelinek <jakub@redhat.com>
33588
33589 [BZ #14188]
33590 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
33591 where __builtin_expect is unavailable.
33592
2fd6ff13
DM
335932012-06-03 David S. Miller <davem@davemloft.net>
33594
33595 * stdlib/longlong.h: Updated from GCC.
33596
173f7220
AS
335972012-06-02 Andreas Schwab <schwab@linux-m68k.org>
33598
33599 [BZ #14042]
33600 * sysdeps/powerpc/powerpc32/mcount.c: New file.
33601 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
33602 __mcount_internal.
33603 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
33604 (GLIBC_2.16): Likewise.
33605
f34a1c6f
L
336062012-06-01 H.J. Lu <hongjiu.lu@intel.com>
33607
33608 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
33609
88a4576f
JM
336102012-06-01 Joseph Myers <joseph@codesourcery.com>
33611
ea32bcdd
JM
33612 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
33613 (default-abi): New variable.
33614 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
33615 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
33616 variable.
33617 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
33618 Likewise.
33619 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
33620 Likewise.
33621 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
33622 Likewise.
33623
88a4576f
JM
33624 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
33625 definition. Document in comment.
33626
402fe938
DM
336272012-06-01 David S. Miller <davem@davemloft.net>
33628
33629 * stdlib/longlong.h: Updated from GCC.
33630
3553723f
L
336312012-06-01 H.J. Lu <hongjiu.lu@intel.com>
33632
33633 [BZ #14117]
3bd872c4
L
33634 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
33635 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
33636 sys/debugreg.h sys/io.h here.
33637 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
33638 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
33639 sys/io.h.
33640 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
33641 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
33642 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
33643 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
33644 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
33645 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
33646
3553723f
L
33647 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
33648 Define only if __x86_64__ is defined.
33649
4842e4fe
JM
336502012-06-01 Joseph Myers <joseph@codesourcery.com>
33651
c5bfe3d5
JM
33652 [BZ #14048]
33653 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
33654 Use int64_t for variable i.
33655 * math/libm-test.inc (fmod_test): Add more tests.
33656
4842e4fe
JM
33657 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
33658 z computation is not scheduled after fetestexcept.
33659 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
33660 Use math_force_eval instead of asm to ensure calculation scheduled
33661 before exception test.
33662 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
33663 Ensure a1 + u.d computation is not scheduled after fetestexcept.
33664
efb73488
AJ
336652012-06-01 Aurelien Jarno <aurelien@aurel32.net>
33666
33667 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
33668 computation is not scheduled after fetestexcept.
33669
29bcce7c
L
336702012-06-01 H.J. Lu <hongjiu.lu@intel.com>
33671
33672 [BZ #14117]
33673 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
33674 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
33675
73a68f94
AZ
336762012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33677
33678 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
33679 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
33680
67b6df78
L
336812012-05-31 H.J. Lu <hongjiu.lu@intel.com>
33682
edf2933a 33683 [BZ #14117]
ebc64a18
L
33684 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
33685 <bits/wordsize.h>.
33686 (__WCHAR_MIN): Support __WORDSIZE == 64.
33687 (__WCHAR_MAX): Likewise.
33688
edf2933a
L
33689 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
33690 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
33691
57c6cf40
L
33692 [BZ #14183]
33693 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
33694 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
33695
67b6df78 33696 [BZ #14117]
8eb6281e
L
33697 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
33698 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
33699
aac639f4
L
33700 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
33701 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
33702
67b6df78
L
33703 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
33704 Defined to 1 if __x86_64__ isn't defined.
33705 (_STAT_VER_LINUX_OLD): New.
33706 (st_atime): Remove duplicate.
33707 (st_mtime): Likewise.
33708 (st_ctime): Likewise.
33709
1c2cfe81
DM
337102012-05-31 David S. Miller <davem@davemloft.net>
33711
33712 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
33713 entries.
33714
5be8418c
AS
337152012-06-01 Andreas Schwab <schwab@linux-m68k.org>
33716
e7725326
AS
33717 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
33718 gen-libm-test.pl.
33719
5be8418c
AS
33720 [BZ #14132]
33721 * elf/dl-reloc.c: Include <_itoa.h>.
33722 (_dl_reloc_bad_type): Remove use of INTUSE.
33723 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
33724 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
33725 * stdio-common/psiginfo.c (psiginfo): Likewise.
33726 * stdio-common/psignal.c (psignal): Likewise.
33727 * string/strsignal.c (strsignal): Likewise.
33728 * include/signal.h (_sys_siglist): Declare hidden proto.
33729 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
33730 INTVARDEF with libc_hidden_data_def.
33731 * stdio-common/itoa-udigits.c: Likewise.
33732 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
33733 (_itoa_lower_digits_internal): Remove declaration.
33734 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
33735 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
33736 (_sys_sigabbrev_internal): Remove aliases.
33737 (_sys_siglist): Define hidden alias.
33738
507352f1
MT
337392012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
33740
33741 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
33742 bits/sysctl.h.
33743
42bbb1c3
L
337442012-05-31 H.J. Lu <hongjiu.lu@intel.com>
33745
33746 [BZ #14117]
6bd784b6
L
33747 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
33748 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
33749
8bca20f0
L
33750 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
33751 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
33752 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
33753 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
33754 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
33755 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
33756
f9e890a9
L
33757 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
33758 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
33759 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
33760
471101a1
L
33761 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
33762 with __addr.
33763 (insw): Likewise.
33764 (insl): Likewise.
33765 (outsb): Likewise.
33766 (outsw): Likewise.
33767 (outsl): Likewise.
33768
6451c862
L
33769 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
33770 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
33771 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
33772
a254b8c9
L
33773 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
33774 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
33775 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
33776 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
33777 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
33778 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
33779
b8dfdd92
L
33780 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
33781 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
33782
578cd270
L
33783 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
33784 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
33785
de662f5f
L
33786 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
33787 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
33788 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
33789
25653439
L
33790 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
33791 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
33792 to ...
33793 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
33794
6bad24a0
L
33795 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
33796 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
33797 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
33798
42bbb1c3
L
33799 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
33800 for x86-64.
33801 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
33802
2d10d547
JM
338032012-05-31 Joseph Myers <joseph@codesourcery.com>
33804
33805 * math/math.h (M_El): Use two more decimal places.
33806 (M_LOG2El): Likewise.
33807 (M_LOG10El): Likewise.
33808 (M_LN2l): Likewise.
33809 (M_LN10l): Likewise.
33810 (M_PIl): Likewise.
33811 (M_PI_2l): Likewise.
33812 (M_PI_4l): Likewise.
33813 (M_1_PIl): Likewise.
33814 (M_2_PIl): Likewise.
33815 (M_2_SQRTPIl): Likewise.
33816 (M_SQRT2l): Likewise.
33817 (M_SQRT1_2l): Likewise.
33818
f230c29b
DM
338192012-05-31 David S. Miller <davem@davemloft.net>
33820
33821 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
33822 values between float registers.
33823 * sysdeps/sparc/sparc64/memset.S: Likewise.
33824 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
33825
fed806c3
MF
338262012-05-31 Mike Frysinger <vapier@gentoo.org>
33827
33828 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
33829 -D_FORTIFY_SOURCE=1.
33830 (CPPFLAGS-tst-longjmp_chk.c): Define.
33831 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
33832 (CPPFLAGS-tst-longjmp_chk2.c): Define.
33833 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
33834 CFLAGS-tst-wchar-h.c.
33835
30917259
MP
338362012-05-31 Marek Polacek <polacek@redhat.com>
33837
33838 [BZ #14132]
33839 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
33840 __endmntent_internal): Remove declaration.
33841 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
33842 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
33843 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
33844
1c58d5dc
DM
338452012-05-30 David S. Miller <davem@davemloft.net>
33846
33847 * sysdeps/sparc/sparc32/soft-fp/q_util.c
33848 (___Q_simulate_exceptions): Use real FP ops rather than writing
33849 into the %fsr.
33850 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
33851 Likewise.
33852
7dc00e0d
L
338532012-05-30 H.J. Lu <hongjiu.lu@intel.com>
33854
33855 [BZ #14117]
0bd53985
L
33856 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
33857 * sysdeps/x86/bits/xtitypes.h: This.
33858
3a257e66
L
33859 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
33860 * sysdeps/x86/bits/wordsize.h: This.
33861
62f62904
L
33862 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
33863 * sysdeps/x86/bits/huge_vall.h: This.
33864
404fe9d9
L
33865 * sysdeps/i386/bits/select.h: Removed.
33866 * sysdeps/x86_64/bits/select.h: Renamed to ...
33867 * sysdeps/x86/bits/select.h: This.
33868
d48d0446
L
33869 * sysdeps/i386/bits/setjmp.h: Removed.
33870 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
33871 * sysdeps/x86/bits/setjmp.h: This.
33872
7dc00e0d
L
33873 * sysdeps/i386/bits/mathdef.h: Removed.
33874 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
33875 * sysdeps/x86/bits/mathdef.h: This.
33876
03277f8f
AS
338772012-05-30 Andreas Schwab <schwab@linux-m68k.org>
33878
33879 [BZ #14132]
33880 * include/sys/socket.h (__connect_internal)
33881 (__libc_sa_len_internal): Remove declaration.
33882 (__connect, __libc_sa_len): Declare hidden_proto.
33883 (SA_LEN): Remove use of INTUSE.
33884 * socket/connect.c: Add libc_hidden_def.
33885 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
33886 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
33887 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
33888 alias.
33889 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
33890 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
33891 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
33892 of adding _internal alias.
33893
13764867
L
338942012-05-30 H.J. Lu <hongjiu.lu@intel.com>
33895
33896 [BZ #14117]
6bd97696
L
33897 * sysdeps/i386/bits/link.h: Removed.
33898 * sysdeps/i386/bits/linkmap.h: Likewise.
33899 * sysdeps/x86_64/bits/link.h: Renamed to ...
33900 * sysdeps/x86/bits/link.h: This.
33901 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
33902 * sysdeps/x86/bits/linkmap.h: This.
33903
f726f0bb
L
33904 * sysdeps/i386/bits/endian.h: Removed.
33905 * sysdeps/x86_64/bits/endian.h: Renamed to ...
33906 * sysdeps/x86/bits/endian.h: This.
33907
13764867
L
33908 * sysdeps/i386/bits/byteswap.h: Removed.
33909 * sysdeps/i386/bits/byteswap-16.h: Likewise.
33910 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
33911 * sysdeps/x86/bits/byteswap.h: This.
33912 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
33913 * sysdeps/x86/bits/byteswap-16.h: This.
33914 * sysdeps/i386/Implies: Add x86.
33915 * sysdeps/x86_64/Implies: Likewise.
33916
ae251b0b
DM
339172012-05-30 David S. Miller <davem@davemloft.net>
33918
33919 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
33920 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
33921 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
33922 (FP_TRAPPING_EXCEPTIONS): Define.
33923 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
33924 (FP_TRAPPING_EXCEPTIONS): Define.
33925 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
33926 subnormals only when inexact has been signalled or underflow
33927 exceptions are enabled.
33928 (_FP_PACK_CANONICAL): Likewise.
33929
d5c90867
L
339302012-05-30 H.J. Lu <hongjiu.lu@intel.com>
33931
33932 [BZ #14183]
33933 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
33934 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
33935
63f1549e
RH
339362012-05-30 Richard Henderson <rth@twiddle.net>
33937
8d8f2279
RH
33938 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
33939 with #ifndef NOT_IN_libc.
33940
63f1549e
RH
33941 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
33942 marked to avoid plt entry.
33943
0ab0291b
L
339442012-05-30 H.J. Lu <hongjiu.lu@intel.com>
33945
33946 [BZ #14112]
33947 * Makeconfig (default-abi): New macro.
33948 (abi-includes): Likewise.
33949 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
33950 $(abi-$(default-abi)-lib-soname) for soname if defined.
33951 ($(common-objpfx)gnu/lib-names.stmp): Generate from
33952 abi-variants.
33953 * Makefile (installed-stubs): Likewise.
33954 * include/stubs-biarch.h: Removed.
33955 * scripts/lib-names.awk: Only handle one library at a time.
33956 * scripts/soversions.awk: Remove WORDSIZE support.
33957 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
33958 entries.
33959 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
33960 Removed.
33961 (syscall-list-default-condition): Likewise.
33962 (syscall-list-default-condition): Likewise.
33963 (syscall-list-includes): Likewise.
33964 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
33965 syscall-list-* with abi-*. Handle undefined abi-variants.
33966 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
33967 * sysdeps/unix/sysv/linux/i386/Implies: New file.
33968 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
33969 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
33970 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
33971 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
33972 Removed.
33973 (syscall-list-32-options): Likewise.
33974 (syscall-list-32-condition): Likewise.
33975 (syscall-list-64-options): Likewise.
33976 (syscall-list-64-condition): Likewise.
33977 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
33978 macro.
33979 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
33980 Renamed to ...
33981 (abi-*): This.
33982 (abi-64-ld-soname): New macro.
33983 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
33984 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
33985 Renamed to ...
33986 (abi-*): This.
33987 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
33988 * sysdeps/x86_64/x32/shlib-versions: Likewise.
33989
4da0431d
JM
339902012-05-30 Joseph Myers <joseph@codesourcery.com>
33991
3a85279c
JM
33992 * sysdeps/unix/sysv/linux/kernel-features.h
33993 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
33994 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
33995 include <kernel-features.h>.
33996 [!__NR_ftruncate64]: Remove conditional code.
33997 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
33998 [__NR_ftruncate64]: Make code unconditional.
33999 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
34000 * sysdeps/unix/sysv/linux/truncate64.c: Do not
34001 include <kernel-features.h>.
34002 [!__NR_ftruncate64]: Remove conditional code.
34003 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
34004 [__NR_ftruncate64]: Make code unconditional.
34005 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
34006 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
34007 include <kernel-features.h>.
34008 [!__NR_ftruncate64]: Remove conditional code.
34009 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
34010 [__NR_ftruncate64]: Make code unconditional.
34011 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
34012 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
34013 include <kernel-features.h>.
34014 [!__NR_ftruncate64]: Remove conditional code.
34015 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
34016 [__NR_ftruncate64]: Make code unconditional.
34017 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
34018
4da0431d
JM
34019 * configure.in (libc_cv_fpie): Weaken to a compile test using
34020 LIBC_TRY_CC_OPTION.
34021 * configure: Regenerated.
34022
11ef492c
AK
340232012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
34024
34025 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
34026 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
34027 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
34028 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
34029 Refreshed.
34030 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
34031 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
34032 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
34033 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
34034 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
34035 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
34036 Refreshed.
34037
d66ef399
DM
340382012-05-27 David S. Miller <davem@davemloft.net>
34039
34040 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
34041 (___Q_zero): New.
34042 (__Q_simulate_exceptions): Return void. Change to simulate
34043 exceptions by writing into the %fsr.
34044 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
34045 (__Qp_handle_exceptions): Likewise.
34046 (numbers): Delete.
34047 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
34048 __Qp_handle_exceptions.
34049 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
34050 __Qp_handle_exceptions.
34051 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
34052 as unused and give dummy FP_RND_NEAREST initializer.
34053 (FP_INHIBIT_RESULTS): Define.
34054 (___Q_simulate_exceptions): Update declaration.
34055 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
34056 formatting.
34057 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
34058 as unused and give dummy FP_RND_NEAREST initializer.
34059 (__Qp_handle_exceptions): Update declaration.
34060 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
34061 formatting.
34062
04fb54b5
TS
340632012-05-27 Thomas Schwinge <thomas@codesourcery.com>
34064
34065 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
34066 the temporary FPU control word.
34067 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
34068 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
34069 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
34070 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
34071 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
34072 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
34073 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
34074 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
34075 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
34076 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
34077 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
34078
3f99608f
KK
340792012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
34080
34081 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
34082 fields.
34083
65a4de4e
CLT
340842012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
34085
34086 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
34087 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
34088 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
34089 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
34090 Likewise.
34091 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
34092 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
34093 Likewise.
34094
15749d40
UD
340952012-05-27 Ulrich Drepper <drepper@gmail.com>
34096
34097 * po/h.po: Update from translation team.
34098
25dbcb27
AS
340992012-05-26 Andreas Schwab <schwab@linux-m68k.org>
34100
3d3f8e55
AS
34101 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
34102
25dbcb27
AS
34103 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
34104 handling of denormals.
34105 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
34106 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
34107 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
34108 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
34109 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
34110 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
34111 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
34112 Likewise.
34113
7ad47a80 341142012-05-26 Marek Polacek <polacek@redhat.com>
d81dcb35
MP
34115
34116 [BZ #14152]
34117 * math/libm-test.inc (fma_test): Don't always expect underflow
34118 exception.
34119
9c6ea9fa
SP
341202012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
34121
34122 [BZ #12416]
34123 * elf/tst-execstack.c: Include stackinfo.h.
34124 (do_test): Adjust test case to ensure that pthread_getattr_np
34125 behaviour remains the same after marking stack executable.
34126
a8239222
JM
341272012-05-25 Joseph Myers <joseph@codesourcery.com>
34128
34129 * sysdeps/unix/sysv/linux/kernel-features.h
34130 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
34131 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
34132 kernel-features.h.
34133 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
34134 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
34135 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
34136 kernel-features.h.
34137 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
34138 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
34139
918b5606
L
341402012-05-25 H.J. Lu <hongjiu.lu@intel.com>
34141
34142 * configure.in: Define the default includes to being none.
34143 * configure: Regenerated.
34144
3a097cc7
RM
341452012-05-25 Roland McGrath <roland@hack.frob.com>
34146
8422c9a5
RM
34147 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
34148 * sysdeps/x86_64/setjmp.S: Likewise.
34149 * sysdeps/i386/bsd-setjmp.S: Likewise.
34150 * sysdeps/i386/bsd-_setjmp.S: Likewise.
34151 * sysdeps/i386/setjmp.S: Likewise.
34152 * sysdeps/i386/__longjmp.S: Likewise.
34153 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
34154 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
34155
3a097cc7
RM
34156 * include/stap-probe.h: New file.
34157 * configure.in: Handle --enable-systemtap.
34158 * configure: Regenerated.
34159 * config.h.in (USE_STAP_PROBE): New #undef.
34160 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
34161 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
34162 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
34163
21708942
JM
341642012-05-25 Joseph Myers <joseph@codesourcery.com>
34165
34166 [BZ #13717]
34167 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
34168 to 2.4.0 where earlier.
34169 * sysdeps/unix/sysv/linux/configure: Regenerated.
34170 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
34171 <kernel-features.h>.
34172 [__ASSUME_32BITUIDS]: Make code unconditional.
34173 [!__ASSUME_32BITUIDS]: Remove conditional code.
34174 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
34175 <kernel-features.h>.
34176 [__ASSUME_32BITUIDS]: Make code unconditional.
34177 [!__ASSUME_32BITUIDS]: Remove conditional code.
34178 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
34179 [__ASSUME_32BITUIDS]: Make code unconditional.
34180 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
34181 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
34182 <kernel-features.h>.
34183 [__ASSUME_32BITUIDS]: Make code unconditional.
34184 [!__ASSUME_32BITUIDS]: Remove conditional code.
34185 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
34186 <kernel-features.h>.
34187 [__ASSUME_32BITUIDS]: Make code unconditional.
34188 [!__ASSUME_32BITUIDS]: Remove conditional code.
34189 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
34190 <kernel-features.h>.
34191 [__ASSUME_32BITUIDS]: Make code unconditional.
34192 [!__ASSUME_32BITUIDS]: Remove conditional code.
34193 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
34194 <kernel-features.h>.
34195 [__ASSUME_32BITUIDS]: Make code unconditional.
34196 [!__ASSUME_32BITUIDS]: Remove conditional code.
34197 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
34198 <kernel-features.h>.
34199 [__ASSUME_32BITUIDS]: Make code unconditional.
34200 [!__ASSUME_32BITUIDS]: Remove conditional code.
34201 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
34202 <kernel-features.h>.
34203 [__ASSUME_32BITUIDS]: Make code unconditional.
34204 [!__ASSUME_32BITUIDS]: Remove conditional code.
34205 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
34206 <kernel-features.h>.
34207 [__ASSUME_32BITUIDS]: Make code unconditional.
34208 [!__ASSUME_32BITUIDS]: Remove conditional code.
34209 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
34210 <kernel-features.h>.
34211 [__ASSUME_32BITUIDS]: Make code unconditional.
34212 [!__ASSUME_32BITUIDS]: Remove conditional code.
34213 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
34214 <kernel-features.h>.
34215 [__ASSUME_32BITUIDS]: Make code unconditional.
34216 [!__ASSUME_32BITUIDS]: Remove conditional code.
34217 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
34218 <kernel-features.h>.
34219 [__ASSUME_32BITUIDS]: Make code unconditional.
34220 [!__ASSUME_32BITUIDS]: Remove conditional code.
34221 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
34222 <kernel-features.h>.
34223 [__NR_setresgid] (__setresgid): Do not declare.
34224 [__ASSUME_32BITUIDS]: Make code unconditional.
34225 [!__ASSUME_32BITUIDS]: Remove conditional code.
34226 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
34227 <kernel-features.h>.
34228 [__NR_setresuid] (__setresuid): Do not declare.
34229 [__ASSUME_32BITUIDS]: Make code unconditional.
34230 [!__ASSUME_32BITUIDS]: Remove conditional code.
34231 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
34232 <kernel-features.h>.
34233 [__ASSUME_32BITUIDS]: Make code unconditional.
34234 [!__ASSUME_32BITUIDS]: Remove conditional code.
34235 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
34236 <kernel-features.h>.
34237 [__ASSUME_32BITUIDS]: Make code unconditional.
34238 [!__ASSUME_32BITUIDS]: Remove conditional code.
34239 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
34240 <kernel-features.h>.
34241 [__ASSUME_32BITUIDS]: Make code unconditional.
34242 [!__ASSUME_32BITUIDS]: Remove conditional code.
34243 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
34244 <kernel-features.h>.
34245 [__ASSUME_32BITUIDS]: Make code unconditional.
34246 [!__ASSUME_32BITUIDS]: Remove conditional code.
34247 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
34248 <kernel-features.h>.
34249 [__ASSUME_32BITUIDS]: Make code unconditional.
34250 [!__ASSUME_32BITUIDS]: Remove conditional code.
34251 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
34252 <kernel-features.h>.
34253 [__ASSUME_32BITUIDS]: Make code unconditional.
34254 [!__ASSUME_32BITUIDS]: Remove conditional code.
34255 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
34256 <kernel-features.h>.
34257 [__ASSUME_32BITUIDS]: Make code unconditional.
34258 [!__ASSUME_32BITUIDS]: Remove conditional code.
34259 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
34260 <kernel-features.h>.
34261 [__ASSUME_32BITUIDS]: Make code unconditional.
34262 [!__ASSUME_32BITUIDS]: Remove conditional code.
34263 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
34264 <kernel-features.h>.
34265 [__ASSUME_32BITUIDS]: Make code unconditional.
34266 [!__ASSUME_32BITUIDS]: Remove conditional code.
34267 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
34268 <kernel-features.h>.
34269 [__ASSUME_32BITUIDS]: Make code unconditional.
34270 [!__ASSUME_32BITUIDS]: Remove conditional code.
34271 * sysdeps/unix/sysv/linux/kernel-features.h
34272 (__ASSUME_SETRESUID_SYSCALL): Remove.
34273 (__ASSUME_SETRESGID_SYSCALL): Likewise.
34274 (__ASSUME_32BITUIDS): Likewise.
34275 (__ASSUME_LDT_WORKS): Likewise.
34276 (__ASSUME_O_DIRECTORY): Likewise.
34277 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
34278 architecture but not kernel version.
34279 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
34280 (__ASSUME_MMAP2_SYSCALL): Likewise.
34281 (__ASSUME_STAT64_SYSCALL): Likewise.
34282 (__ASSUME_IPC64): Likewise.
34283 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
34284 <kernel-features.h>.
34285 [__ASSUME_32BITUIDS]: Make code unconditional.
34286 [!__ASSUME_32BITUIDS]: Remove conditional code.
34287 * sysdeps/unix/sysv/linux/opendir.c: Do not include
34288 <kernel-features.h>.
34289 [__ASSUME_O_DIRECTORY]: Make code unconditional.
34290 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
34291 132096]: Remove conditional code.
34292 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
34293 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
34294 <kernel-features.h>.
34295 [__ASSUME_32BITUIDS]: Make code unconditional.
34296 [!__ASSUME_32BITUIDS]: Remove conditional code.
34297 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
34298 <kernel-features.h>.
34299 [__ASSUME_32BITUIDS]: Make code unconditional.
34300 [!__ASSUME_32BITUIDS]: Remove conditional code.
34301 * sysdeps/unix/sysv/linux/setegid.c: Do not include
34302 <kernel-features.h>.
34303 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
34304 unconditional.
34305 (__setresgid): Do not declare.
34306 [__ASSUME_32BITUIDS]: Make code unconditional.
34307 [!__ASSUME_32BITUIDS]: Remove conditional code.
34308 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
34309 <kernel-features.h>.
34310 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
34311 unconditional.
34312 (__setresuid): Do not declare.
34313 [__ASSUME_32BITUIDS]: Make code unconditional.
34314 [!__ASSUME_32BITUIDS]: Remove conditional code.
34315 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
34316 <kernel-features.h>.
34317 [__ASSUME_32BITUIDS]: Make code unconditional.
34318 [!__ASSUME_32BITUIDS]: Remove conditional code.
34319 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
34320 <kernel-features.h>.
34321 [__ASSUME_32BITUIDS]: Make code unconditional.
34322 [!__ASSUME_32BITUIDS]: Remove conditional code.
34323
a386f1cc
RH
343242012-05-25 Richard Henderson <rth@twiddle.net>
34325
34326 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
34327 dl_hwcap to ifunc resolver.
34328 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
34329 elf_ifunc_invoke.
34330 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
34331 dl_hwcap to ifunc resolver.
34332 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
34333
b6550497
JM
343342012-05-24 Joseph Myers <joseph@codesourcery.com>
34335
34336 [BZ #14153]
34337 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
34338 for |x| <= 2**-26, not 2**-57.
34339 * math/libm-test.inc (acos_test): Do not allow spurious underflow
34340 exception.
34341
b0bc23a1
JL
343422012-05-24 Jeff Law <law@redhat.com>
34343
34344 * stdio-common/Makefile (tests): Add bug25.
34345 * stdio-common/bug25.c: New test.
34346
347c92e9
L
343472012-05-24 H.J. Lu <hongjiu.lu@intel.com>
34348
34349 [BZ #13576]
34350 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
34351 multiple of MALLOC_ALIGNMENT in size.
34352 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
34353
6bcc8b3f
JM
343542012-05-24 Joseph Myers <joseph@codesourcery.com>
34355
34356 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
34357 Require >= 256.
34358 (FILENAME_MAX): Use macro-int-constant.
34359 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
34360 (_IOFBF): Use macro-int-constant.
34361 (_IOLBF): Likewise.
34362 (_IONBF): Likewise.
34363 (SEEK_CUR): Likewise.
34364 (SEEK_END): Likewise.
34365 (SEEK_SET): Likewise.
34366 (TMP_MAX): Likewise.
34367 (EOF): Use macro-int-constant. Require < 0.
34368 (NULL): Use macro-constant. Require == 0.
34369 (stdin): Require type to be FILE *.
34370 (stdout): Likewise.
34371 (stderr): Likewise.
34372 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
34373 macro-int-constant.
34374 (EXIT_SUCCESS): Likewise.
34375 (NULL): Use macro-constant. Require == 0.
34376 (RAND_MAX): Use macro-int-constant.
34377 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
34378 [C99-based standards] (strtof): Require function.
34379 [C99-based standards] (strtold): Likewise.
34380 [C99-based standards] (strtoll): Likewise.
34381 [C99-based standards] (strtoull): Likewise.
34382 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
34383 [ISO || ISO99 || ISO11] (limits.h): Likewise.
34384 [ISO || ISO99 || ISO11] (math.h): Likewise.
34385 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
34386 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
34387 [ISO || ISO99 || ISO11] (*_t): Do not allow.
34388
d18ea0c5
AS
343892012-05-24 Andreas Schwab <schwab@linux-m68k.org>
34390
34391 [BZ #14132]
56d25bb8
AS
34392 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
34393 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
34394 * intl/dgettext.c (DCGETTEXT): Likewise.
34395 * intl/gettext.c (DCGETTEXT): Likewise.
34396 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
34397 * posix/regex_internal.h (gettext): Likewise.
34398 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
34399 Remove declaration.
34400 * include/argz.h (__argz_count_internal)
34401 (__argz_stringify_internal): Remove declaration.
34402 (__argz_count, __argz_stringify): Declare hidden proto.
34403 * intl/dcgettext.c: Remove use of INTDEF.
34404 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
34405 * string/argz-stringify.c: Likewise.
34406 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
34407 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
34408 Declare hidden proto.
d18ea0c5
AS
34409 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
34410 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
34411 Declare hidden proto.
34412 * include/stdio.h (__asprintf_internal): Don't declare.
34413 (__asprintf): Don't define as macro. Declare hidden proto.
34414 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
34415 (__fsetlocking): Declare hidden proto.
34416 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
34417 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
34418 hidden proto.
34419 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
34420 (_IO_setlinebuf): Remove use of INTUSE.
34421 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
34422 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
34423 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
34424 Remove declaration.
34425 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
34426 (_IO_do_flush): Remove use of INTUSE.
34427 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
34428 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
34429 (_IO_adjust_column, _IO_least_wmarker)
34430 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
34431 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
34432 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
34433 (_IO_default_doallocate, _IO_wdefault_doallocate)
34434 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
34435 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
34436 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
34437 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
34438 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
34439 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
34440 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
34441 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
34442 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
34443 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
34444 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
34445 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
34446 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
34447 proto.
34448 (_IO_flush_all_internal, _IO_adjust_column_internal)
34449 (_IO_default_uflow_internal, _IO_default_finish_internal)
34450 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
34451 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
34452 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
34453 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
34454 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
34455 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
34456 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
34457 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
34458 (_IO_file_close_internal, _IO_file_close_it_internal)
34459 (_IO_file_underflow_internal, _IO_file_overflow_internal)
34460 (_IO_file_init_internal, _IO_file_attach_internal)
34461 (_IO_file_fopen_internal, _IO_file_read_internal)
34462 (_IO_file_sync_internal, _IO_file_seek_internal)
34463 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
34464 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
34465 (_IO_str_underflow_internal, _IO_str_overflow_internal)
34466 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
34467 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
34468 (_IO_list_all_internal, _IO_link_in_internal)
34469 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
34470 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
34471 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
34472 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
34473 (_IO_do_write_internal, _IO_padn_internal)
34474 (_IO_getline_info_internal, _IO_getline_internal)
34475 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
34476 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
34477 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
34478 (_IO_vfscanf_internal, _IO_vfprintf_internal)
34479 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
34480 (_IO_init_internal, _IO_un_link_internal): Don't declare.
34481 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
34482 with libc_hidden_ver, remove use of INTUSE.
34483 * libio/genops.c: Likewise.
34484 * libio/freopen.c: Likewise.
34485 * libio/freopen64.c: Likewise.
34486 * libio/iofclose.c: Likewise.
34487 * libio/iofdopen.c: Likewise.
34488 * libio/iofflush.c: Likewise.
34489 * libio/iofflush_u.c: Likewise.
34490 * libio/iofgets.c: Likewise.
34491 * libio/iofgets_u.c: Likewise.
34492 * libio/iofopen.c: Likewise.
34493 * libio/iofopncook.c: Likewise.
34494 * libio/iofread.c: Likewise.
34495 * libio/iofread_u.c: Likewise.
34496 * libio/ioftell.c: Likewise.
34497 * libio/iofwrite.c: Likewise.
34498 * libio/iogetline.c: Likewise.
34499 * libio/iogets.c: Likewise.
34500 * libio/iogetwline.c: Likewise.
34501 * libio/iopadn.c: Likewise.
34502 * libio/iopopen.c: Likewise.
34503 * libio/ioseekoff.c: Likewise.
34504 * libio/ioseekpos.c: Likewise.
34505 * libio/iosetbuffer.c: Likewise.
34506 * libio/iosetvbuf.c: Likewise.
34507 * libio/ioungetc.c: Likewise.
34508 * libio/ioungetwc.c: Likewise.
34509 * libio/iovdprintf.c: Likewise.
34510 * libio/iovsprintf.c: Likewise.
34511 * libio/iovsscanf.c: Likewise.
34512 * libio/memstream.c: Likewise.
34513 * libio/obprintf.c: Likewise.
34514 * libio/oldfileops.c: Likewise.
34515 * libio/oldiofclose.c: Likewise.
34516 * libio/oldiofdopen.c: Likewise.
34517 * libio/oldiofopen.c: Likewise.
34518 * libio/oldiopopen.c: Likewise.
34519 * libio/oldstdfiles.c: Likewise.
34520 * libio/putc.c: Likewise.
34521 * libio/setbuf.c: Likewise.
34522 * libio/setlinebuf.c: Likewise.
34523 * libio/stdfiles.c: Likewise.
34524 * libio/strops.c: Likewise.
34525 * libio/vasprintf.c: Likewise.
34526 * libio/vscanf.c: Likewise.
34527 * libio/vsnprintf.c: Likewise.
34528 * libio/vswprintf.c: Likewise.
34529 * libio/wfiledoalloc.c: Likewise.
34530 * libio/wfileops.c: Likewise.
34531 * libio/wgenops.c: Likewise.
34532 * libio/wmemstream.c: Likewise.
34533 * libio/wstrops.c: Likewise.
34534 * libio/__fpurge.c: Likewise.
34535 * libio/__fsetlocking.c: Likewise.
34536 * assert/assert.c: Likewise.
34537 * debug/fgets_chk.c: Likewise.
34538 * debug/fgets_u_chk.c: Likewise.
34539 * debug/fread_chk.c: Likewise.
34540 * debug/fread_u_chk.c: Likewise.
34541 * debug/gets_chk.c: Likewise.
34542 * debug/obprintf_chk.c: Likewise.
34543 * debug/vasprintf_chk.c: Likewise.
34544 * debug/vdprintf_chk.c: Likewise.
34545 * debug/vsnprintf_chk.c: Likewise.
34546 * debug/vsprintf_chk.c: Likewise.
34547 * malloc/mtrace.c: Likewise.
34548 * misc/error.c: Likewise.
34549 * misc/syslog.c: Likewise.
34550 * stdio-common/asprintf.c: Likewise.
34551 * stdio-common/fxprintf.c: Likewise.
34552 * stdio-common/getw.c: Likewise.
34553 * stdio-common/isoc99_fscanf.c: Likewise.
34554 * stdio-common/isoc99_scanf.c: Likewise.
34555 * stdio-common/isoc99_vfscanf.c: Likewise.
34556 * stdio-common/isoc99_vscanf.c: Likewise.
34557 * stdio-common/isoc99_vsscanf.c: Likewise.
34558 * stdio-common/printf-prs.c: Likewise.
34559 * stdio-common/printf_fp.c: Likewise.
34560 * stdio-common/printf_fphex.c: Likewise.
34561 * stdio-common/printf_size.c: Likewise.
34562 * stdio-common/putw.c: Likewise.
34563 * stdio-common/scanf.c: Likewise.
34564 * stdio-common/sprintf.c: Likewise.
34565 * stdio-common/tmpfile.c: Likewise.
34566 * stdio-common/vfprintf.c: Likewise.
34567 * stdio-common/vfscanf.c: Likewise.
34568 * stdlib/strfmon_l.c: Likewise.
34569 * sunrpc/openchild.c: Likewise.
34570 * sunrpc/xdr_stdio.c: Likewise.
34571 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
34572 * sysdeps/mach/hurd/tmpfile.c: Likewise.
34573
d6c33fda
RM
345742012-05-24 Roland McGrath <roland@hack.frob.com>
34575
c1487492
RM
34576 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
34577
34578 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
34579 in the third column, to generate for the shared library an IFUNC
34580 that uses _dl_vdso_vsym.
34581 * Makerules (COMPILE.c, compile-stdin.c): New variables.
34582 * Makeconfig (object-suffixes-noshared): New variable.
34583
34584 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
34585 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
34586 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
34587 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
34588
d6c33fda
RM
34589 [BZ #14132]
34590 * include/sys/time.h (__gettimeofday): Remove macro.
34591 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
34592 * time/gettimeofday.c (__gettimeofday): Remove #undef.
34593 Remove INTDEF.
34594 (__gettimeofday): Add libc_hidden_def.
34595 (gettimeofday): Add libc_hidden_weak.
34596 * sysdeps/mach/gettimeofday.c: Likewise.
34597 * sysdeps/posix/gettimeofday.c: Likewise.
34598 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
34599 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
34600 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
34601 (__gettimeofday_internal): Remove strong_alias.
34602 (__gettimeofday): Add libc_hidden_def.
34603 (gettimeofday): Add libc_hidden_weak.
34604 * sysdeps/unix/syscalls.list (gettimeofday):
34605 Remove __gettimeofday_internal alias.
34606
b5a2bbe6
L
346072012-05-24 Daniel Jacobowitz <drow@false.org>
34608 H.J. Lu <hongjiu.lu@intel.com>
34609
34610 [BZ #12495]
34611 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
34612 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
34613 (largebin_index_32_big): New.
34614 (largebin_index): Use it for 16-byte alignment.
34615 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
34616 correction with front_misalign.
34617
cfba4fda
L
346182012-05-24 H.J. Lu <hongjiu.lu@intel.com>
34619
7f907421
L
34620 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
34621 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
34622 Likewise.
34623 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
34624 Likewise.
34625 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
34626 Likewise.
34627 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
34628 Likewise.
34629 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
34630 Likewise.
34631 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
34632 Likewise.
34633 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
34634 Likewise.
34635 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
34636 Likewise.
34637 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
34638 Likewise.
34639 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
34640 Likewise.
34641 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
34642 Likewise.
34643 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
34644 Likewise.
34645
cfba4fda
L
34646 * scripts/data/c++-types-x32-linux-gnu.data: New file.
34647 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
34648
80bad0cc
JM
346492012-05-24 Joseph Myers <joseph@codesourcery.com>
34650
7a25eb06
JM
34651 [BZ #10846]
34652 [BZ #14036]
34653 * math/libm-test.inc (exp_test): Add test from bug 14036.
34654 (pow_test): Add test from bug 10846.
34655
795405f9
JM
34656 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
34657 and other flags.
34658 (special_function): Do not include flags in test name.
34659 (parse_args): Likewise.
34660 * sysdeps/i386/fpu/libm-test-ulps: Update.
34661 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
34662 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
34663 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
34664 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34665
80bad0cc
JM
34666 * math/gen-libm-test.pl (%beautify): Add entries for underflow
34667 exceptions.
34668 * math/libm-test.inc ("Philosophy"): Update comment about
34669 exception testing.
34670 (UNDERFLOW_EXCEPTION): New macro.
34671 (UNDERFLOW_EXCEPTION_OK): Likewise.
34672 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
34673 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
34674 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
34675 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
34676 (INVALID_EXCEPTION_OK): Update value.
34677 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
34678 (OVERFLOW_EXCEPTION_OK): Likewise.
34679 (IGNORE_ZERO_INF_SIGN): Likewise.
34680 (test_exceptions): Handle underflow exceptions.
34681 (acos_test): Update for underflow exception expectations.
34682 (cexp_test): Likewise.
34683 (clog_test): Likewise.
34684 (clog10_test): Likewise.
34685 (csqrt_test): Likewise.
34686 (ctan_test): Likewise.
34687 (ctanh_test): Likewise.
34688 (exp_test): Likewise.
34689 (exp10_test): Likewise.
34690 (exp2_test): Likewise.
34691 (expm1_test): Likewise.
34692 (fma_test): Likewise.
34693 (j0_test): Likewise.
34694 (jn_test): Likewise.
34695 (nexttoward_test): Likewise.
34696 (pow_test): Likewise.
34697 (scalbn_test): Likewise.
34698 (scalbln_test): Likewise.
34699 (tan_test): Likewise.
34700 (y1_test): Likewise.
34701 * sysdeps/i386/fpu/libm-test-ulps: Update.
34702 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34703
9e0e3d0b
DM
347042012-05-23 David S. Miller <davem@davemloft.net>
34705
34706 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
34707 (__libc_sigaction): Remove unused local variables.
34708
ccd0a08f
L
347092012-05-23 H.J. Lu <hongjiu.lu@intel.com>
34710
34711 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
34712
62bdf9a6
PE
347132012-05-23 Paul Eggert <eggert@cs.ucla.edu>
34714
f8591f80
PE
34715 mktime: avoid signed integer overflow
34716 * time/mktime.c (__mktime_internal): Do not mishandle the case
34717 where diff == INT_MIN.
34718
94c7d826
PE
34719 mktime: simplify computation of average
34720 * time/mktime.c (ranged_convert): Use new time_t_avg function
34721 instead of rolling our own (probably-slower) code.
34722
ce73d683
PE
34723 mktime: do not assume signed right shift propagates sign bit
34724 * time/mktime.c (isdst_differ): New static function.
34725 (__mktime_internal): No need to normalize tm_isdst now.
34726 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
34727 tm_isdst values.
34728
72a22e59
PE
34729 mktime: merge another wrapv change from gnulib
34730 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
34731 from some compilers.
34732
68605433
PE
34733 mktime: remove incorrect attempt at unusual arithmetics
34734 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
34735 The code didn't really work on such machines anyway.
34736 (TYPE_MINIMUM): Assume two's complement.
34737 (twos_complement_arithmetic): Verify that long_int and time_t
34738 are two's complement (or unsigned, in the latter case).
34739
03cf7fe3
PE
34740 mktime: check signed shifts on long_int and time_t, too
34741 * time/mktime.c (SHR): Check that shifts work as desired
34742 on the types long_int and time_t too, as SHR is used on
34743 such types.
34744
f04dfbc2
PE
34745 mktime: do not assume 'long' is wide enough
34746 * time/mktime.c (verify): Move decl up.
34747 (long_int): New type.
34748 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
34749 to remove assumption in the code that 'long' is wide enough to
34750 store year values. This assumption is not true on x32 and on
34751 some non-glibc platforms.
34752
62bdf9a6
PE
34753 mktime: merge wrapv change from gnulib
34754 * time/mktime.c (WRAPV): New macro.
34755 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
34756 (guess_time_tm, __mktime_internal): Do not assume that signed
34757 integer overflow wraps around; modern compilers generate code
34758 where this assumption is no longer valid.
34759
5e292e4f
L
347602012-05-23 H.J. Lu <hongjiu.lu@intel.com>
34761
34762 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
34763 Replace "jmp L(pseudo_end)" with "ret".
34764 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
34765 Likewise.
34766
8caf8c87
AJ
347672012-05-23 Andreas Jaeger <aj@suse.de>
34768
34769 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
34770 * sysdeps/unix/sysv/linux/poll.c: Remove file.
34771
1a09dc56
AJ
347722012-05-23 Andreas Jaeger <aj@suse.de>
34773 Maximilian Attems <max@stro.at>
34774
34775 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
34776 New macros.
34777
1c87aba0
L
347782012-05-23 H.J. Lu <hongjiu.lu@intel.com>
34779
34780 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
34781 code so that pseudo_end is just ret and the stack pointer is
34782 correct also for static library in error case.
34783
40e45bd5
JM
347842012-05-23 Joseph Myers <joseph@codesourcery.com>
34785
c2670533
JM
34786 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
34787 move to syscalls.list.
34788 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
34789 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
34790 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
34791 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
34792
40e45bd5
JM
34793 * manual/install.texi (Running make install): Do not mention Linux
34794 kernel version for which pt_chown is not needed.
34795 (Linux): Do not mention problems with nscd with 2.0 kernels.
34796 * INSTALL: Regenerated.
34797
be08eda5
AJ
347982012-05-23 Andreas Jaeger <aj@suse.de>
34799
34800 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
34801 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
34802 macro.
34803 * sysdeps/unix/sysv/linux/s390/bits/mman.h
34804 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
34805 * sysdeps/unix/sysv/linux/sh/bits/mman.h
34806 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
34807 * sysdeps/unix/sysv/linux/i386/bits/mman.h
34808 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
34809 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
34810 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
34811 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
34812 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
34813 * sysdeps/unix/sysv/linux/bits/in.h
34814 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
34815
a6a056bb
RM
348162012-05-22 Roland McGrath <roland@hack.frob.com>
34817
34818 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
34819 (PREPARE_VERSION): Just use assert instead, it will be elided
34820 under [NDEBUG] anyway.
34821
c9009328
L
348222012-05-22 H.J. Lu <hongjiu.lu@intel.com>
34823
34824 * sysdeps/unix/sysv/linux/Makefile: Include
34825 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
cb191f23 34826 (sysdep_routines): Remove sysctl.
c9009328
L
34827 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
34828 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
34829 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
34830 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
34831 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
34832
73338355
AJ
348332012-05-22 Andreas Jaeger <aj@suse.de>
34834
34835 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
34836 that pseudo_end is just ret and the stack pointer is correct also
34837 for static library in error case.
34838
d44638b0
PP
348392012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
34840
34841 [BZ #14122]
34842 * nss/nsswitch.c (defconfig_entries): New variable.
34843 (__nss_database_lookup): Don't leak defconfig entries.
34844 (nss_parse_service_list): Don't leak on error paths.
34845 (free_database_entries): New function.
34846 (free_defconfig): New function.
34847 (free_mem): Move common code to free_database_entries.
34848
31a39bd8
L
348492012-05-22 H.J. Lu <hongjiu.lu@intel.com>
34850
da0331a8
L
34851 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
34852 Add arch_prctl.
34853 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
34854
31a39bd8
L
34855 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
34856 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
34857 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
34858 New macro.
34859 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
34860 (INTERNAL_SYSCALL_TYPES): Likewise.
34861 (LOAD_ARGS_TYPES_[1-6]): Likewise.
34862 (LOAD_REGS_TYPES_[1-6]): Likewise.
34863 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
34864 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
34865
45470df3
AZ
348662012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34867
34868 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
34869 copysignl for GLIBC_2_0.
34870 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
34871 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
34872 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
34873 logbl for GLIBC_2_0.
34874 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
34875 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
34876
98a61bcb
L
348772012-05-22 H.J. Lu <hongjiu.lu@intel.com>
34878
a4f6e481
L
34879 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
34880 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
34881
f63d5db6
L
34882 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
34883 Use "neg %eax".
34884
98a61bcb
L
34885 * time/mktime.c: Update copyright years.
34886
95770f14
PE
348872012-05-22 Paul Eggert <eggert@cs.ucla.edu>
34888
6226efbd
PE
34889 mktime: merge comment-quoting-style change from gnulib
34890 * time/mktime.c: Quote 'like this' in comments.
34891 The GNU coding standards suggest that we no longer quote `like this',
34892 as "`" and "'" are typically rendered asymmetrically nowadays.
34893 The typical gnulib style is to quote 'like this' when quoting
34894 code, and "like this" when quoting English.
34895
b99e4f78
PE
34896 * time/mktime.c (compile-command): Add "-I.".
34897
643e01e6
PE
34898 mktime: merge mktime-internal.h change from gnulib
34899 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
34900
2554247d
PE
34901 mktime: merge time_r change from gnulib
34902 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
34903
826dd0ab
PE
34904 mktime: merge DEBUG change from gnulib
34905 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
34906 case system <time.h> has a #define.
34907
bd83aabe
PE
34908 mktime: merge <sys/types.h> change from gnulib
34909 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
34910 since <time.t> is now guaranteed to define time_t.
34911
95770f14
PE
34912 mktime: merge HAVE_CONFIG_H change from gnulib
34913 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
34914
5e1a27a9
L
349152012-05-22 H.J. Lu <hongjiu.lu@intel.com>
34916
0e44a77e
L
34917 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
34918 Use "neg %eax".
34919
5e1a27a9
L
34920 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
34921 __rlim_t cast.
34922 (struct rusage): Use anonymous union to pad each field to
34923 __syscall_slong_t.
34924
46259bec
DM
349252012-05-21 David S. Miller <davem@davemloft.net>
34926
34927 * Makefules (o-iterator): Remove .s cases.
34928 (compile-command.s): Delete.
34929 (COMPILE.s): Delete.
34930 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
34931
59f0c22e
JM
349322012-05-21 Joseph Myers <joseph@codesourcery.com>
34933
34934 * configure.in (libc_cv_predef_stack_protector): Only consider
34935 "foobar" and "__stack_chk_fail" lines in libc_undefs.
34936 * configure: Regenerated.
34937
20c07380
L
349382012-05-21 H.J. Lu <hongjiu.lu@intel.com>
34939
bbb3154b
L
34940 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
34941 New macro. Use R*LP on int and pointer.
34942 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
c5b3a2c0
L
34943 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
34944 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
bbb3154b
L
34945 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
34946
20c07380
L
34947 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
34948 [__WORDSIZE_TIME64_COMPAT32] instead of
34949 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
34950 (struct utmp): Likewise.
34951 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
34952 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
34953 Renamed to ...
34954 (__WORDSIZE_TIME64_COMPAT32): This.
34955 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
34956 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
34957 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
34958 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
34959 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
34960 (__WORDSIZE_TIME64_COMPAT32): New macro.
34961
d8d1017e
AJ
349622012-05-21 Andreas Jaeger <aj@suse.de>
34963
34964 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
34965 only if [SHARED]. Add prototype for __wcschr_ia32.
34966
6c7fb145
RM
349672012-05-21 Roland McGrath <roland@hack.frob.com>
34968
34969 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
34970 of %rbp unmolested in the jmp_buf while mangling the low bits.
34971 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
34972 unmolested high bits of %rbp while demangling the low bits.
34973 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
34974
66274218
AJ
349752012-05-21 Andreas Jaeger <aj@suse.de>
34976
07c58f8f
AJ
34977 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
34978 * sunrpc/svc_simple.c: Use it for registerrpc.
34979 * sunrpc/xcrypt.c: Use it for passwd2des.
34980
66274218
AJ
34981 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
34982
61f65140
L
349832012-05-21 H.J. Lu <hongjiu.lu@intel.com>
34984
34985 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
34986 Don't define if [__SYSCALL_WORDSIZE != 32].
34987 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
34988 New macro.
34989
5fefb436
AJ
349902012-05-21 Bruno Haible <bruno@clisp.org>
34991 Andreas Jaeger <aj@suse.de>
34992
34993 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
34994 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
34995 inptr and inend for must_buffer_ch.
34996 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
34997 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
34998 * stdio-common/Makefile (tests): Remove bug15.
34999 (bug15-ENV): Remove macro.
35000 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
35001 anymore.
35002
d8e272ab
AJ
350032012-05-19 Andreas Jaeger <aj@suse.de>
35004 Roland McGrath <roland@hack.frob.com>
35005
35006 * manual/contrib.texi: Completely rewritten. It contains now an
35007 alphabetical list of contributors and their contributions.
35008
4a56a162
RH
350092012-05-21 Richard Henderson <rth@twiddle.net>
35010
35011 * misc/getauxval.c (__getauxval): Use unsigned long int.
35012 * misc/sys/auxv.h: Include <sys/cdefs.h>.
35013 (getauxval): Use unsigned long int.
35014
d024d23c
L
350152012-05-21 H.J. Lu <hongjiu.lu@intel.com>
35016
35017 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
35018
cbc00a03
RM
350192012-05-21 Roland McGrath <roland@hack.frob.com>
35020
35021 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
35022 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
35023 __alignof__ (long double).
35024
478143fa
AZ
350252012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35026
35027 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35028
c7683a6d
RH
350292012-05-20 Richard Henderson <rth@twiddle.net>
35030
35031 * misc/getauxval.c: New file.
35032 * misc/sys/auxv.h: New file.
35033 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
35034 (routines): Add getauxval.
35035 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
35036 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
35037 * elf/dl-sysdep.c (_dl_auxv): Remove.
35038 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
35039 * elf/dl-support.c (_dl_auxv): New variable.
35040 (_dl_aux_init): Initialize it.
35041 * manual/startup.texi (Auxiliary Vector): New node.
35042 * sysdeps/generic/bits/hwcap.h: New file.
35043 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
35044 * sysdeps/powerpc/sysdep.h: ... here. Include it.
35045 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
35046 * sysdeps/sparc/sysdep.h: ... here. Include it.
35047 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
35048 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
cbc00a03
RM
35049 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
35050 Update.
c7683a6d
RH
35051 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
35052 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
35053 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
35054 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
35055 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
35056 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
35057 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
35058 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
35059
a6f1845d
AZ
350602012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35061
35062 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35063
cbcbe830
DM
350642012-05-19 David S. Miller <davem@davemloft.net>
35065
35066 * sysdeps/sparc/fpu/libm-test-ulps: Update.
35067
e0b16cc2
JM
350682012-05-19 Joseph Myers <joseph@codesourcery.com>
35069
35070 [BZ #14123]
35071 * math/s_ccosh.c: Include <float.h>
35072 (__ccosh): Avoid internal overflow calculating sinh and cosh
35073 values before multiplying by sin and cos values.
35074 * math/s_ccoshf.c: Likewise.
35075 * math/s_ccoshl.c: Likewise.
35076 * math/s_csin.c: Likewise.
35077 * math/s_csinf.c: Likewise.
35078 * math/s_csinl.c: Likewise.
35079 * math/s_csinh.c: Likewise.
35080 * math/s_csinhf.c: Likewise.
35081 * math/s_csinhl.c: Likewise.
35082 * math/libm-test.inc (ccos_test): Add more tests.
35083 (ccosh_test): Likewise.
35084 (csin_test): Likewise.
35085 (csinh_test): Likewise.
35086 * sysdeps/i386/fpu/libm-test-ulps: Update.
35087 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35088
6ad13e08
L
350892012-05-19 H.J. Lu <hongjiu.lu@intel.com>
35090
f66f0ce8
L
35091 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
35092 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
35093
6ad13e08
L
35094 * sysdeps/x86_64/x32/_itoa.h: Add comment.
35095
b1d072a7
JM
350962012-05-19 Joseph Myers <joseph@codesourcery.com>
35097
35098 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
35099 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
35100 * sysdeps/powerpc/soft-fp/Versions: Likewise.
35101 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
35102 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
35103 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
35104 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
35105 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
35106 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
35107 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
35108 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
35109 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
35110 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
35111 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
35112 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
35113 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
35114 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
35115 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
35116 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
35117 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
35118 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
35119 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
35120 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
35121 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
35122 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
35123 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
35124 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
35125 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
35126 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
35127 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
35128 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
35129
9eae47cb
AJ
351302012-05-18 Andreas Jaeger <aj@suse.de>
35131
35132 * csu/.gitignore: Delete.
35133
bb07f69f
L
351342012-05-18 H.J. Lu <hongjiu.lu@intel.com>
35135
35136 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
35137 (timex): Use __syscall_slong_t.
35138
e6bdb741
AJ
351392012-05-18 Andreas Jaeger <aj@suse.de>
35140 Carlos O'Donell <carlos_odonell@mentor.com>
35141
35142 * manual/install.texi (Configuring and compiling): Update
35143 description about files modified in the source directory.
d6c33fda 35144 * INSTALL: Regenerated.
e6bdb741 35145
1b74487e
L
351462012-05-18 H.J. Lu <hongjiu.lu@intel.com>
35147
35148 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
35149 value. Use "or" to set return value to -1.
35150 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
35151 negate return value.
35152
a88b64b9
TMQMF
351532012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
35154
57f41c40
AS
35155 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
35156 (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
a88b64b9
TMQMF
35157 failure if the compiler has Graphite support disabled.
35158 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
35159 Likewise.
57f41c40
AS
35160 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
35161 (CFLAGS-memmove.c): Likewise.
a88b64b9
TMQMF
35162 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
35163 Likewise.
35164
3707636e
L
351652012-05-18 H.J. Lu <hongjiu.lu@intel.com>
35166
610b8622
L
35167 * sysdeps/x86_64/x32/_itoa.h: New file.
35168
7cd195df
L
35169 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
35170 getdents system call only if kernel and user dirents have the
35171 same d_ino and d_off.
35172
94b07d20
L
35173 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
35174 LLONG_MAX != LONG_MAX.
35175 (_itoa_word): Use _ITOA_WORD_TYPE on value.
35176 (_fitoa_word): Likewise.
35177
18298070
L
35178 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
35179 years.
35180 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
35181 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
35182 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
35183
553c7ea4
L
35184 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
35185 include <bits/wordsize.h>. Check __x86_64__ instead of
35186 __WORDSIZE.
35187 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
35188 if __x86_64__ is defined. Use anonymous union on fpstate.
35189
3707636e
L
35190 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
35191 anonymous union.
35192
b53ef01a
AS
351932012-05-18 Andreas Schwab <schwab@linux-m68k.org>
35194
37fb1dc0
AS
35195 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
35196 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
35197 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
35198 Refer to _rtld_local_ro instead of _rtld_global_ro.
35199 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
35200 Likewise.
35201 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
35202 Likewise.
35203 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
35204 Likewise.
35205 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
35206 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
35207 of _rtld_global, and rtld_progname instead of _dl_argv[0].
35208
b53ef01a
AS
35209 * sysdeps/powerpc/powerpc32/dl-machine.c
35210 (__elf_machine_runtime_setup) [PROF]: Don't reference
35211 _dl_prof_resolve.
35212
7a185db2
AJ
352132012-05-18 Andreas Jaeger <aj@suse.de>
35214
35215 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
35216 function only available for GCCs before 3.4 since GCC 3.4
35217 introduced a builtin.
35218 (lrint): Likewise.
35219 (llrintf): Likewise.
35220 (llrint): Likewise.
35221 (fmaxf): Likewise.
35222 (fmax): Likewise.
35223 (fminf): Likewise.
35224 (fmin): Likewise.
35225 (rint): Likewise.
35226 (rintf): Likewise.
35227 (nearbyint): Likewise.
35228 (nearbyintf): Likewise.
35229 (ceil): Likewise.
35230 (ceilf): Likewise.
35231 (floor): Likewise.
35232 (floorf): Likewise.
35233
3e5aef87
L
352342012-05-17 H.J. Lu <hongjiu.lu@intel.com>
35235
428bd707
L
35236 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
35237 on both fields and cast pointer to __syscall_ulong_t.
35238
3e5aef87
L
35239 * bits/types.h (__fsword_t): New type.
35240 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
35241 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
35242 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
35243 (__FSWORD_T_TYPE): Likewise.
35244 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
35245 (__FSWORD_T_TYPE): Likewise.
35246 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
35247 (__FSWORD_T_TYPE): Likewise.
35248 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
35249 (__FSWORD_T_TYPE): Likewise.
35250 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
35251 __SWORD_TYPE with __fsword_t.
35252 (statfs64): Likewise.
35253
1ba7c3dc
DM
352542012-05-17 David S. Miller <davem@davemloft.net>
35255
35256 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
35257
59910343
AJ
352582012-05-17 Andreas Jaeger <aj@suse.de>
35259
35260 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
35261 warning.
35262
2e4c1e9e
L
352632012-05-17 H.J. Lu <hongjiu.lu@intel.com>
35264
35265 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
35266
de7f5ce7
AJ
352672012-05-17 Andreas Jaeger <aj@suse.de>
35268
35269 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
35270 when it is used.
35271
286abc3d
CM
352722012-05-17 Chris Metcalf <cmetcalf@tilera.com>
35273
35274 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
35275
477cc68e
L
352762012-05-17 H.J. Lu <hongjiu.lu@intel.com>
35277
35278 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
35279 * sysdeps/x86_64/tst-mallocalign1.c: New file.
35280
1a0994f5
CD
352812012-05-17 Andreas Jaeger <aj@suse.de>
35282 Carlos O'Donell <carlos_odonell@mentor.com>
35283
35284 [BZ #14059]
35285 * sysdeps/x86_64/multiarch/init-arch.h
35286 (bit_YMM_Usable): Rename to...
35287 (bit_AVX_Usable): ... this.
35288 (bit_FMA4_Usable): New macro.
35289 (bit_XMM_state): New macro.
35290 (bit_YMM_state): New macro.
35291 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
35292 [__ASSEMBLER__] (index_AVX_Usable): ... this.
35293 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
35294 (CPUID_OSXSAVE): New macro.
35295 (CPUID_AVX): New macro.
35296 (CPUID_FMA4): New macro.
35297 (index_YMM_Usable): Rename to...
35298 (index_AVX_Usable): ... this.
35299 (HAS_AVX): Use HAS_ARCH_FEATURE.
35300 (HAS_FMA4): Likewise.
35301 (HAS_YMM_USABLE): Remove.
35302 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
35303 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
35304 are present.
35305 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
35306 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
35307 * sysdeps/x86_64/multiarch/Makefile: Likewise.
35308 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
35309 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
35310
0af797de
CM
353112012-05-17 Chris Metcalf <cmetcalf@tilera.com>
35312
35313 * math/libm-test.c: Support platforms without multiple rounding modes.
35314 * math/bug-nextafter.c: Support platforms without FP exceptions.
35315 * math/bug-nexttoward.c: Likewise.
35316 * math/test-fenv.c: Likewise.
35317 * math/test-misc.c: Likewise.
35318 * stdlib/bug-getcontext.c: Likewise.
35319
e39745ff
AJ
353202012-05-17 Andreas Jaeger <aj@suse.de>
35321
35322 * manual/examples/search.c (critter_cmp): Change signature to
35323 avoid warnings.
35324 * manual/string.texi (Collation Functions): Likewise.
35325
48970aba
L
353262012-05-16 H.J. Lu <hongjiu.lu@intel.com>
35327
35328 * bits/types.h: Fold copyright years.
35329 * bits/typesizes.h: Likewise.
35330 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
35331 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
35332 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
35333 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
35334 * time/time.h: Likewise.
35335
bedee953
PP
353362012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
35337
35338 [BZ #208]
35339 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
35340 in instead of returning them. Return void.
35341 (__libc_mallinfo): Accumulate over all arenas.
35342 (__malloc_stats): Adjust for change in int_mallinfo interface.
35343
61653dfb
RM
353442012-05-16 Roland McGrath <roland@hack.frob.com>
35345
30b99d79
RM
35346 [BZ #10375]
35347 * configure.in (NM): Add AC_CHECK_TOOL for it.
35348 (libc_extra_cflags): New substituted variable.
35349 Check for -fstack-protector being used implicitly.
35350 * configure: Regenerated.
35351 * config.make.in (config-extra-cflags): New variable,
35352 gets @libc_extra_cflags@.
35353 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
35354
61653dfb
RM
35355 [BZ #10375]
35356 * configure.in: Check for _FORTIFY_SOURCE being predefined.
35357 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
35358 * configure: Regenerated.
35359 * config.make.in (CPPUNDEFS): New substituted variable.
35360 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
35361 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
35362 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
35363
661768bb
L
353642012-05-16 H.J. Lu <hongjiu.lu@intel.com>
35365
35366 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
35367 (mq_attr): Use __syscall_slong_t.
35368
d4261567
L
353692012-05-16 H.J. Lu <hongjiu.lu@intel.com>
35370
35371 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
35372 Check __x86_64__ instead of __WORDSIZE.
35373 (_STAT_VER_LINUX): Likewise.
35374 (stat): Check __x86_64__ instead of __WORDSIZE. Use
35375 __syscall_ulong_t and __syscall_slong_t.
35376 (stat64): Likewise.
35377
cf3ff365
L
353782012-05-16 H.J. Lu <hongjiu.lu@intel.com>
35379
35380 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
35381
76cf3e4d
L
353822012-05-16 H.J. Lu <hongjiu.lu@intel.com>
35383
35384 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
35385
a637753a
L
353862012-05-16 H.J. Lu <hongjiu.lu@intel.com>
35387
35388 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
35389 __syscall_ulong_t.
35390
d5e05119
L
35391 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
35392 include <bits/wordsize.h>. Check __x86_64__ instead of
35393 __WORDSIZE.
35394 (greg_t): Use "__extension__ long long int" if __x86_64__ is
35395 defined.
35396 (mcontext_t): Replace "unsigned long" with "unsigned long long".
35397
f62ee380
L
35398 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
35399 include <bits/wordsize.h>. Check __x86_64__ instead of
35400 __WORDSIZE.
35401 (user_regs_struct): Use "__extension__ unsigned long long"
35402 instead of "unsigned long" if __x86_64__ is defined.
35403 (user): Likewise. Pad after pointer field if __ILP32__ is
35404 defined.
35405
4e124ced
JM
354062012-05-16 Joseph Myers <joseph@codesourcery.com>
35407
6a3951a0
JM
35408 * configure.in (makeinfo): Require version 4.5 or later. Allow
35409 versions 5 to 9.
35410 * configure: Regenerated.
35411 * manual/install.texi (texinfo): Increase version requirement to
35412 4.5 or later.
35413 * INSTALL: Regenerated.
35414
4e124ced
JM
35415 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
35416
953ca31a
L
354172012-05-16 H.J. Lu <hongjiu.lu@intel.com>
35418
35419 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
35420
617aca05
L
35421 * sysdeps/x86_64/x32/ffs.c: New file.
35422
5762f7ae
L
35423 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
35424 __syscall_ulong_t.
35425 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
35426 defined. Use __syscall_ulong_t.
35427 (shminfo): Use __syscall_ulong_t.
35428 (shm_info): Likewise.
35429
a26b6856
L
35430 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
35431 __syscall_ulong_t.
35432
cb2b9ef7
L
35433 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
35434 <bits/wordsize.h>.
35435 (msgqnum_t): Use __syscall_ulong_t.
35436 (msglen_t): Likewise.
35437 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
35438 __syscall_ulong_t.
35439
34683bb0
L
35440 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
35441 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
35442
84a68786
L
35443 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
35444
48baa5f1
L
35445 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
35446 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
35447
180be88b
L
35448 * sysvipc/sys/msg.h (msgbuf): Replace long int with
35449 __syscall_slong_t.
35450
5e90c8ad
L
35451 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
35452 include <bits/wordsize.h>. Check __x86_64__ instead of
35453 __WORDSIZE.
35454
23dfb58b
L
35455 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
35456 "unsigned long long int" if __x86_64__ is defined.
35457 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
35458
ce5d54b0
L
35459 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
35460 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
35461 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
35462
13dc9eac
L
35463 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
35464 <stdint.h>.
35465 (GET_PC): Cast to uintptr_t first.
35466 (GET_FRAME): Likewise.
35467 (GET_STACK): Likewise.
35468
a7895d15
L
35469 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
35470 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
35471 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
35472 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
35473 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
35474 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
35475 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
35476 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
35477 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
35478 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
35479 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
35480 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
35481 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
35482 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
35483 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
35484 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
35485 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
35486 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
35487 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
35488 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
35489 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
35490 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
35491 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
35492 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
35493 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
35494 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
35495 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
35496 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
35497 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
35498
656416c9
AS
354992012-05-16 Andreas Schwab <schwab@linux-m68k.org>
35500
5bd66283
AS
35501 * Makerules (+depfiles): Also collect depfiles from .oS in
35502 $(extra-objs).
35503 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
35504 .oS, $(libnldbl-routines)).
35505
656416c9
AS
35506 * Makerules (native-compile-mkdep-flags): Define.
35507 * sunrpc/Makefile (extra-objs): Add $(addprefix
35508 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
35509 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
35510 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
35511 calling $(make-target-directory).
35512
a46f2169
L
355132012-05-15 H.J. Lu <hongjiu.lu@intel.com>
35514
35515 * bits/types.h (__snseconds_t): Removed.
35516 * time/time.h (struct timespec): Replace __snseconds_t with
35517 __syscall_slong_t.
35518 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
35519 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
35520 Likewise.
35521 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
35522 (__SNSECONDS_T_TYPE): Likewise.
35523 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
35524 (__SNSECONDS_T_TYPE): Likewise.
35525 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
35526 (__SNSECONDS_T_TYPE): Likewise.
35527
6af6528b
L
355282012-05-15 H.J. Lu <hongjiu.lu@intel.com>
35529
35530 * sysdeps/mach/hurd/bits/typesizes.h
35531 (__SYSCALL_SLONG_TYPE): New macro.
35532 (__SYSCALL_ULONG_TYPE): Likewise.
35533
de986b56
L
355342012-05-15 H.J. Lu <hongjiu.lu@intel.com>
35535
35536 * bits/types.h (__syscall_slong_t): New type.
35537 (__syscall_ulong_t): Likewise.
35538
35539 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
35540 (__SYSCALL_ULONG_TYPE): Likewise.
35541 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
35542 (__SYSCALL_SLONG_TYPE): Likewise.
35543 (__SYSCALL_ULONG_TYPE): Likewise.
35544 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
35545 (__SYSCALL_SLONG_TYPE): Likewise.
35546 (__SYSCALL_ULONG_TYPE): Likewise.
35547 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
35548 (__SYSCALL_SLONG_TYPE): Likewise.
35549 (__SYSCALL_ULONG_TYPE): Likewise.
35550
85736dc7
L
355512012-05-15 H.J. Lu <hongjiu.lu@intel.com>
35552
35553 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
35554 Add sigaltstack-offsets.sym.
35555 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
35556 <sigaltstack-offsets.h>.
35557 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
35558 longjmp_msg pointer.
35559 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
35560 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
35561 signal stack.
35562 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
35563
cc03b296
JM
355642012-05-15 Joseph Myers <joseph@codesourcery.com>
35565
a9538892
JM
35566 * elf/stackguard-macros.h: Remove file.
35567 * sysdeps/generic/stackguard-macros.h: New file.
35568 * sysdeps/i386/stackguard-macros.h: Likewise.
35569 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
35570 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
35571 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
35572 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
35573 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
35574 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
35575 * sysdeps/x86_64/stackguard-macros.h: Likewise.
35576 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
35577 <elf/stackguard-macros.h>.
35578
cc03b296
JM
35579 [BZ #14109]
35580 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
35581 __aligned__ in attribute.
35582 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
35583 (gregset_t): Likewise.
35584
93171016
L
355852012-05-15 H.J. Lu <hongjiu.lu@intel.com>
35586
35587 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
35588 * sysdeps/x86_64/64/Implies-after: Here. New file.
35589 * sysdeps/x86_64/x32/Implies-after: New file.
35590
d86813a0
L
355912012-05-15 H.J. Lu <hongjiu.lu@intel.com>
35592
35593 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
35594 and access return value for _dl_profile_fixup. Use R10_LP to
35595 load frame size.
35596
2953ec75
L
355972012-05-15 H.J. Lu <hongjiu.lu@intel.com>
35598
35599 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
35600
3b550e9e
L
356012012-05-15 H.J. Lu <hongjiu.lu@intel.com>
35602
35603 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
35604 * sysdeps/x86_64/x32/sysdep.h: New file.
35605
eda41706
L
356062012-05-15 H.J. Lu <hongjiu.lu@intel.com>
35607
35608 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
35609 * sysdeps/x86_64/setjmp.S: Likewise.
35610
9ea01d93
AZ
356112012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35612
35613 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
35614 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
35615 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
35616 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
35617 remove unused global constant.
35618
02a91938
CM
356192012-05-15 Chris Metcalf <cmetcalf@tilera.com>
35620
35621 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
35622 include of <not-cancel.h>.
35623
6540185f
RM
356242012-05-15 Roland McGrath <roland@hack.frob.com>
35625
35626 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
35627
509072a0
AJ
356282012-05-15 Jeff Law <law@redhat.com>
35629 Andreas Jaeger <aj@suse.de>
35630
35631 [BZ #13594]
35632 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
35633 out from...
35634 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
35635 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
35636 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
35637 code changing __hst_map_handle.map.
35638
ba75122d
RM
356392012-05-15 Roland McGrath <roland@hack.frob.com>
35640
35641 * configure.in (sysnames): Look for Implies-before and Implies-after
35642 files.
35643 * configure: Regenerated.
35644
890d8bd8
L
356452012-05-15 H.J. Lu <hongjiu.lu@intel.com>
35646
35647 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
35648 8-byte data alignment with LP_SIZE alignment.
35649
f6ee6623
L
356502012-05-15 H.J. Lu <hongjiu.lu@intel.com>
35651
35652 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
35653 into R10_LP.
35654
ea2626f6
L
356552012-05-15 H.J. Lu <hongjiu.lu@intel.com>
35656
35657 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
35658
085f715e
L
356592012-05-15 H.J. Lu <hongjiu.lu@intel.com>
35660
35661 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
35662 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
35663 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
35664 Likewise.
35665 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
35666
be8498fc
L
356672012-05-15 H.J. Lu <hongjiu.lu@intel.com>
35668
35669 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
35670 (stackinfo_sub_sp): Likewise.
35671
70bc83b9
L
356722012-05-15 H.J. Lu <hongjiu.lu@intel.com>
35673
35674 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
35675 RAX_LP.
35676
9bc0b730
L
356772012-05-15 H.J. Lu <hongjiu.lu@intel.com>
35678
35679 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
35680 into R*_LP.
35681
6d2850e7
L
356822012-05-15 H.J. Lu <hongjiu.lu@intel.com>
35683
35684 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
35685 sizes into R*_LP.
35686
3cb84561
L
356872012-05-15 H.J. Lu <hongjiu.lu@intel.com>
35688
35689 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
35690
54e2ed81
L
356912012-05-15 H.J. Lu <hongjiu.lu@intel.com>
35692
35693 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
35694 into R11_LP and load __x86_64_shared_cache_size_half into
35695 R8_LP.
35696
8a17f349
L
356972012-05-15 H.J. Lu <hongjiu.lu@intel.com>
35698
35699 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
35700 R8_LP.
35701
777b1eea
AZ
357022012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35703
35704 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
35705 logb for POWER7.
35706 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
35707 logbf for POWER7.
35708 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
35709 logbl for POWER7.
35710 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
35711 powerpc32/power7/fpu/s_logb.c via #include.
35712 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
35713 powerpc32/power7/fpu/s_logbf.c via #include.
35714 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
35715 powerpc32/power7/fpu/s_logbl.c via #include.
35716
d20d4ac2
JM
357172012-05-15 Joseph Myers <joseph@codesourcery.com>
35718
35719 * README.libm: Remove file.
35720
6cdef1ab
L
357212012-05-14 H.J. Lu <hongjiu.lu@intel.com>
35722
35723 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
35724 count for x32. Use R*_LP and omit operand-size suffix.
35725
0b254d8f
L
357262012-05-14 H.J. Lu <hongjiu.lu@intel.com>
35727
35728 * shlib-versions: Move x86_64-.*-linux.* entries to ...
35729 * sysdeps/x86_64/64/shlib-versions: Here. New file.
35730 * sysdeps/x86_64/x32/shlib-versions: New file.
35731
ceb809dc
RM
357322012-05-14 Roland McGrath <roland@hack.frob.com>
35733
35734 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
35735 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
35736 Use _dl_fatal_printf instead.
35737
37f1abd4
JM
357382012-05-14 Joseph Myers <joseph@codesourcery.com>
35739
35740 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
35741 set if not set by the user. Do not allow for being unset.
35742 * sysdeps/unix/sysv/linux/configure: Regenerated.
35743
11de3a33
L
357442012-05-14 H.J. Lu <hongjiu.lu@intel.com>
35745
35746 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
35747 the `q' suffix from lea and replace .quad with ASM_ADDR.
35748
e02f153a
L
357492012-05-14 H.J. Lu <hongjiu.lu@intel.com>
35750
35751 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
35752 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
35753 instead of $17.
35754 (PTR_DEMANGLE): Likewise.
35755
520ae0fd
L
357562012-05-14 H.J. Lu <hongjiu.lu@intel.com>
35757
35758 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
35759 (LP_OP): Likewise.
35760 (ASM_ADDR): Likewise.
35761 (RAX_LP): Likewise.
35762 (RBP_LP): Likewise.
35763 (RBX_LP): Likewise.
35764 (RCX_LP): Likewise.
35765 (RDI_LP): Likewise.
35766 (RSI_LP): Likewise.
35767 (RSP_LP): Likewise.
35768 (R8_LP): Likewise.
35769 (R9_LP): Likewise.
35770 (R10_LP): Likewise.
35771 (R10_LP): Likewise.
35772 (R11_LP): Likewise.
35773 (R12_LP): Likewise.
35774 (R13_LP): Likewise.
35775 (R14_LP): Likewise.
35776 (R15_LP): Likewise.
35777
b985be81
L
357782012-05-14 H.J. Lu <hongjiu.lu@intel.com>
35779
35780 * sysdeps/x86_64/x32/dl-machine.h: New file.
35781
6a4888ff
AJ
357822012-05-14 Andreas Jaeger <aj@suse.de>
35783
35784 * manual/Makefile (subdir): Remove export of subdir.
35785 (all): Remove target.
35786 (.PHONY): Remove all from list.
35787 (mkinstalldirs): Remove.
35788 (.PHONY): Remove installdirs from list.
35789 ($(inst_infodir)/libc.info): Use make-target-directory.
35790 (installdirs): Remove.
35791 (subdir_%): Remove.
35792 (glibc-targets): Remove.
35793 (lib): Remove.
35794 (stubs): Remove.
35795 ($(objpfx)stubs ../po/manual.pot): Remove.
35796 ($(objpfx)stamp%): Remove.
35797 (make-target-directory): Remove.
35798 (subdir_install): Remove.
35799 (routines): Remove.
35800 (aux): Remove.
35801 (sources): Remove.
35802 (objects): Remove.
35803 (headers): Remove.
35804
35805 [BZ #13750]
35806 * manual/.gitignore: Remove, it's not needed anymore.
35807 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
35808 all files in it.
35809 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
35810 directory.
35811 (texis): Renamed to $(objpfx)texis.
35812 (texis-path): New, contains path to generated files.
35813 (chapters.%): Use texis-path for complete path, add extra argument
35814 libc-texinfo.sh.
35815 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
35816 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
35817 (summary,texi, stamp-summary): Use complete path of
35818 files. Generate files in build dir.
35819 (dir-add.texi): Build in build dir.
35820 (libm-err.texi,stamp-libm-err): Likewise.
35821 (version.texi, stamp-version): Likewise.
35822 (.%c.texi): Likewise.
35823 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
35824 (mostlyclean): Remove target.
35825 (realclean): Remove target.
35826 (generated): Add new variable with contents from mostlyclean and
35827 realclean, remove entries duplicated in common-mostlyclean, add
35828 stamp-libm-err and stamp-version.
35829 (generated-dirs): Add libc directory.
35830 ($(inst_infodir)/libc.info): Install files from build dir.
35831
35832 * manual/install.texi (Configuring and compiling): Adjust since
35833 the info files are not part of the tar ball anymore.
35834
7ac77294
AJ
358352012-05-14 Andreas Jaeger <aj@suse.de>
35836
35837 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
35838 variable.
35839
ffb7875d
JM
358402012-05-14 Joseph Myers <joseph@codesourcery.com>
35841
35842 [BZ #13717]
35843 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
35844 to 2.2.0 where earlier.
35845 * sysdeps/unix/sysv/linux/configure: Regenerated.
35846 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
35847 Remove conditional code.
35848 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
35849 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
35850 Remove conditional code.
35851 [!__NR_lchown]: Likewise.
35852 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
35853 [__NR_lchown]: Likewise.
35854 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
35855 comment referencing __ASSUME_LCHOWN_SYSCALL.
35856 * sysdeps/unix/sysv/linux/i386/sigaction.c
35857 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
35858 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
35859 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
35860 Remove conditional code.
35861 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
35862 (__protocol_available): Remove #if 0 code.
35863 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
35864 conditional code.
35865 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
35866 * sysdeps/unix/sysv/linux/kernel-features.h
35867 (__ASSUME_GETCWD_SYSCALL): Don't define.
35868 (__ASSUME_REALTIME_SIGNALS): Likewise.
35869 (__ASSUME_PREAD_SYSCALL): Likewise.
35870 (__ASSUME_PWRITE_SYSCALL): Likewise.
35871 (__ASSUME_POLL_SYSCALL): Likewise.
35872 (__ASSUME_LCHOWN_SYSCALL): Likewise.
35873 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
35874 non-SPARC.
35875 (__ASSUME_SIOCGIFNAME): Don't define.
35876 (__ASSUME_MSG_NOSIGNAL): Likewise.
35877 (__ASSUME_SENDFILE): Define unconditionally.
35878 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
35879 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
35880 conditional code.
35881 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
35882 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
35883 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
35884 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
35885 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
35886 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
35887 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
35888 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
35889 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
35890 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
35891 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
35892 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
35893 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
35894 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
35895 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
35896 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
35897 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
35898 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
35899 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
35900 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
35901 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
35902 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
35903 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
35904 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
35905 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
35906 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
35907 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
35908 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
35909 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
35910 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
35911 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
35912 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
35913 Remove conditional code.
35914 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
35915 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
35916 Remove conditional code.
35917 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
35918 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
35919 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
35920 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
35921 Remove conditional code.
35922 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
35923 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
35924 Remove conditional code.
35925 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
35926 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
35927 Remove conditional code.
35928 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
35929 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
35930 Remove conditional code.
35931 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
35932 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
35933 Remove conditional code.
35934 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
35935 * sysdeps/unix/sysv/linux/sh/pwrite64.c
35936 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
35937 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
35938 * sysdeps/unix/sysv/linux/sigaction.c
35939 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
35940 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
35941 * sysdeps/unix/sysv/linux/sigpending.c
35942 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
35943 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
35944 * sysdeps/unix/sysv/linux/sigprocmask.c
35945 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
35946 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
35947 * sysdeps/unix/sysv/linux/sigsuspend.c
35948 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
35949 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
35950 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
35951 (__libc_missing_rt_sigs): Remove.
35952 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
35953 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
35954 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
35955 Remove conditional code.
35956 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
35957 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
35958 return 1.
35959 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
35960 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
35961 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
35962 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
35963
1bfb7291
AJ
359642012-05-14 Andreas Jaeger <aj@suse.de>
35965
caae5a81
AJ
35966 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
35967 it's not used in glibc.
35968 (__coshm1): Likewise.
35969 (__acosh1p): Likewise.
35970 (__sgn): Likewise.
35971
1bfb7291
AJ
35972 * manual/string.texi (Copying and Concatenation): Add missing
35973 variable in concat example.
35974 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
35975
c044d724
L
359762012-05-14 H.J. Lu <hongjiu.lu@intel.com>
35977
144c5467 35978 [BZ #14103]
c044d724
L
35979 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
35980 __builtin_clzl with __builtin_clzll.
35981
2523c62b
L
359822012-05-14 H.J. Lu <hongjiu.lu@intel.com>
35983
35984 [BZ #14104]
35985 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
35986 libc_freeres_ptr.
35987
d7bb4c42
LD
359882012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
35989
35990 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
35991 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
35992 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
35993 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
35994
9dc4e1fb
MF
359952012-05-14 Mike Frysinger <vapier@gentoo.org>
35996
35997 * NEWS: Update ia64 info.
35998
c7df0112
AS
359992012-05-12 Andreas Schwab <schwab@linux-m68k.org>
36000
36001 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
36002 used as bcopy.
36003
dc70356c
TS
360042012-05-12 Thomas Schwinge <thomas@codesourcery.com>
36005
36006 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
36007 * sysdeps/unix/syscalls.list (dup3): Likewise.
36008 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
36009 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
36010
9fb1a21f
L
360112012-05-11 H.J. Lu <hongjiu.lu@intel.com>
36012
36013 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
36014 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
36015
4822a2a5
L
360162012-05-11 H.J. Lu <hongjiu.lu@intel.com>
36017
36018 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
36019 thread pointer.
36020 (TLS_IE): Use mov/add instead of movq/addq to load thread
36021 pointer.
36022 (TLS_GD_PREFIX): New.
36023 (TLS_GD): Use it.
36024
842b81d6
DM
360252012-05-11 David S. Miller <davem@davemloft.net>
36026
36027 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
36028 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
36029 (_FPU_SETCW): Likewise.
36030
1cf463cd
L
360312012-05-10 H.J. Lu <hongjiu.lu@intel.com>
36032
36033 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
36034 is 32-byte aligned.
36035
60cc4a18
AS
360362012-05-11 Andreas Schwab <schwab@linux-m68k.org>
36037
36038 [BZ #11837]
36039 * iconvdata/gb18030.c: Update tables.
36040 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
36041 characters specially.
36042 (BODY for TO_LOOP): Add encoding of missing ranges.
36043
febb44a4
TS
360442012-05-11 Thomas Schwinge <thomas@codesourcery.com>
36045
36046 [BZ #13673]
36047 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
36048 * sysdeps/mach/hurd/dup3.c: Likewise.
36049 * sysdeps/mach/hurd/readlinkat.c: Likewise.
36050 * sysdeps/powerpc/memmove.c:: Likewise.
36051
0a10fb9e
L
360522012-05-10 H.J. Lu <hongjiu.lu@intel.com>
36053
36054 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
36055 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
36056
df8a552f
L
360572012-05-10 H.J. Lu <hongjiu.lu@intel.com>
36058
36059 * elf/elf.h (R_X86_64_RELATIVE64): New.
36060 (R_X86_64_NUM): Updated.
36061 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
36062 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
36063 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
36064 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
36065 tst-quad1pie tst-quad2pie
36066 (modules-names): Add tst-quadmod1 tst-quadmod2.
36067 ($(objpfx)tst-quad1): New dependency.
36068 ($(objpfx)tst-quad2): Likewise.
36069 ($(objpfx)tst-quad1pie): Likewise.
36070 ($(objpfx)tst-quad2pie): Likewise.
36071 * sysdeps/x86_64/tst-quad1.c: New file.
36072 * sysdeps/x86_64/tst-quad1pie.c: New file.
36073 * sysdeps/x86_64/tst-quad2.c: Likewise.
36074 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
36075 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
36076 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
36077 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
36078 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
36079
f34d6f84
ST
360802012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
36081
f42d41d1
ST
36082 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
36083 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
36084 * streams/stropts.h (t_scalar_t): Define type.
36085
3c3571fc
ST
36086 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
36087 (_PATH_PRESERVE): Set to "/var/lib".
36088 (_PATH_RWHODIR): Set to "/var/spool/rwho".
36089
61f06bd3
ST
36090 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
36091 instead of int.
36092
918d4d71
ST
36093 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
36094 if __dir_mkfile succeeded.
36095
f34d6f84
ST
36096 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
36097 checking for _hurd_dtablesize. Unlock it right after having
36098 finished _hurd_dtable allocation.
36099
10589b4a
TS
361002012-05-10 Thomas Schwinge <thomas@schwinge.name>
36101
674cdbc7
TS
36102 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
36103 * sysdeps/mach/hurd/configure: Regenerated.
36104 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
36105 special-casing to...
36106 * sysdeps/gnu/configure.in: ... this new file.
36107 * sysdeps/unix/sysv/linux/configure: Regenerated.
36108 * sysdeps/gnu/configure: New generated file.
36109
8e41b99f
TS
36110 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
36111 for Linux: use nsec instead of usec, as well as:
36112 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
36113 members of type struct timespec.
36114 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
36115 New macros.
36116 (struct stat64): Likewise.
36117 (_STATBUF_ST_NSEC): New macro.
36118 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
36119
10589b4a
TS
36120 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
36121 __strtoul_internal rather than strtoul.
36122
63643c85
PT
361232012-05-10 Pino Toscano <toscano.pino@tiscali.it>
36124
36125 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
36126 and reject them.
36127
3faebe6a
ST
361282012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
36129
36130 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
36131 which preserves existing values.
36132 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
36133
c6474b07
PT
361342012-05-10 Pino Toscano <toscano.pino@tiscali.it>
36135
36136 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
36137 TIMEOUT values. Return EINVAL for NFDS values either negative or
36138 greater than FD_SETSIZE.
36139
1043890b
ST
361402012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
36141
36142 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
36143 allocated, call __vm_protect to finish enabling the existing space, and
36144 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
36145 allocate the remainder.
36146
37ed8b9b
PT
361472012-05-10 Pino Toscano <toscano.pino@tiscali.it>
36148
36149 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
36150 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
36151
db653660
ST
361522012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
36153
37ed8b9b
PT
36154 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
36155 sysdeps/mach/hurd/readlink.c.
b29d4053 36156
db653660
ST
36157 * posix/tst-sysconf.c (posix_options): Only use
36158 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
36159 _POSIX_SYNCHRONIZED_IO when they are defined
36160 * sysdeps/mach/hurd/bits/posix_opt.h:
36161 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
36162 (_XOPEN_REALTIME): Undefine macro.
36163 (_XOPEN_REALTIME_THREADS): Undefine macro.
36164 (_XOPEN_SHM): Undefine macro.
36165 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
36166 macro to -1.
36167 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
36168 macro to -1.
36169 (_POSIX_ASYNC_IO): Undefine macro.
36170 (_POSIX_PRIORITIZED_IO): Undefine macro.
36171 (_POSIX_SPIN_LOCKS): Define macro to -1.
36172
ee16e894
ST
36173 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
36174 SA_NODEFER, SA_RESETHAND.
36175 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
36176 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
36177 F_DUPFD_CLOEXEC.
36178
6103ae3b
TS
361792012-05-10 Thomas Schwinge <thomas@schwinge.name>
36180
36181 * elf/Makefile (pldd-modules): Define unconditionally.
36182
80b4e5f3
TS
361832012-05-10 Thomas Schwinge <thomas@schwinge.name>
36184
36185 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
36186
edadcbd6
ST
361872012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
36188
36189 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
36190 Return ENOENT when name is empty.
36191 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
36192
80694780
TS
361932012-05-10 Thomas Schwinge <thomas@schwinge.name>
36194
1792c087
TS
36195 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
36196
80694780
TS
36197 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
36198
6b645f0d
ST
361992012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
36200
80694780
TS
36201 Fix mlock in all cases except non-readable pages.
36202 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
36203 instead of VM_PROT_ALL as parameter to __vm_wire function.
66cbbebc 36204
6b645f0d
ST
36205 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
36206 (__mkdir): When path is `/', just fail with EEXIST.
36207 * sysdeps/mach/hurd/mkdirat.c: Likewise.
36208
e468f8a3
TS
362092012-05-10 Thomas Schwinge <thomas@schwinge.name>
36210
36211 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
36212 <sys/uio.h> (for writev).
36213 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
36214 and <sys/param.h> (for MIN).
36215
a4186cff
PT
362162012-05-10 Pino Toscano <toscano.pino@tiscali.it>
36217
36218 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
36219 REQUESTED_TIME. Properly set the remaining time and return EINTR
36220 if interrupted.
36221
510bbf14
TS
362222012-05-10 Thomas Schwinge <thomas@schwinge.name>
36223
36224 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
36225 Depend on against $(link-rpcuserlibs).
36226
5d5722e8
ST
362272012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
36228
a4186cff
PT
36229 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
36230 (__libc_stack_end): Do not use attribute_relro.
36231 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
36232 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
5d5722e8 36233 to libthread-provided value.
a4186cff
PT
36234 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
36235 attribute_relro.
5d5722e8 36236
37233df9
TS
362372012-05-10 Thomas Schwinge <thomas@schwinge.name>
36238
be971a2b
TS
36239 [BZ #3748]
36240 * bits/libc-lock.h (__libc_once_get): New macro.
36241 * sysdeps/mach/bits/libc-lock.h: Likewise.
36242 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
36243 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
36244 instead of using implementation details.
36245
37233df9
TS
36246 * libio/fileops.c: Unconditionally include <kernel-features.h>.
36247 * libio/freopen.c: Likewise.
36248 * libio/freopen64.c: Likewise.
36249 * misc/syslog.c: Likewise.
36250 * nscd/connections.c: Likewise.
36251 * nscd/netgroupcache.c: Likewise.
36252 * sysdeps/posix/getcwd.c: Likewise.
36253
38de94a5
RM
362542012-05-10 Roland McGrath <roland@hack.frob.com>
36255
36256 * math/w_ilogbf.c: Add #include <limits.h>.
36257
67530489
ST
362582012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
36259
a4186cff 36260 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
bbc49098
ST
36261 path instead of returning without unlocking.
36262
67530489
ST
36263 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
36264 immediate-write ioctls.
36265 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
36266
5aa3a74a
TS
362672012-05-10 Thomas Schwinge <thomas@schwinge.name>
36268
18bad2ae
TS
36269 * sysdeps/mach/hurd/i386/init-first.c (init): Use
36270 __builtin_frame_address instead of making assumptions about the
36271 location of the return address relative to DATA. Force early load of
36272 the return address.
36273 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
36274 __builtin_frame_address.
36275
5aa3a74a
TS
36276 dup3 for GNU Hurd.
36277 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
36278 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
36279 implement dup3 and do some further code clean-ups.
36280 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
36281 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
36282
ecd0de9a
ST
362832012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
36284
cd9fa985
ST
36285 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
36286
a4186cff
PT
36287 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
36288 HURD_CRITICAL_END around holding _hurd_dtable_lock.
36289 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
36290 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
36291 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
36292 d->port.lock.
802ca5a5 36293
a4186cff
PT
36294 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
36295 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
36296 when handler == SIG_ERR, not when handler != SIG_ERR.
ecd0de9a 36297
bcf55240
TS
362982012-05-10 Thomas Schwinge <thomas@schwinge.name>
36299
6960eb42
TS
36300 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
36301 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
36302 definitions.
36303
eb43375f
TS
36304 accept4 for GNU Hurd.
36305 * include/sys/socket.h (__libc_accept4): New prototype.
36306 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
36307 to implement __libc_accept4.
36308 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
36309 __libc_accept4.
36310 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
36311
bcf55240
TS
36312 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
36313 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
36314 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
36315 signal-defines.sym.
36316
6178c55b
ST
363172012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
36318
a4186cff 36319 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
6178c55b 36320
6f080c2f
TS
363212012-05-10 Thomas Schwinge <thomas@schwinge.name>
36322
36323 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
36324 assertion on O_CLOEXEC flag.
36325 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
36326 * hurd/intern-fd.c: Likewise.
36327 * hurd/port2fd.c: Likewise.
36328
bcfe3a54
ST
363292012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
36330
36331 [BZ #3906]
36332 * bits/in.h (IPV6_PKTINFO): Define new macro.
36333 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
36334
89c9aa49
AZ
363352012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36336
36337 [BZ #13954]
36338 [BZ #13955]
36339 [BZ #13956]
36340 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
36341 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
36342 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
36343 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
36344 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
36345 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
36346 * math/libm-test.inc (logb_test) : Additional logb tests.
36347
021db4be
AJ
363482012-05-09 Andreas Schwab <schwab@linux-m68k.org>
36349 Andreas Jaeger <aj@suse.de>
36350
36351 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
36352 * configure: Regenerated.
36353 * config.h.in (LINK_OBSOLETE_RPC): New macro.
36354 * config.make.in (link-obsolete-rpc): New substituted variable.
36355 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
36356 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
36357 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
36358 (shared-only-routines): Don't set it under [link-obsolete-rpc],
36359 so that libc.a contains the symbols.
36360 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
36361 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
36362 * sunrpc/auth_none.c: Likewise.
36363 * sunrpc/auth_unix.c: Likewise.
36364 * sunrpc/authdes_prot.c: Likewise.
36365 * sunrpc/authuxprot.c: Likewise.
36366 * sunrpc/clnt_gen.c: Likewise.
36367 * sunrpc/clnt_perr.c: Likewise.
36368 * sunrpc/clnt_raw.c: Likewise.
36369 * sunrpc/clnt_simp.c: Likewise.
36370 * sunrpc/clnt_tcp.c: Likewise.
36371 * sunrpc/clnt_udp.c: Likewise.
36372 * sunrpc/clnt_unix.c: Likewise.
36373 * sunrpc/des_crypt.c: Likewise.
36374 * sunrpc/des_soft.c: Likewise.
36375 * sunrpc/get_myaddr.c: Likewise.
36376 * sunrpc/key_call.c: Likewise.
36377 * sunrpc/key_prot.c: Likewise.
36378 * sunrpc/netname.c: Likewise.
36379 * sunrpc/pm_getmaps.c: Likewise.
36380 * sunrpc/pm_getport.c: Likewise.
36381 * sunrpc/pmap_clnt.c: Likewise.
36382 * sunrpc/pmap_prot.c: Likewise.
36383 * sunrpc/pmap_prot2.c: Likewise.
36384 * sunrpc/pmap_rmt.c: Likewise.
36385 * sunrpc/publickey.c: Likewise.
36386 * sunrpc/rpc_cmsg.c: Likewise.
36387 * sunrpc/rpc_common.c: Likewise.
36388 * sunrpc/rpc_dtable.c: Likewise.
36389 * sunrpc/rpc_prot.c: Likewise.
36390 * sunrpc/rpc_thread.c: Likewise.
36391 * sunrpc/rtime.c: Likewise.
36392 * sunrpc/svc.c: Likewise.
36393 * sunrpc/svc_auth.c: Likewise.
36394 * sunrpc/svc_raw.c: Likewise.
36395 * sunrpc/svc_run.c: Likewise.
36396 * sunrpc/svc_tcp.c: Likewise.
36397 * sunrpc/svc_udp.c: Likewise.
36398 * sunrpc/svc_unix.c: Likewise.
36399 * sunrpc/svcauth_des.c: Likewise.
36400 * sunrpc/xcrypt.c: Likewise.
36401 * sunrpc/xdr.c: Likewise.
36402 * sunrpc/xdr_array.c: Likewise.
36403 * sunrpc/xdr_float.c: Likewise.
36404 * sunrpc/xdr_intXX_t.c: Likewise.
36405 * sunrpc/xdr_mem.c: Likewise.
36406 * sunrpc/xdr_rec.c: Likewise.
36407 * sunrpc/xdr_ref.c: Likewise.
36408 * sunrpc/xdr_sizeof.c: Likewise.
36409 * sunrpc/xdr_stdio.c: Likewise.
36410
b5c086a2
RM
364112012-05-10 Roland McGrath <roland@hack.frob.com>
36412
36413 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
36414 change. Update copyright years.
36415
6d74dd09
JM
364162012-05-10 Joseph Myers <joseph@codesourcery.com>
36417
36418 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
36419
28e72501
MK
364202012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
36421 Joseph Myers <joseph@codesourcery.com>
36422 Paul Pluzhnikov <ppluzhnikov@google.com>
36423
36424 [BZ #14012]
36425 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
36426 requiring rpcgen.
36427 [cross-compiling] (extra-libs): Likewise.
36428 [cross-compiling] (extra-libs-others): Likewise.
36429 [cross-compiling] (librpcsvc-routines): Likewise.
36430 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
36431 [cross-compiling] (omit-deps): Likewise.
36432 (sunrpc-CPPFLAGS): New variable.
36433 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
36434 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
36435 (cross-rpcgen-objs): New variable.
36436 (extra-objs): Append $(cross-rpcgen-objs).
36437 ($(cross-rpcgen-objs)): New rule.
36438 ($(objpfx)cross-rpcgen): Likewise.
36439 (rpcgen-cmd): Define to use $(built-program-file). Expand
36440 comment.
36441 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
36442 ($(objpfx)x%.stmp): Likewise.
36443 * sunrpc/proto.h [IS_IN_build] (_): Define.
36444 [IS_IN_build] (_libc_intl_domainname): Likewise.
36445
c8c59454
L
364462012-05-10 H.J. Lu <hongjiu.lu@intel.com>
36447
36448 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
36449 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
36450 and R_X86_64_TPOFF64.
36451
6f27cd16
JM
364522012-05-10 Joseph Myers <joseph@codesourcery.com>
36453
36454 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
36455 sysdeps/unix/sysv/syscalls.list.
36456 (stime): Likewise.
36457 (utime): Likewise.
36458 * sysdeps/unix/sysv/syscalls.list: Remove file.
36459
02467e1c
PE
364602012-05-10 Paul Eggert <eggert@cs.ucla.edu>
36461
36462 [BZ #3440]
36463 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
36464 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
36465 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
36466 (__LC_IDENTIFICATION): Make these macros useful in #if
36467 expressions, as required by C99.
36468
da392631
AS
364692012-05-10 Andreas Schwab <schwab@linux-m68k.org>
36470
36471 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
36472 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
36473 after this.
36474
8115f29b
L
364752012-05-09 H.J. Lu <hongjiu.lu@intel.com>
36476
36477 * stdlib/longlong.h: Updated from GCC.
36478
bdd74070
AJ
364792012-05-09 Andreas Jaeger <aj@suse.de>
36480
edfe0dbe
AJ
36481 * nscd/nscd.c (run_modes): Make named enum, reorder so that
36482 default is first entry.
36483 (run_mode): Set type.
36484 (main): Remove informal message about syslog.
36485 (options): Fix typo.
36486
bcfe3a54
ST
36487 [BZ #14053]
36488 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
bdd74070 36489 to asm.
bcfe3a54
ST
36490 (lrint): Likewise.
36491 (llrintf): Likewise.
36492 (llrint): Likewise.
36493 (rint): Likewise.
36494 (rintf): Likewise.
36495 (nearbyint): Likewise.
36496 (nearbyintf): Likewise.
bdd74070 36497
91d8d69e
AJ
364982012-05-09 Andreas Jaeger <aj@suse.de>
36499 Pedro Alves <palves@redhat.com>
36500
36501 * nscd/nscd.c (run_mode): Use enum.
36502 (main): Cleanup coding style issue.
36503
bb90b80b
AJ
365042012-05-09 Alexandre Oliva <aoliva@redhat.com>
36505 Andreas Jaeger <aj@suse.de>
36506
bcfe3a54
ST
36507 * nscd/nscd.c (go_background): Replaced with...
36508 (run_mode): ... this.
bb90b80b 36509 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
bcfe3a54
ST
36510 (options): Add -F --foreground.
36511 (main): Implement it.
36512 (parse_opt): Parse it.
bb90b80b 36513
1a4b75a1
AJ
365142012-05-09 Andreas Jaeger <aj@suse.de>
36515
36516 [BZ #14083]
36517 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
36518 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
36519 -Wconversion warning.
36520 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
36521 Likewise.
36522
b1cc2472
JM
365232012-05-09 Joseph Myers <joseph@codesourcery.com>
36524
36525 * conform/data/locale.h-data (NULL): Use macro-constant. Require
36526 == 0.
36527 (LC_ALL): Use macro-int-constant.
36528 (LC_COLLATE): Likewise.
36529 (LC_CTYPE): Likewise.
36530 (LC_MESSAGES): Likewise.
36531 (LC_MONETARY): Likewise.
36532 (LC_NUMERIC): Likewise.
36533 (LC_TIME): Likewise.
36534 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
36535 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
36536 [ISO || ISO99 || ISO11] (*_t): Do not allow.
36537 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
36538 Specify type.
36539 [C99-based standards] (float_t): Expect type.
36540 [C99-based standards] (double_t): Expect type.
36541 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
36542 type.
36543 [C99-based standards] (HUGE_VALL): Likewise.
36544 [C99-based standards] (INFINITY): Likewise.
36545 [C99-based standards] (NAN): Likewise.
36546 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
36547 [C99-based standards] (FP_NAN): Likewise.
36548 [C99-based standards] (FP_NORMAL): Likewise.
36549 [C99-based standards] (FP_SUBNORMAL): Likewise.
36550 [C99-based standards] (FP_ZERO): Likewise.
36551 [C99-based standards] (FP_FAST_FMA): Use
36552 optional-macro-int-constant. Specify type. Require == 1.
36553 [C99-based standards] (FP_FAST_FMAF): Likewise.
36554 [C99-based standards] (FP_FAST_FMAL): Likewise.
36555 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
36556 [C99-based standards] (FP_ILOGBNAN): Likewise.
36557 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
36558 Specify type.
36559 [C99-based standards] (MATH_ERREXCEPT): Likewise.
36560 [C99-based standards] (math_errhandling): Specify type.
36561 [ISO99 || ISO11] (signgam): Do not allow.
36562 [non-C99-based standards] (copysignf): Do not allow.
36563 [non-C99-based standards] (exp2f): Likewise.
36564 [non-C99-based standards] (log2f): Likewise.
36565 [non-C99-based standards] (modff): Allow.
36566 [non-C99-based standards] (erff): Do not allow.
36567 [non-C99-based standards] (erfcf): Likewise.
36568 [non-C99-based standards] (gammaf): Likewise.
36569 [non-C99-based standards] (hypotf): Likewise.
36570 [non-C99-based standards] (j0f): Likewise.
36571 [non-C99-based standards] (j1f): Likewise.
36572 [non-C99-based standards] (jnf): Likewise.
36573 [non-C99-based standards] (lgammaf): Likewise.
36574 [non-C99-based standards] (tgammaf): Likewise.
36575 [non-C99-based standards] (y0f): Likewise.
36576 [non-C99-based standards] (y1f): Likewise.
36577 [non-C99-based standards] (ynf): Likewise.
36578 [non-C99-based standards] (isnanf): Likewise.
36579 [non-C99-based standards] (acoshf): Likewise.
36580 [non-C99-based standards] (asinhf): Likewise.
36581 [non-C99-based standards] (atanhf): Likewise.
36582 [non-C99-based standards] (cbrtf): Likewise.
36583 [non-C99-based standards] (expm1f): Likewise.
36584 [non-C99-based standards] (ilogbf): Likewise.
36585 [non-C99-based standards] (log1pf): Likewise.
36586 [non-C99-based standards] (logbf): Likewise.
36587 [non-C99-based standards] (nextafterf): Likewise.
36588 [non-C99-based standards] (remainderf): Likewise.
36589 [non-C99-based standards] (rintf): Likewise.
36590 [non-C99-based standards] (scalbf): Likewise.
36591 [non-C99-based standards] (copysignl): Likewise.
36592 [non-C99-based standards] (exp2l): Likewise.
36593 [non-C99-based standards] (log2l): Likewise.
36594 [non-C99-based standards] (modfl): Allow.
36595 [non-C99-based standards] (erfl): Do not allow.
36596 [non-C99-based standards] (erfcl): Likewise.
36597 [non-C99-based standards] (gammal): Likewise.
36598 [non-C99-based standards] (hypotl): Likewise.
36599 [non-C99-based standards] (j0l): Likewise.
36600 [non-C99-based standards] (j1l): Likewise.
36601 [non-C99-based standards] (jnl): Likewise.
36602 [non-C99-based standards] (lgammal): Likewise.
36603 [non-C99-based standards] (tgammal): Likewise.
36604 [non-C99-based standards] (y0l): Likewise.
36605 [non-C99-based standards] (y1l): Likewise.
36606 [non-C99-based standards] (ynl): Likewise.
36607 [non-C99-based standards] (isnanl): Likewise.
36608 [non-C99-based standards] (acoshl): Likewise.
36609 [non-C99-based standards] (asinhl): Likewise.
36610 [non-C99-based standards] (atanhl): Likewise.
36611 [non-C99-based standards] (cbrtl): Likewise.
36612 [non-C99-based standards] (expm1l): Likewise.
36613 [non-C99-based standards] (ilogbl): Likewise.
36614 [non-C99-based standards] (log1pl): Likewise.
36615 [non-C99-based standards] (logbl): Likewise.
36616 [non-C99-based standards] (nextafterl): Likewise.
36617 [non-C99-based standards] (remainderl): Likewise.
36618 [non-C99-based standards] (rintl): Likewise.
36619 [non-C99-based standards] (scalbl): Likewise.
36620 [ISO || ISO99 || ISO11] (*_t): Do not allow.
36621 [non-C99-based standards] (FP_*): Do not allow.
36622 [C99-based standards] (FP_*): Change to
36623 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
36624 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
36625 allow.
36626 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
36627 (SIG_ERR): Likewise.
36628 [X/Open-based standards] (SIG_HOLD): Likewise.
36629 (SIG_IGN): Likewise.
36630 (SIGABRT): Use macro-int-constant. Specify type. Require
36631 positive value.
36632 (SIGFPE): Likewise.
36633 (SIGILL): Likewise.
36634 (SIGINT): Likewise.
36635 (SIGSEGV): Likewise.
36636 (SIGTER): Likewise.
36637 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
36638 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
36639 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
36640 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
36641 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
36642 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
36643 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
36644 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
36645 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
36646 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
36647 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
36648 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
36649 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
36650 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
36651 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
36652 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
36653 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
36654 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
36655 [X/Open-based standards] (SIGTRAP): Likewise.
36656 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
36657 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
36658 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
36659 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
36660 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
36661 allow.
36662
b9f1922d
IW
366632012-05-08 Ian Wienand <ianw@vmware.com>
36664
36665 [BZ #14080]
36666 * time/tzset.c (__tzset_parse_tz): Update default rules for
36667 daylight time changes in the Energy Policy Act of 2005.
36668
1db86e88
AJ
366692012-05-09 Andreas Jaeger <aj@suse.de>
36670
36671 [BZ #13983]
36672 * elf/ldconfig.c (parse_conf): Change string to make clear that
36673 ldconfig only issued a warning if ld.so.conf does not exist.
36674
dee4a4e3
DM
366752012-05-08 David S. Miller <davem@davemloft.net>
36676
ee0db190
DM
36677 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
36678 movxtod instead of popping the value on the stack.
36679
dee4a4e3
DM
36680 * sysdeps/sparc/fpu/libm-test-ulps: Update.
36681
6a43ec98
CD
366822012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
36683
36684 * config.h.in: Add HAVE_ARM_PCS_VFP.
36685
05c2c961
RMG
366862012-05-08 Roland Mc Grath <roland@hack.frob.com>
36687
bcfe3a54
ST
36688 [BZ #13979]
36689 * include/features.h: Warn if user requests __FORTIFY_SOURCE
36690 checking but the checks are disabled for any reason.
05c2c961 36691
4b30f61a
L
366922012-05-08 H.J. Lu <hongjiu.lu@intel.com>
36693
36694 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
36695 and ELF64_R_TYPE with ELFW(R_TYPE).
36696
eee2bc67
JM
366972012-05-08 Joseph Myers <joseph@codesourcery.com>
36698
7ea5391a
JM
36699 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
36700 (ulimit): Likewise.
36701
eee2bc67
JM
36702 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
36703 (settimeofday): Likewise.
36704
abb66a67
MF
367052012-05-08 Mike Frysinger <vapier@gentoo.org>
36706
36707 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
36708 a struct th_u2 inside the union, and move tu_block/tu_code into
36709 a new th_u3 union of tu_block/tu_code inside of that. Move
36710 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
36711 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
36712 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
36713 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
36714 (th_stuff): Change to th_u1.tu_stuff.
36715 (th_data): Define.
36716 (th_msg): Change to th_u1.th_u2.tu_data.
36717
7f18b530
DM
367182012-05-07 David S. Miller <davem@davemloft.net>
36719
05760585
DM
36720 * sysdeps/sparc/fpu/libm-test-ulps: Update.
36721
7f18b530
DM
36722 [BZ #14074]
36723 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
36724 (SETUP_PIC_REG): Use it.
36725 (SETUP_PIC_REG_LEAF): Use it.
36726
495fd99f
JM
367272012-05-07 Joseph Myers <joseph@codesourcery.com>
36728
36729 [BZ #13885]
36730 [BZ #13923]
36731 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
36732 USE_AS_EXPM1L.
36733 (EXPL_FINITE): Likewise.
36734 (FLDLOG): Likewise.
36735 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
36736 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
36737 e_expl.S.
36738 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
36739 USE_AS_EXPM1L.
36740 (EXPL_FINITE): Likewise.
36741 (FLDLOG): Likewise.
36742 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
36743 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
36744 e_expl.S.
36745 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
36746 test of -max_value argument for long double.
36747 * sysdeps/i386/fpu/libm-test-ulps: Update.
36748 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36749
6693d694
DM
367502012-05-06 David S. Miller <davem@davemloft.net>
36751
36752 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
36753 quad soft-float symbols whose references which are compiler
36754 generated.
36755 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
36756
6c23e11c
JM
367572012-05-06 Joseph Myers <joseph@codesourcery.com>
36758
d8b82cad
JM
36759 [BZ #13884]
36760 [BZ #13914]
36761 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
36762 USE_AS_EXP10L.
36763 (EXPL_FINITE): Likewise.
36764 (FLDLOG): Likewise.
36765 (c0): Likewise.
36766 (c1): Likewise.
36767 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
36768 Adjust comments for base varying.
36769 (__expl_finite): Change alias to EXPL_FINITE.
36770 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
36771 e_expl.S.
36772 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
36773 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
36774 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
36775 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
36776 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
36777 USE_AS_EXP10L.
36778 (EXPL_FINITE): Likewise.
36779 (FLDLOG): Likewise.
36780 (c0): Likewise.
36781 (c1): Likewise.
36782 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
36783 Adjust comments for base varying.
36784 (__expl_finite): Change alias to EXPL_FINITE.
36785 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
36786 tests for bugs.
36787 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
36788
6c23e11c
JM
36789 [BZ #14064]
36790 * math/libm-test.inc (check_float_internal): Correct ulp
36791 calculation for subnormal expected results.
36792
29ba805c
AJ
367932012-05-06 Andreas Jaeger <aj@suse.de>
36794
36795 * Makeconfig (+math-flags): New, set to -frounding-math.
36796 (+cflags): Add +math-flags so that all of glibc gets compiled with
36797 it.
36798
36799 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
36800
7b17aeda
JM
368012012-05-05 Joseph Myers <joseph@codesourcery.com>
36802
5779f134
JM
36803 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
36804 Disable one test.
36805
41498f4d
JM
36806 [BZ #13787]
36807 [BZ #13922]
36808 [BZ #14036]
36809 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
36810 (__ieee754_expl): Allow for and saturate large arguments.
36811 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
36812 (u_threshold): Likewise.
36813 (__exp): Call __ieee754_exp before checking for overflow and
36814 underflow.
36815 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
36816 (u_threshold): Likewise.
36817 (__expf): Call __ieee754_expf before checking for overflow and
36818 underflow.
36819 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
36820 (u_threshold): Likewise.
36821 (__expl): Call __ieee754_expl before checking for overflow and
36822 underflow.
36823 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
36824 (__ieee754_expl): Allow for and saturate large arguments.
36825 * math/libm-test.inc (exp_test): Add another test. Do not allow
36826 missing overflow exception on overflow.
36827 (expm1_test): Do not allow missing overflow exception on overflow.
36828
6698b8bf
JM
36829 * sysdeps/i386/fpu/e_expl.c: Move to ...
36830 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
36831 rather than using inline asm.
36832 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
36833 * sysdeps/x86_64/fpu/e_expl.S: Copy from
36834 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
36835
7b17aeda
JM
36836 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
36837 (nice): Likewise.
36838 (poll): Likewise.
36839 (signal): Likewise.
36840 (time): Likewise.
36841 (times): Likewise.
36842
f7c85819
JM
368432012-05-04 Joseph Myers <joseph@codesourcery.com>
36844
36845 * sysdeps/unix/syscalls.list (adjtime): Add entry from
36846 sysdeps/unix/common/syscalls.list.
36847 (fchmod): Likewise.
36848 (fchown): Likewise.
36849 (ftruncate): Likewise.
36850 (getrusage): Likewise.
36851 (gettimeofday): Likewise.
36852 (setpgid): Likewise.
36853 (setregid): Likewise.
36854 (setreuid): Likewise.
36855 (sigaction): Likewise.
36856 (truncate): Likewise.
36857 (vhangup): Likewise.
36858 * sysdeps/unix/common/syscalls.list: Remove file.
36859 * sysdeps/unix/bsd/Implies: Don't include unix/common.
36860 * sysdeps/unix/sysv/linux/Implies: Likewise.
36861
336270d0
L
368622012-05-04 H.J. Lu <hongjiu.lu@intel.com>
36863
36864 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
36865 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
36866 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
36867 Moved to ...
36868 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
36869 Here.
36870 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
36871 to ...
36872 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
36873 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
36874 to ...
36875 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
36876 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
36877 to ...
36878 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
36879 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
36880 to ...
36881 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
36882 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
36883 to ...
36884 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
36885 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
36886 to ...
36887 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
36888 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
36889 to ...
36890 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
36891 Here.
36892 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
36893 to ...
36894 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
36895 Here.
36896 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
36897 to ...
36898 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
36899 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
36900 Moved to ...
36901 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
36902 Here.
36903 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
36904 to ...
36905 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
36906
d128e450
JM
369072012-05-04 Joseph Myers <joseph@codesourcery.com>
36908
fa8ee516
JM
36909 * sysdeps/unix/common/bits/dirent.h: Remove file.
36910 * sysdeps/unix/common/bits/fcntl.h: Likewise.
36911
d128e450
JM
36912 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
36913 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
36914 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
36915 * sysdeps/unix/bsd/isatty.c: Likewise.
36916 * sysdeps/unix/bsd/tcdrain.c: Likewise.
36917 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
36918 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
36919
ff8faaf0 369202012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31dc8730 36921
62881be4 36922 [BZ #13563]
31dc8730
AZ
36923 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
36924 long double comparison inaccuracies.
36925 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
36926 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36927
6fef930c
AS
369282012-05-04 Andreas Schwab <schwab@linux-m68k.org>
36929
36930 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
36931 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
36932
8f203e6c
JM
369332012-05-04 Joseph Myers <joseph@codesourcery.com>
36934
36935 [BZ #14049]
36936 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
36937 nonzero digits before rounding a hex value.
36938 * stdlib/tst-strtod.c (tests): Add another test.
36939
5197d9c2
AK
369402012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
36941
36942 * sysdeps/s390/fpu/libm-test-ulps: Update.
36943
f0c1dedf
AJ
369442012-05-03 Andreas Jaeger <aj@suse.de>
36945
36946 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
36947 does not get optimized out.
36948 (malloc_opt_barrier): New.
36949
a65ef2ae 369502012-05-03 Andreas Jaeger <aj@suse.de>
461b8e5a 36951 Roland McGrath <roland@hack.frob.com>
a65ef2ae 36952
2b942cb7 36953 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
a65ef2ae 36954 intermediate file deletion.
2b942cb7 36955 (generated): Add .symlist files.
a65ef2ae 36956
54b71e02
JM
369572012-05-03 Joseph Myers <joseph@codesourcery.com>
36958
36959 [BZ #13775]
36960 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
36961 Redirect under this condition.
36962 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
36963 [__USE_GNU] (__dprintf_chk): Not under this condition.
36964 [__USE_GNU] (__vdprintf_chk): Likewise.
36965 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
36966 under this condition.
36967 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
36968 [__USE_XOPEN2K8] (dprintf): Define under this condition.
36969 [__USE_XOPEN2K8] (vdprintf): Likewise.
36970 [__USE_GNU] (__dprintf_chk): Not under this condition.
36971 [__USE_GNU] (__vdprintf_chk): Likewise.
36972 [__USE_GNU] (dprintf): Likewise.
36973 [__USE_GNU] (vdprintf): Likewise.
36974
d3dfcc41
RM
369752012-05-03 Roland McGrath <roland@hack.frob.com>
36976
36977 * elf/Makefile (common-generated): Set this instead of generated for
36978 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
36979 $(all-built-dso)-derived lists.
36980
7ac30cc5
AJ
369812012-05-03 Andreas Jaeger <aj@suse.de>
36982
0c51e550
AJ
36983 * sysdeps/i386/fpu/libm-test-ulps: Update.
36984
7ac30cc5
AJ
36985 * FAQ: Removed.
36986 * FAQ.in: Likewise.
36987 * scripts/gen-FAQ.pl: Likewise.
36988 * manual/install.texi (Installation): Point to online location of
36989 FAQ.
36990 * Makefile (files-for-dist): Remove FAQ.
36991 (FAQ): Remove.
36992
d4c2917f
AM
369932012-05-02 Allan McRae <allan@archlinux.org>
36994
36995 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
36996 (LDFLAGS-reldepmod5.so): Likewise.
36997 (LDFLAGS-reldep6mod1.so): Likewise.
36998 (LDFLAGS-reldep6mod4.so): Likewise.
36999 (LDFLAGS-reldep8mod3.so): Likewise.
37000 (LDFLAGS-unload4mod1.so): Likewise.
37001 (LDFLAGS-unload4mod2.so): Likewise.
37002 (LDFLAGS-tst-initorder): Likewise.
37003 (LDFLAGS-tst-initordera2.so): Likewise.
37004 (LDFLAGS-tst-initordera3.so): Likewise.
37005 (LDFLAGS-tst-initordera4.so): Likewise.
37006 (LDFLAGS-tst-initorderb2.so): Likewise.
37007 (LDFLAGS-noload): Likewise.
37008 (LDFLAGS-next): Likewise.
37009 (LDFLAGS-order2mod1.so): Likewise.
37010 (LDFLAGS-order2mod2.so): Likewise.
37011 (LDFLAGS-tst-initorder2): Likewise.
37012 (LDFLAGS-tst-initorder2a.so): Likewise.
37013 (LDFLAGS-tst-initorder2b.so): Likewise.
37014 (LDFLAGS-tst-initorder2c.so): Likewise.
37015 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
37016
d77f993f
DM
370172012-05-02 David S. Miller <davem@davemloft.net>
37018
37019 * sysdeps/sparc/fpu/libm-test-ulps: Update.
37020
171a70b4
PP
370212012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
37022
37023 [BZ #14055]
37024 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
37025
0be196ad
AJ
370262012-05-02 Andreas Jaeger <aj@suse.de>
37027
37028 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
37029 since we manipulate rounding mode.
37030 (CPPFLAGS-test-idouble.c): Likewise.
37031 (CPPFLAGS-test-ifloat.c): Likewise.
37032 (CFLAGS-test-ldouble.c): Likewise.
37033 (CFLAGS-test-double.c): Likewise.
37034 (CFLAGS-test-float.c): Likewise.
37035 (CFLAGS-test-misc.c): Likewise.
37036 (CFLAGS-test-test-fenv.c): Likewise.
37037
4f9d04aa
AZ
370382012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37039
2b942cb7
RM
37040 [BZ #2550]
37041 [BZ #2570]
37042 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
37043 comparisons to determine direction to adjust input.
4f9d04aa 37044
82a79e7d
RM
370452012-05-01 Roland McGrath <roland@hack.frob.com>
37046
f5a01ca9
RM
37047 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
37048 output to the target.
37049
90fe4186
RM
37050 * scripts/localplt.awk: New file.
37051 * elf/Makefile ($(objpfx)check-localplt): Target removed.
37052 (check-localplt-CFLAGS): Variable removed.
37053 ($(all-built-dso:=.jmprel)): New static pattern rule.
37054 (generated): Add those targets.
37055 (localplt-built-dso): New variable.
37056 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
37057
37058 * elf/check-localplt.c: File removed.
37059
82397ed6
RM
37060 * scripts/check-execstack.awk: New file.
37061 * elf/Makefile ($(objpfx)check-execstack): Target removed.
37062 (check-execstack-CFLAGS): Variable removed.
37063 ($(objpfx)check-execstack.h): Target removed.
37064 ($(objpfx)execstack-default): New target.
37065 (generated): Add that instead of check-execstack.h.
37066 ($(all-built-dso:=.phdr)): New static pattern rule.
37067 (generated): Add those targets.
37068 * elf/check-execstack.c: File removed.
37069
82a79e7d
RM
37070 * scripts/check-textrel.awk: New file.
37071 * elf/Makefile ($(objpfx)check-textrel): Target removed.
37072 (check-textrel-CFLAGS): Variable removed.
37073 (all-built-dso): Use := to define.o
37074 ($(all-built-dso:=.dyn)): New static pattern rule.
37075 (generated): Add those targets.
37076 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
37077 * config.make.in (READELF): New substituted variable.
37078 * elf/check-textrel.c: File removed.
37079
62fde54f 370802012-05-01 Joseph Myers <joseph@codesourcery.com>
ee74b9cb 37081
615605c9
JM
37082 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
37083 allow.
37084 * conform/data/ctype.h-data [C99-based standards] (isblank):
37085 Expect function.
37086 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
37087 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
37088 [ISO || ISO99 || ISO11] (*_t): Do not allow.
37089 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
37090 Specify type. Require positive value.
37091 (EILSEQ): Likewise.
37092 (ERANGE): Likewise.
37093 [ISO || POSIX] (EILSEQ): Do not expect.
37094 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
37095 Specify type. Require positive value.
37096 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
37097 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
37098 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
37099 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
37100 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
37101 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
37102 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
37103 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
37104 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
37105 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
37106 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
37107 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
37108 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
37109 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
37110 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
37111 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
37112 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
37113 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
37114 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
37115 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
37116 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
37117 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
37118 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
37119 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
37120 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
37121 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
37122 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
37123 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
37124 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
37125 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
37126 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
37127 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
37128 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
37129 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
37130 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
37131 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
37132 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
37133 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
37134 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
37135 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
37136 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
37137 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
37138 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
37139 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
37140 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
37141 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
37142 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
37143 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
37144 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
37145 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
37146 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
37147 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
37148 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
37149 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
37150 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
37151 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
37152 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
37153 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
37154 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
37155 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
37156 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
37157 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
37158 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
37159 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
37160 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
37161 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
37162 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
37163 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
37164 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
37165 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
37166 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
37167 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
37168 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
37169 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
37170 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
37171 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
37172 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
37173 Require >= 2.
37174 (FLT_ROUNDS): Expect as macro, not constant.
37175 (FLT_MANT_DIG): Use macro-int-constant.
37176 (DBL_MANT_DIG): Likewise.
37177 (LDBL_MANT_DIG): Likewise.
37178 (FLT_DIG): Likewise.
37179 (DBL_DIG): Likewise.
37180 (LDBL_DIG): Likewise.
37181 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
37182 (DBL_MIN_EXP): Likewise.
37183 (LDBL_MIN_EXP): Likewise.
37184 (FLT_MAX_EXP): Use macro-int-constant.
37185 (DBL_MAX_EXP): Likewise.
37186 (LDBL_MAX_EXP): Likewise.
37187 (FLT_MAX_10_EXP): Likewise.
37188 (DBL_MAX_10_EXP): Likewise.
37189 (LDBL_MAX_10_EXP): Likewise.
37190 (FLT_MAX): Use macro-constant.
37191 (DBL_MAX): Likewise.
37192 (LDBL_MAX): Likewise.
37193 (FLT_EPSILON): Use macro-constant. Give upper bound.
37194 (DBL_EPSILON): Likewise.
37195 (LDBL_EPSILON): Likewise.
37196 (FLT_MIN): Likewise.
37197 (DBL_MIN): Likewise.
37198 (LDBL_MIN): Likewise.
37199 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
37200 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
37201 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
37202 [ISO11] (FLT_HAS_SUBNORM): Likewise.
37203 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
37204 [ISO11] (DBL_DECIMAL_DIG): Likewise.
37205 [ISO11] (FLT_DECIMAL_DIG): Likewise.
37206 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
37207 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
37208 [ISO11] (FLT_TRUE_MIN): Likewise.
37209 [ISO11] (LDBL_TRUE_MIN): Likewise.
37210 [ISO || ISO99 || ISO11] (*_t): Do not allow.
37211 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
37212 (SCHAR_MIN): Use macro-int-constant. Specify type.
37213 (SCHAR_MAX): Likewise.
37214 (UCHAR_MAX): Likewise.
37215 (CHAR_MIN): Likewise.
37216 (CHAR_MAX): Likewise.
37217 (MB_LEN_MAX): Use macro-int-constant.
37218 (SHRT_MIN): Use macro-int-constant. Specify type.
37219 (SHRT_MAX): Likewise.
37220 (USHRT_MAX): Likewise.
37221 (INT_MAX): Likewise.
37222 (INT_MIN): Use macro-int-constant. Specify type. Make upper
37223 bound negative.
37224 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
37225 bound with "U".
37226 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
37227 bound with "L".
37228 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
37229 bound negative. Suffix upper bound with "L".
37230 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
37231 bound with "UL".
37232 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
37233 Specify type.
37234 [C99-based standards] (LLONG_MAX): Likewise.
37235 [C99-based standards] (ULLONG_MAX): Likewise.
37236 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
37237 == 0.
37238 [ISO11] (max_align_t): Require type.
37239 [ISO || ISO99 || ISO11] (*_t): Do not allow.
37240
c9140a62
JM
37241 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
37242 from $CFLAGS, without defining away __attribute__ calls.
37243 (checknamespace): Use $CFLAGS_namespace.
37244
9af0bf29
JM
37245 * conform/conformtest.pl (@keywords): Only include C99 keywords
37246 for standards based on C99 or C11.
37247
343222a2
JM
37248 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
37249 Disable tests.
37250 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
37251 UNIX98]: Likewise.
37252
661f8cf0
JM
37253 * conform/conformtest.pl: Handle "macro-int-constant" and test for
37254 usability of symbols in #if.
37255
ee74b9cb
JM
37256 * conform/conformtest.pl: If macro or constant types start
37257 "promoted:", expect the symbol to be of the following type
37258 promoted by the integer promotions.
62fde54f 37259
aafc49b3
JM
37260 * conform/conformtest.pl: Parse all "constant" and "macro" lines
37261 in one place. Also handle "macro-constant".
37262
fefdf574
JM
37263 * conform/conformtest.pl: Only accept expected macro values with
37264 "==". Parse all "macro" lines in one place.
37265 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
37266
f2d922fe
JM
37267 * conform/conformtest.pl: Handle braced types on "constant" lines
37268 instead of handling "typed-constant".
37269 * conform/data/signal.h-data: Use "constant" instead of
37270 "typed-constant".
37271
d22956c9
JM
37272 * conform/conformtest.pl: Handle "optional-" at start of lines in
37273 one place rather than duplicating several cases. Handle each
37274 format of "macro" line with initial "optional-".
37275
028e2e38
JM
37276 * conform/conformtest.pl: Only accept expected constant or
37277 optional-constant values with "==". Parse all "constant" lines in
37278 one place. Parse all "optional-constant" lines in one place.
37279 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
37280 * conform/data/fmtmsg.h-data: Likewise.
37281 * conform/data/netinet/in.h-data: Likewise.
37282 * conform/data/tar.h-data: Likewise.
37283 * conform/data/limits.h-data: Use "==" form on "constant" and
37284 "optional-constant" lines.
37285
1b8f2850
JM
37286 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
37287 Use -std=c99 for XOPEN2K.
37288 (@knownproblems): Remove.
37289 (newtoken): Don't check %isknown.
37290
a05a144b
JM
37291 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
37292 Do not expect macro.
37293 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
37294 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
37295 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
37296 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
37297 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
37298 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
37299 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
37300 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
37301 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
37302 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
37303 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
37304 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
37305 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
37306 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
37307 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
37308 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
37309 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
37310 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
37311 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
37312 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
37313 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
37314 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
37315 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
37316 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
37317 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
37318 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
37319 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
37320 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
37321 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
37322 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
37323 [XPG3] (acosh): Likewise.
37324 [XPG3] (asinh): Likewise.
37325 [XPG3] (atanh): Likewise.
37326 [XPG3] (cbrt): Likewise.
37327 [XPG3] (expm1): Likewise.
37328 [XPG3] (ilogb): Likewise.
37329 [XPG3] (log1p): Likewise.
37330 [XPG3] (logb): Likewise.
37331 [XPG3] (nextafter): Likewise.
37332 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
37333 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
37334 [XPG3] (remainder): Likewise.
37335 [XPG3] (rint): Likewise.
37336 [XPG3 || XPG4 || UNIX98] (round): Likewise.
37337 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
37338 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
37339 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
37340 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
37341 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
37342 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
37343 [UNIX98 || XOPEN2K] (scalb): Expect.
37344 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
37345 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
37346 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
37347 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
37348 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
37349 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
37350 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
37351 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
37352 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
37353 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
37354 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
37355 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
37356 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
37357 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
37358 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
37359 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
37360 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
37361 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
37362 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
37363 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
37364 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
37365 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
37366 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
37367 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
37368 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
37369 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
37370 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
37371 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
37372 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
37373 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
37374 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
37375 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
37376 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
37377 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
37378 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
37379 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
37380 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
37381 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
37382 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
37383 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
37384 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
37385 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
37386 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
37387 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
37388 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
37389 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
37390 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
37391 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
37392 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
37393 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
37394 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
37395 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
37396 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
37397 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
37398 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
37399 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
37400 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
37401 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
37402 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
37403 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
37404 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
37405 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
37406 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
37407 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
37408 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
37409 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
37410 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
37411 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
37412 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
37413 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
37414 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
37415 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
37416 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
37417 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
37418 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
37419 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
37420 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
37421 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
37422 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
37423 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
37424 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
37425 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
37426 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
37427 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
37428 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
37429 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
37430 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
37431 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
37432 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
37433 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
37434 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
37435 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
37436 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
37437 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
37438 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
37439 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
37440 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
37441 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
37442 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
37443 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
37444 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
37445 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
37446 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
37447 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
37448 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
37449 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
37450 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
37451 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
37452 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
37453 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
37454 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
37455 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
37456 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
37457 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
37458 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
37459 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
37460 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
37461 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
37462 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
37463 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
37464 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
37465 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
37466 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
37467 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
37468 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
37469 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
37470 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
37471 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
37472 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
37473 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
37474 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
37475 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
37476 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
37477 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
37478 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
37479 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
37480 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
37481
73c5ebe3
JM
37482 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
37483 _XOPEN_SOURCE_EXTENDED for XPG4.
37484
39c33b6c
JM
37485 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
37486
62fde54f
JM
37487 * Makeconfig (localtime): Remove variable.
37488 (inst_localtime-file): Likewise.
37489
0741d64c
AS
374902012-05-01 Andreas Schwab <schwab@linux-m68k.org>
37491
37492 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
37493 Update.
37494 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
37495 Update.
37496 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
37497 Update.
37498 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
37499 Update.
37500 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
37501 Update.
37502 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
37503 Update.
37504 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
37505 Update.
37506 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
37507 Update.
37508 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
37509 Update.
37510
7cb029ee
JM
375112012-05-01 Joseph Myers <joseph@codesourcery.com>
37512
37513 [BZ #2550]
37514 [BZ #2570]
37515 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
37516 comparisons to determine direction to adjust input.
37517 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
37518 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
37519 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
37520 Likewise.
37521 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
37522 Likewise.
37523 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
37524 Likewise.
37525 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
37526 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
37527 Likewise.
37528 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
37529 Likewise.
37530 * math/libm-test.inc (nexttoward_test): Add more tests.
37531
412bd966
AS
375322012-05-01 Andreas Schwab <schwab@linux-m68k.org>
37533
37534 [BZ #14040]
37535 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
37536 in version GLIBC_2.1, not GLIBC_2.0.
37537 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
37538 Likewise.
37539
9568c0c2
JM
375402012-04-30 Joseph Myers <joseph@codesourcery.com>
37541
adfbc8ac
JM
37542 [BZ #13942]
37543 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
37544 (1 - x) * (1 + x).
37545 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
37546 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
37547 * math/libm-test.inc (acos_test): Add more tests.
37548 (asin_test): Likewise.
37549 * sysdeps/i386/fpu/libm-test-ulps: Update.
37550 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37551
5ba3cc69
JM
37552 [BZ #14034]
37553 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
37554 of square root.
37555 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
37556 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
37557 * math/libm-test.inc (acos_test_tonearest): New function.
37558 (acos_test_towardzero): Likewise.
37559 (acos_test_downward): Likewise.
37560 (acos_test_upward): Likewise.
37561 (asin_test_tonearest): Likewise.
37562 (asin_test_towardzero): Likewise.
37563 (asin_test_downward): Likewise.
37564 (asin_test_upward): Likewise.
37565 (main): Call the new functions.
37566 * sysdeps/i386/fpu/libm-test-ulps: Update.
37567 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
37568
9568c0c2
JM
37569 [BZ #13884]
37570 [BZ #13924]
37571 * math/e_exp10.c: Include <float.h>.
37572 (__ieee754_exp10): Handle underflow here rather than multiplying
37573 large negative argument by M_LN10.
37574 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
37575 of __ieee754_expf.
37576 * math/e_exp10l.c: Include <float.h>.
37577 (__ieee754_exp10l): Handle underflow here rather than multiplying
37578 large negative argument by M_LN10l.
37579 * math/libm-test.inc (exp10_test): Add another test. Do not allow
37580 spurious overflow exception on underflow.
37581
5ac3ea17
MP
375822012-04-29 Marek Polacek <polacek@redhat.com>
37583
37584 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
37585 (__fortify_function): New macro.
37586 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
37587 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
37588 __extern_always_inline.
37589 * libio/bits/stdio2.h: Likewise.
37590 * libio/bits/stdio.h: Likewise.
37591 * string/string.h: Likewise.
37592 * string/bits/string3.h: Likewise.
37593 * include/stdio.h: Likewise.
37594 * stdlib/bits/stdlib.h: Likewise.
37595 * stdlib/stdlib.h: Likewise.
37596 * rt/bits/mqueue2.h: Likewise.
37597 * rt/mqueue.h: Likewise.
37598 * posix/bits/unistd.h: Likewise.
37599 * posix/unistd.h: Likewise.
37600 * io/bits/poll2.h: Likewise.
37601 * io/bits/fcntl2.h: Likewise.
37602 * io/fcntl.h: Likewise.
37603 * io/sys/poll.h: Likewise.
37604 * misc/bits/syslog.h: Likewise.
37605 * misc/bits/syslog-ldbl.h: Likewise.
37606 * misc/sys/syslog.h: Likewise.
37607 * socket/bits/socket2.h: Likewise.
37608 * socket/sys/socket.h: Likewise.
37609 * debug/tst-chk1.c: Likewise.
37610 * wcsmbs/bits/wchar2.h: Likewise.
37611 * wcsmbs/bits/wchar-ldbl.h: Likewise.
37612 * wcsmbs/wchar.h: Likewise.
37613
ecf0ebfb
AJ
376142012-04-29 Andreas Jaeger <aj@suse.de>
37615
37616 * Makerules (tests): Remove enable-check-abi protection.
37617 (check-abi-warn): Remove.
37618 (check-abi-%): Remove check-abi-warn usage.
37619
37620 * configure.in: Remove check-abi configure option.
37621 * configure: Regenerated.
37622 * config.make.in (enable-check-abi): Remove.
37623
6d5c57fa
AS
376242012-04-28 Andreas Schwab <schwab@linux-m68k.org>
37625
24c5d07e 37626 [BZ #14033]
ded5180a
AS
37627 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
37628 double functions to double *_finite functions.
37629
7e0d315d
AS
37630 [BZ #13941]
37631 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
37632 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
37633 LDBL_MIN_EXP.
37634 * stdio-common/Makefile (tests): Add tst-sprintf3.
37635 * stdio-common/tst-sprintf3.c: New file.
37636
6d5c57fa
AS
37637 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
37638 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
37639
0749ff8b
JM
376402012-04-28 Joseph Myers <joseph@codesourcery.com>
37641
37642 * conform/conformtest.pl: Remove duplicate typed-constant
37643 handling.
37644
8dbd5d7b
DM
376452012-04-28 David S. Miller <davem@davemloft.net>
37646
37647 * Makerules (%.abilist): Add vpath on sysdep_dirs.
37648 (check-abi-%): Remove AWK script prerequisite and explicit
37649 abilist directory.
37650 (check-abi): Rewrite to just diff the symlist with the abilist.
37651 (config-tls, config-abi-config): Delete, no longer used.
37652 (update-abi-%): Remove AWK script and explicit abilist directory.
37653 (update-abi): Rewrite to simply compare and conditionally copy the
37654 symlist and the sysdep abilist file. Remove update-abi-config
37655 checks.
37656 * abilist/ld.abilist: Remove.
37657 * abilist/libBrokenLocale.abilist: Remove.
37658 * abilist/libanl.abilist: Remove.
37659 * abilist/libcrypt.abilist: Remove.
37660 * abilist/libdl.abilist: Remove.
37661 * abilist/librt.abilist: Remove.
37662 * abilist/libthread_db.abilist: Remove.
37663 * abilist/libutil.abilist: Remove.
37664 * scripts/extract-abilist.awk: Remove.
37665 * scripts/merge-abilist.awk: Remove.
37666 * sysdeps/generic/libcidn.abilist: New file.
37667 * sysdeps/generic/libnss_compat.abilist: New file.
37668 * sysdeps/generic/libnss_db.abilist: New file.
37669 * sysdeps/generic/libnss_dns.abilist: New file.
37670 * sysdeps/generic/libnss_files.abilist: New file.
37671 * sysdeps/generic/libnss_hesiod.abilist: New file.
37672 * sysdeps/generic/libnss_nis.abilist: New file.
37673 * sysdeps/generic/libnss_nisplus.abilist: New file.
37674 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
37675 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
37676 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
37677 file.
37678 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
37679 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
37680 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
37681 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
37682 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
37683 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
37684 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
37685 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
37686 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
37687 file.
37688 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
37689 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
37690 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
37691 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
37692 file.
37693 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
37694 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
37695 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
37696 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
37697 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
37698 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
37699 file.
37700 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
37701 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
37702 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
37703 file.
37704 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
37705 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
37706 New file.
37707 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
37708 New file.
37709 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
37710 New file.
37711 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
37712 New file.
37713 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
37714 New file.
37715 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
37716 New file.
37717 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
37718 New file.
37719 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
37720 New file.
37721 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
37722 New file.
37723 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
37724 New file.
37725 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
37726 New file.
37727 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
37728 New file.
37729 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
37730 New file.
37731 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
37732 file.
37733 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
37734 New file.
37735 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
37736 New file.
37737 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
37738 file.
37739 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
37740 New file.
37741 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
37742 New file.
37743 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
37744 file.
37745 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
37746 New file.
37747 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
37748 New file.
37749 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
37750 New file.
37751 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
37752 New file.
37753 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
37754 New file.
37755 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
37756 New file.
37757 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
37758 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
37759 file.
37760 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
37761 New file.
37762 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
37763 file.
37764 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
37765 file.
37766 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
37767 file.
37768 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
37769 file.
37770 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
37771 file.
37772 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
37773 New file.
37774 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
37775 file.
37776 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
37777 file.
37778 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
37779 New file.
37780 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
37781 file.
37782 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
37783 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
37784 file.
37785 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
37786 New file.
37787 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
37788 file.
37789 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
37790 file.
37791 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
37792 file.
37793 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
37794 file.
37795 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
37796 file.
37797 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
37798 New file.
37799 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
37800 file.
37801 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
37802 file.
37803 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
37804 New file.
37805 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
37806 file.
37807 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
37808 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
37809 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
37810 file.
37811 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
37812 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
37813 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
37814 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
37815 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
37816 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
37817 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
37818 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
37819 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
37820 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
37821 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
37822 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
37823 file.
37824 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
37825 New file.
37826 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
37827 file.
37828 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
37829 file.
37830 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
37831 file.
37832 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
37833 file.
37834 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
37835 file.
37836 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
37837 New file.
37838 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
37839 New file.
37840 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
37841 file.
37842 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
37843 New file.
37844 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
37845 file.
37846 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
37847 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
37848 file.
37849 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
37850 New file.
37851 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
37852 file.
37853 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
37854 file.
37855 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
37856 file.
37857 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
37858 file.
37859 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
37860 file.
37861 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
37862 New file.
37863 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
37864 New file.
37865 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
37866 file.
37867 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
37868 New file.
37869 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
37870 file.
37871
41d73a1b
JM
378722012-04-28 Joseph Myers <joseph@codesourcery.com>
37873
37874 * conform/conformtest.pl: Fix typo in handling typed-constant from
37875 allow-header.
37876
28aeeda4
JM
378772012-04-27 Joseph Myers <joseph@codesourcery.com>
37878
adae8f5e
JM
37879 * README: Cut down references to pre-2.6 Linux kernels and
37880 Linuxthreads. Update lists of configurations in libc and ports
37881 and sort alphabetically. Say "or newer" with Linux kernel version
37882 requirements.
37883
28aeeda4
JM
37884 * config.h.in [IS_IN_build]: Allow compiling without optimization.
37885
a462cb63
RA
378862012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
37887
37888 [BZ #887]
37889 * math/libm-test.inc (logb_test_downward): New test to expose
37890 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
37891 rounding mode.
37892
6ad3493e
JM
378932012-04-27 Joseph Myers <joseph@codesourcery.com>
37894
37895 [BZ #14027]
37896 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
37897 to be done.
37898 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
37899 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
37900
2ce4f015
JM
379012012-04-26 Joseph Myers <joseph@codesourcery.com>
37902
5aeb141a
JM
37903 * sysdeps/unix/i386/brk.S: Remove file.
37904 * sysdeps/unix/i386/dl-brk.S: Likewise.
37905 * sysdeps/unix/i386/pipe.S: Likewise.
37906 * sysdeps/unix/i386/sigreturn.S: Likewise.
37907 * sysdeps/unix/i386/syscall.S: Likewise.
37908 * sysdeps/unix/i386/vfork.S: Likewise.
37909 * sysdeps/unix/i386/wait.S: Likewise.
37910
7143acae
JM
37911 * sysdeps/unix/common/tcsendbrk.c: Move to ...
37912 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
37913
2ce4f015
JM
37914 * configure.in (arm*-none*): Do not allow without
37915 --enable-hacker-mode.
37916 (netbsd*): Remove case setting base_os.
37917 (386bsd*): Likewise.
37918 (freebsd*): Likewise.
37919 (bsdi*): Likewise.
37920 (osf*): Likewise.
37921 (sunos*): Likewise.
37922 (ultrix*): Likewise.
37923 (newsos*): Likewise.
37924 (dynix*): Likewise.
37925 (*bsd*): Likewise.
37926 (sysv*): Likewise.
37927 (isc*): Likewise.
37928 (esix*): Likewise.
37929 (sco*): Likewise.
37930 (minix*): Likewise.
37931 (irix4*): Likewise.
37932 (irix6*): Likewise.
37933 (solaris[2-9]*): Likewise.
37934 (none): Likewise.
37935 * configure: Regenerated.
37936
0ac229c8
AZ
379372012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37938
37939 [BZ #11521]
37940 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
37941 overflow or cancellation in calculating denominator.
37942 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
37943 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
37944 down expression to avoid unexpected rounding in newer GCCs.
37945 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
37946
33f244f4
DM
379472012-04-26 David S. Miller <davem@davemloft.net>
37948
37949 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
37950 long-double compat symbols.
37951 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
37952 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
37953 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
37954 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
37955 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
37956 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
37957 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
37958 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
37959 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
37960 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
37961 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
37962 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
37963 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
37964
cfa1f3e8
DM
379652012-04-25 David S. Miller <davem@davemloft.net>
37966
37967 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
37968 HWCAP_* values only after the memory barriers have been defined.
37969 (atomic_full_barrier): Define.
37970 (atomic_read_barrier): Define.
37971 (atomic_write_barrier): Define.
37972
6e236b92
SP
379732012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
37974
37975 * shlib-versions: Add libgcc_s version information.
37976 * sysdeps/generic/libgcc_s.h: Remove.
37977 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
37978 libgcc_s.h.
37979 * sysdeps/gnu/unwind-resume.c: Likewise.
37980 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
37981
aab39a09
DM
379822012-04-25 David S. Miller <davem@davemloft.net>
37983
37984 * sysdeps/unix/sparc/brk.S: Delete.
37985 * sysdeps/unix/sparc/dl-brk.S: Delete.
37986 * sysdeps/unix/sparc/pipe.S: Delete.
37987 * sysdeps/unix/sparc/sysdep.S: Delete.
37988 * sysdeps/unix/sparc/sysdep.h: Delete.
37989 * sysdeps/unix/sparc/vfork.S: Delete.
57f41c40
AS
37990 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
37991 (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
37992 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
37993 (ret_ERRVAL, r0, r1, MOVE): Define.
aab39a09
DM
37994 (JUMPTARGET): Remove.
37995 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
37996 sysdeps/unix/sparc/sysdep.h
37997 (ENTRY, END): Remove.
37998 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
37999
a3cc4f48
JM
380002012-04-25 Joseph Myers <joseph@codesourcery.com>
38001
2ed8cda2
JM
38002 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
38003 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
38004 -DIS_IN_build.
38005
35d76d59
JM
38006 * timezone/README: Update upstream location and email address for
38007 tzcode and tzdata.
38008 * timezone/zdump.c: Update from tzcode 2012b.
38009 * timezone/zic.c: Likewise.
38010
a3cc4f48
JM
38011 * configure.in (libc_cv_as_needed): Remove test.
38012 * configure: Regenerated.
38013 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
38014 conditional definition.
38015 [$(have-as-needed) != yes] (no-as-needed): Likewise.
38016 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
38017 * config.make.in (have-as-needed): Remove variable.
38018
ceab42c3
SP
380192012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
38020 Paul Pluzhnikov <ppluzhnikov@google.com>
38021
38022 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
38023 strings correctly.
38024
3ce2865f
CLT
380252012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
38026
38027 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
38028 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
38029 * sysdeps/sh/strlen.S: Likewise.
38030
f37e0d68
JM
380312012-04-24 Joseph Myers <joseph@codesourcery.com>
38032
ae186e9a
JM
38033 * sysdeps/unix/fork.S: Remove file.
38034 * sysdeps/unix/i386/fork.S: Likewise.
38035 * sysdeps/unix/sparc/fork.S: Likewise.
38036
b96914af
JM
38037 * sysdeps/unix/system.c: Remove file.
38038 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
38039
f37e0d68
JM
38040 * sysdeps/unix/getegid.S: Remove file.
38041 * sysdeps/unix/geteuid.S: Likewise.
38042
87ef29ca
RM
380432012-04-24 Roland McGrath <roland@hack.frob.com>
38044
83bcd236
RM
38045 * scripts/check-localplt.awk: New file.
38046 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
38047 of diff.
38048 * scripts/data/localplt-generic.data: Add a comment.
38049
87ef29ca
RM
38050 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
38051 NODE when __dir_mkfile failed.
38052 * sysdeps/mach/hurd/symlinkat.c: Likewise.
38053 Reported by Ludovic Courtès <ludo@gnu.org>.
38054
e5a6e567
AJ
380552012-04-24 Andreas Jaeger <aj@suse.de>
38056
38057 * Makerules (common-clean): Also remove gen-as-const-headers
38058 files.
38059
c1820385
JM
380602012-04-24 Joseph Myers <joseph@codesourcery.com>
38061
38062 * Makerules (native-compile): Do not change working directory for
38063 build. Use $(OUTPUT_OPTION) in command.
38064 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
38065
94e02fc4
AZ
380662012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38067
38068 [BZ #13886]
38069 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
38070 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
38071 * math/libm-test.inc (floor_test): Add more tests.
38072 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
38073
3a533ca3
JM
380742012-04-24 Joseph Myers <joseph@codesourcery.com>
38075
940ab4b3
JM
38076 * sysdeps/unix/getdents.c: Remove file.
38077 * sysdeps/unix/sysv/getdents.c: Likewise.
38078 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
38079
90e037bd
JM
38080 * sysdeps/unix/syscalls.list (madvise): Add syscall from
38081 sysdeps/unix/mman/syscalls.list.
38082 (mmap): Likewise.
38083 (mprotect): Likewise.
38084 (msync): Likewise.
38085 (munmap): Likewise.
38086 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
38087 * sysdeps/unix/mman/syscalls.list: Remove.
38088 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
38089
3a533ca3
JM
38090 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
38091 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
38092 * configure: Regenerated.
38093 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
38094 $(libgcc_s_suffix).
38095 * config.make.in (libgcc_s_suffix): Remove variable.
38096
1ad743de
JM
380972012-04-23 Joseph Myers <joseph@codesourcery.com>
38098
4ad451e2
JM
38099 * sysdeps/unix/sysv/gethostname.c: Move to ...
38100 * sysdeps/posix/gethostname.c: ... here.
38101
5e37ce39
JM
38102 * sysdeps/unix/execve.S: Remove file.
38103
1ad743de
JM
38104 * sysdeps/unix/_exit.S: Remove file.
38105
4e681b5b
AJ
381062012-04-23 Andreas Jaeger <aj@suse.de>
38107
38108 [BZ #13739]
38109 * manual/Makefile: Remove make dist support, there's no
38110 need for a stand-alone documentation tar ball.
38111 (TEXI2DVI): Define always, it's not in Makeconfig.
38112 (dist): Removed.
38113 (tar-it): Removed.
38114 (edition): Removed.
38115 (glibc-doc-$(edition).tar): Removed
38116 (%.Z): Removed.
38117 (%.gz): Removed.
38118 (%.uu): Removed.
38119 (ETAGS): Remove, it's in Makeconfig.
38120 (move-if-change): Remove, it's in Makeconfig.
38121
38686a03 381222012-04-23 Paul Eggert <eggert@cs.ucla.edu>
c0baea34
PE
38123
38124 [BZ #13970]
38125 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
38126 (strtod, strtof, strtold, strtol, strtoul, strtoq)
38127 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
38128 (strtod_l, strtof_l, strtold_l): Remove __wur.
38129 It is not necessarily an error to ignore strtol's return value.
38130 One can reliably look at the stored endptr to decide whether
38131 the number had valid syntax.
38132
7c0616fa
AJ
381332012-04-21 Andreas Jaeger <aj@suse.de>
38134
803cb6b7 38135 [BZ #13739]
7c0616fa
AJ
38136 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
38137
b0fe253f
JM
381382012-04-21 Joseph Myers <joseph@codesourcery.com>
38139
38140 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
38141 * sysdeps/unix/sysv/Versions: Remove file.
38142
8280f22d
MT
381432012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
38144
38145 [BZ #13927]
38146 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
38147
75ce411f 381482012-04-21 Nick Alcock <nick.alcock@oracle.com>
b8e33728
N
38149
38150 [BZ #7064]
38151 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
38152 version from __vm86.
38153
097d59fa
JM
381542012-04-20 Joseph Myers <joseph@codesourcery.com>
38155
a90f3bcb
JM
38156 * sysdeps/unix/common/lxstat.c: Remove file.
38157 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
38158
edc7ea78
JM
38159 * sysdeps/unix/sysv/Makefile: Remove file.
38160
cb78c221
JM
38161 * sysdeps/unix/sysv/direct.h: Remove file.
38162
efa6a45f
JM
38163 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
38164 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
38165 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
38166 * sysdeps/unix/sysv/bits/signum.h: Likewise.
38167 * sysdeps/unix/sysv/bits/stat.h: Likewise.
38168 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
38169 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
38170
9c9f2d0c
JM
38171 * sysdeps/unix/sysv/setrlimit.c: Remove file.
38172
4541c83b
JM
38173 * sysdeps/unix/xmknod.c: Remove file.
38174 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
38175
f5d153a0
JM
38176 * sysdeps/unix/sysv/settimeofday.c: Remove file.
38177
aa746595
JM
38178 * sysdeps/unix/sysv/i386/time.S: Remove file.
38179
cce5905e
JM
38180 * sysdeps/unix/fxstat.c: Remove file.
38181 * sysdeps/unix/xstat.c: Likewise.
38182 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
38183
37fa3841
JM
38184 * sysdeps/unix/sysv/sigaction.c: Remove file.
38185
ff1962a3
JM
38186 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
38187 (sysdep_headers): Remove variable.
38188 [termio.h not in sysdep_headers] (generated): Likewise.
38189 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
38190 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
38191 * sysdeps/unix/sysv/tcdrain.c: Likewise.
38192 * sysdeps/unix/sysv/tcflow.c: Likewise.
38193 * sysdeps/unix/sysv/tcflush.c: Likewise.
38194 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
38195 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
38196 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
38197 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
38198 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
38199
e7740d31
JM
38200 * sysdeps/unix/siglist.c: Remove file.
38201
ee06f18b
JM
38202 * sysdeps/unix/getppid.S: Remove file.
38203
097d59fa
JM
38204 * sysdeps/unix/mkdir.c: Remove file.
38205 * sysdeps/unix/rmdir.c: Likewise.
38206
ff3d51ec
AS
382072012-04-19 Andreas Schwab <schwab@linux-m68k.org>
38208
38209 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
38210 ERR_MAX value.
38211 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
38212 errlist-compat value.
38213
50f81fd7
DM
382142012-04-18 David S. Miller <davem@davemloft.net>
38215
38216 * sysdeps/generic/memcopy.h (reg_char): Delete.
38217 * debug/strcat_chk.c: Use char, not reg_char.
38218 * debug/strcpy_chk.c: Likewise.
38219 * debug/strncat_chk.c: Likewise.
38220 * debug/strncpy_chk.c: Likewise.
38221 * string/memchr.c: Likewise.
38222 * string/memrchr.c: Likewise.
38223 * string/rawmemchr.c: Likewise.
38224 * string/strcat.c: Likewise.
38225 * string/strchr.c: Likewise.
38226 * string/strchrnul.c: Likewise.
38227 * string/strcmp.c: Likewise.
38228 * string/strcpy.c: Likewise.
38229 * string/strncat.c: Likewise.
38230 * string/strncmp.c: Likewise.
38231 * string/strncpy.c: Likewise.
38232
8ff41c46
WS
382332012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
38234
38235 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
38236 __builtin_memcopy is called when src and dest ranges are known to not
38237 overlap.
38238
6b652f46
WS
382392012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
38240
38241 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
38242 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
38243 fwd_align_merge macro call.
38244 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
38245 bwd_align_merge macro call.
38246 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
38247
b282631e
WS
382482012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
38249
38250 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
38251 bwd_align_merge macros.
38252 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
38253 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
38254 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
38255
95aa737c
DM
382562012-04-18 David S. Miller <davem@davemloft.net>
38257
38258 * sysdeps/sparc/sparc64/memcopy.h: Delete.
38259
7a99a614
AJ
382602012-04-18 Andreas Jaeger <aj@suse.de>
38261
38262 [BZ# 6794]
38263 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
38264 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
38265 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
38266
38267 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
38268 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
38269 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
38270
38271 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
38272 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
38273 Adjust for changed ldbl-128 files.
38274
38275 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
38276 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
38277 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
38278
e5270c23
DM
382792012-04-17 David S. Miller <davem@davemloft.net>
38280
38281 * sysdeps/sparc/sparc32/memcopy.h: Delete.
38282
fb5e92c9
AS
382832012-04-17 Andreas Schwab <schwab@linux-m68k.org>
38284
38285 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
38286 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
38287 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
38288 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
38289 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
38290 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
38291
76da7265
AZ
382922012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38293
38294 [BZ #6794]
38295 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
38296 * math/libm-test.inc: Add ilogb errno and exception tests.
38297 * math/w_ilogb.c: New file: ilogb wrapper.
38298 * math/w_ilogbf.c: New file: ilogbf wrapper.
38299 * math/w_ilogbl.c: New file: ilogbl wrapper.
38300 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
38301 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
38302 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
38303 exception being thrown with 0.0 as argument.
38304 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
38305 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
38306 exception being thrown with 0.0 as argument.
38307 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
38308 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
38309 exception being thrown with 0.0 as argument.
38310 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
38311 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
38312 exception being thrown with 0.0 as argument.
38313 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
38314 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
7a99a614 38315 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
76da7265
AZ
38316 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
38317 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
38318 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
38319 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
38320 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
38321 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
38322
0396e69d
PB
383232012-04-17 Petr Baudis <pasky@ucw.cz>
38324
38325 * include/sys/uio.h: Change __vector to __iovec to avoid clash
38326 with altivec.
38327
750b5926
MP
383282012-04-16 Marek Polacek <polacek@redhat.com>
38329
38330 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
38331
751728a1
MP
383322012-04-16 Marek Polacek <polacek@redhat.com>
38333
38334 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
38335 operands of fdivp instruction.
38336
34a27407
L
383372012-04-13 H.J. Lu <hongjiu.lu@intel.com>
38338
38339 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
38340 * elf/tst-auditmod3b.c: Likewise.
38341 * elf/tst-auditmod4b.c: Likewise.
38342 * elf/tst-auditmod5b.c: Likewise.
38343 * elf/tst-auditmod6b.c: Likewise.
38344 * elf/tst-auditmod6c.c: Likewise.
38345 * elf/tst-auditmod7b.c: Likewise.
38346 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
38347 * sysdeps/x86_64/preconfigure.in: Likewise.
38348 * sysdeps/x86_64/preconfigure: Regenerated.
38349
7e73e17d
L
383502012-04-13 H.J. Lu <hongjiu.lu@intel.com>
38351
38352 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
38353 __ILP32__.
38354
c7a6ab72
AB
383552012-04-13 Antoine Balestrat <merkil33@gmail.com>
38356
38357 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
38358 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
38359
a9e8e0e0
CL
383602012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
38361
38362 [BZ #13973]
38363 * locale/iso-639.def: Fix gl language name. Spotted by
38364 Yaron Shahrabani.
38365
ec98af7d
RM
383662012-04-12 Roland McGrath <roland@hack.frob.com>
38367
38368 [BZ #2074]
38369 * libio/libio.h (__io_write_fn): Update comment.
38370
247c3ede
PB
383712012-04-12 Petr Baudis <pasky@ucw.cz>
38372
38373 [BZ #2074]
38374 * stdio.texi (Hook Functions): The user provided writer function
38375 is not allowed to return -1.
38376
55939d6d
DM
383772012-04-11 David S. Miller <davem@davemloft.net>
38378
38379 * sysdeps/sparc/fpu/libm-test-ulps: Update.
38380
90020f5a
MF
383812012-04-11 Mike Frysinger <vapier@gentoo.org>
38382
38383 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
38384 Add a leading slash to rtkaio.
38385
288f9098
JM
383862012-04-11 Jim Meyering <meyering@redhat.com>
38387
90020f5a
MF
38388 [BZ #11959]
38389 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
38390 It is not necessarily an error to ignore fwrite's return
38391 value. One can reliably use ferror to test for errors after
38392 the fact.
288f9098 38393
4be2b570
L
383942012-04-10 H.J. Lu <hongjiu.lu@intel.com>
38395
38396 * bits/types.h (__snseconds_t): New type.
38397 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
38398
38399 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
38400 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
38401 (__SNSECONDS_T_TYPE): Likewise.
38402 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
38403 (__SNSECONDS_T_TYPE): Likewise.
38404 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
38405 (__SNSECONDS_T_TYPE): Likewise.
38406
288f9098 384072012-04-10 Andreas Jaeger <aj@suse.de>
4cfd8026
AJ
38408
38409 [BZ #2636]
38410 * manual/time.texi (Processor Time): Return type of times is
38411 elapsed real time since an arbitrary point in the past.
38412 (CPU Time): Move CLK_TCK from here...
38413 (Processor Time): ...to here. Correct description.
38414 * manual/conf.texi (Constants for Sysconf): Correct description of
38415 _SC_CLK_TCK.
38416
d7dd4413
DM
384172012-04-10 David S. Miller <davem@davemloft.net>
38418
38419 [BZ #13967]
38420 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
38421 where the is a gap between DT_REL(A) and DT_JMPREL.
38422
b46068fc
L
384232012-04-10 H.J. Lu <hongjiu.lu@intel.com>
38424
38425 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
38426 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
38427 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
38428
73d65cc3
SP
384292012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
38430
38431 * elf/dl-support.c (_dl_inhibit_cache): New variable.
38432 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
38433 (dl_main): Handle --inhibit-cache.
38434 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
38435 _dl_inhibit_cache.
38436 * elf/dl-load.c (_dl_map_object): Use it.
38437 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
38438
bcc8d661
JM
384392012-04-09 Joseph Myers <joseph@codesourcery.com>
38440
8f9a2fae
JM
38441 [BZ #13872]
38442 * sysdeps/i386/fpu/e_powl.S (p78): New object.
38443 (__ieee754_powl): Saturate large exponents rather than testing for
38444 overflow of y*log2(x).
38445 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
38446 * math/libm-test.inc (pow_test): Do not permit spurious overflow
38447 exceptions.
38448
bcc8d661
JM
38449 [BZ #11521]
38450 * math/s_ctan.c: Include <float.h>.
38451 (__ctan): Avoid internal overflow or cancellation in calculating
38452 denominator.
38453 * math/s_ctanf.c: Likewise.
38454 * math/s_ctanl.c: Likewise.
38455 * math/s_ctanh.c: Likewise.
38456 * math/s_ctanhf.c: Likewise.
38457 * math/s_ctanhl.c: Likewise.
38458 * math/libm-test.inc (ctan_test): Add more tests.
38459 (ctanh_test): Likewise.
38460 * sysdeps/i386/fpu/libm-test-ulps: Update.
38461 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38462
823fbbb4
AJ
384632012-04-09 Andreas Jaeger <aj@suse.de>
38464
03879793
AJ
38465 [BZ #6894]
38466 * manual/filesys.texi (Directory Entries): Mention that d_namlen
38467 is an optional BSD extension.
38468
823fbbb4
AJ
38469 [BZ #10254]
38470 * manual/stdio.texi (Opening Streams): Document additional fopen
38471 parameters.
38472
8de131cb
RM
384732012-04-09 Roland McGrath <roland@hack.frob.com>
38474
38475 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
38476 %eax without telling the compiler.
38477
c0ed9d7d
CD
384782012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
38479
38480 [BZ # 13963]
38481 * manual/install.texi: Use sourceware.org.
38482
c483f6b4
JM
384832012-04-09 Joseph Myers <joseph@codesourcery.com>
38484
d7dd9453
JM
38485 [BZ #13873]
38486 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
38487 (__ieee754_pow): Generate overflow and underflow using huge*huge
38488 and tiny*tiny rather than just returning constant infinity or zero
38489 for large exponents.
38490 * math/libm-test.inc (pow_test): Require overflow exceptions for
38491 applicable cases of large exponents.
38492
c483f6b4
JM
38493 [BZ #706]
38494 * sysdeps/i386/fpu/e_pow.S (p10): New object.
38495 (__ieee754_pow): Use iterative multiplication algorithm only for
38496 integer exponents with absolute value below 1024. Check for odd
38497 integer exponents when using algorithm for real exponents.
38498 * math/libm-test.inc (pow_test): Add more tests.
38499 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
38500
d2de7579
JM
385012012-04-08 Joseph Myers <joseph@codesourcery.com>
38502
38503 [BZ #13705]
38504 * math/libm-test.inc (exp_test): Do not allow overflow exception
38505 on underflow test.
38506
f77f1232
AJ
385072012-04-08 Aurelien Jarno <aurelien@aurel32.net>
38508
38509 [BZ #13705]
38510 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
38511 instead of __kernel_standard_f.
38512
3884932b
MF
385132012-04-08 Mike Frysinger <vapier@gentoo.org>
38514
38515 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
38516 * sysdeps/x86_64/memset_chk.S: Likewise.
38517
54472e9c
AJ
385182012-04-08 Andreas Jaeger <aj@suse.de>
38519
6ab0fbfc
AJ
38520 [BZ #10153]
38521 * manual/startup.texi (Environment Access): Describe return value
38522 for putenv and setenv.
38523
61efba8c
AJ
38524 [BZ #6895]
38525 * manual/filesys.texi (Directory Entries): Add description for
38526 DT_LNK.
38527
95c3f29a
AJ
38528 [BZ #6890]
38529 * manual/filesys.texi (Directory Entries): Clarify that it's file
38530 system not operating system in the description of DT_UNKNOWN.
38531
54472e9c
AJ
38532 [BZ #6578]
38533 * manual/syslog.texi (closelog): Fix reference, it's openlog.
38534
624254b1
SC
385352012-04-08 Stephen Compall <s11@member.fsf.org>
38536
38537 [BZ #6649]
38538 * manual/llio.texi (Opening and Closing Files): Add cross
38539 reference to explain mode argument.
38540
1e4920e0
MF
385412012-04-07 Mike Frysinger <vapier@gentoo.org>
38542
38543 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
38544 * sysdeps/x86_64/memset_chk.S: Likewise.
38545
5ed848f3
DM
385462012-04-07 David S. Miller <davem@davemloft.net>
38547
38548 * elf/elf.h (R_SPARC_WDISP10): Define.
38549 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
38550 R_SPARC_SIZE32.
38551 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
38552 R_SPARC_SIZE64 and R_SPARC_H34.
38553
96154cd8
CD
385542012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
38555
38556 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
38557 conditions and remove no longer applicable assertion.
38558
9904dc47
L
385592012-04-06 H.J. Lu <hongjiu.lu@intel.com>
38560
38561 * bits/byteswap.h: Include <features.h>.
38562 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
38563 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
38564
f8887d0a
L
385652012-04-06 H.J. Lu <hongjiu.lu@intel.com>
38566
38567 * bits/byteswap.h (__bswap_16): Removed.
38568 Include <bits/byteswap-16.h> to get __bswap_16.
38569 * sysdeps/i386/bits/byteswap.h: Likewise.
38570 * sysdeps/s390/bits/byteswap.h: Likewise.
38571 * sysdeps/x86_64/bits/byteswap.h: Likewise.
38572 * bits/byteswap-16.h: New file.
38573 * sysdeps/i386/bits/byteswap-16.h: Likewise.
38574 * sysdeps/s390/bits/byteswap-16.h: Likewise.
38575 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
38576 * string/Makefile (headers): Add bits/byteswap-16.h.
38577
62470f60
PP
385782012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
38579
38580 [BZ #13895]
38581 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
38582 extra indirection.
38583 * nss/Makefile (tests-static, tests): Add tst-nss-static.
38584 * nss/tst-nss-static.c: New.
38585
4dad7bab
RM
385862012-04-06 Robert Millan <rmh@gnu.org>
38587
38588 [BZ #6486]
38589 * manual/llio.texi (File Position Primitive): lseek
38590 refers to WHENCE when it really means OFFSET.
38591
e9142a17
AJ
385922012-04-06 Andreas Jaeger <aj@suse.de>
38593
2c040eff
AJ
38594 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
38595 strncmp declarations.
38596
e9142a17
AJ
38597 * abilist/libc.abilist: Add __poll and __ppoll.
38598
ff9f1c5f
DM
385992012-04-05 David S. Miller <davem@davemloft.net>
38600
dcd2ae90
DM
38601 * scripts/check-local-headers.sh: Accept a host triplet in the
38602 path matched by the exclude regexp.
38603
993eb054
DM
38604 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
38605 definition.
38606 * sysdeps/powerpc/powerpc32/dl-machine.h
38607 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
38608 * sysdeps/s390/s390-32/dl-machine.h
38609 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
38610 * sysdeps/sparc/sparc32/dl-machine.h
38611 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
38612 * sysdeps/sparc/sparc64/dl-machine.h
38613 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
38614
ff9f1c5f
DM
38615 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
38616 lazy binding.
48e2e132 38617 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
ff9f1c5f
DM
38618 undefined symbol errors.
38619
48e2e132 38620 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
ff9f1c5f
DM
38621 DT_NEEDED entries.
38622
e80d6f94
MM
386232012-04-05 Michael Matz <matz@suse.de>
38624
38625 [BZ #13592]
38626 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
38627
349fa79f
AJ
386282012-04-05 Andreas Jaeger <aj@suse.de>
38629
38630 [BZ #13908]
38631 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
38632 comment.
38633
f402708f
KK
386342012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
38635
38636 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
38637 which ROUND is no valid rounding mode.
38638
2ecccfc9
KK
386392012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
38640
38641 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
38642 read again.
38643 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
38644
8a53f50f
KK
386452012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
38646
38647 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
38648 an exception using FPU order intentionally.
38649
386502012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
38651
38652 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
38653 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
38654 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
38655 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
38656
d653abb7
SJ
386572012-04-05 Simon Josefsson <simon@josefsson.org>
38658
38659 [BZ #12340]
38660 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
38661 EINVAL when BUFLEN is too smal.
38662
c3b1bf7d
TS
386632012-04-05 Thomas Schwinge <thomas@codesourcery.com>
38664
38665 [BZ #13553]
38666 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
38667 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
38668
b1aa60f3
AJ
386692012-04-03 Andreas Jaeger <aj@suse.de>
38670
c3b1bf7d 38671 [BZ #13938]
67f60a26
AJ
38672 * manual/setjmp.texi (System V contexts): Fix sentence.
38673
b1aa60f3
AJ
38674 [BZ #13926]
38675 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
38676 New macro for this case.
38677 [!__GNUC__] (__bswap_64): New inline function for this case.
38678 * sysdeps/x86_64/bits/byteswap.h: Likewise.
38679 * bits/byteswap.h: Likewise.
38680 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
38681 ull, guard with __GLIBC_HAVE_LONG_LONG.
38682
38683 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
38684 __GLIBC_HAVE_LONG_LONG.
38685
38686 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
38687 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
38688
39c59c35
TMQMF
386892012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
38690
38691 [BZ #13691]
38692 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
38693 inptr and inend, rather than using last_ch.
38694
135ffda8
DM
386952012-04-02 David S. Miller <davem@davemloft.net>
38696
38697 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
38698 * stdio-common/printf-parse.h (read_int): Change return type to
38699 'int', return -1 on INT_MAX overflow.
38700 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
38701 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
38702 overflows INT_MAX. Check for overflow of in-format-string precision
38703 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
38704 SIZE_MAX not INT_MAX for integer overflow test.
38705 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
38706 skip the construct in the format string but do not record anything.
38707 * stdio-common/bug22.c: Adjust to test both width/prevision
38708 INT_MAX overflow as well as total length INT_MAX overflow. Check
38709 explicitly for proper errno values.
38710
228c019e
TS
387112012-04-02 Thomas Schwinge <thomas@codesourcery.com>
38712
302cadd3
TS
38713 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
38714 CHAR_MAX.
38715 * string/test-strcmp.c [! WIDE]: Likewise.
38716 * time/tst-mktime2.c: Likewise for INT_MAX.
38717 * string/test-string.h: #include <sys/param.h> for MIN.
38718
228c019e
TS
38719 * csu/init-first.c (__libc_init_first): Call __ctype_init.
38720 * sysdeps/i386/init-first.c (init): Likewise.
38721 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
38722 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
38723 * sysdeps/sh/init-first.c (init): Likewise.
38724
cfa633f5
UD
387252012-04-01 Ulrich Drepper <drepper@gmail.com>
38726
38727 * po/ru.po: Update from translation team.
d1635ef8 38728 * po/vi.po: Likewise.
cfa633f5 38729
6cd0a5ea
SP
387302012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
38731
38732 * resolv/nss_dns/dns-host.c: Merge copyright years.
38733
4b43400f
LD
387342012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
38735
38736 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
38737 Optimize memcpy with prefetch if
38738 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
38739 src, dst pointers have unequal 16 byte alignments.
38740
48c41d04
SP
387412012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
38742
38743 [BZ #13928]
38744 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
38745 from a CNAME entry and return the minimum ttl for the query.
38746 (gaih_getanswer_slice): Likewise.
38747
b8dc394d
JL
387482012-03-30 Jeff Law <law@redhat.com>
38749
38750 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
38751 due to long keys.
38752 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
38753 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
38754
2f5a5ed0
JL
38755 * resolv/nss_dns/dns-host.c: Update copyright year.
38756
1d39e359
UD
387572012-03-30 Ulrich Drepper <drepper@gmail.com>
38758
c030f70c 38759 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8e6d1083 38760 requests to save a system call. Fix check that all bytes are sent.
c030f70c 38761
1d39e359
UD
38762 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
38763 comments for sendmmsg.
38764
387652012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
e64d2de5
TMQMF
38766
38767 [BZ #13691]
38768 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
38769 with only 1 character between 0x0041 and 0x01b0.
38770 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
38771 * wcsmbs/tst-mbsnrtowcs.c: New file.
38772
20fde227
DM
387732012-03-29 David S. Miller <davem@davemloft.net>
38774
38775 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
38776 small copies by hand.
38777
984a4237
JL
387782012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
38779
38780 [BZ #13761]
57f41c40
AS
38781 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
38782 (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
38783 group memberships.
984a4237 38784
18c9d62b
DM
387852012-03-28 David S. Miller <davem@davemloft.net>
38786
88d85d4f
DM
38787 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
38788 that branches into memcpy.
38789 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
38790 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
38791 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
38792 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
38793 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
38794 bits.
38795 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
38796 implementation too.
38797 * sysdeps/sparc/mempcpy.S: New file.
38798
e5aa83e1
DM
38799 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
38800 the IFUNC routine in the libc case.
38801 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
38802
88570753
DM
38803 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
38804 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
38805 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
38806 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
38807 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
38808 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
38809 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
38810 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
38811
249d7567
DM
38812 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
38813 loop to 256 bytes instead of 64 bytes and fix test signedness.
38814
18c9d62b
DM
38815 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
38816 * sysdeps/sparc/sparc32/Makefile: rather than here...
38817 * sysdeps/sparc/sparc64/Makefile: and here.
38818
05f3d1f6
UD
388192012-03-28 Ulrich Drepper <drepper@gmail.com>
38820
38821 * malloc/mallocbug.c: Avoid warnings about unused variables.
38822
86ae07a8
JL
388232012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
38824
38825 [BZ #13760]
38826 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
38827 in the right place. Discard and retry query if response is
38828 larger than input buffer size.
38829
41bf21a1
JM
388302012-03-28 Joseph Myers <joseph@codesourcery.com>
38831
d6270972
JM
38832 [BZ #369]
38833 [BZ #2678]
38834 [BZ #3866]
38835 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
38836 x for large integer exponent.
38837 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
38838 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
38839 sign of result as needed afterwards.
38840 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
38841 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
38842 result for underflowing pow the same as for overflow.
38843 (__kernel_standard_l): Handle powl overflow and underflow here
38844 rather than calling __kernel_standard.
38845 * math/libm-test.inc (pow_test): Add more tests.
38846
414fca03 38847 [BZ #3868]
41bf21a1
JM
38848 [BZ #13879]
38849 [BZ #13910]
38850 [BZ #13911]
38851 [BZ #13912]
38852 [BZ #13913]
38853 [BZ #13915]
38854 [BZ #13916]
38855 [BZ #13917]
38856 [BZ #13918]
38857 [BZ #13919]
38858 [BZ #13920]
38859 [BZ #13921]
38860 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
38861 * sysdeps/ieee754/k_standard.c: Include <float.h>.
38862 (__kernel_standard_l): New function.
38863 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
38864 __kernel_standard.
38865 * math/w_acosl.c (__acosl): Likewise.
38866 * math/w_asinl.c (__asinl): Likewise.
38867 * math/w_atan2l.c (__atan2l): Likewise.
38868 * math/w_atanhl.c (__atanhl): Likewise.
38869 * math/w_coshl.c (__coshl): Likewise.
38870 * math/w_exp10l.c (__exp10l): Likewise.
38871 * math/w_exp2l.c (__exp2l): Likewise.
38872 * math/w_fmodl.c (__fmodl): Likewise.
38873 * math/w_hypotl.c (__hypotl): Likewise.
38874 * math/w_j0l.c (__j0l, __y0l): Likewise.
38875 * math/w_j1l.c (__j1l, __y1l): Likewise.
38876 * math/w_jnl.c (__jnl, __ynl): Likewise.
38877 * math/w_lgammal.c (__lgammal): Likewise.
38878 * math/w_log10l.c (__log10l): Likewise.
38879 * math/w_log2l.c (__log2l): Likewise.
38880 * math/w_logl.c (__logl): Likewise.
38881 * math/w_powl.c (__powl): Likewise.
38882 * math/w_remainderl.c (__remainderl): Likewise.
38883 * math/w_scalbl.c (sysv_scalbl): Likewise.
38884 * math/w_sinhl.c (__sinhl): Likewise.
38885 * math/w_sqrtl.c (__sqrtl): Likewise.
38886 * math/w_tgammal.c (__tgammal): Likewise.
38887 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
38888 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
38889 * math/libm-test.inc (acos_test): Add more tests.
38890 (acosh_test): Likewise.
38891 (asin_test): Likewise.
38892 (atanh_test): Likewise.
38893 (exp_test): Likewise.
38894 (exp10_test): Likewise.
38895 (exp2_test): Likewise.
38896 (expm1_test): Likewise.
38897 (lgamma_test): Likewise.
38898 (log_test): Likewise.
38899 (log10_test): Likewise.
38900 (log1p_test): Likewise.
38901 (log2_test): Likewise.
38902 (pow_test): Do not allow some spurious overflow exceptions.
38903 (sqrt_test): Add more tests.
38904 (tgamma_test): Likewise.
38905 (y0_test): Likewise.
38906 (y1_test): Likewise.
38907 (yn_test): Likewise.
38908
dd62fda6
AB
389092012-03-27 Anton Blanchard <anton@samba.org>
38910
38911 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
38912 MAP_HUGETLB.
38913 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
38914 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
38915 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
38916
1e3cdfda
AJ
389172012-03-27 David S. Miller <davem@davemloft.net>
38918
b855ab85
DM
38919 * conform/Makefile: Run run-conformtest.sh using $(BASH).
38920
1e3cdfda
AJ
38921 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
38922 have-as-vis3 check.
38923
389242012-03-27 Andreas Jaeger <aj@suse.de>
38925
38926 * sysdeps/x86_64/elf/configure.in: Moved to ...
38927 * sysdeps/x86_64/configure.in: ... here.
38928 * sysdeps/x86_64/elf/start.S: Moved to ...
38929 * sysdeps/x86_64/start.S: ... here.
38930 * sysdeps/x86_64/elf/configure: Delete.
38931
38932 * sysdeps/x86_64/configure.in: Merge contents from
38933 sysdeps/i386/configure.in (without i686 check).
38934
38935 * sysdeps/i386/elf/Versions: Merge into ...
38936 * sysdeps/i386/Versions: ... this.
38937 * sysdeps/i386/elf/Versions: Delete file.
38938 * sysdeps/i386/elf/start.S: Moved to ...
38939 * sysdeps/i386/start.S: ...here.
38940 * sysdeps/i386/elf/configure.in: Merge into...
38941 * sysdeps/i386/configure.in: ...here.
38942 * sysdeps/i386/elf/configure.in: Delete file.
38943 * sysdeps/i386/elf/configure: Delete file.
38944
38945 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
38946 * debug/backtracesyms.c: ... here.
38947 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
38948 * debug/backtracesymsfd.c: ... here.
38949 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
38950 * sysdeps/generic/ifunc-sel.h: ... here.
38951
38952 * sysdeps/unix/i386/start.c: Delete file.
38953 * sysdeps/unix/sparc/start.c: Delete file.
38954 * sysdeps/unix/start.c: Delete file.
38955
38956 * sysdeps/sh/elf/configure.in: Moved to ...
38957 * sysdeps/sh/configure.in: ... here.
38958 * sysdeps/sh/elf/start.S: Moved to ...
38959 * sysdeps/sh/start.S: ... here.
38960 * sysdeps/sh/elf/configure: Delete file.
38961
38962 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
38963 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
38964 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
38965 * sysdeps/powerpc/powerpc64/entry.h: ... here.
38966 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
38967 * sysdeps/powerpc/powerpc64/start.S: here.
38968 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
38969 * sysdeps/powerpc/powerpc64/Makefile: ... this.
38970 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
38971 * sysdeps/powerpc/powerpc64/configure.in: ... this.
38972 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
38973
38974 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
38975 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
38976 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
38977 * sysdeps/powerpc/powerpc32/start.S: ... here.
38978 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
38979 * sysdeps/powerpc/powerpc32/configure.in: ... this.
38980 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
38981
38982 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
38983 * sysdeps/powerpc/ifunc-sel.h: ... here.
38984 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
38985 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
38986
38987 * sysdeps/sparc/elf/configure.in: Moved to ...
38988 * sysdeps/sparc/configure.in: ... here.
38989 * sysdeps/sparc/elf/configure: Delete file.
38990 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
38991 * sysdeps/sparc/sparc32/start.S: ... here.
38992 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
38993 * sysdeps/sparc/sparc64/start.S: ... here.
38994 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
38995 * sysdeps/sparc/sparc32/Makefile: ... this.
38996 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
38997 * sysdeps/sparc/sparc64/Makefile: ... this.
38998
38999 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
39000 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
39001 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
39002 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
39003 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
39004 * sysdeps/s390/s390-32/setjmp.S: ... here.
39005 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
39006 * sysdeps/s390/s390-32/configure.in: ... here.
39007 * sysdeps/s390/s390-32/elf/configure: Delete file.
39008 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
39009 * sysdeps/s390/s390-32/start.S: ... here.
39010
39011 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
39012 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
39013 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
39014 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
39015 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
39016 * sysdeps/s390/s390-64/setjmp.S: ... here.
39017 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
39018 * sysdeps/s390/s390-64/configure.in: ... here
39019 * sysdeps/s390/s390-64/elf/configure: Delete file.
39020 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
39021 * sysdeps/s390/s390-64/start.S: ... here.
39022 * sysdeps/s390/s390-64/elf/configure: Delete.
39023
39024 * configure.in: Remove support for elf directories in sysdeps.
39025
39026 * configure: Regenerated.
39027 * sysdeps/i386/configure: Regenerated.
39028 * sysdeps/powerpc/powerpc32/configure: Regenerated.
39029 * sysdeps/powerpc/powerpc64/configure: Regenerated.
39030 * sysdeps/s390/s390-32/configure: Regenerated.
39031 * sysdeps/s390/s390-64/configure: Regenerated.
39032 * sysdeps/sh/configure: Regenerated.
39033 * sysdeps/sparc/configure: Regenerated.
39034 * sysdeps/x86_64/configure: Regenerated.
39035
a3f61311
AS
390362012-03-26 Andreas Schwab <schwab@linux-m68k.org>
39037
c876e002
AS
39038 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39039
a3f61311
AS
39040 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
39041 denormal result into account.
39042
ac4c54f0
RM
390432012-03-25 Roland McGrath <roland@hack.frob.com>
39044
39045 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
39046 Reported by Allan McRae <allan@archlinux.org>.
39047
6a9b9c02
JL
390482012-03-23 Jeff Law <law@redhat.com>
39049
39050 * nss/getnssent.c (__nss_getent): Fix typo.
39051
4c42a0c1
DM
390522012-03-23 David S. Miller <davem@davemloft.net>
39053
39054 * sysdeps/sparc/fpu/libm-test-ulps: Update.
39055
1532c7ac
L
390562012-03-23 H.J. Lu <hongjiu.lu@intel.com>
39057
39058 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
39059 to pad to uint64_t for each field.
39060 (dl_tls_index): Replace unsigned long with uint64_t.
39061
3ff42526
PP
390622012-03-23 Daniel Jacobowitz <dmj@google.com>
39063 Paul Pluzhnikov <ppluzhnikov@google.com>
39064
39065 [BZ #6528]
39066 * grp/Makefile (otherlibs): Don't set it.
39067 * inet/Makefile (otherlibs): Likewise.
39068 * login/Makefile (otherlibs): Likewise.
39069 * nscd/Makefile (otherlibs): Likewise.
39070 * posix/Makefile (otherlibs): Likewise.
39071 * pwd/Makefile (otherlibs): Likewise.
39072 * rt/Makefile (otherlibs): Likewise.
39073 * sunrpc/Makefile (otherlibs): Likewise.
39074 * nss/Makefile (otherlibs): Likewise.
39075 Add libnss_files to routines and static-only-routines.
39076 ($(objpfx)getent): Remove rule.
39077 * resolv/Makefile: Add libnss_dns and libresolv to routines and
39078 static-only-routines.
39079
7c69cd14
JM
390802012-03-22 Joseph Myers <joseph@codesourcery.com>
39081
39082 [BZ #13892]
39083 * math/s_cexp.c: Include <float.h>.
39084 (__cexp): Handle exp result overflowing not necessarily
39085 overflowing both real and imaginary parts of result.
39086 * math/s_cexpf.c: Likewise.
39087 * math/s_cexpl.c: Likewise.
39088 * math/libm-test.inc (cexp_test): Add more tests.
39089 * sysdeps/i386/fpu/libm-test-ulps: Update.
39090 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39091
81b035fe
L
390922012-03-22 H.J. Lu <hongjiu.lu@intel.com>
39093
39094 * include/link.h (ELFW): New macro.
39095 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
39096 Replace ELF64_R_TYPE with ELFW(R_TYPE).
39097
1da7940c
L
390982012-03-22 H.J. Lu <hongjiu.lu@intel.com>
39099
39100 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
39101 with uint64_t.
39102
b749dbb9
L
391032012-03-22 H.J. Lu <hongjiu.lu@intel.com>
39104
39105 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
39106 declaration.
39107 (struct La_x32_retval): Likewise.
39108
2ff87f3f
L
391092012-03-22 H.J. Lu <hongjiu.lu@intel.com>
39110
39111 * sysdeps/x86_64/preconfigure.in: New file.
39112 * sysdeps/x86_64/preconfigure: New generated file.
39113
c0df8e69
JM
391142012-03-22 Joseph Myers <joseph@codesourcery.com>
39115
48e44791
JM
39116 [BZ #13824]
39117 * math/e_exp2l.c: Include <float.h>.
39118 (__ieee754_exp2l): Handle overflow and underflow cases
39119 separately. Only pass fractional part of argument to
39120 __ieee754_expl.
39121 * math/libm-test.inc (exp2_test): Add more tests.
39122
c0df8e69
JM
39123 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
39124 negating x to take absolute value.
39125 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
39126 Likewise.
39127 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
39128 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
39129 Likewise.
39130 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
39131 computing low part if x was negated.
39132 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
39133
c8e43ba7
L
391342012-03-21 H.J. Lu <hongjiu.lu@intel.com>
39135
39136 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
39137 la_x32_gnu_pltexit.
39138 (pltexit): Cast int_retval to ptrdiff_t.
39139 * elf/tst-auditmod3b.c: Likewise.
39140 * elf/tst-auditmod4b.c: Likewise.
39141 * elf/tst-auditmod5b.c: Likewise.
39142 * elf/tst-auditmod6b.c: Likewise.
39143 * elf/tst-auditmod6c.c: Likewise.
39144 * elf/tst-auditmod7b.c: Likewise.
39145
39146 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
39147 and x32_gnu_pltexit.
39148
39149 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
39150 __ELF_NATIVE_CLASS.
39151 (La_x32_regs): New macro.
39152 (La_x32_retval): Likewise.
39153 (la_x32_gnu_pltenter): New function prototype.
39154 (la_x32_gnu_pltexit): Likewise.
39155
7998fa78
AS
391562012-03-21 Andreas Schwab <schwab@linux-m68k.org>
39157
dcb33988
AS
39158 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
39159 exponent.
39160
233fc563
AS
39161 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39162
7998fa78
AS
39163 * configure.in (libc_cv_cc_nofma): Check for option to disable
39164 generation of FMA instructions.
39165 * configure: Regenerate.
39166 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
39167 * sysdeps/ieee754/dbl-64/Makefile: New file.
39168 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
39169 Remove brandred-fma4.
39170 (CFLAGS-brandred-fma4.c): Remove.
39171 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
39172 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
39173 define.
39174 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
39175 define.
39176
8e95c99a
L
391772012-03-21 H.J. Lu <hongjiu.lu@intel.com>
39178
39179 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
39180 LLONG_MAX != LONG_MAX.
39181 (_itoa_word): Use _ITOA_WORD_TYPE on value.
39182 (_fitoa_word): Likewise.
39183 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
39184 LLONG_MAX != LONG_MAX.
39185 * stdio-common/_itowa.h: Include <_itoa.h>.
39186 (_itowa_word): Use _ITOA_WORD_TYPE on value.
39187 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
39188 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
39189 only if not defined.
39190 (_ITOA_WORD_TYPE): Likewise.
39191 (_itoa_word): Use _ITOA_WORD_TYPE on value.
39192 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
39193
6f4db457
DM
391942012-03-21 David S. Miller <davem@davemloft.net>
39195
39196 * sysdeps/sparc/fpu/libm-test-ulps: Update.
39197
7785fe5a
L
391982012-03-21 H.J. Lu <hongjiu.lu@intel.com>
39199
39200 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
39201 of x86_64 when setting libc_cv_slibdir, libdir and
39202 libc_cv_localedir.
39203 * sysdeps/unix/sysv/linux/configure: Regenerated.
39204
4535cd55
JM
392052012-03-21 Joseph Myers <joseph@codesourcery.com>
39206
39207 * manual/lang.texi (Old Varargs): Remove section.
39208 (How Variadic): Update menu.
39209 (va_start): Do not mention varargs.h.
39210
17228132
TS
392112012-03-21 Thomas Schwinge <thomas@codesourcery.com>
39212 Joseph Myers <joseph@codesourcery.com>
39213
39214 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
39215 link test.
39216 * configure: Regenerated.
39217
8149f976
TS
392182012-03-21 Thomas Schwinge <thomas@codesourcery.com>
39219
05f3d1f6
UD
39220 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
39221 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
39222 conformtest.pl
8149f976 39223
1a4ac776
JM
392242012-03-21 Joseph Myers <joseph@codesourcery.com>
39225
be22ce65
JM
39226 * NOTES: Remove.
39227 * Makefile (files-for-dist): Remove NOTES.
39228 (NOTES): Remove rule.
39229 * README: Don't refer to NOTES.
39230 * manual/creature.texi: Don't include macros.texi.
39231 * manual/intro.texi (creature.texi): Remove comment referring to
39232 NOTES.
39233
40b601fb
JM
39234 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
39235 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
39236 * configure: Regenerated.
39237 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
39238 LIBC_TRY_CC_OPTION.
39239 (libc_cv_as_i686): Likewise.
39240 (libc_cv_cc_avx): Likewise.
39241 (libc_cv_cc_sse2avx): Likewise.
39242 (libc_cv_cc_fma4): Likewise.
39243 (libc_cv_cc_novzeroupper): Likewise.
39244 * sysdeps/i386/configure: Regenerated.
39245
1a4ac776
JM
39246 [BZ #13883]
39247 * sysdeps/i386/fpu/s_cexp.S: Remove.
39248 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
39249 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
39250 * math/libm-test.inc (cexp_test): Add more tests.
39251 * sysdeps/i386/fpu/libm-test-ulps: Update.
39252 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39253
a458e7fe
AM
392542012-03-21 Allan McRae <allan@archlinux.org>
39255
39256 * timezone/Makefile: Do not install iso3166.tab and zone.tab
39257
0cb7efc5
JM
392582012-03-21 Joseph Myers <joseph@codesourcery.com>
39259
39260 [BZ #13871]
39261 * math/w_exp2.c: Do not include <float.h>.
39262 (o_threshold, u_threshold): Remove.
39263 (__exp2): Calculate result before checking finiteness and calling
39264 __kernel_standard.
39265 * math/w_exp2f.c: Likewise.
39266 * math/w_exp2l.c: Likewise.
39267 * math/libm-test.inc (exp2_test): Require overflow exception for
39268 1e6 input.
2460d3aa
JM
39269
39270 [BZ #3866]
39271 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
39272 range of signed 64-bit integers before using fistpll. Remove
39273 checks for whether integers fit in mantissa bits.
39274 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
39275 the range of signed 32-bit integers before using fistpl. Remove
39276 checks for whether integers fit in mantissa bits.
39277 * sysdeps/i386/fpu/e_powl.S (p64): New object.
39278 (__ieee754_powl): Test for y outside the range of signed 64-bit
39279 integers before using fistpll. Reduce 64-bit values to 63-bit
39280 ones as needed.
39281 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
39282 divide-by-zero is raised for zero to large negative powers.
39283 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
39284 (__ieee754_powl): Test for y outside the range of signed 64-bit
39285 integers before using fistpll. Reduce 64-bit values to 63-bit
39286 ones as needed.
39287 * math/libm-test.inc (pow_test): Add more tests.
39288
eb96ffb0
L
392892012-03-20 H.J. Lu <hongjiu.lu@intel.com>
39290
39291 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
39292 <stdio-common/_itoa.h>.
39293 * debug/segfault.c: Likewise.
39294 * elf/dl-cache.c: Likewise.
39295 * elf/dl-minimal.c: Likewise.
39296 * elf/dl-misc.c: Likewise.
39297 * elf/dl-sysdep.c: Likewise.
39298 * elf/dl-version.c: Likewise.
39299 * elf/rtld.c: Likewise.
39300 * hurd/hurdsock.c: Likewise.
39301 * hurd/lookup-retry.c: Likewise.
39302 * malloc/malloc.c: Likewise.
39303 * malloc/mtrace.c: Likewise.
39304 * nscd/nscd_getgr_r.c: Likewise.
39305 * nscd/nscd_getpw_r.c: Likewise.
39306 * nscd/nscd_getserv_r.c: Likewise.
39307 * posix/getopt_init.c: Likewise.
39308 * posix/wordexp.c: Likewise.
39309 * stdio-common/_itoa.c: Likewise.
39310 * stdio-common/printf_fphex.c: Likewise.
39311 * stdio-common/vfprintf.c: Likewise.
39312 * string/_strerror.c: Likewise.
39313 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
39314 * sysdeps/i386/i686/hp-timing.h: Likewise.
39315 * sysdeps/mach/_strerror.c: Likewise.
39316 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
39317 * sysdeps/mach/hurd/sethostid.c: Likewise.
39318 * sysdeps/mach/hurd/xmknodat.c: Likewise.
39319 * sysdeps/mach/xpg-strerror.c: Likewise.
39320 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
39321 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
39322 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
39323 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
39324 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
39325 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
39326 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
39327 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
39328 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
39329 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
39330 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
39331 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
39332 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
39333 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
39334 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
39335 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
39336 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
39337 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
39338 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
39339 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
39340 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
39341
39342 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
39343
39344 * stdio-common/_itoa.h: Moved to ...
39345 * sysdeps/generic/_itoa.h: Here.
39346
39347 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
39348
39349 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
39350 instead of "_itoa.h" and "_itowa.h".
39351 * stdio-common/vfprintf.: Likewise.
39352
d1af992d
L
393532012-03-20 H.J. Lu <hongjiu.lu@intel.com>
39354
39355 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
39356 <bits/wordsize.h>.
39357 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
39358 (__signbit): Likwise.
39359 (llrintf): Likwise.
39360 (llrint): Likwise.
39361
114883e0
L
393622012-03-20 H.J. Lu <hongjiu.lu@intel.com>
39363
39364 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
39365 __WORDSIZE != 64.
39366
c135cc1b
JM
393672012-03-20 Joseph Myers <joseph@codesourcery.com>
39368
39369 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
39370 OVERFLOW_EXCEPTION_OK.
39371 * math/libm-test.inc ("Philosophy"): Update comment about
39372 exception testing.
39373 (OVERFLOW_EXCEPTION): Define.
39374 (OVERFLOW_EXCEPTION_OK): Likewise.
39375 (INVALID_EXCEPTION_OK): Renumber.
39376 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
39377 (IGNORE_ZERO_INF_SIGN): Likewise.
39378 (test_exceptions): Handle FE_OVERFLOW.
39379 (exp10_test): Expect overflow exceptions.
39380 (exp2_test): Likewise.
39381 (expm1_test): Likewise.
39382 (nextafter_test): Likewise.
39383 (pow_test): Likewise.
39384 (scalbn_test): Likewise.
39385 (scalbln_test): Likewise.
39386
95443d88
L
393872012-03-19 H.J. Lu <hongjiu.lu@intel.com>
39388
39389 * sysdeps/x86_64/bits/atomic.h
39390 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
39391 64bit integer.
39392 (atomic_exchange_acq): Likewise.
39393 (__arch_exchange_and_add_body): Likewise.
39394 (__arch_add_body): Likewise.
39395 (atomic_add_negative): Likewise.
39396 (atomic_add_zero): Likewise.
39397
490df6c4
L
393982012-03-19 H.J. Lu <hongjiu.lu@intel.com>
39399
c2722551 39400 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
490df6c4
L
39401 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
39402
5e52b189
L
394032012-03-19 H.J. Lu <hongjiu.lu@intel.com>
39404
39405 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
39406 Check __x86_64__ instead of __WORDSIZE.
39407
a9879d4c
L
394082012-03-19 H.J. Lu <hongjiu.lu@intel.com>
39409
39410 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
39411
5df98260
DM
394122012-03-19 David S. Miller <davem@davemloft.net>
39413
e1497744
DM
39414 * sysdeps/sparc/fpu/libm-test-ulps: Update.
39415
5df98260
DM
39416 * sysdeps/sparc/fpu/fenv_private.h: New file.
39417 * sysdeps/sparc/fpu/math_private.h: Use it.
39418 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
39419 Remove.
57f41c40 39420 (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
5df98260
DM
39421 (libc_feholdexcept_setroundl): Remove.
39422 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
39423 Remove.
39424 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
39425 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
39426
b4c35121
L
394272012-03-19 H.J. Lu <hongjiu.lu@intel.com>
39428
39429 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
39430 int64_t instead of long int.
39431 (INSERT_WORDS64): Likwise.
39432
56965fd7
L
394332012-03-19 H.J. Lu <hongjiu.lu@intel.com>
39434
39435 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
39436 _Unwind_GetCFA return to _Unwind_Ptr first.
39437
83d1aec8
JM
394382012-03-19 Joseph Myers <joseph@codesourcery.com>
39439
1897ad44
JM
39440 [BZ #13629]
39441 * math/s_clog.c: Include <float.h>.
39442 (__clog): Scale large or subnormal inputs.
39443 * math/s_clogf.c: Likewise.
39444 * math/s_clogl.c: Likewise.
39445 * math/s_clog10.c: Include <float.h>.
39446 (M_LOG10_2): Define.
39447 (__clog10): Scale large or subnormal inputs.
39448 * math/s_clog10f.c: Likewise.
39449 * math/s_clog10l.c: Likewise.
39450 * math/libm-test.inc (clog_test): Add more tests.
39451 (clog10_test): Likewise.
39452 * sysdeps/i386/fpu/libm-test-ulps: Update.
39453 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39454
7726d6a9
JM
39455 [BZ #11451]
39456 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
39457 x and y.
39458 * math/libm-test.inc (atan2_test): Add another test.
39459
83d1aec8
JM
39460 * Makerules (common-objdir-compile): Remove.
39461 * sysdeps/unix/Makefile (config-generated): Do not add
39462 $(unix-generated) to variable.
39463 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
39464 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
39465 Remove rule.
39466 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
39467 Likewise.
39468 [generic bits/local_lim.h] (before-compile): Do not append to
39469 variable.
39470 [generic bits/local_lim.h] (common-generated): Likewise.
39471 [generic sys/param.h] (before-compile): Do not append to variable.
39472 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
39473 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
39474 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
39475 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
39476 include.
39477 [generic sys/param.h] (sys/param.h-includes): Remove variable.
39478 [generic sys/param.h] (sys/param.h-includes): Remove rule.
39479 [generic sys/param.h] ($(addprefix
39480 $(common-objpfx),$(sys/param.h-includes))): Likewise.
39481 [generic sys/param.h] (common-generated): Do not append to
39482 variable.
39483 [generic sys/param.h] (sysdep_headers): Likewise.
39484 [generic bits/errno.h] (before-compile): Do not append to
39485 variable.
39486 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
39487 rule.
39488 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
39489 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
39490 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
39491 [generic bits/errno.h] (common-generated): Do not append to
39492 variable.
39493 [generic bits/ioctls.h] (before-compile): Do not append to
39494 variable.
39495 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
39496 rule.
39497 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
39498 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
39499 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
39500 rule.
39501 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
39502 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
39503 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
39504 [generic bits/ioctls.h] (common-generated): Do not append to
39505 variable.
39506 [generic sys/syscall.h] (syscall.h): Remove variable.
39507 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
39508 rule.
39509 [generic sys/syscall.h] (before-compile): Do not append to
39510 variable.
39511 [generic sys/syscall.h] (common-generated): Likewise.
39512 * sysdeps/unix/errnos-tmpl.c: Remove file.
39513 * sysdeps/unix/errnos.awk: Likewise.
39514 * sysdeps/unix/ioctls-tmpl.c: Likewise.
39515 * sysdeps/unix/ioctls.awk: Likewise.
39516 * sysdeps/unix/mk-local_lim.c: Likewise.
39517 * sysdeps/unix/snarf-ioctls: Likewise.
39518
4851a949
RH
395192012-03-19 Richard Henderson <rth@twiddle.net>
39520
bd37f2ee
RH
39521 * sysdeps/i386/fpu/fenv_private.h: New file.
39522 * sysdeps/i386/fpu/math_private.h: Use it.
39523 (math_opt_barrier, math_force_eval): Remove.
39524 (libc_feholdexcept_setround_53bit): Remove.
39525 (libc_feupdateenv_53bit): Remove.
39526 * sysdeps/x86_64/fpu/math_private.h: Likewise.
39527 (math_opt_barrier, math_force_eval): Remove.
39528 (libc_feholdexcept): Remove.
39529 (libc_feholdexcept_setround): Remove.
39530 (libc_fetestexcept, libc_fesetenv): Remove.
39531 (libc_feupdateenv_test): Remove.
39532 (libc_feupdateenv, libc_feholdsetround): Remove.
39533 (libc_feresetround): Remove.
39534
d0adc922
RH
39535 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
39536 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
39537
0fe0f1f8
RH
39538 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
39539 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
39540 (libc_feupdateenv_testl): New.
39541 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
39542 (libc_feupdateenv_testf): New.
39543 (libc_feupdateenv): Use libc_feupdateenv_test.
39544 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
39545 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
39546
eb92c487
RH
39547 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
39548 (libc_feholdsetroundf, libc_feholdsetroundl): New.
39549 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
39550 (libc_feresetround_noex): New.
39551 (libc_feresetround_noexf): New.
39552 (libc_feresetround_noexl): New.
39553 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
39554 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
39555 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
39556 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
39557 SET_RESTORE_ROUND.
39558 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
39559 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
39560 (__cos): Likewise.
39561 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
39562 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
39563 SET_RESTORE_ROUND_NOEX.
39564 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
39565 SET_RESTORE_ROUND_NOEXF.
39566 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
39567 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
39568 (libc_feholdsetroundf): New.
39569 (libc_feresetround, libc_feresetroundf): New.
39570
7d2e8012
RH
39571 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
39572 (libc_feholdexcept_setround_53bit): Convert from macro to function.
39573 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
39574
b4dabbb4
RH
39575 * sysdeps/generic/math_private.h: Include <fenv.h>.
39576 (default_libc_feholdexcept): New.
39577 (default_libc_feholdexcept_setround): New.
39578 (default_libc_fesetenv, default_libc_feupdateenv): New.
39579 (libc_feholdexcept): Only define if undefined.
39580 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
39581 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
39582 (libc_feholdexcept_setroundl): Likewise.
39583 (libc_feholdexcept_setround_53bit): Likewise.
39584 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
39585 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
39586 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
39587 (libc_feupdateenv_53bit): Likewise.
39588 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
39589 (libc_feholdexcept): Convert from macro to inline function.
39590 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
39591 (libc_fesetenv, libc_feupdateenv): Likewise.
39592
4851a949
RH
39593 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
39594 not previously defined.
39595 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
39596 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
39597 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
39598 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
39599 * sysdeps/ieee754/flt-32/math_private.h: New file.
39600 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
39601 math_private.h below SET_FLOAT_WORD.
39602 (__isnan, __isinf_ns, __finite): Remove.
39603 (__isnanf, __isinf_nsf, __finitef): Remove.
39604
e79d442e
AS
396052012-03-18 Andreas Schwab <schwab@linux-m68k.org>
39606
39607 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39608
90b80344
DM
396092012-03-17 David S. Miller <davem@davemloft.net>
39610
39611 [BZ #6471]
39612 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
39613 for 2.16.
39614
edc21804
DM
396152012-03-16 David S. Miller <davem@davemloft.net>
39616
77e927af
DM
39617 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
39618 warnings.
39619
374976dd
DM
39620 [BZ #6471]
39621 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
39622 properly.
39623 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
39624 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
39625 sysdep_routines when subdir is sysvipc.
39626 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
39627 __getshmlba helper.
39628
edc21804
DM
39629 * sysdeps/sparc/fpu/libm-test/ulps: Update.
39630
473c3ef3
L
396312012-03-16 H.J. Lu <hongjiu.lu@intel.com>
39632
39633 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
39634 [__LP64__].
39635
eb0f39b6
L
396362012-03-16 H.J. Lu <hongjiu.lu@intel.com>
39637
39638 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
39639 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
39640 (__lround): Renamed to ...
39641 (__llround): This. Replace long int with long long int.
39642 Define lround functions as aliases of llround functions.
39643 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
39644
6b6cd74b
L
396452012-03-16 H.J. Lu <hongjiu.lu@intel.com>
39646
39647 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
39648 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
39649 adresses to uintptr_t. Replace "long int" and "unsigned long
39650 int" with "greg_t" on va_arg.
39651
f1a77b01
L
396522012-03-16 H.J. Lu <hongjiu.lu@intel.com>
39653
39654 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
39655 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
39656
39657 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
39658 Move e_machine check before EI_CLASS check. Handle x32
39659 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
39660 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
39661 SKIP_EM_IA_64 and include
39662 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
39663
39664 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
39665 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
39666 (add_system_dir): New macro.
39667
39668 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
39669 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
39670
11b90b9f
JM
396712012-03-16 Joseph Myers <joseph@codesourcery.com>
39672
c36e1d23
JM
39673 [BZ #2551]
39674 [BZ #2552]
39675 [BZ #2553]
39676 [BZ #2554]
39677 [BZ #2562]
39678 [BZ #2563]
39679 [BZ #2565]
39680 [BZ #2566]
39681 [BZ #2576]
39682 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
39683 (y0): Likewise.
39684 * math/w_j0f.c (j0f): Likewise.
39685 (y0f): Likewise.
39686 * math/w_j0l.c (__j0l): Likewise.
39687 (__y0l): Likewise.
39688 * math/w_j1.c (j1): Likewise.
39689 (y1): Likewise.
39690 * math/w_j1f.c (j1f): Likewise.
39691 (y1f): Likewise.
39692 * math/w_j1l.c (__j1l): Likewise.
39693 (__y1l): Likewise.
39694 * math/w_jn.c (jn): Likewise.
39695 (yn): Likewise.
39696 * math/w_jnf.c (jnf): Likewise.
39697 (ynf): Likewise.
39698 * math/w_jnl.c (__jnl): Likewise.
39699 (__ynl): Likewise.
39700 * math/libm-test.inc (j0_test): Add more tests.
39701 (j1_test): Likewise.
39702 (jn_test): Likewise. Add trailing semicolon to existing test.
39703 (y0_test): Likewise.
39704 (y1_test): Likewise.
39705 * sysdeps/i386/fpu/libm-test-ulps: Update.
39706 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39707
11b90b9f
JM
39708 [BZ #13851]
39709 [BZ #13854]
39710 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
39711 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
39712 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
39713 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
39714 (__tanl): Set errno for infinite argument.
39715 * sysdeps/i386/fpu/mptan.c: Remove.
39716 * sysdeps/i386/fpu/s_tan.S: Likewise.
39717 * sysdeps/i386/fpu/s_tanl.S: Likewise.
39718 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
39719 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
39720 * math/libm-test.inc (tan_test): Add more tests and enable more
39721 tests for double and long double.
39722 * sysdeps/i386/fpu/libm-test-ulps: Update.
39723 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39724
6a1bd2a1
JK
397252012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
39726
39727 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
39728 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
39729
10a803e0
RM
397302012-03-16 Roland McGrath <roland@hack.frob.com>
39731
39732 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
39733 * configure.in: Use it for both main tree and add-ons.
39734 * configure: Regenerated.
39735
f196c7f7
L
397362012-03-16 H.J. Lu <hongjiu.lu@intel.com>
39737
39738 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
39739
8848d99d
JM
397402012-03-16 Joseph Myers <joseph@codesourcery.com>
39741
96cbe7f4
JM
39742 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
39743 in comment.
39744
8848d99d
JM
39745 [BZ #13851]
39746 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
39747 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
39748 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
39749 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
39750 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
39751 infinite argument.
39752 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
39753 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
39754 != 0 for prec == 2.
39755 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
39756 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
39757 * sysdeps/i386/fpu/s_cosl.S: Likewise.
39758 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
39759 * sysdeps/i386/fpu/s_sinl.S: Likewise.
39760 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
39761 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
39762 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
39763 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
39764 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
39765 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
39766 * math/libm-test.inc (cos_test): Add more tests and enable more
39767 tests for long double.
39768 (sin_test): Likewise.
39769 (sincos_test): Likewise.
39770 * sysdeps/i386/fpu/libm-test-ulps: Update.
39771 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39772
dd7f4703
DM
397732012-03-16 David S. Miller <davem@davemloft.net>
39774
39775 * sysdeps/sparc/fpu/math_private.h: New file.
39776
006f1daa
DM
397772012-03-15 David S. Miller <davem@davemloft.net>
39778
c0c83bc8
DM
39779 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
39780 file.
e6a62e18 39781 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
39782 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
39783 file.
e6a62e18
DM
39784 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
39785 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
39786 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
39787 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
39788 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
39789 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
39790 sysdep routines.
39791 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
39792
88cb87d9
DM
39793 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
39794 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
39795
006f1daa 39796 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
39797 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
39798 sparc-ifunc.h
006f1daa 39799 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
39800 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
39801 Likewise.
39802 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
39803 Likewise.
006f1daa
DM
39804 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
39805 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
39806 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
39807 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
39808 Likewise.
006f1daa
DM
39809 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
39810 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
39811 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
39812 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
39813 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
39814 Likewise.
39815 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
39816 Likewise.
006f1daa
DM
39817 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
39818 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
39819 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
39820 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
39821 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
39822 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
39823 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
39824 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
39825 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
39826 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
39827 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
39828 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
39829 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
39830 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
39831 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
39832 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
39833 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
39834 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
39835 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
39836 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
39837 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
39838 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
39839 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
39840 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
39841
11e0098e
AS
398422012-03-15 Andreas Schwab <schwab@linux-m68k.org>
39843
39844 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
39845 scaling.
39846 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39847
e85b09d0
AJ
398482012-03-15 Andreas Jaeger <aj@suse.de>
39849
39850 [BZ #13852]
39851 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
39852 ieee754/flt-32 implementation for sin, cos and sincos.
39853 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
39854 * sysdeps/i386/fpu/s_cosf.S: Likewise.
39855 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
39856 * sysdeps/i386/fpu/s_sinf.S: Likewise.
39857 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
39858 ieee754/flt-32 implementation for tan.
39859
39860 * math/libm-test.inc (cos_test): Enable some large input tests for
39861 float as well
39862 (sin_test): Likewise.
39863 (sincos_test): Likewise.
39864 (tan_test): Add tests for large input.
39865
39866 * sysdeps/i386/fpu/libm-test-ulps: Update.
39867
81c64153
AJ
398682012-03-15 Andreas Jaeger <aj@suse.de>
39869
39870 [BZ #13658]
39871 * math/libm-test.inc (cos_test): Add more test cases.
39872 (sin_test): Likewise.
39873 (sincos_test): Likewise.
39874
7bbfa5c6
AJ
398752012-03-15 Andreas Jaeger <aj@suse.de>
39876
39877 [BZ #13837]
39878 * math/libm-test.inc (cos_test): Add a test case for large input
39879 value.
39880 (sin_test): Likewise.
39881 (sincos_test): Likewise.
39882
57f41c40
AS
398832012-03-15 Andreas Jaeger <aj@suse.de>
39884 Joseph Myers <joseph@codesourcery.com>
7bbfa5c6
AJ
39885
39886 [BZ #13658]
0671f479 39887 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
39888 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
39889 * sysdeps/i386/fpu/branred.c: Likewise.
39890 * sysdeps/i386/fpu/dosincos.c: Likewise.
39891 * sysdeps/i386/fpu/mpa.c: Likewise.
39892 * sysdeps/i386/fpu/s_cos.S: Likewise.
39893 * sysdeps/i386/fpu/s_sin.S: Likewise.
39894 * sysdeps/i386/fpu/s_sincos.S: Likewise.
39895 * sysdeps/i386/fpu/sincos32.c: Likewise.
39896
39897 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
39898 Define.
39899 (libc_feupdateenv_53bit): Define.
39900 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
39901 Define.
39902 (libc_feupdateenv_53bit): Define.
39903
39904 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
39905 53 bit (without extend i386 double precision).
39906
39907 * math/libm-test.inc (sincos_test): Add tests for large input.
39908 (sin): Likewise.
39909 (cos): Likewise.
39910
39911 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
39912
9cad04ea
AS
399132012-03-15 Andreas Schwab <schwab@linux-m68k.org>
39914
39915 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39916
f7062b9a
DM
399172012-03-15 David S. Miller <davem@davemloft.net>
39918
39919 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
39920 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
39921 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
39922 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
39923 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
39924 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
39925 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
39926 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
39927 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
39928 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
39929 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
39930 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
39931 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
39932 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
39933 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
39934 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
39935 file.
f7062b9a 39936 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
39937 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
39938 file.
f7062b9a 39939 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
39940 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
39941 file.
f7062b9a 39942 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
39943 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
39944 file.
f7062b9a
DM
39945 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
39946 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
39947 fmin/fmax sysdep routines.
39948 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
39949
7bd951ff
DM
399502012-03-14 David S. Miller <davem@davemloft.net>
39951
559398ab
DM
39952 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
39953 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
39954 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
39955 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
39956 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
39957 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
39958 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
39959 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
39960 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
39961 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
39962 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
39963 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
39964 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
39965 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
39966 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
39967 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
39968 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
39969 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
39970 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
39971 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
39972 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
39973 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
39974 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
39975 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
39976 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
39977 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
39978 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
39979 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
39980 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
39981 routines.
39982 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
39983 file.
559398ab 39984 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
39985 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
39986 file.
559398ab 39987 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
39988 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
39989 file.
559398ab 39990 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
39991 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
39992 file.
559398ab 39993 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
39994 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
39995 file.
559398ab 39996 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
39997 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
39998 file.
39999 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
40000 file.
40001 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
40002 file.
40003 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
40004 file.
40005 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
40006 New file.
40007 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
40008 file.
40009 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
40010 file.
559398ab 40011 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
40012 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
40013 file.
559398ab 40014 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
40015 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
40016 file.
559398ab 40017 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
40018 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
40019 file.
559398ab 40020 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
40021 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
40022 VIS3 routines.
559398ab
DM
40023
40024 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
40025 New file.
40026
5a1c1e32
DM
40027 * sysdeps/sparc/fpu/libm-test-ulps: Update.
40028
eae47a36
DM
40029 * sysdeps/sparc/configure.in: New file.
40030 * sysdeps/sparc/configure: Generate.
40031 * configure.in (libc_cv_sparc_as_vis3): Substitute.
40032 * configure: Regenerate.
40033 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
40034 * config.make.in (have-as-vis3): New.
40035 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
40036 available use -Av9d instead of -Av9a.
40037 * sysdeps/sparc/sparc64/Makefile: Likewise.
40038 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
40039 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
40040 New file.
40041 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
40042 file.
40043 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
40044 New file.
40045 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
40046 file.
eae47a36
DM
40047 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
40048 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
40049 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
40050 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
40051 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
40052
c0c83bc8
DM
40053 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
40054 fzeros/fnegs to load 0x80000000 into a float register instead of
40055 using the stack.
7bd951ff
DM
40056 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
40057
bd951ccb
JM
400582012-03-14 Joseph Myers <joseph@codesourcery.com>
40059
40060 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
40061 bits/syscall.h.
40062 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
40063 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
40064 ($(inst_includedir)/bits/syscall.h): Remove rule.
40065 ($(objpfx)bits/syscall.d): Include instead of
40066 $(objpfx)syscall-list.d.
40067 (generated): Change syscall-list.h and syscall-list.d to
40068 bits/syscall.h and bits/syscall.d.
40069
bb4e6db2
RM
400702012-03-14 Roland McGrath <roland@hack.frob.com>
40071
40072 [BZ #13846]
40073 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
40074
aa4a2ae1
JM
400752012-03-14 Joseph Myers <joseph@codesourcery.com>
40076
e456826d
JM
40077 [BZ #13841]
40078 * math/s_csqrt.c: Include <float.h>.
40079 (__csqrt): Scale large or subnormal inputs.
40080 * math/s_csqrtf.c: Likewise.
40081 * math/s_csqrtl.c: Likewise.
40082 * math/libm-test.inc (csqrt_test): Add more tests.
40083 * sysdeps/i386/fpu/libm-test-ulps: Update.
40084 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40085
aa4a2ae1
JM
40086 [BZ #13840]
40087 * math/libm-test.inc (hypot_test): Add more tests.
40088
7c10fd35
DM
400892012-03-13 David S. Miller <davem@davemloft.net>
40090
40091 [BZ #13840]
40092 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
40093 double-precision for the calculation instead of scaling.
40094
f453b98b
JM
400952012-03-13 Joseph Myers <joseph@codesourcery.com>
40096
40097 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
40098 manipulate bits before adding and subtracting TWO52[sx].
40099 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
40100 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
40101 Likewise.
40102 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
40103
09a3453f
DM
401042012-03-13 David S. Miller <davem@davemloft.net>
40105
8e59da90
DM
40106 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
40107 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
40108 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
40109 rtld-global-offsets.h
40110 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
40111
2a8ab7f2
DM
40112 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
40113 large parameters.
40114
10f62770
DM
40115 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
40116
5f0bdb18
DM
40117 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
40118 'err' in the ifdef scope in which it is actually used.
40119
09a3453f
DM
40120 * nss/nss_db/db-init.c: Include string.h
40121
b4b2eb5e
DM
401222012-03-12 David S. Miller <davem@davemloft.net>
40123
98bb2f1c
DM
40124 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
40125 masking out of the most significant byte of random value used.
40126 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
40127 Fix coding style in previous change.
40128
b4b2eb5e
DM
40129 * sysdeps/unix/sysv/linux/kernel-features.h
40130 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
40131 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
40132 expression.
40133 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
40134 later.
40135
6e226b09
DM
401362012-03-11 David S. Miller <davem@davemloft.net>
40137
a1bcbd40
DM
40138 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
40139 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
40140 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
40141 for 'resultvar' otherwise things get truncated on 64-bit.
40142
cb9d6174
DM
40143 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
40144 Fix masking out of the most significant byte of random value used.
40145
6e226b09
DM
40146 * sysdeps/sparc/fpu/libm-test-ulps: Update.
40147
058c132d
AS
401482012-03-10 Andreas Schwab <schwab@linux-m68k.org>
40149
40150 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40151
2d2cd515
DM
401522012-03-09 David S. Miller <davem@davemloft.net>
40153
40154 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
40155 variables with appropriate CPP guards.
57f41c40
AS
40156 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
40157 from the frame pointer, not the stack pointer. Correct layout
40158 comments. Fix test on resulting framesize and the management of
40159 the outregs buffer for pltexit. Preserve floating point return
40160 values across _dl_call_pltexit call.
2d2cd515
DM
40161 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
40162 framesize and the management of the outregs buffer for pltexit.
40163 Preserve floating point return values across _dl_call_pltexit
40164 call.
57f41c40
AS
40165 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
40166 (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
40167 (la_sparc64_gnu_pltexit): New functions.
2d2cd515
DM
40168 (print_exit): Fix format string for return register value.
40169
9a07f9d0
JM
401702012-03-10 Joseph Myers <joseph@codesourcery.com>
40171
40172 * sunrpc/Makefile (others): Add rpcgen.
40173 ($(objpfx)rpcgen): Remove special build rule and dependency on
40174 libc.
40175 * sunrpc/rpcgen.c: New file.
40176
547b5e30
PE
401772012-03-09 Paul Eggert <eggert@cs.ucla.edu>
40178
c524201a
PE
40179 [BZ #13673]
40180 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
40181 * stdio-common/bug-vfprintf-nargs.c: Likewise.
40182 * sysdeps/i386/crti.S: Likewise.
40183 * sysdeps/i386/crtn.S: Likewise.
40184 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
40185 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
40186 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
40187 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
40188 * sysdeps/sh/crti.S: Likewise.
40189 * sysdeps/sh/crtn.S: Likewise.
40190 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
40191
7b6235f2
PE
40192 [BZ #13673]
40193 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
40194 with URL.
40195 * locale/programs/locfile-kw.gperf: Likewise.
40196 * locale/programs/charmap-kw.h: Regenerated.
40197 * locale/programs/locfile-kw.h: Likewise.
40198
547b5e30
PE
40199 [BZ #13673]
40200 * intl/plural.y: Replace FSF snail mail address with URL.
40201 * intl/plural.c: Regenerated.
40202
5f0a5dae
RH
402032012-03-09 Richard Henderson <rth@twiddle.net>
40204
40205 * include/math_private.h: Remove file.
40206 * math/math_private.h: Move file ...
40207 * sysdeps/generic/math_private.h: ... here.
40208
b8c03620
RH
40209 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
40210 * sysdeps/powerpc/fpu/math_private.h: Likewise.
40211 * sysdeps/x86_64/fpu/math_private.h: Likewise.
40212
4e234f5d 40213 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
40214 and <math_private.h>.
40215 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
40216 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
40217 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
40218 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
40219 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
40220 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
40221 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
40222 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
40223 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
40224 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
40225 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
40226 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
40227 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
40228 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
40229 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
40230 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
40231 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
40232 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
40233 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
40234 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
40235 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
40236 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
40237 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
40238 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
40239 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
40240 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
40241 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
40242 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
40243 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
40244 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
40245 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
40246 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
40247 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
40248 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
40249 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
40250 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
40251 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
40252 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
40253 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
40254 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
40255 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
40256 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
40257 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
40258 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
40259 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
40260 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
40261 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
40262 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
40263 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
40264 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
40265 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
40266 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
40267 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
40268 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
40269 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
40270 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
40271 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
40272 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
40273 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
40274 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
40275 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
40276 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
40277 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
40278 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
40279 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
40280 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
40281 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
40282 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
40283 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
40284 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
40285 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
40286 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
40287 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
40288 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
40289 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
40290 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
40291 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
40292 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
40293 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
40294 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
40295 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
40296 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
40297 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
40298 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
40299 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
40300 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
40301 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
40302 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
40303 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
40304 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
40305 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
40306 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
40307 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
40308 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
40309 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
40310 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
40311 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
40312 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
40313 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
40314 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
40315 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
40316 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
40317 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
40318 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
40319 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
40320 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
40321 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
40322 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
40323 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
40324 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
40325 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
40326 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
40327 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
40328 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
40329 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
40330 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
40331 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
40332 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
40333 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
40334 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
40335 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
40336 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
40337 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
40338 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
40339 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
40340 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
40341 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
40342 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
40343 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
40344 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
40345 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
40346 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
40347 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
40348 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
40349 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
40350 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
40351 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
40352 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
40353 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
40354 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
40355 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
40356 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
40357 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
40358 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
40359 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
40360 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
40361 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
40362 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
40363 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
40364 * sysdeps/ieee754/k_standard.c: Likewise.
40365 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
40366 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
40367 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
40368 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
40369 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
40370 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
40371 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
40372 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
40373 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
40374 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
40375 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
40376 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
40377 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
40378 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
40379 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
40380 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
40381 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
40382 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
40383 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
40384 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
40385 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
40386 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
40387 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
40388 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
40389 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
40390 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
40391 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
40392 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
40393 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
40394 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
40395 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
40396 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
40397 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
40398 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
40399 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
40400 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
40401 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
40402 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
40403 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
40404 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
40405 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
40406 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
40407 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
40408 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
40409 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
40410 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
40411 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
40412 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
40413 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
40414 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
40415 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
40416 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
40417 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
40418 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
40419 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
40420 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
40421 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
40422 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
40423 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
40424 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
40425 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
40426 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
40427 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
40428 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
40429 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
40430 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
40431 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
40432 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
40433 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
40434 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
40435 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
40436 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
40437 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
40438 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
40439 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
40440 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
40441 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
40442 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
40443 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
40444 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
40445 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
40446 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
40447 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
40448 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
40449 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
40450 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
40451 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
40452 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
40453 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
40454 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
40455 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
40456 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
40457 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
40458 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
40459 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
40460 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
40461 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
40462 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
40463 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
40464 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
40465 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
40466 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
40467 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
40468 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
40469 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
40470 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
40471 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
40472 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
40473 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
40474 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
40475 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
40476 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
40477 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
40478 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
40479 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
40480 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
40481 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
40482 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
40483 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
40484 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
40485 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
40486 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
40487 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
40488 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
40489 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
40490 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
40491 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
40492 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
40493 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
40494 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
40495 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
40496 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
40497 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
40498 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
40499 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
40500 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
40501 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
40502 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
40503 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
40504 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
40505 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
40506 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
40507 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
40508 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
40509 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
40510 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
40511 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
40512 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
40513 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
40514 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
40515 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
40516 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
40517 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
40518 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
40519 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
40520 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
40521 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
40522 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
40523 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
40524 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
40525 * sysdeps/ieee754/s_lib_version.c: Likewise.
40526 * sysdeps/ieee754/s_matherr.c: Likewise.
40527 * sysdeps/ieee754/s_signgam.c: Likewise.
40528 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
40529 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
40530 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
40531 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
40532 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
40533 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
40534 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
40535 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
40536 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
40537 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
40538 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
40539 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
40540 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
40541 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
40542 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
40543 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
40544 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
40545 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
40546 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
40547 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
40548 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 40549
1991fa03
JM
405502012-03-09 Joseph Myers <joseph@codesourcery.com>
40551
40552 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
40553 * sunrpc/rpc_main.c: Likewise.
40554 * sunrpc/rpc_svcout.c: Likewise.
40555
60d6f5a6
DM
405562012-03-09 David S. Miller <davem@davemloft.net>
40557
40558 * include/math_private.h: New file.
40559
4962050e
JM
405602012-03-09 Joseph Myers <joseph@codesourcery.com>
40561
02a6f887
JM
40562 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
40563 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
40564 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
40565 from <bits/socket_type.h>.
40566 (enum __socket_type): Don't define here.
40567 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
40568 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
40569 bits/socket_type.h.
40570
c6e013c1
JM
40571 [BZ #13566]
40572 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
40573 checking __USE_GNU.
40574
4962050e
JM
40575 * Makerules ($(inst_includedir)/%.h): New rule.
40576 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
40577 (install-others): Remove variable setting.
40578 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
40579
38842f45
RH
405802012-03-08 Richard Henderson <rth@twiddle.net>
40581
67bb6da6
RH
40582 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
40583 from macro to inline function; merge with the
40584 !__LIBC_INTERNAL_MATH_INLINES version.
40585 (__ieee754_sqrtf): Likewise.
40586
15194b4b
RH
40587 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
40588 to inline function.
40589 (__rintf, __floor, __floorf): Likewise.
40590
64e21ede
RH
40591 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
40592 macro to inline function.
40593 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
40594
38842f45
RH
40595 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
40596 not <math/math_private.h>.
40597
c64bf5fe
DM
405982012-03-08 David S. Miller <davem@davemloft.net>
40599
40600 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
40601 copyright year.
40602 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
40603
82d86f28
TS
406042012-03-08 Thomas Schwinge <thomas@codesourcery.com>
40605
40606 * resolv/gai_misc.c (handle_requests): Fix struct timespec
40607 normalization.
40608 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
40609 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
40610
aea5d727
UD
406112012-03-08 Ulrich Drepper <drepper@gmail.com>
40612
40613 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
40614 be defined individually, they must be defined as a block. Define
40615 S for printing a string instead of hidint the different by using a
40616 macro for adding the 'l'.
40617 * stdio-common/tst-fphex-wide.c: Adjust.
40618
70bca0a3
MP
406192012-03-07 Marek Polacek <polacek@redhat.com>
40620
40621 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
40622
65b81130
MP
406232012-03-08 Marek Polacek <polacek@redhat.com>
40624
40625 [BZ #13806]
40626 * stdio-common/Makefile (tests): Add tst-fphex-wide.
40627 * stdio-common/tst-fphex.c: Define a few macros to make the
40628 test reusable. Use them.
40629 * stdio-common/tst-fphex-wide.c: New file.
40630
07037eeb
JM
406312012-03-08 Joseph Myers <joseph@codesourcery.com>
40632
a7a93d50
JM
40633 [BZ #6911]
40634 * manual/macros.texi (gnusystems): New macro.
40635 (nongnusystems): Likewise.
40636 (gnulinuxhurdsystems): Likewise.
40637 (gnuhurdsystems): Likewise..
40638 (gnulinuxsystems): Likewise.
40639 * manual/charset.texi: Use new macros or @theglibc{} to refer to
40640 variants of the GNU system, not "GNU system".
40641 * manual/conf.texi: Likewise.
40642 * manual/errno.texi: Likewise. Update example of errno macro
40643 expansion.
40644 * manual/filesys.texi: Likewise.
40645 (getumask): Document as specific to GNU/Hurd.
40646 * manual/install.texi: Likewise. Reword some references to
40647 GNU/Linux.
40648 * manual/intro.texi: Likewise.
40649 * manual/io.texi: Likewise.
40650 (File Name Portability): Detail which constraints are inapplicable
40651 to all GNU systems and which are only inapplicable to GNU/Hurd.
40652 * manual/job.texi: Likewise.
40653 * manual/llio.texi: Likewise.
40654 (O_NOCTTY): Document as present on GNU/Linux.
40655 * manual/maint.texi: Likewise.
40656 * manual/memory.texi: Likewise.
40657 * manual/pattern.texi: Likewise.
40658 * manual/pipe.texi: Likewise.
40659 * manual/process.texi: Likewise.
40660 * manual/resource.texi: Likewise.
40661 (RUSAGE_CHILDREN): Remove statement about specifying a particular
40662 child on GNU/Hurd.
40663 * manual/setjmp.texi: Likewise.
40664 * manual/signal.texi: Likewise.
40665 * manual/startup.texi: Likewise.
40666 * manual/stdio.texi: Likewise.
40667 * manual/terminal.texi: Likewise.
40668 (ONLCR): Document as POSIX.
40669 (OXTABS): Document availability on GNU/Linux as XTABS.
40670 (ONOEOT): Document availability separately from other bits.
40671 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
40672 * manual/time.texi: Likewise.
40673 * manual/users.texi: Likewise.
40674 * INSTALL: Regenerated.
40675 * sysdeps/gnu/errlist.c: Regenerated.
40676
07037eeb
JM
40677 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
40678 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
40679 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
40680 puts.
40681 * configure: Regenerated.
40682
d1d3431a
JM
406832012-03-07 Joseph Myers <joseph@codesourcery.com>
40684
af6a1e37
JM
40685 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
40686 default includes instead of AC_HEADER_CHECK.
40687 * sysdeps/i386/configure: Regenerated.
40688
d1d3431a
JM
40689 [BZ #10716]
40690 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
40691 * math/s_cacoshf.c (__cacoshf): Likewise.
40692 * math/s_cacoshl.c (__cacoshl): Likewise.
40693 * math/s_casinh.c (__casinh): Set signs of result from argument.
40694 * math/s_casinhf.c (__casinhf): Likewise.
40695 * math/s_casinhl.c (__casinhl): Likewise.
40696 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
40697 (casinh_test): Add more tests.
40698 * sysdeps/i386/fpu/libm-test-ulps: Update.
40699 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40700
482ff4da
UD
407012012-03-07 Ulrich Drepper <drepper@gmail.com>
40702
872fda05
UD
40703 * po/zh_TW.po: Update from translation team.
40704
a4300c7a
UD
40705 * login/Makefile (distribute): Remove variable.
40706 * catgets/Makefile: Likewise.
40707 * mach/Makefile: Likewise.
40708 * malloc/Makefile: Likewise.
40709 * misc/Makefile: Likewise.
40710 * iconv/Makefile: Likewise.
40711 * nscd/Makefile: Likewise.
40712 * hurd/Makefile: Likewise.
40713 * manual/Makefile: Likewise.
40714 * locale/Makefile: Likewise.
40715 * intl/Makefile: Likewise.
40716 * conform/Makefile: Likewise.
40717 * nss/Makefile: Likewise.
40718 * time/Makefile: Likewise.
40719 * soft-fp/Makefile: Likewise.
40720 * dirent/Makefile: Likewise.
40721 * gmon/Makefile: Likewise.
40722 * po/Makefile: Likewise.
40723 * rt/Makefile: Likewise.
40724 * socket/Makefile: Likewise.
40725 * math/Makefile: Likewise.
40726 * signal/Makefile: Likewise.
40727 * debug/Makefile: Likewise.
40728 * elf/Makefile: Likewise.
40729 * timezone/Makefile: Likewise.
40730 * stdlib/Makefile: Likewise.
40731 * iconvdata/Makefile: Likewise.
40732 * sunrpc/Makefile: Likewise.
40733 * io/Makefile: Likewise.
40734 * argp/Makefile: Likewise.
40735 * inet/Makefile: Likewise.
40736 * hesiod/Makefile: Likewise.
40737 * grp/Makefile: Likewise.
40738 * csu/Makefile: Likewise.
40739 * wctype/Makefile: Likewise.
40740 * crypt/Makefile: Likewise.
40741 * libio/Makefile: Likewise.
40742 * string/Makefile: Likewise.
40743 * nis/Makefile: Likewise.
40744 * resolv/Makefile: Likewise.
40745 * stdio-common/Makefile: Likewise.
40746 * wcsmbs/Makefile: Likewise.
40747 * dlfcn/Makefile: Likewise.
40748 * posix/Makefile: Likewise.
40749
3b7c4e74 40750 [BZ #6959]
482ff4da
UD
40751 * timezone/Makefile: Don't install timezone files, just the programs
40752 and scripts.
40753
f72ed77d
UD
407542012-03-06 Ulrich Drepper <drepper@gmail.com>
40755
a000466f
UD
40756 * nss/databases.def: Add missing gshadow entry.
40757
f72ed77d
UD
40758 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
40759
a53b7a4e
MP
407602012-03-06 Marek Polacek <polacek@redhat.com>
40761
40762 [BZ #13726]
40763 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
40764 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
40765 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
40766 * stdio-common/tst-long-dbl-fphex.c: New file.
40767
e9258400
DM
407682012-03-06 David S. Miller <davem@davemloft.net>
40769
40770 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
40771 (set_obp_int): New function.
40772 (get_obp_int): New function.
40773 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
40774 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
40775 Avoid unused variable warnings on 'val' and use builtin_expect.
40776 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
40777 __builtin_expect.
e9258400
DM
40778 (INLINE_CLONE_SYSCALL): Likewise.
40779
3bd2c723
DM
407802012-03-05 David S. Miller <davem@davemloft.net>
40781
40782 * sysdeps/sparc/fpu/libm-test-ulps: Update.
40783
bbb78d03
AS
407842012-03-05 Andreas Schwab <schwab@linux-m68k.org>
40785
884c5db4
AS
40786 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40787
bbb78d03
AS
40788 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
40789 only for |x| >= 40.
40790 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
40791
1c9f702a 407922012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
40793
40794 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
40795 Replace gettimeofday with __vdso_gettimeofday.
40796
7be16f82
RM
40797 * sysdeps/unix/sysv/linux/x86_64/init-first.c
40798 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
40799 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
40800
40801 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
40802 time with __vdso_time.
40803
ed58a00f
JM
408042012-03-05 Joseph Myers <joseph@codesourcery.com>
40805
40806 * manual/lang.texi (size_t): Note types to which size_t may be
40807 equivalent with the GNU C Library, but do not describe when
40808 differences between them are significant.
40809
30ee4ced
AJ
408102012-03-05 Andreas Jaeger <aj@suse.de>
40811
40812 * sysdeps/i386/fpu/libm-test-ulps: Update.
40813
b7cd39e8
JM
408142012-03-05 Joseph Myers <joseph@codesourcery.com>
40815
40816 [BZ #3976]
40817 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
40818 (__ieee754_pow): Save and restore rounding mode and use
40819 round-to-nearest for main computations.
40820 * math/libm-test.inc (pow_test_tonearest): New function.
40821 (pow_test_towardzero): Likewise.
40822 (pow_test_downward): Likewise.
40823 (pow_test_upward): Likewise.
40824 (main): Call the new functions.
40825 * sysdeps/i386/fpu/libm-test-ulps: Update.
40826 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
40827
40828 [BZ #3976]
40829 * math/libm-test.inc (cosh_test_tonearest): New function.
40830 (cosh_test_towardzero): Likewise.
40831 (cosh_test_downward): Likewise.
40832 (cosh_test_upward): Likewise.
40833 (sinh_test_tonearest): Likewise.
40834 (sinh_test_towardzero): Likewise.
40835 (sinh_test_downward): Likewise.
40836 (sinh_test_upward): Likewise.
40837 (main): Call the new functions.
40838 * sysdeps/i386/fpu/libm-test-ulps: Update.
40839 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40840
6c6a98c9
TV
408412012-03-05 Tom de Vries <tom@codesourcery.com>
40842
40843 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
40844 default stack guard is set in last bytes.
40845 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
40846
21bb2d2e 408472012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 40848
21bb2d2e 40849 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 40850
21bb2d2e
AJ
40851 [BZ #13656]
40852 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
40853 possibly allocate from heap instead of stack.
40854 * stdio-common/bug-vfprintf-nargs.c: New file.
40855 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 40856
c6922934
AS
408572012-03-03 Andreas Schwab <schwab@linux-m68k.org>
40858
40859 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40860
bc957d53
MP
408612012-03-03 Marek Polacek <polacek@redhat.com>
40862
40863 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
40864 * math/math_private.h: Likewise.
40865 * stdlib/tst-strtod.c: Likewise.
40866 * sysdeps/i386/i486/bits/atomic.h: Likewise.
40867 * sysdeps/x86_64/bits/atomic.h: Likewise.
40868
6358490d
DM
408692012-03-02 David S. Miller <davem@davemloft.net>
40870
40871 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
40872 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
40873 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
40874 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
40875 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
40876 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
40877 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
40878 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
40879
01ae168d
RM
408802012-03-02 Roland McGrath <roland@hack.frob.com>
40881
d9a17c07
RM
40882 [BZ #13792]
40883 * manual/examples/README: New file, says the example source files
40884 can be used under GPL>=2.
40885 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
40886 line containing just "*/".
40887 * manual/examples/add.c: Add copyright header (GPL>=2).
40888 * manual/examples/argp-ex1.c: Likewise.
40889 * manual/examples/argp-ex2.c: Likewise.
40890 * manual/examples/argp-ex3.c: Likewise.
40891 * manual/examples/argp-ex4.c: Likewise.
40892 * manual/examples/atexit.c: Likewise.
40893 * manual/examples/db.c: Likewise.
40894 * manual/examples/dir.c: Likewise.
40895 * manual/examples/dir2.c: Likewise.
40896 * manual/examples/execinfo.c: Likewise.
40897 * manual/examples/filecli.c: Likewise.
40898 * manual/examples/filesrv.c: Likewise.
40899 * manual/examples/fmtmsgexpl.c: Likewise.
40900 * manual/examples/genpass.c: Likewise.
40901 * manual/examples/inetcli.c: Likewise.
40902 * manual/examples/inetsrv.c: Likewise.
40903 * manual/examples/isockad.c: Likewise.
40904 * manual/examples/longopt.c: Likewise.
40905 * manual/examples/memopen.c: Likewise.
40906 * manual/examples/memstrm.c: Likewise.
40907 * manual/examples/mkfsock.c: Likewise.
40908 * manual/examples/mkisock.c: Likewise.
40909 * manual/examples/mygetpass.c: Likewise.
40910 * manual/examples/pipe.c: Likewise.
40911 * manual/examples/popen.c: Likewise.
40912 * manual/examples/rprintf.c: Likewise.
40913 * manual/examples/search.c: Likewise.
40914 * manual/examples/select.c: Likewise.
40915 * manual/examples/setjmp.c: Likewise.
40916 * manual/examples/sigh1.c: Likewise.
40917 * manual/examples/sigusr.c: Likewise.
40918 * manual/examples/stpcpy.c: Likewise.
40919 * manual/examples/strdupa.c: Likewise.
40920 * manual/examples/strftim.c: Likewise.
40921 * manual/examples/strncat.c: Likewise.
40922 * manual/examples/subopt.c: Likewise.
40923 * manual/examples/swapcontext.c: Likewise.
40924 * manual/examples/termios.c: Likewise.
40925 * manual/examples/testopt.c: Likewise.
40926 * manual/examples/testpass.c: Likewise.
40927 * manual/examples/timeval_subtract.c: Likewise.
40928
01ae168d
RM
40929 [BZ #13792]
40930 * manual/time.texi (Elapsed Time): Move timeval_subtract example
40931 function to ...
40932 * manual/timeval_subtract.c.texi: ... here, new file.
40933
49efa33d
DM
409342012-03-02 David S. Miller <davem@davemloft.net>
40935
40936 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
40937
28afd92d
JM
409382012-03-02 Joseph Myers <joseph@codesourcery.com>
40939
804360ed
JM
40940 [BZ #3976]
40941 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
40942 (__sin): Save and restore rounding mode and use round-to-nearest
40943 for all computations.
40944 (__cos): Save and restore rounding mode and use round-to-nearest
40945 for all computations.
40946 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
40947 <fenv.h>.
40948 (tan): Save and restore rounding mode and use round-to-nearest for
40949 all computations.
40950 * math/libm-test.inc (cos_test_tonearest): New function.
40951 (cos_test_towardzero): Likewise.
40952 (cos_test_downward): Likewise.
40953 (cos_test_upward): Likewise.
40954 (sin_test_tonearest): Likewise.
40955 (sin_test_towardzero): Likewise.
40956 (sin_test_downward): Likewise.
40957 (sin_test_upward): Likewise.
40958 (tan_test_tonearest): Likewise.
40959 (tan_test_towardzero): Likewise.
40960 (tan_test_downward): Likewise.
40961 (tan_test_upward): Likewise.
40962 (main): Call the new functions.
40963 * sysdeps/i386/fpu/libm-test-ulps: Update.
40964 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40965
a6d06d7b
JM
40966 [BZ #10135]
40967 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
40968 small n, then large n, before computing and testing k+n.
40969 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
40970 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
40971 Likewise.
40972 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
40973 Likewise.
40974 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
40975 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
40976 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
40977 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
40978 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
40979 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
40980 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
40981 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
40982 * math/libm-test.inc (scalbn_test): Add more tests.
40983 (scalbln_test): Likewise.
40984
07e12bb3
JM
40985 * manual/filesys.texi (mode_t): Describe constraints on size and
40986 signedness, not exact equivalence to a particular type.
40987 (ino_t): Likewise.
40988 (ino64_t): Likewise.
40989 (dev_t): Likewise.
40990 (nlink_t): Likewise.
40991 (blkcnt_t): Likewise.
40992 (blkcnt64_t): Likewise.
40993 * manual/llio.texi (off_t): Likewise.
40994
28afd92d
JM
40995 [BZ #3976]
40996 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
40997 (__ieee754_exp): Save and restore rounding mode and use
40998 round-to-nearest for all computations.
40999 * math/libm-test.inc (exp_test_tonearest): New function.
41000 (exp_test_towardzero): Likewise.
41001 (exp_test_downward): Likewise.
41002 (exp_test_upward): Likewise.
41003 (main): Call the new functions.
41004 * sysdeps/i386/fpu/libm-test-ulps: Update.
41005 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41006
b1eeb65d
CD
410072012-03-01 Chris Demetriou <cgd@google.com>
41008
41009 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
41010 have predictable order.
41011
53362a4b
DM
410122012-03-01 David S. Miller <davem@davemloft.net>
41013
3c969083
DM
41014 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
41015
759707de
DM
41016 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
41017 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
41018 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
41019 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
41020
dfdb8ff2
DM
41021 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
41022 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
41023 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
41024 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
41025 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
41026 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
41027 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
41028 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
41029 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
41030
ead89f96
DM
41031 * sysdeps/sparc/fpu/libm-test-ulps: Update.
41032
7f66bd07
DM
41033 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
41034 * sysdeps/sparc/fpu/libm-test-ulps: to here.
41035 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
41036
53362a4b
DM
41037 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
41038 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
41039 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
41040 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
41041 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
41042 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
41043 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
41044 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
41045 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
41046 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
41047 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
41048 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
41049 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
41050 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
41051 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
41052 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
41053 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
41054 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
41055 * sysdeps/sparc/elf/configure: Regenerated.
41056
7b1902cb
JM
410572012-03-01 Joseph Myers <joseph@codesourcery.com>
41058
bec039bc
JM
41059 * configure.in (AS, LD): Require binutils 2.20 or later.
41060 * configure: Regenerated.
41061 * manual/install.texi (Tools for Compilation): Give binutils 2.20
41062 as required minimum version.
41063 * INSTALL: Regenerated.
41064
7b1902cb
JM
41065 [BZ #2541]
41066 [BZ #4108]
41067 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
41068 before squaring exponent.
41069 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
41070 bottom long double and 27 bits of top long double before squaring
41071 exponent.
41072 * math/libm-test.inc (erfc_test): Add more tests.
41073 * sysdeps/i386/fpu/libm-test-ulps: Update.
41074 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
41075 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41076
f775c276
KT
410772012-03-01 Kai Tietz <ktietz@redhat.com>
41078
41079 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
41080 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
41081 containing bit-fields.
41082 * soft-fp/extended.h (_FP_UNION_E): Likewise.
41083 * soft-fp/single.h (_FP_UNION_S): Likewise.
41084 * soft-fp/double.h (_FP_UNION_D): Likewise.
41085
5b8a4d4a
JM
410862012-02-29 Joseph Myers <joseph@codesourcery.com>
41087
0bab47b6
JM
41088 [BZ #13786]
41089 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
41090 not include ../strcmp.S.
41091 [USE_AS_STRNCASECMP_L]: Likewise.
41092 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
41093 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
41094 * sysdeps/i386/i686/multiarch/strncase_l-c.c
41095 (__strncasecmp_l_ia32): Define as alias to
41096 __strncasecmp_l_nonascii.
41097
0fcad3e2
JM
41098 [BZ #5794]
41099 * math/libm-test.inc (expm1_test): Add test for bug 5794.
41100 * sysdeps/i386/fpu/libm-test-ulps: Update.
41101 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41102
5b8a4d4a
JM
41103 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
41104 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41105
8fdceb2e
JL
411062012-02-29 Jeff Law <law@redhat.com>
41107
41108 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
41109 out of bounds read.
41110
1f393a11
MP
411112012-02-29 Marek Polacek <polacek@redhat.com>
41112
41113 [BZ #13706]
41114 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
41115 * elf/Makefile: Add rules to run tst-unused-dep.out.
41116
8847f037
DM
411172012-02-28 David S. Miller <davem@davemloft.net>
41118
41119 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
41120 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
41121 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
41122 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
41123 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
41124 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
41125
169d7f11
JM
411262012-02-29 Joseph Myers <joseph@codesourcery.com>
41127
41128 * math/libm-test.inc (llround_test): Move one test from
41129 lround_test. Use TEST_f_L in moved test.
41130 (lround_test): Move misplaced test to llround_test. Add testcase
41131 from bug 2561.
41132
39adf059
UD
411332012-02-28 Ulrich Drepper <drepper@gmail.com>
41134
41135 * sysdeps/x86_64/fpu/e_expf.S: New file.
41136 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
41137
71b5d1c5
SB
411382012-02-28 Stanislav Brabec <sbrabec@suse.cz>
41139
41140 [BZ #13637]
41141 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
41142 of remain_len that may cause incomplete multi-byte character and
41143 false match.
41144 * posix/bug-regex33.c: New file.
41145 * posix/Makefile (tests): Add bug-regex33.
41146
1f77f049
JM
411472012-02-28 Joseph Myers <joseph@codesourcery.com>
41148
41149 * manual/macros.texi: New file.
41150 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
41151 * manual/libc.texinfo: Include macros.texi.
41152 * manual/creatute.texi: Likewise.
41153 * manual/install.texi: Likewise.
41154 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
41155 @glibcadj{} in references to the GNU C Library.
41156 * manual/charset.texi: Likewise.
41157 * manual/conf.texi: Likewise.
41158 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
41159 when not using those macros.
41160 * manual/creature.texi: Likewise.
41161 * manual/crypt.texi: Likewise.
41162 * manual/errno.texi: Likewise.
41163 * manual/filesys.texi: Likewise.
41164 * manual/header.texi: Likewise.
41165 * manual/install.texi: Likewise.
41166 * manual/intro.texi: Likewise.
41167 * manual/io.texi: Likewise.
41168 * manual/job.texi: Likewise.
41169 * manual/lang.texi: Likewise.
41170 * manual/libc.texiinfo: Likewise.
41171 * manual/llio.texi: Likewise.
41172 * manual/locale.texi: Likewise.
41173 * manual/maint.texi: Likewise.
41174 * manual/math.texi: Likewise.
41175 * manual/memory.texi: Likewise.
41176 * manual/message.texi: Likewise.
41177 * manual/nss.texi: Likewise.
41178 * manual/pattern.texi: Likewise.
41179 * manual/process.texi: Likewise.
41180 * manual/resource.texi: Likewise.
41181 * manual/search.texi: Likewise.
41182 * manual/setjmp.texi: Likewise.
41183 * manual/signal.texi: Likewise.
41184 * manual/socket.texi: Likewise.
41185 * manual/startup.texi: Likewise.
41186 * manual/stdio.texi: Likewise.
41187 * manual/string.texi: Likewise.
41188 * manual/sysinfo.texi: Likewise.
41189 * manual/syslog.texi: Likewise.
41190 * manual/terminal.texi: Likewise.
41191 * manual/time.texi: Likewise.
41192 * manual/users.texi: Likewise.
41193 * INSTALL: Regenerated.
41194 * NOTES: Regenerated.
d40c5d54 41195 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 41196
450bf206
AS
411972012-02-28 Andreas Schwab <schwab@linux-m68k.org>
41198
41199 * include/dirent.h: Include <dirstream.h> before
41200 <dirent/dirent.h>.
41201
741a235b
DM
412022012-02-28 David S. Miller <davem@davemloft.net>
41203
41204 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
41205 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
41206 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
41207 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
41208
d6b5aa58
DM
412092012-02-27 David S. Miller <davem@davemloft.net>
41210
1aff59a3
DM
41211 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
41212 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
41213 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
41214 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
41215
d6b5aa58
DM
41216 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
41217 frame pointer instead of stack pointer relative arg slot.
41218 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
41219 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
41220 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
41221
433f48bf
CD
412222012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
41223
41224 [BZ #3992]
41225 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
41226
d674b76d
DM
412272012-02-27 David S. Miller <davem@davemloft.net>
41228
41229 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
41230 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
41231 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
41232 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
41233 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
41234 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
41235 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
41236 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
41237
0e7727f7
JM
412382012-02-27 Joseph Myers <joseph@codesourcery.com>
41239
41240 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
41241 later. Allow versions 5-9.
43be4ca2 41242 * configure: Regenerated.
0e7727f7
JM
41243 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
41244 required minimum version and 4.6 as recommended version. Do not
41245 mention bugs in GCC 2.7 and 2.8.
43be4ca2 41246 * INSTALL: Regenerated.
0e7727f7 41247
a78bc654
DM
412482012-02-27 David S. Miller <davem@davemloft.net>
41249
428d5830
DM
41250 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
41251 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
41252 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
41253 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
41254 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
41255 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
41256 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
41257 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
41258
a78bc654
DM
41259 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
41260 manipulate bits before adding and subtracting TWO112[sx].
41261 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
41262
4579f81c
RM
412632012-02-27 Roland McGrath <roland@hack.frob.com>
41264
36c8acb4
RM
41265 [BZ #13775]
41266 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
41267 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
41268 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
41269 being in POSIX, because they are in 1003.1-2008.
41270
84ad622b
RM
41271 * rt/tst-aio.c: Include <fcntl.h>.
41272 * rt/tst-aio7.c: Likewise.
41273 * rt/tst-aio64.c: Likewise.
41274
4579f81c
RM
41275 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
41276
abd923db
JM
412772012-02-27 Joseph Myers <joseph@codesourcery.com>
41278
41279 * manual/install.texi (--with-headers): Describe headers as
41280 interface headers, not private headers.
41281 (Specific advice for GNU/Linux systems): Describe use of headers
41282 from "make headers_install", not private headers from older
41283 kernels.
43be4ca2 41284 * INSTALL: Regenerated.
abd923db
JM
41285 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
41286 Change to 2.6.19.
41287 * sysdeps/unix/sysv/linux/configure: Regenerated.
41288
6664049b
JM
41289 * manual/llio.texi (fclean): Remove documentation.
41290
bb8b6697
JM
41291 * manual/Makefile (libc-texi-generated): New variable. Include
41292 version.texi.
41293 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
41294 $(libc-texi-generated), not duplicated list of files.
41295 (version.texi, stamp-version): New rules.
41296 (realclean): Remove $(libc-texi-generated), not individual files
41297 from that list. Do not remove dir-add.texinfo.
41298 * manual/libc.texinfo: Comment out uses of edition numbers and
41299 references to printed manual. Remove last-updated dates.
41300 (EDITION): Comment out.
41301 (ISBN): Likewise.
41302 (VERSION, UPDATED): Remove.
41303 (version.texi): Include.
41304
12e5c3b9
AS
413052012-02-27 Andreas Schwab <schwab@linux-m68k.org>
41306
41307 * sysdeps/posix/spawni.c: Include <signal.h>.
41308 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
41309 * sysdeps/pthread/aio_fsync.c: Likewise.
41310
4efeffc1 413112012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 41312
ba63ba08
UD
41313 * conform/Makefile (tests): Run only when not cross-compiling and
41314 when fast-check is not defined.
41315
d94a4670
UD
41316 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
41317 * conform/data/limits.h-data: Fixes for POSIX2008.
41318 * conform/run-conformtest.sh: Run all tests.
41319 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
41320 headers.
41321 * include/bits/dlfcn.h: Likewise.
41322 * include/langinfo.h: Likewise.
41323 * include/monetary.h: Likewise.
41324 * include/sys/poll.h: Likewise.
41325
41326 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
41327 for __USE_GNU.
41328 * posix/spawn.h: Define __need_sigset_t.
41329 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
41330 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
41331 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
41332 to get sigevent_t only.
41333 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
41334 only for __USE_GNU.
41335 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
41336 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
41337 process_vm_writev only for __USE_GNU.
41338 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
41339
41340 * conform/Makefile: For now ignore errors from run-conformtest.
41341 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
41342 POSIX to avoid namespace pollution. Don't prepend headers.
41343 * conform/data/aio.h-data: Fixes for POSIX testing.
41344 * conform/data/fcntl.h-data: Likewise.
41345 * conform/data/glob.h-data: Likewise.
41346 * conform/data/grp.h-data: Likewise.
41347 * conform/data/pthread.h-data: Likewise.
41348 * conform/data/pwd.h-data: Likewise.
41349 * conform/data/signal.h-data: Likewise.
41350 * conform/data/spawn.h-data: Likewise.
41351 * conform/data/stdio.h-data: Likewise.
41352 * conform/data/stdlib.h-data: Likewise.
41353 * conform/data/stropts.h-data: Likewise.
41354 * conform/data/sys/mman.h-data: Likewise.
41355 * conform/data/sys/stat.h-data: Likewise.
41356 * conform/data/sys/types.h-data: Likewise.
41357 * conform/data/sys/wait.h-data: Likewise.
41358 * conform/data/time.h-data: Likewise.
41359 * conform/data/unistd.h-data: Likewise.
41360 * conform/data/utime.h-data: Likewise.
41361
41362 * io/sys/stat.h: fchmod was always in POSIX.
41363 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
41364 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
41365 * rt/aio.h: Define __need_timespec before including <time.h>.
41366 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
41367 struct. Add forward declaration of pthread_attr_t and use it in
41368 sigevent.
41369 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
41370 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
41371 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
41372 always remove CLK_TCK definition.
41373
c20105c3
AS
413742012-02-26 Andreas Schwab <schwab@linux-m68k.org>
41375
41376 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
41377
7a270350
UD
413782012-02-25 Ulrich Drepper <drepper@gmail.com>
41379
31341567
UD
41380 * conform/run-conformtest.sh: New file.
41381 * conform/Makefile: Run run-conformtest for tests.
41382 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
41383 support.
41384
41385 * conform/data/uchar.h-data: New file.
41386 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
41387 * conform/data/arpa/inet.h-data: Likewise.
41388 * conform/data/assert.h-data: Likewise.
41389 * conform/data/complex.h-data: Likewise.
41390 * conform/data/cpio.h-data: Likewise.
41391 * conform/data/ctype.h-data: Likewise.
41392 * conform/data/dirent.h-data: Likewise.
41393 * conform/data/dlfcn.h-data: Likewise.
41394 * conform/data/errno.h-data: Likewise.
41395 * conform/data/fcntl.h-data: Likewise.
41396 * conform/data/float.h-data: Likewise.
41397 * conform/data/fmtmsg.h-data: Likewise.
41398 * conform/data/fnmatch.h-data: Likewise.
41399 * conform/data/ftw.h-data: Likewise.
41400 * conform/data/glob.h-data: Likewise.
41401 * conform/data/grp.h-data: Likewise.
41402 * conform/data/iconv.h-data: Likewise.
41403 * conform/data/inttypes.h-data: Likewise.
41404 * conform/data/langinfo.h-data: Likewise.
41405 * conform/data/libgen.h-data: Likewise.
41406 * conform/data/limits.h-data: Likewise.
41407 * conform/data/locale.h-data: Likewise.
41408 * conform/data/math.h-data: Likewise.
41409 * conform/data/monetary.h-data: Likewise.
41410 * conform/data/mqueue.h-data: Likewise.
41411 * conform/data/ndbm.h-data: Likewise.
41412 * conform/data/net/if.h-data: Likewise.
41413 * conform/data/netdb.h-data: Likewise.
41414 * conform/data/netinet/in.h-data: Likewise.
41415 * conform/data/nl_types.h-data: Likewise.
41416 * conform/data/poll.h-data: Likewise.
41417 * conform/data/pthread.h-data: Likewise.
41418 * conform/data/pwd.h-data: Likewise.
41419 * conform/data/regex.h-data: Likewise.
41420 * conform/data/sched.h-data: Likewise.
41421 * conform/data/search.h-data: Likewise.
41422 * conform/data/semaphore.h-data: Likewise.
41423 * conform/data/setjmp.h-data: Likewise.
41424 * conform/data/signal.h-data: Likewise.
41425 * conform/data/spawn.h-data: Likewise.
41426 * conform/data/stdarg.h-data: Likewise.
41427 * conform/data/stdio.h-data: Likewise.
41428 * conform/data/stdlib.h-data: Likewise.
41429 * conform/data/string.h-data: Likewise.
41430 * conform/data/strings.h-data: Likewise.
41431 * conform/data/stropts.h-data: Likewise.
41432 * conform/data/sys/ipc.h-data: Likewise.
41433 * conform/data/sys/mman.h-data: Likewise.
41434 * conform/data/sys/msg.h-data: Likewise.
41435 * conform/data/sys/resource.h-data: Likewise.
41436 * conform/data/sys/select.h-data: Likewise.
41437 * conform/data/sys/sem.h-data: Likewise.
41438 * conform/data/sys/shm.h-data: Likewise.
41439 * conform/data/sys/socket.h-data: Likewise.
41440 * conform/data/sys/stat.h-data: Likewise.
41441 * conform/data/sys/statvfs.h-data: Likewise.
41442 * conform/data/sys/time.h-data: Likewise.
41443 * conform/data/sys/timeb.h-data: Likewise.
41444 * conform/data/sys/times.h-data: Likewise.
41445 * conform/data/sys/types.h-data: Likewise.
41446 * conform/data/sys/uio.h-data: Likewise.
41447 * conform/data/sys/un.h-data: Likewise.
41448 * conform/data/sys/utsname.h-data: Likewise.
41449 * conform/data/sys/wait.h-data: Likewise.
41450 * conform/data/syslog.h-data: Likewise.
41451 * conform/data/tar.h-data: Likewise.
41452 * conform/data/termios.h-data: Likewise.
41453 * conform/data/utime.h-data: Likewise.
41454 * conform/data/utmpx.h-data: Likewise.
41455 * conform/data/varargs.h-data: Likewise.
41456 * conform/data/wchar.h-data: Likewise.
41457 * conform/data/wctype.h-data: Likewise.
41458 * conform/data/wordexp.h-data: Likewise.
41459
41460 * include/stropts.h: New file.
41461 * include/uchar.h: New file.
41462 * include/aio.h: Changes to allow conformtest.pl to use the headers.
41463 * include/assert.h: Likewise.
41464 * include/ctype.h: Likewise.
41465 * include/dirent.h: Likewise.
41466 * include/dlfcn.h: Likewise.
41467 * include/fcntl.h: Likewise.
41468 * include/fnmatch.h: Likewise.
41469 * include/glob.h: Likewise.
41470 * include/grp.h: Likewise.
41471 * include/libio.h: Likewise.
41472 * include/locale.h: Likewise.
41473 * include/math.h: Likewise.
41474 * include/net/if.h: Likewise.
41475 * include/netdb.h: Likewise.
41476 * include/netinet/in.h: Likewise.
41477 * include/pthread.h: Likewise.
41478 * include/pwd.h: Likewise.
41479 * include/regex.h: Likewise.
41480 * include/sched.h: Likewise.
41481 * include/search.h: Likewise.
41482 * include/setjmp.h: Likewise.
41483 * include/signal.h: Likewise.
41484 * include/stdio.h: Likewise.
41485 * include/stdlib.h: Likewise.
41486 * include/string.h: Likewise.
41487 * include/sys/cdefs.h: Likewise.
41488 * include/sys/mman.h: Likewise.
41489 * include/sys/msg.h: Likewise.
41490 * include/sys/resource.h: Likewise.
41491 * include/sys/select.h: Likewise.
41492 * include/sys/socket.h: Likewise.
41493 * include/sys/stat.h: Likewise.
41494 * include/sys/statvfs.h: Likewise.
41495 * include/sys/time.h: Likewise.
41496 * include/sys/times.h: Likewise.
41497 * include/sys/uio.h: Likewise.
41498 * include/sys/utsname.h: Likewise.
41499 * include/sys/wait.h: Likewise.
41500 * include/termios.h: Likewise.
41501 * include/time.h: Likewise.
41502 * include/ulimit.h: Likewise.
41503 * include/unistd.h: Likewise.
41504 * include/utime.h: Likewise.
41505 * include/wchar.h: Likewise.
41506 * include/wctype.h: Likewise.
41507 * include/wordexp.h: Likewise.
41508
41509 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
41510
7a270350
UD
41511 * time/time.h: TIME_UTC must be a macro.
41512 Make timespec_get available for ISO C11 only as well.
41513
7724defc
UD
415142012-02-24 Ulrich Drepper <drepper@gmail.com>
41515
41516 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
41517 Reported by Peng Haitao <penght@cn.fujitsu.com>.
41518
6b1d1d46
JM
415192012-02-24 Joseph Myers <joseph@codesourcery.com>
41520
41521 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 41522
0f8bbd69
JM
415232012-02-24 Joseph Myers <joseph@codesourcery.com>
41524
41525 * manual/texinfo.tex: Update to version 2012-01-19.16.
41526
66ab80bc
JM
415272012-02-24 Joseph Myers <joseph@codesourcery.com>
41528
41529 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
41530
74981cc5
RM
415312012-02-24 Roland McGrath <roland@hack.frob.com>
41532
ee968201
RM
41533 [BZ #13738]
41534 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
41535 * manual/fdl-1.3.texi: New file.
41536 * manual/fdl-1.1.texi: File removed.
41537
74981cc5
RM
41538 [BZ #13738]
41539 * manual/libc.texinfo (FDL_VERSION): New @set.
41540 Use it for mention of FDL in cover text.
41541 (Documentation License): Use it in @include file name.
41542
7bb764bc
JM
415432012-02-22 Joseph Myers <joseph@codesourcery.com>
41544 Roland McGrath <roland@hack.frob.com>
41545
41546 [BZ #5461]
57f41c40
AS
41547 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
41548 (not LONG_LONG_MAX and LONG_LONG_MIN.
7bb764bc
JM
41549 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
41550 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
41551 name.
41552 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
41553
6cbeae47
JM
415542012-02-22 Joseph Myers <joseph@codesourcery.com>
41555
41556 [BZ #2547]
41557 [BZ #11365]
41558 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
41559 manipulate bits before adding and subtracting TWO23[sx].
41560 * math/libm-test.inc (nearbyint_test): Add more tests.
41561
fe45ce09
JM
415622012-02-22 Joseph Myers <joseph@codesourcery.com>
41563
41564 [BZ #2548]
41565 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
41566 bits before adding and subtracting TWO23[sx].
41567 * math/libm-test.inc (rint_test): Add more tests.
41568 (rint_test_tonearest): Likewise.
41569 (rint_test_towardzero): Likewise.
41570 (rint_test_downward): Likewise.
41571 (rint_test_upward: Likewise.
41572
ff3b3d82
JM
415732012-02-22 Joseph Myers <joseph@codesourcery.com>
41574
41575 [BZ #10110]
41576 * include/stdc-predef.h: New file. Extracted from features.h.
41577 * include/features.h: Include stdc-predef.h.
41578 * Makefile (headers): Add stdc-predef.h.
41579 * CONFORMANCE (Compiler limitations): Update.
41580
ef0aab35
JM
415812012-02-22 Joseph Myers <joseph@codesourcery.com>
41582
41583 * manual/libc.texinfo (VERSION, UPDATED): Revert.
41584
58639409
DM
415852012-02-21 David S. Miller <davem@davemloft.net>
41586
41587 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
41588 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
41589
c0e70b25
DM
415902012-02-20 David S. Miller <davem@davemloft.net>
41591
41592 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
41593 using a normal save/restore sequence, rather than allocating a
41594 dummy stack frame just to store a frame pointer and restore.
41595 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
41596
fb06851d
JM
415972012-02-21 Joseph Myers <joseph@codesourcery.com>
41598
41599 * manual/install.texi: Fix stray word in line-wrapped comment.
41600
7a8b71c3
DM
416012012-02-20 David S. Miller <davem@davemloft.net>
41602
d510c123
DM
41603 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
41604 both binutils and gcc support GOTDATA.
41605
0722d7c2
DM
41606 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
41607 "rd %pc" in the PIC register setup sequences.
41608
3d2b3019
DM
41609 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
41610 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
41611 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
41612 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
41613 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
41614 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
41615 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
41616 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
41617 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
41618 (SYSCALL_ERROR_HANDLER): Likewise.
41619 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
41620 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
41621 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
41622 (SYSCALL_ERROR_HANDLER): Likewise.
41623
c80098a9
DM
41624 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
41625 (HAVE_GCC_GOTDATA): New.
41626 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
41627 relocation support in both binutils and gcc.
41628 * sysdeps/sparc/elf/configure: Regenerate.
41629
3a2545a0
DM
41630 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
41631 * sysdeps/sparc/sparc32/elf/configure: Delete.
41632 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
41633 * sysdeps/sparc/sparc64/elf/configure: Delete.
41634 * sysdeps/sparc/elf/configure.in: New file.
41635 * sysdeps/sparc/elf/configure: Generate.
41636
7a8b71c3
DM
41637 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
41638 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
41639 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
41640 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
41641 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
41642
f1e86fca
JM
416432012-02-21 Joseph Myers <joseph@codesourcery.com>
41644
41645 * manual/install.texi: Do not mention specific glibc version
41646 numbers.
41647 * manual/libc.texinfo (VERSION, UPDATED): Update.
41648 (@copying): Use @copyright{} and range of years.
41649
0e7dfaef
JM
416502012-02-21 Joseph Myers <joseph@codesourcery.com>
41651
41652 [BZ #13695]
41653 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
41654 [crti.S not in sysdirs] (generated): Do not append.
41655 [crti.S not in sysdirs] (omit-deps): Likewise.
41656 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
41657 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
41658 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
41659 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
41660 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
41661 Likewise.
41662 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
41663 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
41664 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
41665 * csu/defs.awk: Remove file.
41666 * sysdeps/generic/initfini.c: Likewise.
41667 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
41668 variable.
41669 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
41670 Likewise.
41671
599af3ca
JM
416722012-02-20 Joseph Myers <joseph@codesourcery.com>
41673
41674 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
41675 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
41676 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
41677 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
41678 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
41679 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
41680 <bits/epoll.h>.
41681 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
41682 (__EPOLL_PACKED): Define to empty if not defined by
41683 <bits/epoll.h>.
41684 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
41685 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
41686 bits/epoll.h.
41687
0e499750
JM
416882012-02-20 Joseph Myers <joseph@codesourcery.com>
41689
41690 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
41691 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
41692 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
41693 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
41694 <bits/timerfd.h>.
41695 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
41696 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
41697 bits/timerfd.h.
41698
5ad91f6e
JM
416992012-02-20 Joseph Myers <joseph@codesourcery.com>
41700
41701 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
41702 in C locale.
41703 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
41704 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
41705 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
41706 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41707
06b99b02
AJ
417082012-02-20 Aurelien Jarno <aurelien@aurel32.net>
41709
41710 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
41711 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
41712
7638c0fd
AS
417132012-02-19 Andreas Schwab <schwab@linux-m68k.org>
41714
41715 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
41716 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
41717 defined.
41718 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
41719 Likewise.
41720 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
41721 entry for 2.16.
41722
92221550
AJ
417232012-02-19 Aurelien Jarno <aurelien@aurel32.net>
41724
41725 * math/w_acos.c: Use non-signaling floating-point comparisons.
41726 * math/w_acosf.c: Likewise.
41727 * math/w_acosh.c: Likewise.
41728 * math/w_acoshf.c: Likewise.
41729 * math/w_acoshl.c: Likewise.
41730 * math/w_acosl.c: Likewise.
41731 * math/w_asin.c: Likewise.
41732 * math/w_asinf.c: Likewise.
41733 * math/w_asinl.c: Likewise.
41734 * math/w_atanh.c: Likewise.
41735 * math/w_atanhf.c: Likewise.
41736 * math/w_atanhl.c: Likewise.
41737 * math/w_exp2.c: Likewise.
41738 * math/w_exp2f.c: Likewise.
41739 * math/w_exp2l.c: Likewise.
41740 * math/w_j0.c: Likewise.
41741 * math/w_j0f.c: Likewise.
41742 * math/w_j0l.c: Likewise.
41743 * math/w_j1.c: Likewise.
41744 * math/w_j1f.c: Likewise.
41745 * math/w_j1l.c: Likewise.
41746 * math/w_jn.c: Likewise.
41747 * math/w_jnf.c: Likewise.
41748 * math/w_log.c: Likewise.
41749 * math/w_log10.c: Likewise.
41750 * math/w_log10f.c: Likewise.
41751 * math/w_log10l.c: Likewise.
41752 * math/w_log2.c: Likewise.
41753 * math/w_log2f.c: Likewise.
41754 * math/w_log2l.c: Likewise.
41755 * math/w_logf.c: Likewise.
41756 * math/w_logl.c: Likewise.
41757 * math/w_sqrt.c: Likewise.
41758 * math/w_sqrtf.c: Likewise.
41759 * math/w_sqrtl.c: Likewise.
41760 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
41761 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
41762 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
41763 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
41764 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
41765
ebaf36eb
JM
417662012-02-19 Joseph Myers <joseph@codesourcery.com>
41767
41768 [BZ #9739]
41769 * manual/string.texi (strnlen): Use correct parameter name in
41770 equivalent expression.
41771
71c254a6
JM
417722012-02-19 Joseph Myers <joseph@codesourcery.com>
41773
41774 [BZ #11174]
41775 * manual/users.texi (seteuid): Consistently use neweuid for
41776 argument name.
41777
16d2c631
JM
417782012-02-19 Joseph Myers <joseph@codesourcery.com>
41779
41780 [BZ #13704]
41781 * manual/nss.texi (Services in the NSS configuration): Correct
41782 list of services in example configuration file.
41783
cd837b09
NB
417842012-02-19 Nick Bowler <nbowler@draconx.ca>
41785
41786 [BZ #11322]
41787 * manual/arith.texi: Remove statements about negative zero
41788 behaving identically to zero.
41789
02c4bbad
JM
417902012-02-18 Joseph Myers <joseph@codesourcery.com>
41791
41792 [BZ #5993]
41793 * manual/install.texi: Do not document upgrading from libc5.
41794
366842e7
JM
417952012-02-18 Joseph Myers <joseph@codesourcery.com>
41796
41797 [BZ #4596]
41798 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
41799
dd54084d
DM
418002012-02-18 David S. Miller <davem@davemloft.net>
41801
41802 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
41803 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
41804 %o7 across the call.
41805 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
41806 instead.
41807 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
41808 SETUP_PIC_REG_LEAF.
41809 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
41810 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
41811 * sysdeps/sparc/crtn.S: Likewise.
41812
2bcc53a3
UD
418132012-02-17 Ulrich Drepper <drepper@gmail.com>
41814
41815 * aout/Makefile: Remove.
41816
09c093b5
RK
418172012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
41818
41819 [BZ #13058]
41820 * manual/examples/argp-ex1.c (main): Format definition in GNU
41821 style.
41822 * manual/examples/argp-ex2.c (main): Likewise.
41823 * manual/examples/argp-ex3.c (main): Likewise.
41824 * manual/examples/argp-ex4.c (main): Likewise.
41825 * manual/examples/longopt.c (main): Use new-style prototype
41826 definition.
41827 * manual/examples/strncat.c (main): Specify return type and use
41828 (void) for arguments.
41829 * manual/examples/subopt.c (main): Use char **argv argument.
41830
2ee633a2
JM
418312012-02-17 Joseph Myers <joseph@codesourcery.com>
41832
41833 [BZ #5077]
41834 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
41835 rounding modes.
41836
0520adde
FB
418372012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
41838
41839 [BZ #6907]
41840 * manual/string.texi (strchr): Change when strchrnul is
41841 recommended.
41842
3f4081cd
DGM
418432012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
41844
41845 [BZ #174]
41846 * manual/locale.texi (setlocale): Document LOCPATH.
41847
d1b10e78
JM
418482012-02-17 Joseph Myers <joseph@codesourcery.com>
41849
41850 [BZ #10210]
41851 * manual/process.texi (execle): Move @dots{} before last argument.
41852
79c6869c
PB
418532012-02-17 Paul Bolle <pebolle@tiscali.nl>
41854
41855 [BZ #12047]
41856 * manual/charset.texi (Generic Charset Conversion): Fix typo
41857 (LC_TYPE -> LC_CTYPE).
41858
cc6e48bc
NB
418592012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
41860
41861 [BZ #5805]
41862 * manual/arith.texi (scalbn): Use @var{} on parameter names.
41863 (scalbnf): Likewise.
41864 (scalbnl): Likewise.
41865 (scalbln): Likewise.
41866 (scalblnf): Likewise.
41867 (scalblnl): Likewise.
41868 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
41869 (vwarnx): Likewise.
41870 (verr): Likewise.
41871 (verrx): Likewise.
41872 * manual/filesys.texi (telldir): Use braces around return type.
41873 * manual/llio.texi (mmap): Add space after comma.
41874 (mmap64): Likewise.
41875 * manual/math.texi (jn): Use @var{} on parameter names.
41876 (jnf): Likewise.
41877 (jnl): Likewise.
41878 (yn): Likewise.
41879 (ynf): Likewise.
41880 (ynl): Likewise.
41881 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
41882 line.
41883 * manual/resource.texi (ulimit): Use @dots{} instead of literal
41884 "...".
41885 (sched_get_priority_min): Remove semicolon on @deftypefun line.
41886 (sched_get_priority_max): Likewise.
41887 * manual/signal.texi (sigvec): Add space after comma.
41888 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
41889 names.
41890 (if_indextoname): Likewise.
41891 (if_freenameindex): Likewise.
41892 (sendto): Use ',' instead of '.' in prototype.
41893 * manual/startup.texi (syscall): Use @dots{} instead of literal
41894 "...".
41895 * manual/stdio.texi (__fpending): Separate initial words of
41896 paragraph from @deftypefun line.
41897 * manual/syslog.texi (syslog): Use @dots{} instead of literal
41898 "...".
41899 (vsyslog): Use @var{} on parameter names.
41900 * manual/terminal.texi (stty): Use @var{} on parameter names.
41901 * manual/users.texi (getutmp): Use @var{} on parameter names.
41902 (getutmpx): Likewise.
41903
5b23062f
JM
419042012-02-17 Joseph Myers <joseph@codesourcery.com>
41905
41906 [BZ #6884]
41907 * manual/stdio.texi (fopen): Fix typos in description of
41908 ",ccs=STRING".
41909
8dee4833
AJ
419102012-02-17 Aurelien Jarno <aurelien@aurel32.net>
41911
41912 [BZ #4026]
41913 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
41914 get clock_id definition.
41915
9078ce93
TS
419162012-02-17 Thomas Schwinge <thomas@schwinge.name>
41917
41918 [BZ #4822]
41919 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
41920 (madvise): Cast every argument to void on its own.
41921
3835c55f
JM
419222012-02-17 Joseph Myers <joseph@codesourcery.com>
41923
41924 [BZ #9902]
41925 * manual/startup.texi (Exit Status): Fix typo.
41926
35c47e37
JM
419272012-02-17 Joseph Myers <joseph@codesourcery.com>
41928
41929 [BZ #10140]
41930 * manual/examples/argp-ex1.c: Include <stdlib.h>.
41931 * manual/examples/argp-ex2.c: Likewise.
41932 * manual/examples/argp-ex3.c: Likewise.
41933
e3b69ca7
RH
419342012-02-16 Richard Henderson <rth@redhat.com>
41935
41936 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
41937 * sysdeps/s390/s390-32/initfini.c: Remove.
41938 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
41939 * sysdeps/s390/s390-64/initfini.c: Remove.
41940
df83af67
KK
419412012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
41942
41943 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
41944 compiler output for sysdeps/generic/initfini.c.
41945 * sysdeps/sh/elf/initfini.c: Remove file.
41946
f63f3380
DM
419472012-02-16 David S. Miller <davem@davemloft.net>
41948
fb59b3a4
DM
41949 [BZ #11494]
41950 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
41951
f63f3380
DM
41952 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
41953 * sysdeps/sparc/crti.S: New file.
41954 * sysdeps/sparc/crtn.S: New file.
41955 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
41956 * sysdeps/sparc/sparc64/Makefile: Likewise.
41957
df6a4a4a
MF
419582012-02-15 Mike Frysinger <vapier@gentoo.org>
41959
6dd8f3dc 41960 [BZ #3335]
df6a4a4a
MF
41961 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
41962
1cac7236
RM
419632012-02-15 Roland McGrath <roland@hack.frob.com>
41964
d2c736f8
RM
41965 [BZ #4822]
41966 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
41967
1cac7236
RM
41968 * mach/devstream.c (cookie_io_functions_t): Macro removed.
41969 (write, read, close): Likewise.
41970 Patch by Aurelien Jarno <aurelien@aurel32.net>.
41971
8e475601
JM
419722012-02-15 Joseph Myers <joseph@codesourcery.com>
41973
41974 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
41975 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
41976 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
41977 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
41978 <bits/signalfd.h>.
41979 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
41980 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
41981 bits/signalfd.h.
41982
ed656b40
MP
419832012-02-14 Marek Polacek <polacek@redhat.com>
41984
41985 * sysdeps/x86_64/crti.S: New file.
41986 * sysdeps/x86_64/crtn.S: New file.
41987 * sysdeps/x86_64/elf/initfini.c: Remove file.
41988
2a979d3a
JM
419892012-02-13 Joseph Myers <joseph@codesourcery.com>
41990
41991 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
41992 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
41993 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
41994 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
41995 <bits/inotify.h>.
41996 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
41997 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
41998 bits/inotify.h.
41999
2a418ac3
JM
420002012-02-13 Joseph Myers <joseph@codesourcery.com>
42001
42002 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
42003 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
42004 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
42005 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
42006 <bits/eventfd.h>.
42007 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
42008 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
42009 bits/eventfd.h.
42010
fb779be7
TS
420112012-02-10 Thomas Schwinge <thomas@codesourcery.com>
42012
e19e83c5
RM
42013 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
42014 __feraiseexcept instead of feraiseexcept.
7c35ffed 42015
fb779be7
TS
42016 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
42017 nanosleep invocations.
42018 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
42019 strings, and add error checking for a nanosleep invocations.
42020
59ba27a6
PE
420212012-02-09 Paul Eggert <eggert@cs.ucla.edu>
42022
42023 Replace FSF snail mail address with URLs, as per GNU coding standards.
42024 Most of the snail mail addresses were wrong anyway, and omitting
42025 them makes the source code easier to maintain. Almost all of the
42026 changes are to license notices and to locale LC_IDENTIFICATION
42027 addresses, except for this one:
42028 * manual/libc.texinfo: In "Published by", give the FSF's URL,
42029 not its snail mail address.
42030
57b957eb
RH
420312012-02-09 Richard Henderson <rth@twiddle.net>
42032
af850b1c
RH
42033 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
42034 of kernel-features.h.
42035
57b957eb
RH
42036 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
42037
6b73181a
MP
420382012-02-08 Marek Polacek <polacek@redhat.com>
42039
42040 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
42041 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
42042 * sysdeps/gnu/_G_config.h: Likewise.
42043 * sysdeps/generic/_G_config.h: Likewise.
42044
26ecc33a
AS
420452012-02-08 Andreas Schwab <schwab@linux-m68k.org>
42046
6c6dbc63
AS
42047 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
42048 tests.
42049 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42050
e216c012
AS
42051 * sysdeps/powerpc/powerpc32/crti.S: New file.
42052 * sysdeps/powerpc/powerpc32/crtn.S: New file.
42053 * sysdeps/powerpc/powerpc64/crti.S: New file.
42054 * sysdeps/powerpc/powerpc64/crtn.S: New file.
42055
26ecc33a
AS
42056 * Makeconfig (have-initfini): Don't set.
42057 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
42058 * configure.in (nopic_initfini): Don't substitute.
42059 * config.h.in (HAVE_INITFINI): Don't #undef.
42060 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
42061 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
42062
3add8e13
JM
420632012-02-08 Joseph Myers <joseph@codesourcery.com>
42064
42065 Support crti.S and crtn.S provided directly by architectures.
42066 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
42067 [crti.S in sysdirs] (omit-deps): Likewise.
42068 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
42069 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
42070 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
42071 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
42072 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
42073 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
42074 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
42075 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
42076 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
42077 compiler output for sysdeps/generic/initfini.c.
42078 * sysdeps/i386/elf/Makefile: Remove file.
42079 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
42080
a22f12b4
MP
420812012-02-07 Marek Polacek <polacek@redhat.com>
42082
42083 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
42084 * sysdeps/gnu/_G_config.h: Likewise.
42085 * sysdeps/mach/hurd/_G_config.h: Likewise.
42086
148cf100
MP
420872012-02-07 Marek Polacek <polacek@redhat.com>
42088
42089 * math/Makefile (tests): Add tst-CMPLX2.
42090 * math/tst-CMPLX2.c: New file.
42091
cfdc0dd7
AS
420922012-02-07 Andreas Schwab <schwab@linux-m68k.org>
42093
84ba42c4
AS
42094 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
42095
cfdc0dd7
AS
42096 * math/libm-test.inc (jn_test): Add missing L suffix.
42097
622c86f4
MP
420982012-02-06 Marek Polacek <polacek@redhat.com>
42099
42100 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
42101 * sysdeps/i386/fpu/e_powf.S: Likewise.
42102 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
42103 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
42104 * sysdeps/i386/fpu/e_acosh.S: Likewise.
42105 * sysdeps/i386/fpu/e_pow.S: Likewise.
42106 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
42107 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
42108 * sysdeps/i386/fpu/s_expm1.S: Likewise.
42109 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
42110 * sysdeps/i386/fpu/e_log2.S: Likewise.
42111 * sysdeps/i386/fpu/e_log2l.S: Likewise.
42112 * sysdeps/i386/fpu/e_scalb.S: Likewise.
42113 * sysdeps/i386/fpu/e_powl.S: Likewise.
42114 * sysdeps/i386/fpu/s_log1p.S: Likewise.
42115 * sysdeps/i386/fpu/e_log10f.S: Likewise.
42116 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
42117 * sysdeps/i386/fpu/e_logl.S: Likewise.
42118 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
42119 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
42120 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
42121 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
42122 * sysdeps/i386/fpu/e_log2f.S: Likewise.
42123 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
42124 * sysdeps/i386/fpu/e_log.S: Likewise.
42125 * sysdeps/i386/fpu/s_cexp.S: Likewise.
42126 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
42127 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
42128 * sysdeps/i386/fpu/e_logf.S: Likewise.
42129 * sysdeps/i386/fpu/e_log10l.S: Likewise.
42130 * sysdeps/i386/fpu/e_atanh.S: Likewise.
42131 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
42132 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
42133 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
42134 * sysdeps/i386/fpu/e_log10.S: Likewise.
42135 * sysdeps/i386/fpu/s_frexp.S: Likewise.
42136 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
42137 * sysdeps/i386/fpu/s_asinh.S: Likewise.
42138 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
42139 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
42140 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
42141 * sysdeps/i386/asm-syntax.h: Likewise.
42142 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
42143 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
42144 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
42145 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
42146 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
42147 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
42148 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
42149 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
42150 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
42151 * sysdeps/powerpc/sysdep.h: Likewise.
42152 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
42153 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
42154
d4a54ac6
JM
421552012-02-06 Joseph Myers <joseph@codesourcery.com>
42156
42157 [BZ #411]
42158 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
42159
314054ea
JM
421602012-02-06 Joseph Myers <joseph@codesourcery.com>
42161
42162 * sysdeps/i386/sysdep.h: Include <features.h>.
42163 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
42164 version.
42165
d8e0ca50
JM
421662012-02-05 Joseph Myers <joseph@codesourcery.com>
42167
42168 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
42169 Define.
42170 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
42171 LOAD_PIC_REG_STR.
42172
b1da7dd9
JM
421732012-02-03 Joseph Myers <joseph@codesourcery.com>
42174
42175 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
42176 (SETUP_PIC_REG): Use GET_PC_THUNK.
42177 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
42178 macro.
42179
9a1d9254
JM
421802012-02-03 Joseph Myers <joseph@codesourcery.com>
42181
42182 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
42183 for non-PIC compilation.
42184 (SETUP_PIC_REG): Add .p2align directive.
42185 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
42186 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
42187 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
42188 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
42189 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
42190 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
42191 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
42192 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
42193 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
42194 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
42195 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
42196 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
42197 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
42198 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
42199 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
42200 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
42201 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
42202 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
42203 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
42204 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
42205 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
42206 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
42207 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
42208 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
42209 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
42210 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
42211 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
42212 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
42213 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
42214 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
42215 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
42216 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
42217 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
42218 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
42219 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
42220 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
42221 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
42222 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
42223 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
42224 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
42225 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
42226
65dc3b75
JM
422272012-02-03 Joseph Myers <joseph@codesourcery.com>
42228
42229 * math/tst-CMPLX.c: Include <stdio.h>.
42230
d55bf177
JM
422312012-01-31 Joseph Myers <joseph@codesourcery.com>
42232
42233 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
42234 float.
42235 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
42236 * sysdeps/sparc/bits/mathdef.h: Likewise.
42237
69db4f8f
MP
422382012-01-31 Marek Polacek <polacek@redhat.com>
42239
42240 * libio/libio.h: Don't define _PARAMS.
42241 * locale/programs/config.h: Don't define PARAMS.
42242 * stdlib/strtol_l.c: Likewise.
42243 (__strtol_l): Remove PARAMS from the prototype.
42244
41b81892
UD
422452012-01-31 Ulrich Drepper <drepper@gmail.com>
42246
3b49edc0
UD
42247 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
42248 names. Just use the correct names. Remove unnecessary wrapper
42249 functions.
42250 * malloc/arena.c: Likewise.
42251 * malloc/hooks.c: Likewise.
42252
41b81892
UD
42253 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
42254 ARENA_TEST says not to. Simplify test for creation of a new arena.
42255 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
42256
27a25b6e
UD
422572012-01-30 Ulrich Drepper <drepper@gmail.com>
42258
42259 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
42260 into tail calls.
42261 (update_get_addr): New function.
42262 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
42263 GET_ADDR_MODULE parameter.
42264
c8a89e7d
JM
422652012-01-30 Joseph Myers <joseph@codesourcery.com>
42266
42267 * crypt/cert.c: Remove __STDC__ conditionals.
42268 * crypt/crypt-entry.c: Likewise.
42269 * crypt/crypt_util.c: Likewise.
42270 * libio/filedoalloc.c: Likewise.
42271 * libio/fileops.c: Likewise.
42272 * libio/genops.c: Likewise.
42273 * libio/iofclose.c: Likewise.
42274 * libio/iofdopen.c: Likewise.
42275 * libio/iofopen.c: Likewise.
42276 * libio/iofopen64.c: Likewise.
42277 * libio/iogetdelim.c: Likewise.
42278 * libio/iopopen.c: Likewise.
42279 * libio/obprintf.c: Likewise.
42280 * libio/oldfileops.c: Likewise.
42281 * libio/oldiofclose.c: Likewise.
42282 * libio/oldiofdopen.c: Likewise.
42283 * libio/oldiofopen.c: Likewise.
42284 * libio/oldiopopen.c: Likewise.
42285 * libio/wfiledoalloc.c: Likewise.
42286 * libio/wgenops.c: Likewise.
42287 * locale/programs/xmalloc.c: Likewise.
42288 * misc/syslog.c: Likewise.
42289 * stdio-common/xbug.c: Likewise.
42290 * string/memchr.c: Likewise.
42291 * string/memcmp.c: Likewise.
42292 * string/memrchr.c: Likewise.
42293 * string/rawmemchr.c: Likewise.
42294 * sysdeps/posix/getcwd.c: Likewise.
42295 * time/strftime_l.c: Likewise.
42296
3b100462
JM
422972012-01-30 Joseph Myers <joseph@codesourcery.com>
42298
42299 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
42300 * config.make.in (config-cflags-sse2avx): Define.
42301 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
42302 Fix typo.
42303
607998af
CM
423042012-01-29 Chris Metcalf <cmetcalf@tilera.com>
42305
42306 * scripts/config.guess: Update from upstream config git repository.
42307 * scripts/config.sub: Likewise.
42308
3601428f
CM
423092012-01-28 Chris Metcalf <cmetcalf@tilera.com>
42310
3ac8b282
CM
42311 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
42312 (EM_NUM): Update.
42313 (R_TILEPRO_*, R_TILEGX_*): New macros.
42314
e034841e
CM
42315 * scripts/firstversions.awk: Fix bug in version range handling.
42316
540d7568
CM
42317 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
42318
3601428f
CM
42319 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
42320
463de862
CM
42321 * include/sys/epoll.h: New file.
42322 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
42323 libc_hidden_def.
42324
73139a76
UD
423252012-01-28 Ulrich Drepper <drepper@gmail.com>
42326
96bc5b45
UD
42327 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
42328 Avoid unnecessary __WORDSIZE == 64 test.
42329 (fmaxf): Use VEX format if possible.
42330 (fmax): Likewise.
42331 (fminf): Likewise.
42332 (fmin): Likewise.
42333
56f6f6a2
UD
42334 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
42335 * math/math_private.h: Remove libc_fegetround* and
42336 libc_fesetround*.
42337 * sysdeps/i386/configure.in: Check for -msse2avx.
42338 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
42339 also if SSE2AVX is defined.
42340 Remove libc_fegetround* and libc_fesetround*.
42341 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
42342 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
42343 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
42344 of HAS_YMM_USABLE.
42345 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
42346 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
42347 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
42348 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
42349 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
42350
73139a76
UD
42351 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
42352
d73f93a4
AZ
423532012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
42354
42355 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
42356 size is not set.
42357 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
42358
6ee65ed6
UD
423592012-01-27 Ulrich Drepper <drepper@gmail.com>
42360
42361 [BZ #13618]
42362 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
42363 relocation.
42364 * Makeconfig (libm): Define.
42365 * elf/Makefile: Add rules to build and run tst-relsort1.
42366 * elf/tst-relsort1.c: New file.
42367 * elf/tst-relsort1mod1.c: New file.
42368 * elf/tst-relsort1mod2.c: New file.
42369
8db21882
JM
423702012-01-27 Joseph Myers <joseph@codesourcery.com>
42371
42372 * math/s_ldexp.c: Remove __STDC__ conditionals.
42373 * math/s_ldexpf.c: Likewise.
42374 * math/s_ldexpl.c: Likewise.
42375 * math/s_nextafter.c: Likewise.
42376 * math/s_nexttowardf.c: Likewise.
42377 * math/s_significand.c: Likewise.
42378 * math/s_significandf.c: Likewise.
42379 * math/s_significandl.c: Likewise.
42380 * math/w_jnl.c: Likewise.
42381 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
42382 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
42383 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
42384 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
42385 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
42386 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
42387 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
42388 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
42389 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
42390 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
42391 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
42392 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
42393 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
42394 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
42395 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
42396 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
42397 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
42398 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
42399 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
42400 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
42401 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
42402 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
42403 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
42404 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
42405 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
42406 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
42407 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
42408 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
42409 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
42410 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
42411 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
42412 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
42413 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
42414 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
42415 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
42416 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
42417 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
42418 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
42419 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
42420 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
42421 * sysdeps/ieee754/k_standard.c: Likewise.
42422 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
42423 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
42424 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
42425 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
42426 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
42427 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
42428 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
42429 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
42430 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
42431 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
42432 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
42433 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
42434 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
42435 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
42436 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
42437 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
42438 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
42439 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
42440 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
42441 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
42442 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
42443 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
42444 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
42445 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
42446 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
42447 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
42448 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
42449 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
42450 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
42451 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
42452 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
42453 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
42454 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
42455 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
42456 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
42457 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
42458 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
42459 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
42460 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
42461 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
42462 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
42463 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
42464 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
42465 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
42466 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
42467 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
42468 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
42469 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
42470 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
42471 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
42472 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
42473 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
42474 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
42475 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
42476 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
42477 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
42478 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
42479 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
42480 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
42481 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
42482 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
42483 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
42484 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
42485 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
42486 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
42487 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
42488 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
42489 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
42490 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
42491 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
42492 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
42493 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
42494 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
42495 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
42496 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
42497 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
42498 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
42499 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
42500 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
42501 * sysdeps/ieee754/s_matherr.c: Likewise.
42502 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
42503 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
42504 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
42505 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
42506
965a54a4
JM
425072012-01-26 Joseph Myers <joseph@codesourcery.com>
42508
42509 * crypt/md5.h: Remove __STDC__ conditionals.
42510 * libio/libioP.h: Likewise.
42511 * locale/programs/config.h: Likewise.
42512 * sysdeps/generic/sysdep.h: Likewise.
42513 * sysdeps/i386/asm-syntax.h: Likewise.
42514 * sysdeps/s390/asm-syntax.h: Likewise.
42515 * sysdeps/unix/sysdep.h: Likewise.
42516 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
42517 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
42518
7071ad79
JM
425192012-01-26 Joseph Myers <joseph@codesourcery.com>
42520
42521 * libio/libio.h: Remove __STDC__ conditionals.
42522 * malloc/obstack.h: Likewise.
42523 * math/complex.h: Likewise.
42524 * math/math.h: Likewise.
42525 * sysdeps/generic/_G_config.h: Likewise.
42526 * sysdeps/gnu/_G_config.h: Likewise.
42527 * sysdeps/mach/hurd/_G_config.h: Likewise.
42528 * sysdeps/powerpc/bits/mathdef.h: Likewise.
42529 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
42530 * sysdeps/sparc/bits/mathdef.h: Likewise.
42531
afc5ed09
UD
425322012-01-26 Ulrich Drepper <drepper@gmail.com>
42533
42534 [BZ #13583]
42535 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 42536 Clean up HAS_* macros.
afc5ed09 42537 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
42538 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
42539 possible.
42540 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
42541 HAS_AVX.
42542 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
42543 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
42544 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
42545 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
42546 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 42547
bdb6de1d
JM
425482012-01-25 Joseph Myers <joseph@codesourcery.com>
42549
42550 * elf/tst-unique3.cc (gets): Remove declaration.
42551 * elf/tst-unique3lib.cc (gets): Likewise.
42552 * elf/tst-unique3lib2.cc (gets): Likewise.
42553 * elf/tst-unique4.cc (gets): Likewise.
42554
b15549e6
UD
425552012-01-24 Ulrich Drepper <drepper@gmail.com>
42556
42557 * include/stdio.h: Add C++ protection. Add gets declarations and
42558 definitions.
42559 * debug/tst-chk1.c: Don't declare gets here.
42560 * stdio-common/tst-gets.c: Likewise.
42561
a037381f
JM
425622012-01-24 Joseph Myers <joseph@codesourcery.com>
42563
42564 * posix/glob: Remove directory.
42565
f1d4aa75
JM
425662012-01-24 Joseph Myers <joseph@codesourcery.com>
42567
42568 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
42569
81c0c964
PT
425702012-01-22 Pino Toscano <toscano.pino@tiscali.it>
42571
42572 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
42573 of the non-standard EPFNOSUPPORT.
42574
0ea698ae
ST
425752011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
42576
42577 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
42578 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
42579 ANYWHERE set to 1 only on KERN_NO_SPACE error.
42580
d220b117
UD
425812012-01-21 Ulrich Drepper <drepper@gmail.com>
42582
42583 * wcsmbs/uchar.h: Test __STDC_VERSION__.
42584
3e1aa84e
UD
425852012-01-20 Ulrich Drepper <drepper@gmail.com>
42586
42587 * nscd/aicache.c (addhstaiX): Do not cache negative results of
42588 transient errors.
42589 * nscd/grpcache.c (cache_addgr): Likewise.
42590 * nscd/hstcache.c (cache_addhst): Likewise.
42591 * nscd/initgrcache.c (addinitgroupsX): Likewise.
42592 * nscd/pwdcache.c (cache_addpw): Likewise.
42593 * nscd/servicescache.c (cache_addserv): Likewise.
42594
400aa020
UD
425952012-01-16 Ulrich Drepper <drepper@gmail.com>
42596
d77e7869
UD
42597 * malloc/malloc.c: Various cleanups.
42598 * malloc/hooks.c: Likewise.
42599
400aa020
UD
42600 * stdlib/Makefile (tests): Add bug-fmtmsg1.
42601 * stdlib/bug-fmtmsg1.c: New file.
42602
42603 * stdlib/fmtmsg.c (init): Add missing unlock.
42604 Patch by Peng Haitao <penght@cn.fujitsu.com>.
42605
e0a309cf
MP
426062012-01-12 Marek Polacek <polacek@redhat.com>
42607
42608 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
42609 and _GNU_SOURCE.
42610
929d11c7
WS
426112012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
42612
42613 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
42614 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
42615 macro to ensure uniqueness of label name.
42616 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
42617 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
42618
41d0e869
UD
426192012-01-11 Ulrich Drepper <drepper@gmail.com>
42620
0cc5ed3b
UD
42621 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
42622
41d0e869
UD
42623 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
42624 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
42625 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
42626 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
42627
a47a831a
UD
426282012-01-10 Ulrich Drepper <drepper@gmail.com>
42629
daa891c0
UD
42630 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
42631
42632 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
42633 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
42634 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
42635
e58ef0f2
UD
42636 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
42637
a47a831a 42638 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
42639 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
42640 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 42641 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
42642
42643 * math/bits/math-finite.h: Add ldexp support.
42644
a0bfc9c7
MP
426452012-01-10 Marek Polacek <polacek@redhat.com>
42646
42647 * locale/programs/localedef.h (show_archive_content): Add noreturn
42648 attribute.
42649
d6e97a1d
UD
426502012-01-09 Ulrich Drepper <drepper@gmail.com>
42651
42652 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
42653
d5835c26
UD
426542012-01-08 Ulrich Drepper <drepper@gmail.com>
42655
e5f484c6
UD
42656 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
42657
d5835c26
UD
42658 * io/Makefile (headers): Add bits/poll2.h.
42659
d1f741e9
WS
426602011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
42661
42662 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
42663 typo #include statement.
42664
ec09c1c4
UD
426652012-01-08 Ulrich Drepper <drepper@gmail.com>
42666
42667 * include/sys/cdefs.h: Define __attribute_alloc_size.
42668 * catgets/gencat.c: Add alloc_size attribute and apply consistently
42669 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
42670 * elf/pldd.c: Likewise.
42671 * iconv/iconv_charmap.c: Likewise.
42672 * iconv/iconvconfig.c: Likewise.
42673 * iconv/strtab.c: Likewise.
42674 * locale/programs/locale.c: Likewise.
42675 * locale/programs/localedef.h: Likewise.
42676 * locale/programs/simple-hash.c: Likewise.
42677 * nscd/nscd.h: Likewise.
42678 * nss/makedb.c: Likewise.
42679 * sysdeps/generic/ldconfig.h: Likewise.
42680 * locale/programs/localedef.c: Remove xmalloc prototype.
42681 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
42682
20b38e03
PP
426832012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
42684
42685 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
42686 appropriate.
42687
a0da5fe1
UD
426882012-01-08 Ulrich Drepper <drepper@gmail.com>
42689
1d5a644a 42690 * math/Makefile (tests): Add tst-CMPLX.
669704fd 42691 * math/tst-CMPLX.c: New file.
1d5a644a 42692
8784a6db
UD
42693 * math/complex.h (CMPLXL): Fix typo.
42694
d9a216c0
UD
42695 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
42696 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
42697 GLIBC_2.16.
42698 * debug/tst-chk1.c: Add poll and ppoll tests.
42699 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
42700 * include/sys/poll.h: Add hidden proto for ppoll.
42701 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
42702 * sysdeps/mach/hurd/ppoll.c: Likewise.
42703 * io/ppoll.c: Likewise.
42704 * debug/poll_chk.c: New file.
42705 * debug/ppoll_chk.c: New file.
42706 * include/bits/poll2.h: New file.
42707 * io/bits/poll2.h: New file.
42708
ac097f5c
UD
42709 [BZ #1350]
42710 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
42711
2119dcfa
UD
42712 * configure.in: static is always set to yes. Remove.
42713 * config.make.in: Don't set build-static.
42714 * Makeconfig: Remove use of build-static.
42715 * dlfcn/Makefile: Likewise.
42716 * elf/Makefile: Likewise.
42717 * math/Makefile: Likewise.
42718 * misc/Makefile: Likewise.
42719 * nptl/Makefile: Likewise.
42720 * sysdeps/mach/hurd/Makefile: Likewise.
42721
121766a9
UD
42722 * configure.in: PWD_P is not used anymore.
42723 * config.make.in: Remove PWD_P entry.
42724
51a1d39c 42725 * configure.in: Remove last remnants of RANLIB.
8720d066 42726 No need to check for signed size_t anymore.
215f4bdc
UD
42727 Don't set libc_commonpagesize and libc_relro_required here for Alpha
42728 and IA-64.
3857022a 42729 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
42730 * aclocal.m4: Likewise.
42731
d3ed7225
UD
42732 * wcsmbs/mbrtoc16.c: Implement using towc function.
42733 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
42734 * wcsmbs/wcsmbsload.c: Likewise.
42735 * iconv/gconv_simple.c: Likewise.
42736 * iconv/gconv_int.h: Likewise.
42737 * iconv/gconv_builtin.h: Likewise.
42738 * iconv/iconv_prog.c: Remove CHAR16 handling.
42739
42740 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
42741
42742 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
42743
a0da5fe1
UD
42744 * configure.in: Remove --with-elf and --enable-bounded options.
42745 Dont set base_machine for ia64. More non-ELF conditions removed.
42746 Remove testing and setting of leading underscore information.
42747 * config.make.in (build-bounded): Set to no.
42748 * config.h.in: Remove NO_UNDERSCORES entry.
42749 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
42750 them.
42751 * csu/start.c: Remove !NO_UNDERSCORE code.
42752 * locale/localeinfo.h: Likewise.
42753 * sysdeps/generic/machine-gmon.h: Likewise.
42754 * sysdeps/generic/sysdep.h: Likewise.
42755 * sysdeps/i386/sysdep.h: Likewise.
42756 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
42757 * sysdeps/mach/sysdep.h: Likewise.
42758 * sysdeps/s390/s390-32/sysdep.h: Likewise.
42759 * sysdeps/s390/s390-64/sysdep.h: Likewise.
42760 * sysdeps/sh/sysdep.h: Likewise.
42761 * sysdeps/sparc/sparc32/alloca.S: Likewise.
42762 * sysdeps/unix/i386/sysdep.S: Likewise.
42763 * sysdeps/unix/sparc/start.c: Likewise.
42764 * sysdeps/unix/sparc/sysdep.S: Likewise.
42765 * sysdeps/unix/sparc/sysdep.h: Likewise.
42766 * sysdeps/unix/start.c: Likewise.
42767 * sysdeps/unix/x86_64/sysdep.S: Likewise.
42768 * sysdeps/x86_64/sysdep.h: Likewise.
42769
df78418a
UD
427702012-01-07 Ulrich Drepper <drepper@gmail.com>
42771
a784e502
UD
42772 [BZ #13553]
42773 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
42774 for non-gcc.
42775 * argp/argp-fmtstream.h: Use const instead __const.
42776 * argp/argp.h: Likewise.
42777 * assert/assert.h: Likewise.
42778 * bits/fenv.h: Likewise.
42779 * bits/sched.h: Likewise.
42780 * bits/sigset.h: Likewise.
42781 * bits/sigthread.h: Likewise.
42782 * catgets/nl_types.h: Likewise.
42783 * conform/data/pthread.h-data: Likewise.
42784 * crypt/crypt-private.h: Likewise.
42785 * crypt/crypt.h: Likewise.
42786 * crypt/crypt_util.c: Likewise.
42787 * ctype/ctype.h: Likewise.
42788 * debug/execinfo.h: Likewise.
42789 * debug/mbsnrtowcs_chk.c: Likewise.
42790 * debug/mbsrtowcs_chk.c: Likewise.
42791 * debug/wcsnrtombs_chk.c: Likewise.
42792 * debug/wcsrtombs_chk.c: Likewise.
42793 * debug/wcstombs_chk.c: Likewise.
42794 * dirent/dirent.h: Likewise.
42795 * dlfcn/dlfcn.h: Likewise.
42796 * elf/neededtest4.c: Likewise.
42797 * grp/grp.h: Likewise.
42798 * gshadow/gshadow.h: Likewise.
42799 * iconv/gconv.h: Likewise.
42800 * iconv/gconv_int.h: Likewise.
42801 * iconv/gconv_simple.c: Likewise.
42802 * iconv/iconv.h: Likewise.
42803 * iconv/loop.c: Likewise.
42804 * iconv/skeleton.c: Likewise.
42805 * include/aio.h: Likewise.
42806 * include/aliases.h: Likewise.
42807 * include/argz.h: Likewise.
42808 * include/arpa/inet.h: Likewise.
42809 * include/assert.h: Likewise.
42810 * include/dirent.h: Likewise.
42811 * include/dlfcn.h: Likewise.
42812 * include/execinfo.h: Likewise.
42813 * include/fcntl.h: Likewise.
42814 * include/fenv.h: Likewise.
42815 * include/glob.h: Likewise.
42816 * include/grp.h: Likewise.
42817 * include/libintl.h: Likewise.
42818 * include/mntent.h: Likewise.
42819 * include/netdb.h: Likewise.
42820 * include/pwd.h: Likewise.
42821 * include/rpc/netdb.h: Likewise.
42822 * include/sched.h: Likewise.
42823 * include/search.h: Likewise.
42824 * include/shadow.h: Likewise.
42825 * include/signal.h: Likewise.
42826 * include/stdio.h: Likewise.
42827 * include/stdlib.h: Likewise.
42828 * include/string.h: Likewise.
42829 * include/sys/socket.h: Likewise.
42830 * include/sys/stat.h: Likewise.
42831 * include/sys/statfs.h: Likewise.
42832 * include/sys/statvfs.h: Likewise.
42833 * include/sys/syslog.h: Likewise.
42834 * include/sys/time.h: Likewise.
42835 * include/sys/uio.h: Likewise.
42836 * include/time.h: Likewise.
42837 * include/unistd.h: Likewise.
42838 * include/utmp.h: Likewise.
42839 * include/wchar.h: Likewise.
42840 * include/wctype.h: Likewise.
42841 * inet/aliases.h: Likewise.
42842 * inet/arpa/inet.h: Likewise.
42843 * inet/netinet/ether.h: Likewise.
42844 * inet/netinet/in.h: Likewise.
42845 * intl/libintl.h: Likewise.
42846 * io/bits/fcntl2.h: Likewise.
42847 * io/fcntl.h: Likewise.
42848 * io/ftw.h: Likewise.
42849 * io/sys/poll.h: Likewise.
42850 * io/sys/stat.h: Likewise.
42851 * io/sys/statfs.h: Likewise.
42852 * io/sys/statvfs.h: Likewise.
42853 * io/utime.h: Likewise.
42854 * libio/bits/stdio.h: Likewise.
42855 * libio/bits/stdio2.h: Likewise.
42856 * libio/libio.h: Likewise.
42857 * libio/libioP.h: Likewise.
42858 * libio/stdio.h: Likewise.
42859 * locale/lc-ctype.c: Likewise.
42860 * locale/locale.h: Likewise.
42861 * login/utmp.h: Likewise.
42862 * malloc/arena.c: Likewise.
42863 * malloc/malloc.c: Likewise.
42864 * malloc/malloc.h: Likewise.
42865 * malloc/mcheck.c: Likewise.
42866 * malloc/mtrace.c: Likewise.
42867 * math/bits/mathcalls.h: Likewise.
42868 * math/fenv.h: Likewise.
42869 * math/math_private.h: Likewise.
42870 * misc/bits/error.h: Likewise.
42871 * misc/bits/syslog.h: Likewise.
42872 * misc/err.h: Likewise.
42873 * misc/error.h: Likewise.
42874 * misc/fstab.h: Likewise.
42875 * misc/mntent.h: Likewise.
42876 * misc/regexp.h: Likewise.
42877 * misc/search.h: Likewise.
42878 * misc/sgtty.h: Likewise.
42879 * misc/sys/mman.h: Likewise.
42880 * misc/sys/syslog.h: Likewise.
42881 * misc/sys/uio.h: Likewise.
42882 * misc/sys/xattr.h: Likewise.
42883 * misc/ttyent.h: Likewise.
42884 * nis/rpcsvc/ypclnt.h: Likewise.
42885 * nss/nss.h: Likewise.
42886 * posix/bits/unistd.h: Likewise.
42887 * posix/fnmatch.h: Likewise.
42888 * posix/glob.h: Likewise.
42889 * posix/sched.h: Likewise.
42890 * posix/spawn.h: Likewise.
42891 * posix/sys/wait.h: Likewise.
42892 * posix/unistd.h: Likewise.
42893 * posix/wordexp.h: Likewise.
42894 * pwd/pwd.h: Likewise.
42895 * resolv/netdb.h: Likewise.
42896 * resource/sys/resource.h: Likewise.
42897 * rt/aio.h: Likewise.
42898 * rt/bits/mqueue2.h: Likewise.
42899 * rt/mqueue.h: Likewise.
42900 * shadow/shadow.h: Likewise.
42901 * signal/signal.h: Likewise.
42902 * socket/send.c: Likewise.
42903 * socket/sendto.c: Likewise.
42904 * socket/sys/socket.h: Likewise.
42905 * stdio-common/printf.h: Likewise.
42906 * stdlib/bits/stdlib.h: Likewise.
42907 * stdlib/fmtmsg.h: Likewise.
42908 * stdlib/monetary.h: Likewise.
42909 * stdlib/stdlib.h: Likewise.
42910 * stdlib/ucontext.h: Likewise.
42911 * streams/stropts.h: Likewise.
42912 * string/argz.h: Likewise.
42913 * string/bits/string2.h: Likewise.
42914 * string/string.h: Likewise.
42915 * string/strings.h: Likewise.
42916 * sunrpc/rpc/auth.h: Likewise.
42917 * sunrpc/rpc/auth_des.h: Likewise.
42918 * sunrpc/rpc/clnt.h: Likewise.
42919 * sunrpc/rpc/netdb.h: Likewise.
42920 * sunrpc/rpc/pmap_clnt.h: Likewise.
42921 * sunrpc/rpc/xdr.h: Likewise.
42922 * sysdeps/generic/inttypes.h: Likewise.
42923 * sysdeps/generic/net/if.h: Likewise.
42924 * sysdeps/generic/sys/swap.h: Likewise.
42925 * sysdeps/gnu/net/if.h: Likewise.
42926 * sysdeps/gnu/utmpx.h: Likewise.
42927 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
42928 * sysdeps/i386/i486/bits/string.h: Likewise.
42929 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
42930 * sysdeps/s390/bits/string.h: Likewise.
42931 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
42932 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
42933 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
42934 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
42935 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
42936 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
42937 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
42938 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
42939 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
42940 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
42941 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
42942 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
42943 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
42944 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
42945 * sysdeps/unix/sysv/linux/readv.c: Likewise.
42946 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
42947 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
42948 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
42949 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
42950 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
42951 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
42952 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
42953 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
42954 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
42955 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
42956 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
42957 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
42958 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
42959 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
42960 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
42961 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
42962 * sysvipc/sys/ipc.h: Likewise.
42963 * sysvipc/sys/msg.h: Likewise.
42964 * sysvipc/sys/sem.h: Likewise.
42965 * sysvipc/sys/shm.h: Likewise.
42966 * termios/termios.h: Likewise.
42967 * time/sys/time.h: Likewise.
42968 * time/time.h: Likewise.
42969 * wcsmbs/bits/wchar2.h: Likewise.
42970 * wcsmbs/uchar.h: Likewise.
42971 * wcsmbs/wchar.h: Likewise.
42972 * wctype/wctype.h: Likewise.
42973
0269750c
UD
42974 [BZ #13551]
42975 * Makeconfig: Remove all but ELF support including AIX support.
42976 * Makerules: Likewise.
42977 * config.h.in: Likewise.
42978 * config.make.in: Likewise.
42979 * configure: Likewise.
42980 * configure.in: Likewise.
42981 * csu/Makefile: Likewise.
42982 * csu/version.c: Likewise.
42983 * debug/Makefile: Likewise.
42984 * dlfcn/Makefile: Likewise.
42985 * elf/Makefile: Likewise.
42986 * extra-lib.mk: Likewise.
42987 * iconv/Makefile: Likewise.
42988 * include/libc-symbols.h: Likewise.
42989 * include/shlib-compat.h: Likewise.
42990 * resolv/Makefile: Likewise.
42991 * resolv/res_libc.c: Likewise.
42992 * rt/Makefile: Likewise.
42993 * sysdeps/i386/asm-syntax.h: Likewise.
42994 * sysdeps/i386/sysdep.h: Likewise.
42995 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
42996 * sysdeps/mach/sysdep.h: Likewise.
42997 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
42998 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
42999 * sysdeps/s390/asm-syntax.h: Likewise.
43000 * sysdeps/s390/s390-32/sysdep.h: Likewise.
43001 * sysdeps/s390/s390-64/sysdep.h: Likewise.
43002 * sysdeps/sh/sysdep.h: Likewise.
43003 * sysdeps/unix/sparc/sysdep.h: Likewise.
43004 * sysdeps/wordsize-32/divdi3.c: Likewise.
43005 * sysdeps/x86_64/sysdep.h: Likewise.
43006
00bbd29b
UD
43007 * argp/Versions: Remove _argp_unlock_xxx.
43008
43009 [BZ #13559]
43010 * abilist/ld.abilist: Update. Adjust for removal of tls option.
43011 * abilist/libBrokenLocale.abilist: Likewise.
43012 * abilist/libanl.abilist: Likewise.
43013 * abilist/libc.abilist: Likewise.
43014 * abilist/libcrypt.abilist: Likewise.
43015 * abilist/libdl.abilist: Likewise.
43016 * abilist/libm.abilist: Likewise.
43017 * abilist/libnsl.abilist: Likewise.
43018 * abilist/libpthread.abilist: Likewise.
43019 * abilist/libresolv.abilist: Likewise.
43020 * abilist/librt.abilist: Likewise.
43021 * abilist/libthread_db.abilist: Likewise.
43022 * abilist/libutil.abilist: Likewise.
43023 * abilist/libnss_db.abilist: New file.
43024
43025 * scripts/abilist.awk: Add support for indirect functions.
43026
a2693a0e
UD
43027 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
43028
3f05895f
UD
43029 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
43030
ecb6fb48
UD
43031 * shlib-versions: Remove entries for ports architectures.
43032
664f8cb9
UD
43033 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
43034 files in ports.
43035 * elf/stackguard-macros.h: Remove support for IA-64.
43036 * elf/tst-auditmod1.c: Likewise.
43037 * sysdeps/generic/ldsodefs.h: Likewise.
43038
7ae81d88
UD
43039 * sysdeps/unix/sysv/linux/configure.in: Ports should define
43040 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
43041 configure files.
43042
bdeba135
UD
43043 [BZ #13552]
43044 * configure.in: Remove --enable-omitfp support.
43045 * FAQ.in: Adjust.
43046 * config.make.in: Likewise.
43047 * Makeconfig: Likewise.
43048 * manual/install.texi: Likewise.
43049
d75a0a62
UD
43050 In case anyone cares, the IA-64 architecture could move to ports.
43051 * sysdeps/ia64/*: Removed.
43052 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 43053 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 43054
dcc9756b
UD
43055 [BZ #13555]
43056 * configure.in: Remove entries for unsupported architectures.
43057
d3761ebc 43058 [BZ #13533]
9954432e
UD
43059 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
43060 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
43061 routines.
43062 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
43063 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
43064 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
43065 fall back to using wcrtomb.
43066 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
43067 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
43068 renaming.
43069 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
43070 * wcsmbs/tst-c16c32-1.c: New file.
43071
43072 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
43073 local variable.
43074
c3a87236
UD
43075 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
43076
28926a1b
UD
43077 * elf/tst-unique3.cc: Add explicit declaration of gets.
43078 * elf/tst-unique3lib.cc: Likewise.
43079 * elf/tst-unique3lib2.cc: Likewise.
43080 * elf/tst-unique4.cc: Likewise.
43081
df78418a
UD
43082 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
43083
8ecd6b2a
JM
430842012-01-06 Joseph Myers <joseph@codesourcery.com>
43085
43086 [BZ #13566]
43087 * assert/assert.h (static_assert): Don't define for C++.
43088 * libio/stdio.h (gets): Do declare for C++ <= C++11.
43089 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
43090
9f115170
UD
430912012-01-03 Ulrich Drepper <drepper@gmail.com>
43092
5e0d0300
UD
43093 * iconv/loop.c (single loop): Fix assertion in storing of
43094 remaining bytes.
43095
9f115170
UD
43096 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
43097
81fb02b0
UD
430982012-01-01 Ulrich Drepper <drepper@gmail.com>
43099
43100 * posix/getconf.c: Update copyright year.
43101 * nss/getent.c: Likewise.
a316c1f6 43102 * nss/makedb.c: Likewise.
81fb02b0
UD
43103 * iconv/iconvconfig.c: Likewise.
43104 * iconv/iconv_prog.c: Likewise.
43105 * elf/ldconfig.c: Likewise.
a316c1f6
UD
43106 * elf/pldd.c: Likewise.
43107 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
43108 * catgets/gencat.c: Likewise.
43109 * csu/version.c: Likewise.
43110 * elf/ldd.bash.in: Likewise.
43111 * elf/sprof.c (print_version): Likewise.
43112 * locale/programs/locale.c: Likewise.
43113 * locale/programs/localedef.c: Likewise.
a316c1f6 43114 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
43115 * nscd/nscd.c (print_version): Likewise.
43116 * debug/xtrace.sh: Likewise.
43117 * malloc/memusage.sh: Likewise.
43118 * malloc/mtrace.pl: Likewise.
43119 * debug/catchsegv.sh: Likewise.
43120
2ba92745
JJ
431212011-12-30 Jakub Jelinek <jakub@redhat.com>
43122
43123 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
43124 pure attribute.
43125
dadebdae
UD
431262011-12-24 Ulrich Drepper <drepper@gmail.com>
43127
d3761ebc 43128 [BZ #13533]
db6af3eb
UD
43129 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
43130 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
43131 transformations.
43132 * iconv/gconv_int.h: Likewise.
43133 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
43134 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
43135 from libc for GLIBC_2.16.
43136 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
43137 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
43138 * wcsmbs/uchar.h: Really define mbstate_t.
43139 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
43140 * wcsmbs/c16rtomb.c: New file.
43141 * wcsmbs/mbrtoc16.c: New file.
43142 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
43143 for C/POSIX locale.
43144 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
43145 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
43146
dadebdae
UD
43147 * wcsmbs/wchar.h: Add missing __restrict.
43148
67371b56
UD
431492011-12-23 Ulrich Drepper <drepper@gmail.com>
43150
74033a25
UD
43151 [BZ #13532]
43152 * time/Makefile (routines): Add timespec_get.
43153 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
43154 * time/time.h: Define TIME_UTC and declare timespec_get. Define
43155 timespec for ISO C11.
43156 * time/timespec_get.c: New file.
43157 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
43158 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
43159
380d7e87
UD
43160 [BZ #13531]
43161 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
43162 * stdlib/stdlib.h: Declare aligned_alloc.
43163 * Versions.def: Add GLIBC_2.16 for libc.
43164 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
43165
4e9e7a35
UD
43166 [BZ 13527]
43167 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
43168 ISO C11.
43169
380d7e87 43170 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
43171 code.
43172
03a71829
UD
43173 [BZ #13528]
43174 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
43175
839e283e
UD
43176 [BZ #13529]
43177 * assert/assert.h (static_assert): Define.
43178
ce5294e2 43179 * version.h: Update for 2.16 development version.
90fa7312 43180
8d44e150 43181 [BZ #13526]
d7809905
UD
43182 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
43183 _ISOC11_SOURCE.
43184
c0da14cd
UD
43185 * version.h (RELEASE): Bump for 2.15 release.
43186 * include/features.h (__GLIBC_MINOR__): Bump to 15.
43187
530a3249
MP
43188 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
43189 Patch by Marek Polacek <mpolacek@redhat.com>.
43190
67371b56
UD
43191 * bits/byteswap.h: Protect long long constants with __extension__.
43192 * sysdeps/i386/bits/byteswap.h: Likewise.
43193 * sysdeps/ia64/bits/byteswap.h: Likewise.
43194 * sysdeps/s390/bits/byteswap.h: Likewise.
43195 * sysdeps/x86_64/bits/byteswap.h: Likewise.
43196
15db4de1
LD
431972011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
43198
43199 [BZ #13540]
bbe315ea
LD
43200 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
43201 destination buffer.
15db4de1
LD
43202 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
43203
2b2596b1
MP
432042011-12-23 Marek Polacek <polacek@redhat.com>
43205
43206 * elf/dl-addr.c (determine_info): Add inline keyword.
43207 * elf/tst-auditmod4b.c (check_avx): Likewise.
43208 * elf/tst-auditmod6b.c (check_avx): Likewise.
43209 * elf/tst-auditmod6c.c (check_avx): Likewise.
43210 * elf/tst-auditmod7b.c (check_avx): Likewise.
43211
70c6c246
UD
432122011-12-23 Ulrich Drepper <drepper@gmail.com>
43213
43214 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
43215 !__SSE_MATH__.
43216
c044cf14
LD
432172011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
43218
15db4de1 43219 [BZ #13540]
c044cf14
LD
43220 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
43221 processing for last bytes.
43222
6b13d9d9
BH
432232011-08-06 Bruno Haible <bruno@clisp.org>
43224
d455f537
BH
43225 [BZ #13061]
43226 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
43227 U+0385, not to U+1FEE.
43228
6b13d9d9
BH
43229 [BZ #13062]
43230 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
43231 entry for U+00A5 U+0301.
43232
db910efd
UD
432332011-12-22 Ulrich Drepper <drepper@gmail.com>
43234
27deeafc
UD
43235 [BZ #13166]
43236 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
43237 buffer for the output is too small.
43238
aed9d171
UD
43239 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
43240 optimization.
43241
db910efd
UD
43242 [BZ #13185]
43243 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
43244 SSE flags if possible.
43245
2bd779ae
LD
432462011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
43247
e7f9dac3 43248 [BZ #13540]
2bd779ae
LD
43249 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
43250 processing for last bytes.
43251
154bfc16
JM
432522011-12-22 Joseph Myers <joseph@codesourcery.com>
43253
43254 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
43255 (syscall-list-default-options, syscall-list-default-condition)
43256 (syscall-list-includes): Define.
43257 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
43258 list of ABIs and options and #if conditions for each ABI. Do not
43259 handle common syscalls between ABIs specially.
43260 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
43261 Remove.
43262 (syscall-list-variants, syscall-list-32bit-options)
43263 (syscall-list-32bit-condition, syscall-list-64bit-options)
43264 (syscall-list-64bit-condition): Define.
43265 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
43266 (syscall-list-variants, syscall-list-32bit-options)
43267 (syscall-list-32bit-condition, syscall-list-64bit-options)
43268 (syscall-list-64bit-condition): Define.
43269 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
43270 Remove.
43271 (syscall-list-variants, syscall-list-32bit-options)
43272 (syscall-list-32bit-condition, syscall-list-64bit-options)
43273 (syscall-list-64bit-condition): Define.
43274 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
43275 Remove.
43276 (syscall-list-variants, syscall-list-32bit-options)
43277 (syscall-list-32bit-condition, syscall-list-64bit-options)
43278 (syscall-list-64bit-condition): Define.
43279
21eaf3a5
UD
432802011-12-22 Ulrich Drepper <drepper@gmail.com>
43281
16c6f992
UD
43282 * locale/iso-639.def: Add brx entry.
43283
41043168
UD
43284 [BZ #13328]
43285 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
43286 Proposed by Mariusz_Cukr <marcukr@op.pl>.
43287
21eaf3a5
UD
43288 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
43289 __feraiseexcept_renamed.
43290
e3a851a2
UD
432912011-12-21 Ulrich Drepper <drepper@gmail.com>
43292
4920765e
UD
43293 [BZ #13538]
43294 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
43295 EPOLLET with unsigned values.
43296 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
43297 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
43298
e3a851a2
UD
43299 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
43300 to large cancellation.
43301 * math/s_cacoshf.c: Likewise.
43302 * math/s_cacoshl.c: Likewise.
43303
b27e24b8
RK
433042011-11-18 Richard B. Kreckel <kreckel@ginac.de>
43305
43306 [BZ #13305]
aebefeee 43307 [BZ #12786]
b27e24b8
RK
43308 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
43309 * math/s_cacoshf.c: Likewise.
43310 * math/s_cacoshl.c: Likewise.
43311
ee190f67
UD
433122011-12-21 Ulrich Drepper <drepper@gmail.com>
43313
43314 [BZ #13439]
43315 * iconv/gconv.h: Define __GCONV_SWAP.
43316 * iconvdata/unicode.c: The swap bit must be stored in __flags.
43317 * iconvdata/utf-16.c: Likewise.
43318 * iconvdata/utf-32.c: Likewise.
43319
707f25df
AS
433202011-12-21 Andreas Schwab <schwab@linux-m68k.org>
43321
43322 [BZ #13524]
43323 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
43324 numerator after shifting it by one limb.
43325
d2daaa1e
RÁE
433262011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
43327
43328 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
43329 under [__USE_EXTERN_INLINES].
43330
a4647e72
UD
433312011-12-17 Ulrich Drepper <drepper@gmail.com>
43332
43333 [BZ #13446]
43334 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
43335
f0b264f1
AZ
433362011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
43337
43338 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
43339 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
43340 optimized code.
43341 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
43342 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
43343 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
43344 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
43345 for strncasecmp/strncasecmp_l compilation.
43346 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
43347 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
43348
8ef4f244
MP
433492011-12-08 Marek Polacek <mpolacek@redhat.com>
43350
43351 [BZ #13484]
43352 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
43353 of __asm__.
43354
97ac2654
UD
433552011-12-17 Ulrich Drepper <drepper@gmail.com>
43356
43357 [BZ #13506]
43358 * time/tzfile.c (__tzfile_read): Check values from file header.
43359
91d2a845
WS
433602011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
43361
43362 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
43363 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
43364 * powerpc/powerpc32/dl-start.S: Likewise.
43365 * powerpc/powerpc32/elf/start.S: Likewise.
43366 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
43367 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
43368 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
43369 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
43370 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
43371 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
43372 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
43373 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
43374 * powerpc/powerpc32/fpu/s_round.S: Likewise.
43375 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
43376 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
43377 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
43378 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
43379 * powerpc/powerpc32/memset.S: Likewise.
43380 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
43381 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
43382 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
43383 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
43384 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
43385 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
43386 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
43387 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
43388 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
43389 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
43390 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
43391 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
43392 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
43393
a1267ba1
AZ
433942011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
43395
43396 * math/libm-test.inc: Added more nearbyint tests.
43397 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
43398 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
43399 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
43400 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
43401
ad8ac1bd
RL
434022011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
43403
43404 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
43405 FD_CLOEXEC.
43406
1d3e4b61
UD
434072011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
43408
43409 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
43410 Add wcscpy-ssse3 wcscpy-c.
43411 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
43412 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
43413 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
43414 * sysdeps/x86_64/wcschr.S: New file.
43415 * sysdeps/x86_64/wcsrchr.S: New file.
43416 * string/test-strcmp.c: Remove checking of wcscmp function for
43417 wrong alignments.
43418 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
43419 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
43420 wcsrchr-sse2 wcsrchr-c.
43421 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
43422 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
43423 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
43424 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
43425 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
43426 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
43427 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
43428 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
43429 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
43430 * wcsmbc/wcschr.c (WCSCHR): New macro.
43431
5b330a2d
UD
434322011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
43433
43434 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
43435 * wcsmbs/test-wcsrchr.c: New file.
43436 * string/test-strrchr.c: Add wcsrchr support.
43437 (WIDE): New macro.
43438 * wcsmbs/test-wcscpy.c: New file.
43439 * string/test-strcpy.c: Add wcscpy support.
43440 (WIDE): New macro.
26428b7c 43441
f039c043
UD
434422011-12-10 Ulrich Drepper <drepper@gmail.com>
43443
43444 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
43445 the inner loop.
43446
850fb039
AS
434472011-12-06 Andreas Schwab <schwab@linux-m68k.org>
43448
43449 [BZ #13472]
43450 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
43451
4efbd5cb
UD
434522011-12-04 Ulrich Drepper <drepper@gmail.com>
43453
52ff5dd0 43454 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 43455 Minor optimizations.
52ff5dd0 43456
4efbd5cb
UD
43457 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
43458 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
43459 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
43460
8a426e12
UD
434612011-12-03 Ulrich Drepper <drepper@gmail.com>
43462
aff2453d
UD
43463 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
43464 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
43465 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
43466 for gcc to avoid warnings.
43467 * inet/Makefile (tests): Add tst-checks.
43468 * inet/tst-checks.c: New file.
43469
43470 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
43471 warning.
43472
43473 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
43474 __wmemcmp_sse2.
43475
43476 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
43477 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
43478
8a426e12
UD
43479 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
43480
9bea3473
UD
434812011-12-02 Ulrich Drepper <drepper@gmail.com>
43482
3a965496
UD
43483 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
43484 problem.
43485
9bea3473
UD
43486 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
43487
f101631b
UD
434882011-11-29 Joseph Myers <joseph@codesourcery.com>
43489
43490 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
43491 conditional on GCC version.
43492 (__arch_compare_and_exchange_val_8_acq)
43493 (__arch_compare_and_exchange_val_16_acq)
43494 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
43495 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
43496 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
43497
a98275aa
UD
434982011-12-02 Joseph Myers <joseph@codesourcery.com>
43499
43500 * sysdeps/sh/backtrace.c: New file.
43501
d4cc29a2
AS
435022011-12-02 Andreas Schwab <schwab@redhat.com>
43503
43504 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
43505 parenthesis.
43506
6257af2d
AS
435072011-12-01 Andreas Schwab <schwab@redhat.com>
43508
43509 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
43510 falling back to utime.
43511
b5f44c1a
AS
435122011-11-30 Andreas Schwab <schwab@redhat.com>
43513
43514 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
43515 expectations for float.
43516
f3a6cc0a
AS
435172011-11-29 Andreas Schwab <schwab@redhat.com>
43518
43519 * locale/weight.h (findidx): Add parameter len.
43520 * locale/weightwc.h (findidx): Likewise.
43521 * posix/fnmatch_loop.c (FCT): Adjust caller.
43522 * posix/regcomp.c (build_equiv_class): Likewise.
43523 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
43524 * posix/regexec.c (check_node_accept_bytes): Likewise.
43525 * string/strcoll_l.c (STRCOLL): Likewise.
43526 * string/strxfrm_l.c (STRXFRM): Likewise.
43527
9d65ea3a
UD
435282011-11-17 Ulrich Drepper <drepper@gmail.com>
43529
43530 * Makefile.in: Remove CVSOPT handling.
43531 * configure.in: Remove use of AC_REVISION.
43532 * iconvdata/Makefile (distribute): No need to filter out CVS.
43533 * scripts/list-sources.sh: Remove CVS, subversion and monotone
43534 handling.
43535
5583a086
AS
435362011-11-16 Andreas Schwab <schwab@redhat.com>
43537
43538 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
43539 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
43540 [USE_AS_STRNCASECMP_L]: Likewise.
43541 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
43542 NO_TLS_DIRECT_SEG_REFS.
43543 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
43544 Fix argument offsets for non-PIC.
43545 [USE_AS_STRNCASECMP_L]: Likewise.
43546 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
43547 NO_TLS_DIRECT_SEG_REFS.
43548
d62a8200
UD
435492011-11-15 Ulrich Drepper <drepper@gmail.com>
43550
9d65ea3a 43551 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
43552 O_CLOEXEC.
43553 * locale/loadlocale.c (_nl_load_locale): Likewise.
43554
09f93bd3
AS
435552011-11-15 Andreas Schwab <schwab@redhat.com>
43556
446514f9
AS
43557 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
43558 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
43559 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
43560 (SYSCALL_GETTIME): Set errno on error.
43561
09f93bd3
AS
43562 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
43563 count references to noai6ai_cached.
43564
312be3f9
UD
435652011-11-15 Ulrich Drepper <drepper@gmail.com>
43566
43567 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
43568
43569 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
43570 FD_CLOEXEC for /proc/self/maps.
43571
43572 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
43573 FD_CLOEXEC for /proc/meminfo.
43574
43575 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
43576 gai.conf.
43577
43578 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
43579 FD_CLOEXEC for given file.
43580
43581 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
43582
43583 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
43584 FD_CLOEXEC for /etc/hosts.
43585 (_gethtent): Likewise.
43586
43587 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
43588
43589 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
43590 cancellation and set FD_CLOEXEC for /etc/netgroup.
43591
43592 * nss/nss_files/files-key.c (search): Don't allow cancellation when
43593 reading /etc/publickey.
43594
43595 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
43596 allow cancellation when reading /etc/group.
43597
43598 * nss/nss_files/files-alias.c (internal_setent): Don't allow
43599 cancellation.
43600 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
43601
43602 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
43603 when using data file.
43604
43605 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
43606
43607 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
43608 (write_nis_obj): Use "c" and "e" in fopen.
43609
43610 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
43611
43612 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
43613
43614 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
43615
43616 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
43617
43618 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
43619 locale.alias.
43620
43621 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
43622
43623 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
43624
43625 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
43626
43627 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
43628 file parsing and set FD_CLOEXEC.
43629
82af0fa8
UD
436302011-11-14 Ulrich Drepper <drepper@gmail.com>
43631
43632 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
43633
a5fb313c
AS
436342011-11-14 Andreas Schwab <schwab@redhat.com>
43635
43636 * malloc/arena.c (arena_get2): Don't call reused_arena when
43637 _int_new_arena failed.
43638
6abf3465
UD
436392011-11-14 Ulrich Drepper <drepper@gmail.com>
43640
43641 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
43642 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
43643 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
43644 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
43645 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
43646 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
43647 to compile strcasecmp and strncasecmp.
43648 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
43649 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
43650
43651 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
43652
76e3966e
UD
436532011-11-13 Ulrich Drepper <drepper@gmail.com>
43654
43655 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
43656 locale-defines.sym to gen-as-const-headers.
43657 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
43658 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
43659 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
43660 to compile strcasecmp and strncasecmp.
43661 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
43662 strcasecmp_l and strncasecmp_l.
43663 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
43664 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
43665 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
43666 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
43667 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
43668 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
43669 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
43670 * sysdeps/i386/i686/multiarch/strncase.S: New file.
43671 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
43672 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
43673 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
43674
ab26144e
UD
436752011-11-12 Ulrich Drepper <drepper@gmail.com>
43676
7edb22ef
UD
43677 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
43678 result of SYSDEP_GETTIME_CPU to retval.
43679 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
43680 parameter list to macro. Remove trailing semicolon. Adjust users.
43681
9694fc44
UD
43682 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
43683 variable.
43684
8ad89ef8
UD
43685 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
43686 mantissa words.
43687 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
43688
0c822ef9
UD
43689 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
43690 from unused variable.
43691
874e0564
UD
43692 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
43693 DWARF definitions.
43694 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
43695 for assembling.
43696
3a2edc79
UD
43697 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
43698 over namespaces.
43699
f3c2577f
UD
43700 * sunrpc/rpc_prot.c (rejected): Fix case value.
43701
294ce126
UD
43702 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
43703 unsigned long long int to avoid warnings in shift.
43704
5e2b63c6
UD
43705 * posix/regex_internal.c (re_string_reconstruct): Actually use result
43706 of use of trans.
43707 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
43708 variable tmp.
43709
e7f4b08e
UD
43710 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
43711 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
43712 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
43713
ab26144e
UD
43714 * nis/nis_table.c (nis_list): Use variable of correct type for
43715 result of __follow_path call.
43716
8a6d5255
AZ
437172011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
43718
43719 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
43720 of math functions ceil, trunc, floor, round, and sqrt, when
43721 avaliable on the platform.
43722 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
43723 name clash.
43724 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
43725 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
43726 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
43727
aaddc98c
MP
437282011-10-30 Marek Polacek <mpolacek@redhat.com>
43729
43730 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
43731 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
43732
95b7042b
RM
437332011-11-11 Roland McGrath <roland@hack.frob.com>
43734
43735 * include/unistd.h: Fix __readlink return type.
43736 Reported by Chris Metcalf <cmetcalf@tilera.com>.
43737
57769839
UD
437382011-11-11 Ulrich Drepper <drepper@gmail.com>
43739
43740 * stdlib/ucontext.h: Undo last change for makecontext.
43741
edc5984d
AS
437422011-11-11 Andreas Schwab <schwab@redhat.com>
43743
98591e58
AS
43744 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
43745
edc5984d
AS
43746 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
43747 * setjmp/setjmp.h: Mark functions as non-leaf.
43748 * setjmp/bits/setjmp2.h: Likewise.
43749 * stdlib/ucontext.h: Likewise.
43750
77cdc054
AS
437512011-11-10 Andreas Schwab <schwab@redhat.com>
43752
43753 * malloc/arena.c (_int_new_arena): Don't increment narenas.
43754 (reused_arena): Don't check arena limit.
43755 (arena_get2): Atomically check arena limit.
43756
fe72eebd
UD
437572011-11-08 Ulrich Drepper <drepper@gmail.com>
43758
5f078c32
UD
43759 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
43760 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
43761
fe72eebd
UD
43762 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
43763 instructions.
43764
ae1bc2fa
AS
437652011-11-07 Andreas Schwab <schwab@redhat.com>
43766
7583a88d
AS
43767 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
43768 handler when locking.
43769
ae1bc2fa
AS
43770 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
43771 Fix size of allocated buffer.
43772
10fb0bfa
AS
437732011-11-04 Andreas Schwab <schwab@redhat.com>
43774
998832a4
AS
43775 [BZ #10103]
43776 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
43777 declarations for long double functions.
43778 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
43779
10fb0bfa
AS
43780 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
43781
3d7ba52b
AS
437822011-11-03 Andreas Schwab <schwab@redhat.com>
43783
a9ae54a1
AS
43784 * nscd/nscd.c (main): Don't start AVC thread until credentials are
43785 installed.
43786
3d7ba52b
AS
43787 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
43788 is disabled.
43789
bc8db248
ST
437902011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
43791
43792 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
43793
45b96dd6
AS
437942011-11-01 Andreas Schwab <schwab@linux-m68k.org>
43795
647776f6
AS
43796 * include/alloca.h (stackinfo_alloca_round): Define.
43797 (extend_alloca): Use it.
43798 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
43799 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
43800 here.
43801
d91a8b93
AS
43802 * scripts/check-local-headers.sh: Ignore libaudit.h.
43803
45b96dd6
AS
43804 * nscd/Makefile (extra-objs): Make recursively expanded.
43805
432d41ce
UD
438062011-11-01 Ulrich Drepper <drepper@gmail.com>
43807
34372fc6
UD
43808 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
43809 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
43810
fadb59f8
UD
43811 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
43812 * posix/tst-rfc3484-2.c: Likewise.
43813 * posix/tst-rfc3484-3.c: Likewise.
43814
78239589
UD
43815 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
43816 process_vm_writev.
43817 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
43818 process_vm_writev.
43819 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
43820 process_vm_writev from libc using GLIBC_2.15 version.
43821
432d41ce
UD
43822 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
43823
02f9c6cf
PP
438242011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
43825
43826 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
43827 stack usage.
43828
3a2c0242
UD
438292011-10-31 Ulrich Drepper <drepper@gmail.com>
43830
f4ec4833
UD
43831 [BZ #13367]
43832 * nss/getent.c (initgroups_keys): Show error message in case no group
43833 names are given.
43834
3a2c0242
UD
43835 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
43836 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
43837 __bump_nl_timestamp.
43838 * nscd/connections (nscd_init): When host database is served open
43839 netlink socket and request notification about configuration changes.
43840 (main_loop_poll): Track netlink file descriptor and bump timestamp
43841 in case data becomes available.
43842 (main_loop_epoll): Likewise.
43843 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
43844 (database_pers_head): Add extra_data fileds.
43845 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
43846 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
43847 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
43848 Adjust caller.
43849 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
43850 in6ai data, call __free_in6ai.
43851 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
43852 Add -DHAVE_NETLINK.
43853 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
43854 interface information. Reuse previous data if netlink timestamp
43855 is not changed.
43856 (__bump_nl_timestamp): New function.
43857 (__free_in6ai): New function.
43858
636064eb
UD
438592011-10-30 Ulrich Drepper <drepper@gmail.com>
43860
43861 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
43862 close_not_cancel_no_status here.
43863 (__check_pf): Reorganize code a bit to not call close twice if OOM.
43864
9beb2334
UD
438652011-10-29 Ulrich Drepper <drepper@gmail.com>
43866
6ef76f3b
UD
43867 [BZ #13276]
43868 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
43869 return value.
43870
0ffc4f3e 43871 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
43872 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
43873 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
43874
cb95113e
UD
438752011-07-03 Andreas Jaeger <aj@suse.de>
43876
43877 [BZ #10709]
43878 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
43879 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
43880 * math/libm-test.inc (sin_test): Add test case.
43881
a1b560ff
UD
438822011-10-29 Ulrich Drepper <drepper@gmail.com>
43883
c9aaface
UD
43884 [BZ #13337]
43885 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
43886 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
43887
d272e7f1
UD
43888 * elf/chroot_canon.c (chroot_canon): Cleanups.
43889
1bc33071
UD
43890 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
43891
1760874d
TJ
43892 [BZ #13335]
43893 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
43894 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
43895
51d91b18
UD
43896 * string/test-strchr.c: Make usable for strchrnul testing.
43897 * string/test-strchrnul.c: New file.
43898 * string/Makefile (strop-tests): Add strchrnul.
43899
a1b560ff 43900 * po/it.po: Update from translation team.
b611fb81 43901 * po/es.po: Likewise.
a1b560ff 43902
a5b81e1f
UD
439032011-10-28 Ulrich Drepper <drepper@gmail.com>
43904
fd52bc6d
UD
43905 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
43906 the three constants needed as parameters. Drop the others.
43907 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
43908 __m128i_strloadu_tolower.
52e4b9eb
UD
43909 Create and initialize variable zero and use it in all the places
43910 where _mm_setzero_si128 was used.
fd52bc6d 43911
a5b81e1f
UD
43912 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
43913 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
43914 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
43915 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
43916 anymore.
43917 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
43918 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
43919 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
43920 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
43921 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
43922 __mpranred, __mptan.
43923 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
43924 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
43925 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
43926 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
43927 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
43928 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
43929 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
43930 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
43931 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
43932
b4343346
AS
439332011-10-28 Andreas Schwab <schwab@redhat.com>
43934
0c92d8a8
AS
43935 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
43936 redefine if SHARED.
43937 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
43938
b4343346
AS
43939 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
43940 wide char related routines to wcsmbs subdir.
43941
3871f58f
AS
439422011-10-27 Andreas Schwab <schwab@redhat.com>
43943
43944 [BZ #13344]
43945 * misc/sys/cdefs.h (__THROWNL): Define.
43946 * posix/unistd.h: Use __THREADNL instead of __THREAD
43947 for memory synchronization functions.
43948
94d44d9f
RM
439492011-10-26 Roland McGrath <roland@hack.frob.com>
43950
21b64b15 43951 [BZ #13349]
94d44d9f
RM
43952 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
43953 doesn't exist.
43954 * manual/stdio.texi (Obstack Streams): Node removed.
43955
f6ce9294
AS
439562011-10-26 Andreas Schwab <schwab@redhat.com>
43957
80479147
AS
43958 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
43959 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
43960 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
43961
f6ce9294
AS
43962 * math/math_private.h (math_force_eval): Allow non-addressable
43963 arguments.
43964 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
43965
618280a1
UD
439662011-10-25 Ulrich Drepper <drepper@gmail.com>
43967
e0016b11
UD
43968 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
43969 file is not needed.
43970
43971 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
43972 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
43973 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
43974 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
43975 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
43976 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
43977 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
43978 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
43979 Add AVX variants.
43980 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
43981 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
43982 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
43983 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
43984 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
43985 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
43986 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
43987 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
43988 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
43989 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
43990 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
43991 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
43992 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
43993 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
43994 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
43995 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
43996 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
43997 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
43998 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
43999
44000 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
44001 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
44002
618280a1
UD
44003 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
44004 place. Use VEX encoding when compiling for AVX.
44005
37822576
AS
440062011-10-25 Andreas Schwab <schwab@redhat.com>
44007
1f1e1947
AS
44008 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
44009 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
44010
37822576
AS
44011 * string/test-strchr.c (do_test): Don't generate NUL bytes.
44012
31ea014d
UD
440132011-10-25 Ulrich Drepper <drepper@gmail.com>
44014
d7826aa1 44015 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 44016 useless if() expression.
d7826aa1
UD
44017 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
44018 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
44019 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
44020 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
44021 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
44022 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
44023 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
44024 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
44025 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
44026 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
44027 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
44028 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
44029 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
44030 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
44031 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
44032 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
44033 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
44034 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
44035 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
44036
31ea014d
UD
44037 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
44038
16437fec
AS
440392011-10-25 Andreas Schwab <schwab@redhat.com>
44040
44041 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
44042 condition.
44043 * elf/dl-fini.c (_dl_sort_fini): Likewise.
44044
31d3cc00
UD
440452011-10-25 Ulrich Drepper <drepper@gmail.com>
44046
44047 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
44048 .text section. Avoid duplicate constants.
44049 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
44050 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
44051 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
44052 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
44053 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
44054 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
44055 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
44056 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
44057 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
44058 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
44059 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
44060 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
44061 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
44062 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
44063 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
44064 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
44065 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
44066 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
44067 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
44068 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
44069 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
44070 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
44071 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
44072 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
44073 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
44074 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
44075 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
44076 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
44077 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
44078 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
44079 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
44080 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
44081 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
44082 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
44083 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
44084 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
44085 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
44086 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
44087 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
44088 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
44089 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
44090 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
44091 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
44092 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
44093 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
44094
58985aa9
UD
440952011-10-24 Ulrich Drepper <drepper@gmail.com>
44096
202c9deb
UD
44097 * sysdeps/x86_64/dla.h: Move to ...
44098 * sysdeps/x86_64/fpu/dla.h: ...here.
44099 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
44100 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 44101
af968f62
UD
44102 * config.make.in: Add have-mfma4 entry.
44103 * configure.in: Substitute libc_cv_cc_fma4.
44104 * math/Makefile (dbl-only-routines): Add sincostab.
44105 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
44106 Use __sincostab not sincos.
44107 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
44108 name is a macro.
44109 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
44110 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
44111 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
44112 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
44113 using __copysign.
44114 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
44115 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
44116 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
44117 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
44118 and __inv.
44119 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
44120 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
44121 __copysign.
44122 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
44123 define aliases when function name is a macro.
44124 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
44125 sysdeps/ieee754/dbl-64/sincos.tbl.
44126 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
44127 fma4-enabled routines.
44128 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
44129 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
44130 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
44131 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
44132 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
44133 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
44134 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
44135 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
44136 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
44137 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
44138 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
44139 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
44140 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
44141 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
44142 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
44143 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
44144 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
44145 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
44146 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
44147 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
44148 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
44149 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
44150 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
44151 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
44152 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
44153 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
44154 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
44155 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
44156 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
44157 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
44158
58985aa9
UD
44159 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
44160 rename.
44161 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
44162 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
44163 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
44164 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
44165 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
44166 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
44167 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
44168 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
44169
a201fbcf
AS
441702011-10-24 Andreas Schwab <schwab@redhat.com>
44171
44172 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
44173
fc2ee42a
LD
441742011-10-23 Ulrich Drepper <drepper@gmail.com>
44175
bb3129bd
UD
44176 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
44177
0275fff8
UD
44178 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
44179 prediction.
44180 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
44181
2fa2ae85
UD
44182 * string/strnlen.c: Don't define STRNLEN, reverse logic.
44183 Remove unused variable magic_bits.
44184 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
44185
fc2ee42a
LD
44186 * string/strnlen.c: Define and use STRNLEN macro.
44187 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
44188 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
44189 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
44190 * wcsmbs/wcslen.c: Define and use WCSLEN.
44191 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
44192 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
44193 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
44194 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
44195 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
44196 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
44197 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
44198
ce7dd29f
LD
441992011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
44200
44201 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
44202 strnlen-sse2-no-bsf.
44203 Rename strlen-no-bsf to strlen-sse2-no-bsf.
44204 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
44205 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
44206 Add strnlen support.
44207 (USE_AS_STRNLEN): New macro.
44208 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
44209 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
44210 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
44211 * sysdeps/x86_64/wcslen.S: New file.
44212
979c70a3
MZ
442132011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
44214
44215 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
44216 XMM-moves are used for copying on small sizes.
44217
2d09f82f
LD
442182011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
44219
44220 * wcsmbs/Makefile (strop-tests): Add wcschr.
44221 * wcsmbs/test-wcschr.c: New file.
44222 * string/test-strchr.c: Update.
44223 Add wcschr support.
44224 (WIDE): New macro.
44225
619fccca
LD
442262011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
44227
2d09f82f 44228 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
44229 * wcsmbs/test-wcslen.c: New file.
44230 * string/test-strlen.c: Update.
44231 Add wcslen support.
44232 (WIDE): New macro.
44233
09f699ea
UD
442342011-10-23 Ulrich Drepper <drepper@gmail.com>
44235
44236 * po/it.po: Update from translation team.
44237
95584d3b
LD
442382011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
44239
44240 * sysdeps/x86_64/wcscmp.S: Update.
44241 Fix wrong comparison semantics.
44242 wcscmp shall use signed comparison not unsigned.
44243 Don't use substraction to avoid overflow bug.
44244 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
44245 * wcsmbc/wcscmp.c: Likewise.
44246 * string/test-strcmp.c: Likewise.
44247 Add new tests to check cases with negative values.
44248
c8b3296b
UD
442492011-10-23 Ulrich Drepper <drepper@gmail.com>
44250
44251 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
44252 * sysdeps/x86_64/dla.h: ...here. New file.
44253 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
44254 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
44255 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
44256 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
44257 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
44258 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
44259 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
44260 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
44261 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
44262
246ad57a
AS
442632011-10-23 Andreas Schwab <schwab@linux-m68k.org>
44264
44265 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
44266 __ynl_finite aliases.
44267
a1a87169
UD
442682011-10-22 Ulrich Drepper <drepper@gmail.com>
44269
0d355eb7
UD
44270 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
44271
a1a87169
UD
44272 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
44273 define DLA_FMA.
44274 [DLA_FMA] (EMULV): Use DLA_FMA.
44275 [DLA_FMA] (MUL12): Use EMULV.
44276 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
44277 that are not needed.
44278 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
44279 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
44280 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
44281 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
44282 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
44283 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
44284 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
44285
ee2aafe0
AS
442862011-10-22 Andreas Schwab <schwab@linux-m68k.org>
44287
44288 * math/s_nan.c: Undef __nan.
44289 * math/s_nanf.c: Undef __nanf.
44290 * math/s_nanl.c: Undef __nanl.
44291 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
44292 "math_private.h".
44293
bc62c2fb
UD
442942011-10-22 Ulrich Drepper <drepper@gmail.com>
44295
77425c63
UD
44296 * math/s_catan.c: Add branch predictions.
44297 * math/s_catanf.c: Likewise.
44298 * math/s_catanh.c: Likewise.
44299 * math/s_catanhf.c: Likewise.
44300 * math/s_catanhl.c: Likewise.
44301 * math/s_catanl.c: Likewise.
44302 * math/s_cexp.c: Likewise.
44303 * math/s_cexpf.c: Likewise.
44304 * math/s_cexpl.c: Likewise.
44305 * math/s_clog.c: Likewise.
44306 * math/s_clog10.c: Likewise.
44307 * math/s_clog10f.c: Likewise.
44308 * math/s_clog10l.c: Likewise.
44309 * math/s_clogf.c: Likewise.
44310 * math/s_clogl.c: Likewise.
44311 * math/s_csqrt.c: Likewise.
44312 * math/s_csqrtf.c: Likewise.
44313 * math/s_csqrtl.c: Likewise.
44314 * math/s_ctanf.c: Likewise.
44315 * math/s_ctanh.c: Likewise.
44316 * math/s_ctanhf.c: Likewise.
44317 * math/s_ctanhl.c: Likewise.
44318 * math/s_ctanl.c: Likewise.
44319
bc62c2fb
UD
44320 * math/math_private.h: Define __nan, __nanf, __nanl.
44321 * math/s_cacosh.c: Include <math_private.h>.
44322 * math/s_cacoshl.c: Likewise.
44323 * math/s_casinh.c: Likewise.
44324 * math/s_casinhf.c: Likewise.
44325 * math/s_casinhl.c: Likewise.
44326 * math/s_ccos.c: Rely entire on ccosh.
44327 * math/s_ccosf.c: Rely entire on ccoshf.
44328 * math/s_ccosl.c: Rely entirely on ccoshl.
44329 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
44330 Remove tests for FE_INVALID.
44331 * math/s_ccoshf.c: Likewise.
44332 * math/s_ccoshl.c: Likewise.
44333 * math/s_csin.c: Likewise.
44334 * math/s_csinf.c: Likewise.
44335 * math/s_csinh.c Likewise.
44336 * math/s_csinhf.c: Likewise.
44337 * math/s_csinhl.c: Likewise.
44338 * math/s_csinl.c: Likewise.
44339 * math/s_ctan.c: Likewise.
44340 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
44341 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
44342 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
44343
8ec250a4
UD
443442011-10-21 Ulrich Drepper <drepper@gmail.com>
44345
c196fed8
UD
44346 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
44347 compilation problems.
44348
8ec250a4
UD
44349 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
44350 __builtin_expect.
44351
8d4f46c6
UD
443522011-10-20 Ulrich Drepper <drepper@gmail.com>
44353
ed72b654
UD
44354 * sysdeps/i386/configure.in: Test for -mfma4 option.
44355 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
44356 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
44357 COMMON_CPUID_INDEX_80000001.
44358 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
44359 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
44360 use it if FMA3 is not supported.
44361 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
44362
8d4f46c6
UD
44363 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
44364 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
44365
d45c60c2
AS
443662011-10-20 Andreas Schwab <schwab@redhat.com>
44367
44368 [BZ #12892]
44369 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
44370 it would create a cycle with a link time dependency.
44371
d9a4d2ab
UD
443722011-10-19 Ulrich Drepper <drepper@gmail.com>
44373
855d1560
UD
44374 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
44375 instruction.
44376 * string/Makefile (strop-tests): Add rawmemchr.
44377 * string/test-rawmemchr.c: New file.
44378
d9a4d2ab
UD
44379 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
44380 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
44381 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
44382 when compiling str{,n}casecmp and when AVX is available. Hook up
44383 new optimized code in initializers.
44384
8f3b1ffe
AS
443852011-10-19 Andreas Schwab <schwab@redhat.com>
44386
44387 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
44388 __feraiseexcept instead of feraiseexcept.
44389
d38f1dba
UD
443902011-10-18 Ulrich Drepper <drepper@gmail.com>
44391
d9a8d0ab
UD
44392 * math/math_private.h: Define defaults for libc_fetestexcept and
44393 libc_feupdateenv.
44394 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
44395 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
44396 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
44397 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
44398 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
44399 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
44400 libc_fetestexcept and libc_feupdateenv.
44401
4855e3dd
UD
44402 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
44403 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
44404 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
44405 * sysdeps/x86_64/fpu/math_private.h: Define special version of
44406 libc_feholdexcept_setround.
44407
581d30e3
UD
44408 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
44409 Add s_nearbyint-c and s_nearbyintf-c.
44410 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
44411 nearbyintf inlines.
44412 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
44413 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
44414 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
44415 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
44416
d38f1dba
UD
44417 * math/math_private.h: Define defaults for libc_fegetround,
44418 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
44419 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
44420 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
44421 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
44422 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
44423 standard functions.
44424 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
44425 Remove comments and hacks for old compiler versions.
44426 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
44427 libc_fegetround, libc_fesetround, libc_feholdexcept, and
44428 libc_feholdexceptl.
44429
caa6c9d8
AS
444302011-10-18 Andreas Schwab <schwab@redhat.com>
44431
44432 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
44433 (__feraiseexcept_renamed): Add __NTH.
44434 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
44435 namespace violations.
44436
97c066e6
UD
444372011-10-17 Ulrich Drepper <drepper@gmail.com>
44438
99ce7b04
UD
44439 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
44440
1004d182
UD
44441 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
44442
228a984d
UD
44443 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
44444 recently added interfaces.
44445 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
44446
c8553a6a
UD
44447 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
44448 about macro parameter expansion.
44449
ed22dcf6
UD
44450 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
44451 __NO_MATH_INLINES is defined. Cleanups.
44452
44453 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
44454 and __floorf is target has SSE4.1.
44455 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
44456 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
44457 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
44458 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
44459
b171c137
UD
44460 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
44461 name.
44462 (floorf): Likewise.
44463
97c066e6
UD
44464 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
44465
629f62ef
AS
444662011-10-17 Andreas Schwab <schwab@redhat.com>
44467
49a43d80
AS
44468 * misc/sys/cdefs.h: Fix last change.
44469
629f62ef
AS
44470 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
44471 database lookup.
44472
e453f6cd
UD
444732011-10-16 Ulrich Drepper <drepper@gmail.com>
44474
aa78043a
UD
44475 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
44476
ad0f5cad
UD
44477 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
44478 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
44479 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
44480 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
44481 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
44482 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
44483 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
44484 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
44485 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
44486 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
44487 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
44488 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
44489 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
44490 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
44491 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
44492 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
44493 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
44494 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
44495 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
44496 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
44497 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
44498 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
44499
44500 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
44501 ceil, ceilf, floor, floorf.
44502
44503 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
44504 Perform IRELATIVE relocations last.
44505
e453f6cd
UD
44506 * elf/do-rel.h: Add another parameter nrelative, replacing the
44507 local variable with the same name. Change name of the function
44508 to end in Rel or Rela (uppercase).
44509 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
44510 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
44511 elf_dynamic_do_##reloc function.
44512
fd5bdc09
UD
445132011-10-15 Ulrich Drepper <drepper@gmail.com>
44514
79b195b5
UD
44515 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
44516 is sufficient, at least on modern CPUs.
44517
d4a28569
UD
44518 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
44519
b61099b5
UD
44520 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
44521 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
44522
bcf01e6d
UD
44523 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
44524 __expl_finite.
44525 * math/bits/math-finite.h: Add entries for exp.
44526 * math/e_expl.c: Add __*_finite alias.
44527 * sysdeps/i386/fpu/e_exp.S: Likewise.
44528 * sysdeps/i386/fpu/e_expf.S: Likewise.
44529 * sysdeps/i386/fpu/e_expl.c: Likewise.
44530 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
44531 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
44532 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
44533 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
44534 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
44535 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
44536 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
44537
ba1a0d59
UD
44538 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
44539 is sufficient, at least on modern CPUs.
44540
fd5bdc09
UD
44541 * ctype/ctype-info.c (__ctype_init): Define.
44542 * include/ctype.h (__ctype_init): Declare.
44543 (__ctype_b_loc): The variable is always initialized.
44544 (__ctype_toupper_loc): Likewise.
44545 (__ctype_tolower_loc): Likewise.
44546 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
44547 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
44548
7872cfb0
AS
445492011-10-15 Andreas Schwab <schwab@linux-m68k.org>
44550
b468825a
AS
44551 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
44552
7872cfb0
AS
44553 * configure.in: Also look in $cxxmachine/include for C++ system
44554 headers.
44555
be13f7bf
LD
445562011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
44557
44558 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
44559 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
44560 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
44561 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
44562 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
44563 (USE_AS_WMEMCMP): New macro.
44564 Fixing indents.
44565 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
44566 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
44567 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
44568 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
44569 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
44570 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
44571 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
44572 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
44573 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
44574 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
44575 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
44576 (USE_AS_WMEMCMP): New macro.
44577 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
44578 * sysdeps/string/test-memcmp.c: Update.
44579 Fix simple_wmemcmp.
44580 Add new tests.
44581 * wcsmbs/wmemcmp.c: Update.
44582 (WMEMCMP): New macro.
44583 Fix overflow bug.
44584
556a2007
AJ
445852011-10-12 Andreas Jaeger <aj@suse.de>
44586
44587 [BZ #13268]
44588 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
44589
538faaa7
UD
445902011-10-15 Ulrich Drepper <drepper@gmail.com>
44591
ab6737ff
UD
44592 * libio/iofwide.c (do_length): Avoid warning.
44593
538faaa7
UD
44594 * ctype/ctype.h (__isctype_f): Add missing __THROW.
44595
396a21b1
UD
445962011-10-14 Ulrich Drepper <drepper@gmail.com>
44597
cdf2901f
UD
44598 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
44599
38ad40ce
UD
44600 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
44601 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
44602 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
44603 * sysdeps/i386/i686/fpu/e_log.S: New file.
44604 * sysdeps/i386/i686/fpu/e_logf.S: New file.
44605 * sysdeps/i386/i686/fpu/e_logl.S: New file.
44606
396a21b1
UD
44607 * ctype/ctype.h: Add support for inlined isXXX functions when
44608 compiling C++ code.
44609
6b1f68c9
AS
446102011-10-14 Andreas Schwab <schwab@redhat.com>
44611
349290c0
AS
44612 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
44613
6b1f68c9
AS
44614 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
44615
f2282d42
RM
446162011-10-13 Roland McGrath <roland@hack.frob.com>
44617
44618 [BZ #13291]
44619 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
44620
5298ffa8
AS
446212011-10-13 Andreas Schwab <schwab@redhat.com>
44622
714fad23
AS
44623 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
44624 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
44625 feraiseexcept.
44626
81dcc7fb
AS
44627 * sysdeps/x86_64/memrchr.S: Check for zero size.
44628
5298ffa8
AS
44629 * string/stratcliff.c: Add memrchr tests.
44630
951fbcec
LD
446312011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
44632
44633 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
44634 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
44635 rawmemchr-sse2 rawmemchr-sse2-bsf.
44636 * sysdeps/i386/i686/multiarch/memchr.S: New file.
44637 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
44638 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
44639 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
44640 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
44641 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
44642 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
44643 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
44644 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
44645 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
44646 * string/memrchr.c (MEMRCHR): New macro.
44647
0ac5ae23
UD
446482011-10-12 Ulrich Drepper <drepper@gmail.com>
44649
44650 Add integration with gcc's -ffinite-math-only and optimize wrapper
44651 functions in libm.
44652 * Versions.def: Define GLIBC_2.15 version for libm.
44653 * math/Makefile (headers): Add bits/math-finite.h.
44654 * math/bits/math-finite.h: New file.
44655 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
44656 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
44657 * math/e_acoshl.c: Add __*_finite alias.
44658 * math/e_acosl.c: Likewise.
44659 * math/e_asinl.c: Likewise.
44660 * math/e_atan2l.c: Likewise.
44661 * math/e_atanhl.c: Likewise.
44662 * math/e_coshl.c: Likewise.
44663 * math/e_exp10.c: Likewise.
44664 * math/e_exp10f.c: Likewise.
44665 * math/e_exp10l.c: Likewise.
44666 * math/e_exp2l.c: Likewise.
44667 * math/e_fmodl.c: Likewise.
44668 * math/e_gammal_r.c: Likewise.
44669 * math/e_hypotl.c: Likewise.
44670 * math/e_j0l.c: Likewise.
44671 * math/e_j1l.c: Likewise.
44672 * math/e_jnl.c: Likewise.
44673 * math/e_lgammal_r.c: Likewise.
44674 * math/e_log10l.c: Likewise.
44675 * math/e_log2l.c: Likewise.
44676 * math/e_logl.c: Likewise.
44677 * math/e_powl.c: Likewise.
44678 * math/e_sinhl.c: Likewise.
44679 * math/e_sqrtl.c: Likewise.
44680 * math/e_scalb.c: Completely rewritten and optimized.
44681 * math/e_scalbf.c: Likewise.
44682 * math/e_scalbl.c: Likewise.
44683 * math/w_acos.c: Likewise.
44684 * math/w_acosf.c: Likewise.
44685 * math/w_acosl.c: Likewise.
44686 * math/w_acosh.c: Likewise.
44687 * math/w_acoshf.c: Likewise.
44688 * math/w_acoshl.c: Likewise.
44689 * math/w_asin.c: Likewise.
44690 * math/w_asinf.c: Likewise.
44691 * math/w_asinl.c: Likewise.
44692 * math/w_atan2.c: Likewise.
44693 * math/w_atan2f.c: Likewise.
44694 * math/w_atan2l.c: Likewise.
44695 * math/w_atanh.c: Likewise.
44696 * math/w_atanhf.c: Likewise.
44697 * math/w_atanhl.c: Likewise.
44698 * math/w_exp10.c: Likewise.
44699 * math/w_exp10f.c: Likewise.
44700 * math/w_exp10l.c: Likewise.
44701 * math/w_fmod.c: Likewise.
44702 * math/w_fmodf.c: Likewise.
44703 * math/w_fmodl.c: Likewise.
44704 * math/w_j0.c: Likewise.
44705 * math/w_j0f.c: Likewise.
44706 * math/w_j0l.c: Likewise.
44707 * math/w_j1.c: Likewise.
44708 * math/w_j1f.c: Likewise.
44709 * math/w_j1l.c: Likewise.
44710 * math/w_jn.c: Likewise.
44711 * math/w_jnf.c: Likewise.
44712 * math/w_log.c: Likewise.
44713 * math/w_logf.c: Likewise.
44714 * math/w_logl.c: Likewise.
44715 * math/w_log10.c: Likewise.
44716 * math/w_log10f.c: Likewise.
44717 * math/w_log10l.c: Likewise.
44718 * math/w_log2.c: Likewise.
44719 * math/w_log2f.c: Likewise.
44720 * math/w_log2l.c: Likewise.
44721 * math/w_pow.c: Likewise.
44722 * math/w_powf.c: Likewise.
44723 * math/w_powl.c: Likewise.
44724 * math/w_remainder.c: Likewise.
44725 * math/w_remainderf.c: Likewise.
44726 * math/w_remainderl.c: Likewise.
44727 * math/w_scalb.c: Likewise.
44728 * math/w_scalbf.c: Likewise.
44729 * math/w_scalbl.c: Likewise.
44730 * math/w_sqrt.c: Likewise.
44731 * math/w_sqrtf.c: Likewise.
44732 * math/w_sqrtl.c: Likewise.
44733 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
44734 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
44735 used.
44736 * math/math_private.h: Declare __kernel_standard_f.
44737 * math/w_cosh.c: Remove cruft and optimize a bit.
44738 * math/w_coshf.c: Likewise.
44739 * math/w_coshl.c: Likewise.
44740 * math/w_exp2.c: Likewise.
44741 * math/w_exp2f.c: Likewise.
44742 * math/w_exp2l.c: Likewise.
44743 * math/w_hypot.c: Likewise.
44744 * math/w_hypotf.c: Likewise.
44745 * math/w_hypotl.c: Likewise.
44746 * math/w_lgamma.c: Likewise.
44747 * math/w_lgamma_r.c: Likewise.
44748 * math/w_lgammaf.c: Likewise.
44749 * math/w_lgammaf_r.c: Likewise.
44750 * math/w_lgammal.c: Likewise.
44751 * math/w_lgammal_r.c: Likewise.
44752 * math/w_sinh.c: Likewise.
44753 * math/w_sinhf.c: Likewise.
44754 * math/w_sinhl.c: Likewise.
44755 * math/w_tgamma.c: Likewise.
44756 * math/w_tgammaf.c: Likewise.
44757 * math/w_tgammal.c: Likewise.
44758 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
44759 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
44760 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
44761 Minor optimizations. Pretty printing. Remove cruft.
44762 * sysdeps/i386/fpu/e_acosf.S: Likewise.
44763 * sysdeps/i386/fpu/e_acosh.S: Likewise.
44764 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
44765 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
44766 * sysdeps/i386/fpu/e_acosl.c: Likewise.
44767 * sysdeps/i386/fpu/e_asin.S: Likewise.
44768 * sysdeps/i386/fpu/e_asinf.S: Likewise.
44769 * sysdeps/i386/fpu/e_atan2.S: Likewise.
44770 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
44771 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
44772 * sysdeps/i386/fpu/e_atanh.S: Likewise.
44773 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
44774 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
44775 * sysdeps/i386/fpu/e_exp10.S: Likewise.
44776 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
44777 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
44778 * sysdeps/i386/fpu/e_exp2.S: Likewise.
44779 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
44780 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
44781 * sysdeps/i386/fpu/e_fmod.S: Likewise.
44782 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
44783 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
44784 * sysdeps/i386/fpu/e_hypot.S: Likewise.
44785 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
44786 * sysdeps/i386/fpu/e_log.S: Likewise.
44787 * sysdeps/i386/fpu/e_log10.S: Likewise.
44788 * sysdeps/i386/fpu/e_log10f.S: Likewise.
44789 * sysdeps/i386/fpu/e_log10l.S: Likewise.
44790 * sysdeps/i386/fpu/e_log2.S: Likewise.
44791 * sysdeps/i386/fpu/e_log2f.S: Likewise.
44792 * sysdeps/i386/fpu/e_log2l.S: Likewise.
44793 * sysdeps/i386/fpu/e_logf.S: Likewise.
44794 * sysdeps/i386/fpu/e_logl.S: Likewise.
44795 * sysdeps/i386/fpu/e_pow.S: Likewise.
44796 * sysdeps/i386/fpu/e_powf.S: Likewise.
44797 * sysdeps/i386/fpu/e_powl.S: Likewise.
44798 * sysdeps/i386/fpu/e_remainder.S: Likewise.
44799 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
44800 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
44801 * sysdeps/i386/fpu/e_scalb.S: Likewise.
44802 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
44803 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
44804 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
44805 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
44806 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
44807 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
44808 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
44809 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
44810 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
44811 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
44812 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
44813 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
44814 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
44815 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
44816 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
44817 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
44818 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
44819 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
44820 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
44821 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
44822 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
44823 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
44824 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
44825 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
44826 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
44827 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
44828 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
44829 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
44830 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
44831 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
44832 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
44833 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
44834 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
44835 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
44836 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
44837 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
44838 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
44839 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
44840 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
44841 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
44842 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
44843 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
44844 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
44845 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
44846 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
44847 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
44848 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
44849 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
44850 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
44851 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
44852 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
44853 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
44854 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
44855 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
44856 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
44857 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
44858 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
44859 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
44860 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
44861 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
44862 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
44863 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
44864 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
44865 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
44866 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
44867 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
44868 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
44869 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
44870 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
44871 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
44872 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
44873 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
44874 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
44875 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
44876 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
44877 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
44878 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
44879 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
44880 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
44881 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
44882 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
44883 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
44884 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
44885 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
44886 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
44887 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
44888 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
44889 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
44890 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
44891 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
44892 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
44893 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
44894 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
44895 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
44896 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
44897 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
44898 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
44899 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
44900 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
44901 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
44902 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
44903 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
44904 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
44905 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
44906 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
44907 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
44908 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
44909 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
44910 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
44911 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
44912 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
44913 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
44914 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
44915 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
44916 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
44917 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
44918 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
44919 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
44920 (__isnanf): Likewise.
44921 (__isinf_ns): Likewise.
44922 (__isinf_nsf): Likewise.
44923 (__finite): Likewise.
44924 (__finitef): Likewise.
44925 (__ieee754_sqrt): Define as macro.
44926 (__ieee754_sqrtf): Define as macro.
44927 (__ieee754_sqrtl): Define as macro.
44928 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
44929 inlined copy.
44930 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
44931 __FINITE_MATH_ONLY__ consistent.
44932 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
44933
12cc2fcd
AS
449342011-10-10 Andreas Schwab <schwab@linux-m68k.org>
44935
a843a204
AS
44936 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
44937 of rawmemchr.
44938
12cc2fcd
AS
44939 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
44940
c853acd5
UD
449412011-10-09 Ulrich Drepper <drepper@gmail.com>
44942
44943 * po/ja.po: Update from translation team.
44944
c658d255
RM
449452011-10-08 Roland McGrath <roland@hack.frob.com>
44946
110946e4
RM
44947 * locale/programs/locarchive.c (prepare_address_space): New function.
44948 (create_archive, enlarge_archive, open_archive): Use it.
44949
50604220
RM
44950 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
44951 inside [SHARED], where it is used.
44952
c658d255
RM
44953 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
44954
44955 * nss/getent.c (netgroup_keys): Remove unused variable.
44956 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
44957
6a621eb7
UD
449582011-10-08 Ulrich Drepper <drepper@gmail.com>
44959
7edb55ce
UD
44960 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
44961 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
44962 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
44963 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
44964 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
44965 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
44966 * math/Makefile (libm-calls): Add s_isinf_ns.
44967 * math/divtc3.c: Use __isinf_nsl instead of isinf.
44968 * math/multc3.c: Likewise.
44969 * math/s_casin.c: Likewise.
44970 * math/s_casinf.c: Likewise.
44971 * math/s_casinl.c: Likewise.
44972 * math/s_ccos.c: Likewise.
44973 * math/s_ccosf.c: Likewise.
44974 * math/s_ccosl.c: Likewise.
44975 * math/s_ctan.c: Likewise.
44976 * math/s_ctanf.c: Likewise.
44977 * math/s_ctanh.c: Likewise.
44978 * math/s_ctanhf.c: Likewise.
44979 * math/s_ctanhl.c: Likewise.
44980 * math/s_ctanl.c: Likewise.
44981 * math/w_fmod.c: Likewise.
44982 * math/w_fmodf.c: Likewise.
44983 * math/w_fmodl.c: Likewise.
44984 * math/w_remainder.c: Likewise.
44985 * math/w_remainderf.c: Likewise.
44986 * math/w_remainderl.c: Likewise.
44987 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
44988 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
44989 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
44990 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
44991 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
44992 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
44993 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
44994 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
44995
187da0ae
UD
44996 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
44997 of the number.
44998 * stdio-common/printf_fphex.c: Likewise.
44999 * stdio-common/printf_size.c: Likewise.
45000
9277c064
UD
45001 * math/e_exp10.c: Include math_private.h using <...> not "...".
45002 * math/e_exp10f.c: Likewise.
45003 * math/e_exp10l.c: Likewise.
45004 * math/e_exp2l.c: Likewise.
45005 * math/e_j0l.c: Likewise.
45006 * math/e_j1l.c: Likewise.
45007 * math/e_jnl.c: Likewise.
45008 * math/e_lgammal_r.c: Likewise.
45009 * math/e_rem_pio2l.c: Likewise.
45010 * math/e_scalb.c: Likewise.
45011 * math/e_scalbf.c: Likewise.
45012 * math/e_scalbl.c: Likewise.
45013 * math/k_cosl.c: Likewise.
45014 * math/k_sinl.c: Likewise.
45015 * math/k_tanl.c: Likewise.
45016 * math/s_cacoshf.c: Likewise.
45017 * math/s_catan.c: Likewise.
45018 * math/s_catanf.c: Likewise.
45019 * math/s_catanh.c: Likewise.
45020 * math/s_catanhf.c: Likewise.
45021 * math/s_catanhl.c: Likewise.
45022 * math/s_catanl.c: Likewise.
45023 * math/s_ccosh.c: Likewise.
45024 * math/s_ccoshf.c: Likewise.
45025 * math/s_ccoshl.c: Likewise.
45026 * math/s_cexp.c: Likewise.
45027 * math/s_cexpf.c: Likewise.
45028 * math/s_cexpl.c: Likewise.
45029 * math/s_clog.c: Likewise.
45030 * math/s_clog10.c: Likewise.
45031 * math/s_clog10f.c: Likewise.
45032 * math/s_clog10l.c: Likewise.
45033 * math/s_clogf.c: Likewise.
45034 * math/s_clogl.c: Likewise.
45035 * math/s_csin.c: Likewise.
45036 * math/s_csinf.c: Likewise.
45037 * math/s_csinh.c: Likewise.
45038 * math/s_csinhf.c: Likewise.
45039 * math/s_csinhl.c: Likewise.
45040 * math/s_csinl.c: Likewise.
45041 * math/s_csqrt.c: Likewise.
45042 * math/s_csqrtf.c: Likewise.
45043 * math/s_csqrtl.c: Likewise.
45044 * math/s_ctan.c: Likewise.
45045 * math/s_ctanf.c: Likewise.
45046 * math/s_ctanh.c: Likewise.
45047 * math/s_ctanhf.c: Likewise.
45048 * math/s_ctanhl.c: Likewise.
45049 * math/s_ctanl.c: Likewise.
45050 * math/s_ldexp.c: Likewise.
45051 * math/s_ldexpf.c: Likewise.
45052 * math/s_ldexpl.c: Likewise.
45053 * math/s_significand.c: Likewise.
45054 * math/s_significandf.c: Likewise.
45055 * math/s_significandl.c: Likewise.
45056 * math/w_acos.c: Likewise.
45057 * math/w_acosf.c: Likewise.
45058 * math/w_acosh.c: Likewise.
45059 * math/w_acoshf.c: Likewise.
45060 * math/w_acoshl.c: Likewise.
45061 * math/w_acosl.c: Likewise.
45062 * math/w_asin.c: Likewise.
45063 * math/w_asinf.c: Likewise.
45064 * math/w_asinl.c: Likewise.
45065 * math/w_atan2.c: Likewise.
45066 * math/w_atan2f.c: Likewise.
45067 * math/w_atan2l.c: Likewise.
45068 * math/w_atanh.c: Likewise.
45069 * math/w_atanhf.c: Likewise.
45070 * math/w_atanhl.c: Likewise.
45071 * math/w_cosh.c: Likewise.
45072 * math/w_coshf.c: Likewise.
45073 * math/w_coshl.c: Likewise.
45074 * math/w_dremf.c: Likewise.
45075 * math/w_exp10.c: Likewise.
45076 * math/w_exp10f.c: Likewise.
45077 * math/w_exp10l.c: Likewise.
45078 * math/w_exp2.c: Likewise.
45079 * math/w_exp2f.c: Likewise.
45080 * math/w_fmod.c: Likewise.
45081 * math/w_fmodf.c: Likewise.
45082 * math/w_fmodl.c: Likewise.
45083 * math/w_hypot.c: Likewise.
45084 * math/w_hypotf.c: Likewise.
45085 * math/w_hypotl.c: Likewise.
45086 * math/w_j0.c: Likewise.
45087 * math/w_j0f.c: Likewise.
45088 * math/w_j0l.c: Likewise.
45089 * math/w_j1.c: Likewise.
45090 * math/w_j1f.c: Likewise.
45091 * math/w_j1l.c: Likewise.
45092 * math/w_jn.c: Likewise.
45093 * math/w_jnf.c: Likewise.
45094 * math/w_jnl.c: Likewise.
45095 * math/w_lgamma.c: Likewise.
45096 * math/w_lgamma_r.c: Likewise.
45097 * math/w_lgammaf.c: Likewise.
45098 * math/w_lgammaf_r.c: Likewise.
45099 * math/w_lgammal.c: Likewise.
45100 * math/w_lgammal_r.c: Likewise.
45101 * math/w_log.c: Likewise.
45102 * math/w_log10.c: Likewise.
45103 * math/w_log10f.c: Likewise.
45104 * math/w_log10l.c: Likewise.
45105 * math/w_log2.c: Likewise.
45106 * math/w_log2f.c: Likewise.
45107 * math/w_log2l.c: Likewise.
45108 * math/w_logf.c: Likewise.
45109 * math/w_logl.c: Likewise.
45110 * math/w_pow.c: Likewise.
45111 * math/w_powf.c: Likewise.
45112 * math/w_powl.c: Likewise.
45113 * math/w_remainder.c: Likewise.
45114 * math/w_remainderf.c: Likewise.
45115 * math/w_remainderl.c: Likewise.
45116 * math/w_scalb.c: Likewise.
45117 * math/w_scalbf.c: Likewise.
45118 * math/w_scalbl.c: Likewise.
45119 * math/w_sinh.c: Likewise.
45120 * math/w_sinhf.c: Likewise.
45121 * math/w_sinhl.c: Likewise.
45122 * math/w_sqrt.c: Likewise.
45123 * math/w_sqrtf.c: Likewise.
45124 * math/w_sqrtl.c: Likewise.
45125 * math/w_tgamma.c: Likewise.
45126 * math/w_tgammaf.c: Likewise.
45127 * math/w_tgammal.c: Likewise.
45128
6a621eb7
UD
45129 * po/ja.po: Update from translation team.
45130
bf582445
AJ
451312011-09-29 Andreas Jaeger <aj@suse.de>
45132
f9efbf3a
AJ
45133 [BZ #13179]
45134 * sunrpc/netname.c (netname2host): Fix logic.
45135
bf582445
AJ
45136 [BZ #6779]
45137 [BZ #6783]
45138 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
45139 correctly.
45140 * math/w_remainder.c (__remainder): Likewise.
45141 * math/w_remainderf.c (__remainderf): Likewise.
45142 * math/libm-test.inc (remainder_test): Add test cases.
45143
48693bea
AK
451442011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
45145
45146 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
45147 sdiv_qrnnd.
45148
42622229
LD
451492011-10-07 Ulrich Drepper <drepper@gmail.com>
45150
45151 * string/test-memcmp.c: Avoid unncessary #defines.
45152 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
45153
093ecf92
LD
451542011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
45155
45156 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
45157 Use new sse2 version for core i3 - i7 as it's faster
45158 than sse42 version.
45159 (bit_Prefer_PMINUB_for_stringop): New.
45160 * sysdeps/x86_64/rawmemchr.S: Update.
45161 Replace with faster SSE2 version.
45162 * sysdeps/x86_64/memrchr.S: New file.
45163 * sysdeps/x86_64/memchr.S: Update.
45164 Replace with faster SSE2 version.
45165
fde56e5c
MP
451662011-09-12 Marek Polacek <mpolacek@redhat.com>
45167
45168 * elf/dl-load.c (lose): Add cast to avoid warning.
45169
21fd49a9
UD
451702011-10-07 Ulrich Drepper <drepper@gmail.com>
45171
5a06e643
UD
45172 * po/ca.po: Update from translation team.
45173
684ae515
UD
45174 * inet/getnetgrent_r.c: Hook up nscd.
45175 * nscd/Makefile (routines): Add nscd_netgroup.
45176 (nscd-modules): Add netgroupcache.
45177 (CFLAGS-netgroupcache.c): Define.
45178 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
45179 (cache_search): Add const to second parameter.
45180 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
45181 INNETGR.
45182 (dbs): Add netgrdb entry.
45183 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
45184 (verify_persistent_db): Handle netgrdb.
45185 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
45186 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
45187 GETFDNETGR.
45188 (netgroup_response_header): Define.
45189 (innetgroup_response_header): Define.
45190 (datahead): Add netgroup_response_header and innetgroup_response_header
45191 elements.
45192 * nscd/nscd.conf: Add entries for netgroup cache.
45193 * nscd/nscd.h (dbtype): Add netgrdb.
45194 (_PATH_NSCD_NETGROUP_DB): Define.
45195 (netgroup_iov_disabled): Declare.
45196 (xmalloc, xcalloc, xrealloc): Move declarations here.
45197 (cache_search): Adjust prototype.
45198 Add netgroup-related prototypes.
45199 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
45200 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
45201 (__nscd_innetgr): Declare.
45202 * nscd/selinux.c (perms): Use access_vector_t as element type and
45203 add netgroup-related initializers.
45204 * nscd/netgroupcache.c: New file.
45205 * nscd/nscd_netgroup.c: New file.
45206 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
45207 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
45208 For four parameters use innetgr.
45209 * nss/nss_files/files-init.c: Add definition and callback for netgr.
45210 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
45211 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
45212 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
45213
21fd49a9
UD
45214 * nscd/connections.c (register_traced_file): Don't register file
45215 for disabled databases.
45216
054c0457
UD
452172011-10-06 Ulrich Drepper <drepper@gmail.com>
45218
32b63198
UD
45219 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
45220
054c0457
UD
45221 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
45222 from tree and freeing node.
45223
64031225
JO
452242011-09-25 Jiri Olsa <jolsa@redhat.com>
45225
45226 * nss/nsswitch.c (__nss_database_lookup): Handle
45227 nss_parse_service_list out of memory case.
45228
0490345c
JO
452292011-09-15 Jiri Olsa <jolsa@redhat.com>
45230
45231 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
45232 out of memory case.
45233
3a62d00d
AS
452342011-10-04 Andreas Schwab <schwab@redhat.com>
45235
45236 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
45237 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
45238 pass it down.
45239 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
45240 elf_machine_rela, elf_machine_lazy_rel.
45241 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
45242 (ELF_DYNAMIC_DO_REL): Likewise.
45243 (ELF_DYNAMIC_DO_RELA): Likewise.
45244 (ELF_DYNAMIC_RELOCATE): Likewise.
45245 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
45246 to ELF_DYNAMIC_DO_REL.
45247 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
45248 (dl_main): In trace mode always set __RTLD_NOIFUNC.
45249 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
45250 elf_machine_rela.
45251 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
45252 skip_ifunc, don't call ifunc function if non-zero.
45253 (elf_machine_rela): Likewise.
45254 (elf_machine_lazy_rel): Likewise.
45255 (elf_machine_lazy_rela): Likewise.
45256 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
45257 (elf_machine_lazy_rel): Likewise.
45258 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
45259 Likewise.
45260 (elf_machine_lazy_rel): Likewise.
45261 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
45262 Likewise.
45263 (elf_machine_lazy_rel): Likewise.
45264 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
45265 (elf_machine_lazy_rel): Likewise.
45266 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
45267 (elf_machine_lazy_rel): Likewise.
45268 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
45269 (elf_machine_lazy_rel): Likewise.
45270 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
45271 (elf_machine_lazy_rel): Likewise.
45272 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
45273 (elf_machine_lazy_rel): Likewise.
45274 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
45275 (elf_machine_lazy_rel): Likewise.
45276
68577918
UD
452772011-09-28 Ulrich Drepper <drepper@gmail.com>
45278
45279 * nss/nss_files/files-init.c (_nss_files_init): Use static
45280 initialization for all the *_traced_file variables.
45281
68822d74
AS
452822011-09-28 Andreas Schwab <schwab@redhat.com>
45283
45284 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
45285
2056100b
RM
452862011-09-27 Roland McGrath <roland@hack.frob.com>
45287
45288 [BZ #13226]
45289 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
45290
32c76b63
AS
452912011-09-27 Andreas Schwab <schwab@redhat.com>
45292
45293 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
45294 Reread the line before reparsing it.
45295
bf972c9d
AS
452962011-09-26 Andreas Schwab <schwab@redhat.com>
45297
45298 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
45299
e057a1b5
JM
453002011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
45301 Maxim Kuvyrkov <maxim@codesourcery.com>
45302 Joseph Myers <joseph@codesourcery.com>
45303
45304 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
45305 if needed for __stack_chk_guard.
45306
bc7e1c36
RM
453072011-09-19 Roland McGrath <roland@hack.frob.com>
45308
ecb1482f
RM
45309 * sysdeps/posix/spawni.c (script_execute): Always define it.
45310 It will be optimized away if unused.
45311 (maybe_script_execute): New function.
45312 (__spawni): Call it.
45313
bc7e1c36
RM
45314 * Makerules: Don't include tls.make.
45315 (config-tls): Always set to thread.
45316 * tls.make.c: File removed.
45317
1c3b002b
MF
453182011-09-19 Mike Frysinger <vapier@gentoo.org>
45319
45320 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
45321 * config.make.in (CPPFLAGS-config): New substituted variable.
45322
2840865d
UD
453232011-09-15 Ulrich Drepper <drepper@gmail.com>
45324
88738eb6
UD
45325 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
45326
cbf645a6 45327 [BZ #13192]
2840865d
UD
45328 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
45329 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
45330
b402e91a
RM
453312011-09-15 Roland McGrath <roland@hack.frob.com>
45332
45333 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
45334 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
45335 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
45336 (CALL_FAIL): Likewise.
45337 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
45338 (CALL_FAIL): Macro removed.
45339 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
45340
4c1a1f71
UD
453412011-09-15 Ulrich Drepper <drepper@gmail.com>
45342
45343 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
45344 for __FINITE_MATH_ONLY__ == 1.
45345
edc121be
AS
453462011-09-15 Andreas Schwab <schwab@redhat.com>
45347
45348 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
45349 __ieee754_sqrt instead of sqrt.
45350 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
45351 __ieee754_sqrtf instead of sqrtf.
45352 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
45353 __floorf instead of floorf.
45354 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
45355 __floorf, __truncf instead of floorf, truncf.
45356
cd205654
UD
453572011-09-14 Ulrich Drepper <drepper@gmail.com>
45358
ee4d0315
UD
45359 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
45360
cd205654
UD
45361 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
45362 __extern_always_inline.
45363 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
45364 32-bit.
45365
48b67d71
AS
453662011-09-14 Andreas Schwab <schwab@redhat.com>
45367
45368 * elf/rtld.c (dl_main): Also relocate in dependency order when
45369 doing symbol dependency testing.
45370
1ae12c75
AS
453712011-09-13 Andreas Schwab <schwab@linux-m68k.org>
45372
45373 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
45374 Always define `refsym'.
45375
995a80df
AS
453762011-09-13 Andreas Schwab <schwab@redhat.com>
45377
e529793b
AS
45378 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
45379 (__FD_ELT): Renamed from __FDELT.
45380 * misc/bits/select2.h (__FD_ELT): Likewise.
45381 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
45382 __FD_MASK instead of __FDELT, __FDMASK.
45383 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
45384 Likewise.
45385 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
45386 Likewise.
45387
52d4fef8
AS
45388 * elf/Makefile (gen-ldd): Fix pattern.
45389
995a80df
AS
45390 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
45391 (init_tls): Likewise.
45392
8682f8b0
UD
453932011-09-12 Ulrich Drepper <drepper@gmail.com>
45394
45395 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
45396
de82006d
AS
453972011-09-12 Andreas Schwab <schwab@redhat.com>
45398
a7c8e6a1
AS
45399 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
45400 `struct cmsghdr *' instead of `void *'.
45401 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
45402 Likewise.
45403
0f31fe77
AS
454042011-09-11 Andreas Schwab <schwab@linux-m68k.org>
45405
45406 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
45407 if non-absolute.
45408 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
45409 ldd_rewrite_script.
0f31fe77 45410
32b4c839
UD
454112011-09-11 Ulrich Drepper <drepper@gmail.com>
45412
83cd1420
UD
45413 * configure.in: Remove --with-tls option.
45414 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
45415 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
45416 out in case it is missing.
45417 * sysdeps/ia64/elf/configure.in: Likewise.
45418 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
45419 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
45420 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
45421 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
45422 * sysdeps/sh/elf/configure.in: Likewise.
45423 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
45424 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
45425 * sysdeps/x86_64/elf/configure.in: Likewise.
45426 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
45427 * sysdeps/mach/hurd/tls.h: Likewise.
45428
633f745d
UD
45429 [BZ #13067]
45430 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
45431
f318beb8
UD
45432 [BZ #13090]
45433 * configure.in: Fix use of AC_INIT.
45434
32b4c839
UD
45435 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
45436
3ce1f295
UD
454372011-09-10 Ulrich Drepper <drepper@gmail.com>
45438
bb016596
UD
45439 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
45440 __set_errno.
8e58439c
UD
45441 * malloc/hooks.c: Likewise.
45442
aebae053 45443 [BZ #11929]
02d46fc4
UD
45444 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
45445 variables statically.
45446 (narenas): Initialize.
45447 (list_lock): Initialize.
bb016596
UD
45448 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
45449 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
45450 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
45451 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
45452 Add initializers to main_arena and mp_.
45453 (malloc_state): Remove pagesize member. Change all users to use
45454 GLRO(dl_pagesize).
45455
45456 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
45457 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
45458 is always initialized.
45459
22a89187
UD
45460 * malloc/malloc.c: Removed unused configurations and dead code.
45461 * malloc/arena.c: Likewise.
45462 * malloc/hooks.c: Likewise.
02d46fc4 45463 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 45464
d063d164
UD
45465 * include/tls.h: Removed. USE___THREAD must always be defined.
45466 * bits/libc-tsd.h: Don't handle !USE___THREAD.
45467 * elf/dl-libc.c: Likewise.
45468 * elf/dl-tsd.c: Likewise.
45469 * include/errno.h: Likewise.
45470 * include/netdb.h: Likewise.
45471 * include/resolv.h: Likewise.
45472 * inet/herrno-loc.c: Likewise.
45473 * inet/herrno.c: Likewise.
45474 * malloc/arena.c: Likewise.
45475 * malloc/hooks.c: Likewise.
45476 * malloc/malloc.c: Likewise.
45477 * resolv/res-state.c: Likewise.
45478 * resolv/res_libc.c: Likewise.
45479 * sysdeps/i386/dl-machine.h: Likewise.
45480 * sysdeps/ia64/dl-machine.h: Likewise.
45481 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
45482 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
45483 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
45484 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
45485 * sysdeps/sh/dl-machine.h: Likewise.
45486 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
45487 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
45488 * sysdeps/unix/i386/sysdep.S: Likewise.
45489 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
45490 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
45491 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
45492 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
45493 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
45494 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
45495 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
45496 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
45497 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
45498 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
45499 * sysdeps/unix/x86_64/sysdep.S: Likewise.
45500 * sysdeps/x86_64/dl-machine.h: Likewise.
45501 * tls.make.c: Likewise.
45502
3ce1f295
UD
45503 * configure.in: Remove --with-__thread option. Make tests for
45504 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
45505 tls_model attribute fail if no support is available. Remove
45506 USE_IN_LIBIO.
45507 * Makeconfig: Adjust for dropped configure option. All features are
45508 now mandatory.
45509 * Makerules: Likewise.
45510 * Versions.def: Likewise.
45511 * argp/argp-fmtstream.c: Likewise.
45512 * argp/argp-fmtstream.h: Likewise.
45513 * argp/argp-help.c: Likewise.
45514 * assert/assert.c: Likewise.
45515 * config.h.in: Likewise.
45516 * config.make.in: Likewise.
45517 * configure: Likewise.
45518 * configure.in: Likewise.
45519 * csu/Versions: Likewise.
45520 * csu/init.c: Likewise.
45521 * elf/tst-audit2.c: Likewise.
45522 * elf/tst-tls10.c: Likewise.
45523 * elf/tst-tls10.h: Likewise.
45524 * elf/tst-tls11.c: Likewise.
45525 * elf/tst-tls12.c: Likewise.
45526 * elf/tst-tls14.c: Likewise.
45527 * elf/tst-tlsmod11.c: Likewise.
45528 * elf/tst-tlsmod12.c: Likewise.
45529 * elf/tst-tlsmod13.c: Likewise.
45530 * elf/tst-tlsmod13a.c: Likewise.
45531 * elf/tst-tlsmod14a.c: Likewise.
45532 * elf/tst-tlsmod15b.c: Likewise.
45533 * elf/tst-tlsmod16a.c: Likewise.
45534 * elf/tst-tlsmod16b.c: Likewise.
45535 * elf/tst-tlsmod7.c: Likewise.
45536 * elf/tst-tlsmod8.c: Likewise.
45537 * elf/tst-tlsmod9.c: Likewise.
45538 * gmon/gmon.c: Likewise.
45539 * grp/fgetgrent_r.c: Likewise.
45540 * grp/putgrent.c: Likewise.
45541 * hurd/fopenport.c: Likewise.
45542 * include/libc-symbols.h: Likewise.
45543 * include/tls.h: Likewise.
45544 * intl/gettextP.h: Likewise.
45545 * intl/loadinfo.h: Likewise.
45546 * locale/global-locale.c: Likewise.
45547 * locale/localeinfo.h: Likewise.
45548 * mach/devstream.c: Likewise.
45549 * malloc/arena.c: Likewise.
45550 * malloc/set-freeres.c: Likewise.
45551 * misc/err.c: Likewise.
45552 * misc/getttyent.c: Likewise.
45553 * misc/mntent_r.c: Likewise.
45554 * posix/getopt.c: Likewise.
45555 * posix/wordexp.c: Likewise.
45556 * pwd/fgetpwent_r.c: Likewise.
45557 * resolv/Versions: Likewise.
45558 * resolv/res_hconf.c: Likewise.
45559 * shadow/fgetspent_r.c: Likewise.
45560 * shadow/putspent.c: Likewise.
45561 * stdio-common/printf_fphex.c: Likewise.
45562 * stdio-common/tmpfile.c: Likewise.
45563 * stdlib/abort.c: Likewise.
45564 * stdlib/fmtmsg.c: Likewise.
45565 * sunrpc/auth_unix.c: Likewise.
45566 * sunrpc/clnt_perr.c: Likewise.
45567 * sunrpc/clnt_tcp.c: Likewise.
45568 * sunrpc/clnt_udp.c: Likewise.
45569 * sunrpc/clnt_unix.c: Likewise.
45570 * sunrpc/openchild.c: Likewise.
45571 * sunrpc/svc_simple.c: Likewise.
45572 * sunrpc/svc_tcp.c: Likewise.
45573 * sunrpc/svc_udp.c: Likewise.
45574 * sunrpc/svc_unix.c: Likewise.
45575 * sunrpc/xdr.c: Likewise.
45576 * sunrpc/xdr_array.c: Likewise.
45577 * sunrpc/xdr_rec.c: Likewise.
45578 * sunrpc/xdr_ref.c: Likewise.
45579 * sunrpc/xdr_stdio.c: Likewise.
45580
1248c1c4
PB
455812011-09-09 Ulrich Drepper <drepper@gmail.com>
45582
45583 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
45584
455852011-07-03 Andreas Jaeger <aj@suse.de>
45586
45587 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
45588 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
45589 regenerate with gen-libm-tests.pl.
45590
455912010-05-12 Petr Baudis <pasky@suse.cz>
45592
45593 [BZ #11589]
45594 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
45595 around j0() zero points by switching to j1().
45596 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
45597 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
45598 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
45599 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
45600
f22e1074
UD
456012011-09-09 Ulrich Drepper <drepper@gmail.com>
45602
f19009c1
UD
45603 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
45604 instead of 0.
45605 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
3a235abb 45606 instead of 0.
f19009c1
UD
45607 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
45608 Patch in part by Pavel Roskin <proski@gnu.org>.
45609
3f8cc204
UD
45610 [BZ #13138]
45611 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
45612 realloc.
45613 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
45614 Free memory block if necessary.
45615
f22e1074
UD
45616 [BZ #12847]
45617 * libio/genops.c (INTDEF): For string streams the _lock pointer can
45618 be NULL. Don't lock in this case.
45619
0a2349f9
RM
456202011-09-09 Roland McGrath <roland@hack.frob.com>
45621
45622 * elf/elf.h (ELFOSABI_GNU): New macro.
45623 (ELFOSABI_LINUX): Define to that.
45624
f3cdd467
DZ
456252011-07-29 Denis Zaitceff <zaitceff@gmail.com>
45626
45627 * string/strncat.c (strncat): Undef the symbol in case it has been
45628 defined in bits/string.h.
45629
74718d13
UD
456302011-09-09 Ulrich Drepper <drepper@gmail.com>
45631
633e9e0f
UD
45632 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
45633
0a2349f9 45634 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
45635 link map.
45636
f9924780
AJ
456372011-08-17 Andreas Jaeger <aj@suse.de>
45638
45639 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
45640
7f5517aa
PP
456412011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
45642 Ian Lance Taylor <iant@google.com>
45643
45644 * math/libm-test.inc (lround_test): New testcase.
45645 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
45646
762011fe
UD
456472011-09-08 Ulrich Drepper <drepper@gmail.com>
45648
92963737
UD
45649 * Makefile: Remove support for automatic cvs check-ins.
45650 * Makerules: Likewise.
45651 * config.make.in: Likewise.
45652 * configure.in: Likewise.
45653 * intl/Makefile: Likewise.
45654 * locale/Makefile: Likewise.
45655 * po/Makefile: Likewise.
45656 * posix/Makefile: Likewise.
45657 * sysdeps/gnu/Makefile: Likewise.
45658 * sysdeps/mach/hurd/Makefile: Likewise.
45659 * sysdeps/sparc/sparc32/Makefile: Likewise.
45660
b0727fd8
JS
45661 [BZ #13118]
45662 * posix/Makefile (bug-regex32-ENV): Define.
45663 Patch by John Stanley <jpsinthemix@verizon.net>.
45664
a0f33f99
UD
45665 * misc/Makefile (headers): Add bits/select2.h.
45666 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
45667 * misc/bits/select2.h: New file.
45668 * include/bits/select2.h: New file.
45669 * debug/Makefile (routines): Add fdelt_chk.
45670 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
45671 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
45672 FD_ISSET.
45673 * debug/fdelt_chk.c: New file.
45674
762011fe
UD
45675 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
45676 * wcsmbs/test-wmemcmp.c: Likewise.
45677 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 45678 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
45679
456802011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
45681
45682 * string/Makefile (strop-tests): Add memcmp.
45683 * string/test-wmemcmp.c: New file.
45684 * string/test-memcmp.c: Add wmemcmp support.
45685
7f513ec8
RM
456862011-09-08 Roland McGrath <roland@hack.frob.com>
45687
0442afb4
RM
45688 [BZ #13153]
45689 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
45690 2011-07-19 change.
45691
7f513ec8
RM
45692 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
45693 garbage value in a __mach_port_mod_refs call in the cases of the
45694 task-self and thread-self ports.
45695
a12b2239
ST
456962011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
45697
45698 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
45699
610f9ab4
AS
457002011-09-08 Andreas Schwab <schwab@redhat.com>
45701
7f513ec8 45702 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 45703
48882a1a
LD
457042011-09-07 Ulrich Drepper <drepper@gmail.com>
45705
b49865be
UD
45706 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
45707
fdc86bc9
UD
45708 * elf/dl-libc.c (dlerror_run): Pass back error code from
45709 dl_catch_error.
45710
c966526a
UD
45711 [BZ #13123]
45712 * elf/dl-load.c (lose): Free l_origin if it is valid.
45713
48882a1a
LD
45714 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
45715 names.
45716 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
45717 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
45718 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
45719 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
45720 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
45721 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
45722
77a2a8b4
AZ
457232011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
45724
45725 * sysdeps/powerpc/fpu/e_hypot.c: New file.
45726 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
45727 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
45728 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
45729 * sysdeps/powerpc/fpu/k_cosf.c: New file.
45730 * sysdeps/powerpc/fpu/k_sinf.c: New file.
45731 * sysdeps/powerpc/fpu/s_cosf.c: New file.
45732 * sysdeps/powerpc/fpu/s_sinf.c: New file.
45733 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
45734 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
45735
24f579d8
AM
457362011-08-15 Alan Modra <amodra@gmail.com>
45737
45738 [BZ #13092]
45739 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
45740 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
45741 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
45742 ppc_mcount to static-only-routines.
45743 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
45744 __mcount_internal.
45745 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
45746 __mcount_internal with usual JUMPTARGET. Remove useless nop.
45747
3d4837df
UD
457482011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
45749
45750 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
45751 for finite and infinity parameters.
45752
22700377
WS
457532011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
45754
45755 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
45756 and add nop instructions for throughput optimization.
45757 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
45758
5025581e
WS
457592011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
45760
45761 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
45762 aligned copy for power7 with vector-scalar instructions.
45763 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
45764
08a300c9
L
457652011-07-24 H.J. Lu <hongjiu.lu@intel.com>
45766
45767 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
45768 AVX check.
45769
59178ef9
AS
457702011-09-07 Andreas Schwab <schwab@redhat.com>
45771
45772 [BZ #13144]
45773 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
45774 last change.
45775
e38ba7ab
UD
457762011-09-07 Ulrich Drepper <drepper@gmail.com>
45777
45778 * sysdeps/unix/sysv/linux/x86_64/init-first.c
45779 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
45780 syscall wrapper around clock_gettime in __vdso_clock_gettime.
45781 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
45782 clock_gettime.
45783
d53a73ac
UD
457842011-09-06 Ulrich Drepper <drepper@gmail.com>
45785
fc8bffcc
UD
45786 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
45787 Forgot to demangle the pointer.
45788
ceaa0c5d
UD
45789 * sysdeps/i386/sysdep.h: Define atom_text_section.
45790 * sysdeps/x86_64/sysdep.h: Likewise.
45791 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
45792 section with atom_text_section.
45793 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
45794 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
45795 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
45796 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
45797 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
45798
a77d3c17
UD
45799 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
45800 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
45801 already be defined. Change to take two parameters and don't assign
45802 result to variable. Adjust all users.
45803 Define INTERNAL_GETTIME if not already defined.
45804 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
45805 call.
45806 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
45807 HAVE_CLOCK_GETTIME_VSYSCALL.
45808 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
45809
d53a73ac
UD
45810 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
45811 gettimeofday vsyscall, just use time.
45812
a8f84144
AS
458132011-09-06 Andreas Schwab <schwab@redhat.com>
45814
45815 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
45816 <errno.h>.
45817
ef606249
UD
458182011-09-06 Ulrich Drepper <drepper@gmail.com>
45819
45820 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
45821 syscall on x86-64.
45822 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
45823 syscall.
45824 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
45825 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
45826 syscall if possible.
45827
6585cb60
UD
458282011-09-05 Ulrich Drepper <drepper@gmail.com>
45829
45830 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
45831 e_ident. Don't pass to find_mapsXX.
45832 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
45833
a5f524e4
LD
458342011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
45835
45836 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
45837 strchr-sse2-no-bsf strrchr-sse2-no-bsf
45838 * sysdeps/x86_64/multiarch/strchr.S: Update.
45839 Check bit_slow_BSF bit.
45840 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
45841 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
45842 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
45843
554881ef
UD
458442011-09-05 Ulrich Drepper <drepper@gmail.com>
45845
d96de963
UD
45846 [BZ #13134]
45847 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
45848 before glibc 2.15.
45849 (tryshell): Define.
45850 (__spawni): Change last parameter to be flag. Test
45851 SPAWN_XFLAGS_USE_PATH flag to use path or not.
45852 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
45853 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
45854 * posix/spawni.c: Likewise.
45855 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
45856 * posix/spawnp.c: Likewise. Change normal version to use
45857 SPAWN_XFLAGS_USE_PATH.
45858 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
45859 SPAWN_XFLAGS_TRY_SHELL.
45860
d48e5868
UD
45861 [BZ #13150]
45862 * posix/glob.h: Remove gcc 1.x support.
45863
554881ef
UD
45864 [BZ #13068]
45865 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
45866
693fb948
LD
458672011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
45868
45869 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
45870 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
45871 strrchr-sse2-bsf
45872 * sysdeps/i386/i686/multiarch/strchr.S: New file.
45873 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
45874 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
45875 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
45876 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
45877 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
45878
1b48c537
UD
458792011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
45880
49d42c37
UD
45881 * sysdeps/x86_64/wcscmp.S: New file.
45882
1b48c537
UD
45883 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
45884 wcscmp-c wcscmp-sse2
45885 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
45886 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
45887 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
45888 * wcsmbs/wcscmp.c: Allow renaming.
45889
15c95c5d
DM
458902011-09-05 David S. Miller <davem@davemloft.net>
45891
45892 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
45893 stack slot, rather than the struct return pointer slot.
45894 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
45895 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
45896 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
45897 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
45898
2f0ad8f3
UD
458992011-09-05 Ulrich Drepper <drepper@gmail.com>
45900
d88ae418
UD
45901 * po/ja.po: Update from translation team.
45902
2f0ad8f3
UD
45903 [BZ #13144]
45904 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
45905 kernel in 64-bit binaries.
45906
5f4318d1
DM
459072011-09-01 David S. Miller <davem@davemloft.net>
45908
45909 * elf/elf.h (HWCAP_SPARC_*): Move to..
45910 * sysdeps/sparc/sysdep.h: this new file and add new values.
45911 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
45912 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
45913 _DL_HWCAP_COUNT to 24.
45914 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
45915 entries.
45916 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
45917 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
45918 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
45919 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
45920 instead of magic constants.
45921 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
45922
3ba57516
DM
459232011-08-31 David S. Miller <davem@davemloft.net>
45924
45925 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
45926 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
45927 Reimplement to do errno handling inline.
45928 (SYSCALL_ERROR_HANDLER): New macro.
45929 (__SYSCALL_STRING): Do not do errno handling in asm.
45930 (__CLONE_SYSCALL_STRING): Delete.
45931 (__INTERNAL_SYSCALL_STRING): Delete.
45932 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
45933 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
45934 (PSEUDO): Reimplement to do errno handling inline.
45935 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
45936 (SYSCALL_ERROR_HANDLER): New macro.
45937 (__SYSCALL_STRING): Do not do errno handling in asm.
45938 (__CLONE_SYSCALL_STRING): Delete.
45939 (__INTERNAL_SYSCALL_STRING): Delete.
45940 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
45941 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
45942 i386.
45943 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
45944 (inline_syscall*): Add 'err' argument.
45945 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
45946 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
45947 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
45948 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
45949
45950 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
45951 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
45952
2bc17433
AS
459532011-08-30 Andreas Schwab <schwab@redhat.com>
45954
45955 * elf/rtld.c (dl_main): Relocate objects in dependency order.
45956
fbeb5f4d
JO
459572011-08-29 Jiri Olsa <jolsa@redhat.com>
45958
45959 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
45960 directive.
45961
ad69cc26
DM
459622011-08-24 David S. Miller <davem@davemloft.net>
45963
45964 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
45965
39dd69df
AS
459662011-08-24 Andreas Schwab <schwab@redhat.com>
45967
45968 * elf/Makefile: Add rules to build and run unload8 test.
45969 * elf/unload8.c: New file.
45970 * elf/unload8mod1.c: New file.
45971 * elf/unload8mod1x.c: New file.
45972 * elf/unload8mod2.c: New file.
45973 * elf/unload8mod3.c: New file.
45974
45975 * elf/dl-close.c (_dl_close_worker): Reset private search list if
45976 it wasn't used.
45977
2c0b250a
DM
459782011-08-23 David S. Miller <davem@davemloft.net>
45979
45980 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
45981 subtract stack bias.
45982 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
45983 %sp not %fp in calculations.
45984 (_JMPBUF_UNWINDS_ADJ): Likewise.
45985
22044b48
DM
45986 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
45987 (aio_suspend): Call it to force an exception region around the
45988 AIO_MISC_WAIT() invocation.
45989
2cae4995
AS
459902011-08-23 Andreas Schwab <schwab@redhat.com>
45991
45992 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
45993 backslash.
45994
873a772e
AJ
459952011-07-04 Aurelien Jarno <aurelien@aurel32.net>
45996
45997 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
45998 protection macro.
45999 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
46000 and <dl-machine.h>.
46001 (Elf64_FuncDesc): Remove.
46002
25ad0df1
DM
460032011-08-22 David S. Miller <davem@davemloft.net>
46004
46005 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
46006 sigaltstack check, add missing cfi directives.
46007 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
46008 missing cfi directives, and sigaltstack handling.
46009
e888bcbe
AS
460102011-08-16 Andreas Schwab <schwab@redhat.com>
46011
46012 [BZ #11724]
46013 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
46014 object is seen twice.
46015 * elf/dl-fini.c (_dl_sort_fini): Likewise.
46016
46017 * elf/Makefile (distribute): Add tst-initorder2.c.
46018 (tests): Add tst-initorder2.
46019 (modules-names): Add tst-initorder2a tst-initorder2b
46020 tst-initorder2c tst-initorder2d. Add rules to build them.
46021 ($(objpfx)tst-initorder2.out): New rule.
46022 * elf/tst-initorder2.c: New file.
46023 * elf/tst-initorder2.exp: New file.
46024
87162f46
AS
460252011-08-22 Andreas Schwab <schwab@redhat.com>
46026
70538b7f
AS
46027 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
46028
f55ffe58
AS
46029 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
46030 dependencies back to end of function.
46031
87162f46
AS
46032 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
46033 $(elfobjdir)/ld.so.
46034
91b392a4
UD
460352011-08-21 Ulrich Drepper <drepper@gmail.com>
46036
46037 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
46038 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
46039 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
46040 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
46041 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
46042 of __vdso_gettimeofday.
46043 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
46044 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
46045 attribute_hidden.
46046 (_libc_vdso_platform_setup): Remove initialization of
46047 __vdso_gettimeofday and __vdso_time.
46048
5c43483f
UD
460492011-08-20 Ulrich Drepper <drepper@gmail.com>
46050
775a77e7
UD
46051 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
46052 and fgetc_unlocked.
46053 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
46054 getc_unlocked.
89f447ed 46055
49c74ba9
UD
46056 * elf/dl-open.c (add_to_global): Report additions to the global scope
46057 for LD_DEBUG=scopes.
46058 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 46059 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 46060
5c43483f
UD
46061 [BZ #13114]
46062 * stdio-common/Makefile (tests): Add bug24.
46063 * stdio-common/bug24.c: New file.
46064
a101b025
AJ
460652011-08-19 Andreas Jaeger <aj@suse.de>
46066
46067 [BZ #13114]
46068 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
46069 non-existant file when using close-on-exec mode.
46070
c88f1766
UD
460712011-08-20 Ulrich Drepper <drepper@gmail.com>
46072
0276a718
UD
46073 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
46074 the very first instruction.
46075
c88f1766
UD
46076 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
46077 the CFI state in the end.
46078 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
46079 inclusion of dl-trampoline.h.
46080 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
46081
51ccffa0
AS
460822011-08-19 Andreas Schwab <schwab@redhat.com>
46083
94d7165f
AS
46084 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
46085 expectations for long double.
46086
51ccffa0
AS
46087 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
46088 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
46089
fd708658 460902011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
46091
46092 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
46093 artificual limit depends upon the system page size.
46094
44f0a71e
UD
460952011-08-17 Ulrich Drepper <drepper@gmail.com>
46096
46097 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
46098 * resolv/Makefile: Define CFLAGS-libresolv.
46099
8de79a24
AS
461002011-08-17 Andreas Schwab <schwab@redhat.com>
46101
46102 * nss/makedb.c (compute_tables): Make variables used in nested
46103 function static.
46104
27724598
UD
461052011-08-17 Ulrich Drepper <drepper@gmail.com>
46106
c5305d88
UD
46107 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
46108 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
46109 if buffer was too small.
46110
27724598
UD
46111 * elf/pldd.c (main): Attach to all threads in the process.
46112 Rewrite /proc handling to use *at functions.
46113
076fe015
UD
461142011-08-16 Ulrich Drepper <drepper@gmail.com>
46115
174baab3
UD
46116 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
46117 specifies first scope to show.
46118 (dl_open_worker): Update callers. Move printing scope of new
46119 object to before the relocation.
44f0a71e 46120 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
46121 * sysdeps/generic/ldsodefs.h: Update declaration.
46122
076fe015
UD
46123 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
46124 string for the scope number.
46125
a60df2c3
UD
461262011-08-14 Ulrich Drepper <drepper@gmail.com>
46127
46128 * nscd/servicescache.c (cache_addserv): Make sure written is always
46129 initialized.
46130
5e4287d1
RM
461312011-08-14 Roland McGrath <roland@hack.frob.com>
46132
85ae0589
RM
46133 * sysdeps/i386/i486/bits/atomic.h
46134 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
46135 statement expression, so as to suppress "set but not used" warning.
46136 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
46137
69f63097
RM
46138 * string/strncat.c (STRNCAT): Use prototype definition.
46139
675456ef
RM
46140 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
46141 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
46142 -Iprograms here.
46143 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
46144 (localedef-modules): Add localedef.
46145 (locale-modules): Add locale.
46146
5e4287d1
RM
46147 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
46148 * elf/rtld.c (dl_main): Invert order of assignment in last change,
46149 to avoid a warning.
46150
9c96ff23
DM
461512011-08-14 David S. Miller <davem@davemloft.net>
46152
46153 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
46154 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
46155
f9ddf089
UD
461562011-08-13 Ulrich Drepper <drepper@gmail.com>
46157
44f0a71e 46158 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
46159 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
46160 * elf/rtld.c (dl_main): Set l_name of vDSO.
46161 Call _dl_show_scope when DL_DEBUG_SCOPES.
46162 (process_dl_debug): Recognize scopes flag and also set it for all.
46163 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
46164 Declare _dl_show_scope.
46165
1dc27704
UD
46166 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
46167 (do_dlopen): Pass caller_dlopen to dl_open.
46168 (__libc_dlopen_mode): Initialize caller_dlopen.
46169
f9ddf089
UD
46170 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
46171 of libc. Make tolower call locale-independent. Optimize a bit by
46172 using isdigit instead of isalnum.
46173 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
46174
9ac533d3
UD
461752011-08-12 Ulrich Drepper <drepper@gmail.com>
46176
46177 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
46178 was a dependency or dynamically loaded.
46179
89edf2e9
UD
461802011-08-11 Ulrich Drepper <drepper@gmail.com>
46181
8e999d29
UD
46182 * intl/l10nflist.c: Allow architecture-specific pop function.
46183 * sysdeps/x86_64/l10nflist.c: New file.
46184
89edf2e9
UD
46185 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
46186 classification.
46187
14d96785
AS
461882011-08-10 Andreas Schwab <schwab@redhat.com>
46189
46190 * include/dirent.h: Add libc_hidden_proto for scandirat and
46191 scandirat64. Don't declare __scandirat64.
46192 * dirent/scandirat.c: Add libc_hidden_def.
46193 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
46194 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
46195
6761ac04
DM
461962011-08-10 David S. Miller <davem@davemloft.net>
46197
46198 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
46199 enum.
46200 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
46201 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
46202 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
46203
c55fbd1e
UD
462042011-08-09 Ulrich Drepper <drepper@gmail.com>
46205
46206 * Versions.def [libc]: Add GLIBC_2.15.
46207 * dirent/Makefile (routines): Add scandirat and scandirat64.
46208 * dirent/Versions [libc]: Export scandirat and scandirat64 for
46209 GLIBC_2.15.
46210 * dirent/dirent.h: Declare scandirat and scandirat64.
46211 * dirent/scandirat.c: New file.
46212 * dirent/scandirat64.c: New file.
46213 * sysdeps/wordsize-64/scandirat.c: New file.
46214 * sysdeps/wordsize-64/scandirat64.c: New file.
46215 * dirent/opendir.c: Define opendirat.
46216 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
46217 using scandirat.
46218 * dirent/scandir64.c: Adjust for scandir.c change.
46219 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
46220 __scandirat64, and __scandir_cancel_handler.
46221 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
46222 additional parameter and use openat instead of open (outside of ld.so).
46223 Add new __opendir as wrapper around __opendirat.
46224 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
46225 here without requiring old scandirat implementation.
46226
879165f2
UD
462272011-08-08 Ulrich Drepper <drepper@gmail.com>
46228
46229 * dirent/scandir.c (cancel_handler): Renamed to
46230 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
46231 defined. Adjust users.
46232 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
46233 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
46234
cb7e923b
UD
462352011-08-04 Ulrich Drepper <drepper@gmail.com>
46236
16292edd
UD
46237 * string/test-string.h (IMPL): Use __STRING to expand name and then
46238 stringify it.
46239
cb7e923b
UD
46240 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
46241 of cleanups.
46242
cff82933
LD
462432011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
46244
46245 * string/Makefile: Update.
46246 (strop-tests): Append strncat.
46247 * string/test-wcscmp.c: New file.
46248 New comprehensive test for wcscmp.
46249 * string/test-strcmp.c: Update.
46250 (WIDE): New define.
46251
9be9bfcc
AS
462522011-07-22 Andreas Schwab <schwab@redhat.com>
46253
46254 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
46255 line.
46256
2e96f1c7
AS
462572011-07-26 Andreas Schwab <schwab@redhat.com>
46258
46259 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
46260 encoding to ACE if AI_IDN.
46261
85188888
JJ
462622011-08-01 Jakub Jelinek <jakub@redhat.com>
46263
46264 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
46265 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
46266
5fa16e9b
LD
462672011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
46268
46269 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
46270 Fix overflow bug in strncat.
46271 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
46272
46273 * string/test-strncat.c: Update.
46274 Add new tests for checking overflow bugs.
46275
462762011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
46277
46278 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
46279 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
46280 * sysdeps/i386/i686/multiarch/strcat.S: New file.
46281 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
46282 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
46283 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
46284 * sysdeps/i386/i686/multiarch/strncat.S: New file.
46285 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
46286 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
46287
46288 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
46289 (USE_AS_STRCAT): Define.
46290 Add strcat and strncat support.
46291 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
46292
8c1a459f
AS
462932011-07-25 Andreas Schwab <schwab@redhat.com>
46294
46295 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
46296 __n bigger than INT_MAX+1.
46297 (__strncmp_g): Likewise.
46298
bba33c28
UD
462992011-07-23 Ulrich Drepper <drepper@gmail.com>
46300
798be72d
UD
46301 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
46302 * libio/stido.h: Likewise.
46303
8accd4dc
UD
46304 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
46305 (AF_NFC): Define.
46306 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
46307 (AF_NFC): Define.
46308
cbff0d96
UD
46309 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
46310 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
46311 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
46312 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
46313 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
46314
9191c04a
UD
46315 [BZ #13021]
46316 * scripts/test-installation.pl: Don't expect libnss_test1 to be
46317 installed.
46318
bba33c28
UD
46319 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
46320 typo.
46321 (_dl_x86_64_save_sse): Likewise.
46322
90f139dd
UD
463232011-07-22 Ulrich Drepper <drepper@gmail.com>
46324
1aae088a
UD
46325 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
46326 OSXSAVE.
46327 (_dl_x86_64_save_sse): Likewise.
46328
8e2045f5
UD
46329 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
46330
90f139dd
UD
46331 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
46332
1d002f25
AS
463332011-07-21 Andreas Schwab <schwab@redhat.com>
46334
46335 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
46336 change.
46337 (_dl_x86_64_save_sse): Use correct AVX check.
46338
21137f89
UD
463392011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
46340
46341 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
46342 bug in strncpy/strncat.
46343 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
46344
a65c0b7a
UD
463452011-07-21 Ulrich Drepper <drepper@gmail.com>
46346
46347 * string/tester.c (test_strcat): Add tests for different alignments
46348 of source and destination.
46349 (test_strncat): Likewise.
46350
6986b98a
UD
463512011-07-20 Ulrich Drepper <drepper@gmail.com>
46352
90bb2039
UD
46353 [BZ #12852]
46354 * posix/glob.c (glob): Check passed in values before using them in
46355 expressions to avoid some overflows.
46356 (glob_in_dir): Likewise.
46357
5644ef54
UD
46358 [BZ #13007]
46359 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
46360 check for AVX enablement so that we don't crash with old kernels and
46361 new hardware.
46362 * elf/tst-audit4.c: Add same checks here.
46363 * elf/tst-audit6.c: Likewise.
46364
46365 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 46366
bfc9dc9b
AS
463672011-07-09 Andreas Schwab <schwab@linux-m68k.org>
46368
46369 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
46370
702e64bb
UD
463712011-07-20 Ulrich Drepper <drepper@gmail.com>
46372
46373 * po/cs.po: Update from translation team.
46374 * po/bg.po: Likewise.
46375
295e904f
MP
463762011-07-12 Marek Polacek <mpolacek@redhat.com>
46377
46378 * misc/sys/cdefs.h: Add support for const attribute.
46379 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
46380 to gnu_dev_{major,minor,makedev} functions.
46381
3ff94596
MP
463822011-07-20 Marek Polacek <mpolacek@redhat.com>
46383
46384 * intl/dcigettext.c (get_output_charset): Add missing bracket.
46385
28b59fca
AS
463862011-07-20 Andreas Schwab <schwab@redhat.com>
46387
46388 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
46389 strlen results.
46390
19df733e
AK
463912011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
46392
46393 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
46394 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
46395 register in order to avoid conflicts with the soft frame pointer
46396 being held in r11 when necessary.
46397 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
46398 (INTERNAL_VSYSCALL_NCS): Likewise.
46399
c8835729
MP
464002011-07-14 Marek Polacek <mpolacek@redhat.com>
46401
46402 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
46403 * elf/dl-fini.c (_dl_fini): Adjust caller.
46404 * elf/dl-close.c (_dl_close_worker): Likewise.
46405 * sysdeps/generic/ldsodefs.h: Adjust declaration.
46406
b902330c
MP
464072011-07-15 Marek Polacek <mpolacek@redhat.com>
46408
8991e135
MP
46409 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
46410 "aux_cache->nlibs < 0".
46411
b902330c
MP
46412 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
46413 in the reload-count case.
46414
99710781
LD
464152011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
46416
46417 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
46418 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
46419 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
46420 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
46421 * sysdeps/x86_64/multiarch/strcat.S: New file.
46422 * sysdeps/x86_64/multiarch/strncat.S: New file.
46423 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
46424 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
46425 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
46426 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
46427 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
46428 (USE_AS_STRCAT): Define.
46429 Add strcat and strncat support.
46430 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
46431 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
46432 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
46433 * string/strncat.c: Update.
46434 (USE_AS_STRNCAT): Define.
46435 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
46436 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
46437 and i7.
46438 * sysdeps/x86_64/multiarch/init-arch.h
46439 (bit_Prefer_PMINUB_for_stringop): New.
46440 (index_Prefer_PMINUB_for_stringop): Likewise.
46441 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
46442 bit_Prefer_PMINUB_for_stringop.
46443
7dc6bd90
UD
464442011-07-19 Ulrich Drepper <drepper@gmail.com>
46445
46446 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
46447 buffer64.
46448 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
46449 of casting of buffer.
46450 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
46451 buffer32 and buffer64.
46452 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
46453 writes instead of casting of buffer.
46454 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
46455 buffer32.
46456 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
46457 casting of buffer.
46458
e0e72284
AS
464592011-07-19 Andreas Schwab <schwab@redhat.com>
46460
46461 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
46462
feb1eb0b
UD
464632011-07-19 Ulrich Drepper <drepper@gmail.com>
46464
46465 * nscd/nscd.c (termination_handler): Don't do anything for a database
46466 if it has not yet been initialized.
46467
298711ff
UD
464682011-07-18 Ulrich Drepper <drepper@gmail.com>
46469
46470 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
46471
464722011-07-15 Marek Polacek <mpolacek@redhat.com>
46473
46474 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
46475
f9d68389
UD
464762011-07-18 Ulrich Drepper <drepper@gmail.com>
46477
46478 * po/nl.po: Update from translation team.
46479 * po/sv.po: Likewise.
46480
db290cf5
RM
464812011-07-16 Roland McGrath <roland@hack.frob.com>
46482
46483 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
46484 now disallowed by GCC.
5c550700 46485
fd5e21c7
RM
46486 * configure.in (use-default-link): Default to yes if a test -shared
46487 link meets our qualifications.
46488 * configure: Regenerated.
46489
5c550700
RM
46490 * config.make.in (output-format): New variable.
46491 * configure.in: Check for ld --print-output-format support.
46492 * configure: Regenerated.
46493 * Makerules ($(common-objpfx)format.lds)
46494 [$(output-format) != unknown]: Just use $(output-format),
46495 instead of the linker-script munging.
46496
9fa2c032
RM
464972011-07-14 Roland McGrath <roland@hack.frob.com>
46498
a6928d51
RM
46499 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
46500 of $(common-objpfx)shlib.lds.
46501 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
46502
661607b3
RM
46503 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
46504 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
46505
9fa2c032
RM
46506 * configure.in (-z relro check): Adjust test code to add a large
46507 writable data section after it.
46508 * configure: Regenerated.
46509
defe9061
RM
465102011-07-11 Roland McGrath <roland@hack.frob.com>
46511
46512 * configure.in (-z relro check): Fix test code to make the variable
46513 truly const.
46514 * configure: Regenerated.
46515
319b9ad4
UD
465162011-07-11 Ulrich Drepper <drepper@gmail.com>
46517
46518 * nscd/nscd.h (struct traced_file): Define.
46519 (struct database_dyn): Remove inotify_descr, reset_res, and filename
46520 elements. Add traced_files.
46521 (inotify_fd): Declare.
46522 (register_traced_file): Declare.
46523 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
46524 (inotify_fd): Export.
46525 (resolv_conf_descr): Remove.
46526 (nscd_init): Move inotify descriptor creation to main.
46527 Don't register files for notification here.
46528 (register_traced_file): New function.
46529 (invalidate_cache): Don't use reset_res to determine whether to call
46530 res_init, go through the list of registered files.
46531 (main_loop_poll): The inotify descriptors are now stored in the
46532 structures for the traced files.
46533 (main_loop_epoll): Likewise
46534 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
46535 to __nss_disable_nscd.
46536 * nscd/cache.c (prune_cache): There is no single inotify descriptor
46537 for a database anymore. Check the records for all the registered
46538 files instead.
46539 * nss/Makefile (libnss_files-routines): Add files-init.
46540 (libnss_db-routines): Add db-init.
46541 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
46542 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
46543 * nss/nss_db/db-init.c: New file.
46544 * nss/nss_files/files-init.c: New file.
46545 * nss/nsswitch.c (nss_load_library): New function. Broken out of
46546 __nss_lookup_function.
46547 (__nss_lookup_function): Call nss_load_library.
46548 (nss_load_all_libraries): New function.
46549 (__nss_disable_nscd): Take parameter with callback function for files
46550 to register. Set is_nscd. Load all the DSOs for the NSS modules
46551 used for the cached services.
46552 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
46553 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
46554 options for features to all the files in nscd.
46555
46556 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
46557
23bee3e8
RM
465582011-07-10 Roland McGrath <roland@hack.frob.com>
46559
46560 * csu/elf-init.c (__libc_csu_init): Comment typo.
46561
46a5b7f0
UD
465622011-07-09 Ulrich Drepper <drepper@gmail.com>
46563
46564 * po/pl.po: Update from translation team.
46565 * po/ja.po: Likewise.
46566 * po/ru.po: Likewise.
46567 * po/ko.po: Likewise.
46568 * po/fr.po: Likewise.
46569
d30cf5bb
RM
465702011-07-09 Roland McGrath <roland@hack.frob.com>
46571
113ddea4
RM
46572 * configure.in (.ctors/.dtors header and trailer check):
46573 Use an empirical test on a built program.
46574 * configure: Regenerated.
46575
574920b4
RM
46576 * configure.in (-z relro check): Use an empirical test on a built DSO.
46577 Detect, but do not require, on ia64.
46578 * configure: Regenerated.
46579
d30cf5bb
RM
46580 * configure.in (READELF): Find it with AC_CHECK_TOOL.
46581 Update tests that use readelf to use $READELF instead.
46582 * configure: Regenerated.
46583
8538fdb3
UD
465842011-07-08 Ulrich Drepper <drepper@gmail.com>
46585
46586 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
46587 if the result is not used.
46588
04d08991
AJ
465892011-07-05 Andreas Jaeger <aj@suse.de>
46590
46591 [BZ#9696]
46592 * stdlib/tst-strtod.c: Add testcase.
46593
de283087
AD
465942011-07-07 Ulrich Drepper <drepper@gmail.com>
46595
4e5f31c8 46596 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 46597 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
46598 The latter has a higher limit. Take additional parameter to pass to
46599 the new function.
46600 (__pathconf): Pass file to __statfs_link_max.
46601 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
46602 __statfs_link_max.
46603 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
46604 __statfs_link_max.
46605
de283087
AD
46606 [BZ #12868]
46607 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
46608 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
46609 Handle Lustre.
46610 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
46611 (__statfs_filesize_max): Likewise.
46612 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
46613
c75fa153
AJ
466142011-07-05 Andreas Jaeger <aj@suse.de>
46615
46616 * resolv/res_comp.c (dn_skipname): Remove unused variable.
46617
1a544854
UD
466182011-07-06 Marek Polacek <mpolacek@redhat.com>
46619
46620 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
46621 `status' variable.
46622 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
46623 Likewise.
46624
6f0eec67
UD
466252011-07-04 H.J. Lu <hongjiu.lu@intel.com>
46626
46627 * Makefile (strop-tests): Add strncat.
46628 * string/test-strncat.c: New file.
46629
aae30307
UD
466302011-06-30 Marek Polacek <mpolacek@redhat.com>
46631
46632 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
46633
c0cfb5eb
UD
466342011-06-21 Andreas Jaeger <aj@suse.de>
46635
46636 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
46637 Copy rule from iconvdata/Makefile.
46638
01636b21
UD
466392011-07-06 Ulrich Drepper <drepper@gmail.com>
46640
46641 [BZ #12922]
46642 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
46643 but no long options are defined, just return 'W'.
46644
9895c8bc
UD
466452011-06-22 Marek Polacek <mpolacek@redhat.com>
46646
46647 [BZ #9696]
46648 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
46649
5d4cf042
UD
466502011-07-06 Ulrich Drepper <drepper@gmail.com>
46651
46652 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
46653 netgroups to read.
960e5535 46654 (innetgr): Likewise.
5d4cf042 46655
751eb97e
RM
466562011-07-05 Roland McGrath <roland@hack.frob.com>
46657
46658 * config.make.in (install_root): Default to $(DESTDIR).
46659
f15f1e45
UD
466602011-07-05 Ulrich Drepper <drepper@gmail.com>
46661
46662 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
46663
4e34ac6a
RM
466642011-07-02 Roland McGrath <roland@hack.frob.com>
46665
5e9b6af4
RM
46666 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
46667
84f9ea0f
RM
46668 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
46669 containing directory rather than embedding absolute directory names.
46670
ea5ee9f7
RM
46671 * scripts/check-local-headers.sh: Rewritten using awk.
46672 Match by word, not by line. Print error messages for matches.
46673 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
46674
1b74661a
RM
46675 * Makerules [shlib-lds-flags empty]:
46676 ($(common-objpfx)libc_pic.opts): New target.
46677 ($(common-objpfx)libc_pic.os.clean): New target.
46678 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
46679
46680 * config.make.in (OBJCOPY): New variable.
46681 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
46682 * configure: Regenerated.
46683
f781ef40
RM
46684 * config.make.in (use-default-link): New variable.
46685 * configure.in (use_default_link): Grok --with-default-link to set it.
46686 * configure: Regenerated.
46687 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
46688 (shlib-lds, shlib-lds-flags): Define to empty.
46689
2d4fa81e
RM
46690 * Makerules (shlib-lds): New variable.
46691 (shlib-lds-flags): New variable.
46692 (build-shlib, build-moduile, build-module-asneeded): Use it.
46693 ($(common-objpfx)libc.so): Use $(shlib-lds).
46694 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
46695 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
46696
31fffa6b
RM
46697 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
46698 DT_FLAGS/DT_FLAGS_1 with zero flags.
46699
4e34ac6a
RM
46700 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
46701 linker script munging.
46702
fcfc776b
UD
467032011-07-02 Ulrich Drepper <drepper@gmail.com>
46704
46705 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
46706 as 128-bit value.
46707 * crypt/sha512.c (sha512_process_block): Perform total addition using
46708 128-bit if possible.
46709 (__sha512_finish_ctx): Likewise.
46710 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
46711 as 64-bit value.
46712 * crypt/sha256.c (SWAP64): Define.
46713 (sha256_process_block): Perform total addition using 64-bit if
46714 possible.
46715 (__sha256_finish_ctx): Likewise.
46716
99231d9a
UD
467172011-07-01 Ulrich Drepper <drepper@gmail.com>
46718
46719 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
46720 * nscd/initgrcache.c (addinitgroupsX): Likewise.
46721 * nscd/hstcache.c (cache_addhst): Likewise.
46722 * nscd/grpcache.c (cache_addgr): Likewise.
46723 * nscd/aicache.c (addhstaiX): Likewise
46724 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
46725
445b4a53
TK
467262011-07-01 Thorsten Kukuk <kukuk@suse.de>
46727
46728 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
46729 * nscd/initgrcache.c (addinitgroupsX): Likewise.
46730 * nscd/hstcache.c (cache_addhst): Likewise.
46731 * nscd/grpcache.c (cache_addgr): Likewise.
46732 * nscd/aicache.c (addhstaiX): Likewise
46733
6d4d8e8e
AS
467342011-07-01 Andreas Schwab <schwab@redhat.com>
46735
46736 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
46737 domain only when needed.
46738
89f654c5
AS
467392011-06-30 Andreas Schwab <schwab@redhat.com>
46740
46741 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
46742 is always restored.
46743
cf3b23ff
UD
467442011-06-29 Ulrich Drepper <drepper@gmail.com>
46745
46746 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
46747 are re-adding the entry.
46748 * nscd/servicescache.c (cache_addserv): Likewise.
46749
751626f9
AJ
467502011-06-30 Aurelien Jarno <aurelien@aurel32.net>
46751
46752 * sysdeps/generic/dl-irel.h: fix protection against multiple
46753 inclusions.
46754 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
46755
9113ea1f
UD
467562011-06-28 Ulrich Drepper <drepper@gmail.com>
46757
5c0b8d90
UD
46758 [BZ #12935]
46759 * malloc/memusage.sh: Fix quoting in message.
46760 * debug/xtrace.sh: Likewise.
46761
9113ea1f
UD
46762 * configure.in: Remove support for --experimental-malloc option, make
46763 it the default.
46764 * config.make.in: Likewise.
46765 * malloc/Makefile: Likewise.
46766
a4172181
AS
467672011-06-27 Andreas Schwab <schwab@redhat.com>
46768
46769 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
46770 two-byte characters.
46771
78a7eee7
RM
467722011-06-27 Roland McGrath <roland@hack.frob.com>
46773
62bede13
RM
46774 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
46775 AC_CACHE_CHECK invocation.
46776 * configure: Regenerated.
46777
78a7eee7
RM
46778 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
46779
5ce33a62
UD
467802011-06-27 Ulrich Drepper <drepper@gmail.com>
46781
034807a9
UD
46782 [BZ #12350]
46783 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
46784 bit from old_res_options.
46785
4902da17
UD
46786 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
46787
5ce33a62
UD
46788 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
46789 value type for setfct.
46790
c2344f56
L
467912011-06-23 H.J. Lu <hongjiu.lu@intel.com>
46792
46793 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
46794 __gettimeofday instead of gettimeofday.
46795
68468076
UD
467962011-06-26 Ulrich Drepper <drepper@gmail.com>
46797
46798 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
46799
acb0d739
L
468002011-06-24 H.J. Lu <hongjiu.lu@intel.com>
46801
46802 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
46803
46804 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
46805 info.
46806
8912479f
L
468072011-06-22 H.J. Lu <hongjiu.lu@intel.com>
46808
46809 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
46810 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
46811 strcpy-sse2-unaligned strncpy-sse2-unaligned
46812 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
46813 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
46814 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
46815 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
46816 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
46817 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
46818 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
46819 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
46820 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
46821 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
46822 (STRCPY): Support SSE2 and SSSE3 versions.
46823
d5495a11
UD
468242011-06-24 Ulrich Drepper <drepper@gmail.com>
46825
46826 [BZ #12874]
46827 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
46828 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
46829 kernels which artificially limit size of requests.
46830
0b1cbaae
L
468312011-06-22 H.J. Lu <hongjiu.lu@intel.com>
46832
46833 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
46834 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
46835 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
46836 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
46837 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
46838 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
46839 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
46840 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
46841 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
46842 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
46843 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
46844 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
46845 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
46846 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
46847 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
46848 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
46849 Enable unaligned load optimization for Intel Core i3, i5 and i7
46850 processors.
46851 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
46852 Define.
46853 (index_Fast_Unaligned_Load): Define.
46854 (HAS_FAST_UNALIGNED_LOAD): Define.
46855
07f494a0
MP
468562011-06-23 Marek Polacek <mpolacek@redhat.com>
46857
46858 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
46859
fa3fc0fe
UD
468602011-06-22 Ulrich Drepper <drepper@gmail.com>
46861
46862 [BZ #12907]
46863 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
46864 until it is clear that the information is realy needed.
46865 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
46866
e12df166
AS
468672011-06-22 Andreas Schwab <schwab@redhat.com>
46868
46869 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
46870
852eb34d
UD
468712011-06-22 Ulrich Drepper <drepper@gmail.com>
46872
84e2a551
UD
46873 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
46874 /sys/devices/system/cpu/online if it is usable.
46875
852eb34d
UD
46876 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
46877 reading the information from the /proc filesystem to once a second.
46878
6e502e19
UD
468792011-06-21 Andreas Jaeger <aj@suse.de>
46880
46881 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
46882 NULL after inclusion of kernel headers.
46883
75d39ff2
UD
468842011-06-21 Ulrich Drepper <drepper@gmail.com>
46885
51f9aa6a
UD
46886 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
46887 calls to internal_setent.
46888
c0244a9d
UD
46889 [BZ #12885]
46890 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
46891 addresses using gethostbyname4_r ignore IPv4 addresses.
46892
c5e3c2ae
UD
46893 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
46894 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
46895
75d39ff2
UD
46896 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
46897
42675c6f
DM
468982011-06-20 David S. Miller <davem@davemloft.net>
46899
46900 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
46901 inclusions.
46902 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
46903
46904 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
46905 (elf_irel): Use it.
46906 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
46907 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
46908 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
46909 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
46910 * sysdeps/x86_64/dl-irel.h: Likewise.
46911
46912 * elf/dl-runtime.c: Use elf_ifunc_invoke.
46913 * elf/dl-sym.c: Likewise.
46914
57912a71
UD
469152011-06-15 Ulrich Drepper <drepper@gmail.com>
46916
46917 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
46918 need to dereference resplen2.
46919
ee22793d
AS
469202011-06-14 Andreas Schwab <schwab@redhat.com>
46921
46922 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
46923
a9e836b0
UD
469242011-06-15 Ulrich Drepper <drepper@gmail.com>
46925
77fb9117
UD
46926 * Makeconfig: Define vardbdir and inst_vardbdir.
46927 * nss/Makefile: Add rules to install db-Makefile.
46928
40c1b22c
UD
46929 * nss/nss_db/db-XXX.c: Cleanup.
46930
9f2da732
UD
46931 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
46932 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
46933 GLIBC_PRIVATE.
46934 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
46935 * nss/makedb.c: Implement -g option to specify that value strings
46936 are generated and should not be added to table iterated over for
46937 get*ent calls.
46938 * nss/nss_db/db-initgroups.c: New file.
46939
82e9a1f7
UD
46940 * nss/getent.c: Add support for initgroups lookups through getgrouplist
46941 interface.
46942
c41af17e
UD
46943 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
46944 (internal_getgrouplist): Adjust to name change.
46945 Update use_initgroups_entry if this is not the first call.
46946 * nss/databases.def: Add initgroups entry.
46947
a9e836b0
UD
46948 * nss/makedb.c (compute_tables): Check result of multiple hash table
46949 sizes to minimize maximum chain length.
46950
2666d441
UD
469512011-06-14 Ulrich Drepper <drepper@gmail.com>
46952
46953 * Versions.def: Add entry for libnss_db.
46954 * shlib-versions: Likewise.
46955 * nss/Makefile: Add rules to build libnss_db.
46956 * nss/Versions: Add libnss_db information. Organize libnss_files
46957 entries better.
46958 * nss/db-Makefile: Add gshadow support. Change rules for the new
46959 makedb progra. Some minor improvements to generate smaller files.
46960 * nss/nss_db/nss_db.h: Move NSS database header data structures to
46961 here from...
46962 * nss/makedb.c: ...here.
46963 Improve database format to be smaller and require less memory at
46964 runtime.
46965 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
46966 db anymore.
46967 * nss/nss_db/db-netgrp.c: Likewise.
46968 * nss/nss_db/db-open.c: Likewise.
46969 * nss/nss_files/flies-XXX.x: Adjust comments.
46970 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
46971 * nss/nss_files/files-grp.c: Likewise.
46972 * nss/nss_files/files-hosts.c: Likewise.
46973 * nss/nss_files/files-network.c: Likewise.
46974 * nss/nss_files/files-proto.c: Likewise.
46975 * nss/nss_files/files-pwd.c: Likewise.
46976 * nss/nss_files/files-rpc.c: Likewise.
46977 * nss/nss_files/files-service.c: Likewise.
46978 * nss/nss_files/files-sgrp.c: Likewise.
46979 * nss/nss_files/files-spwd.c: Likewise.
46980 * nss/nss_db/db-alias.c: Removed.
46981 * nss/nss_db/dummy-db.h: Removed.
46982
9ee76b5a
UD
469832011-06-02 Ulrich Drepper <drepper@gmail.com>
46984
46985 * nss/makedb.c: Rewritten to not use database library.
46986 * nss/Makefile: Update to build new makedb program.
46987
c71ca1f8
AJ
469882011-06-14 Andreas Jaeger <aj@suse.de>
46989
46990 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
46991 memset declaration.
46992
3154bfb8
UD
469932011-06-10 Andreas Schwab <schwab@redhat.com>
46994
46995 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
46996 tmpbuf.
46997
b350afab
RM
469982011-06-10 Roland McGrath <roland@hack.frob.com>
46999
decd4e50
RM
47000 * Makerules (shlib.lds): Fail if the linker script comes out empty.
47001 * elf/Makefile ($(objpfx)ld.so): Likewise.
47002
5615eaf2
RM
47003 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
47004 Don't list ld.so twice in dependencies.
47005
47006 * posix/bug-regex31.c: Include <stdlib.h>.
47007
47008 * nscd/hstcache.c (cache_addhst): Remove unused variable.
47009
47010 * nis/nss_compat/compat-spwd.c
47011 (getspent_next_nss_netgr): Remove unused variable.
47012 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
47013
47014 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
47015 nonmembers" output to use the right array.
47016
47017 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
47018
47019 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
47020
47021 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
47022 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
47023 * catgets/gencat.c (read_input_file): Likewise.
47024 * locale/programs/locarchive.c (enlarge_archive): Likewise.
47025
47026 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
47027 variable definition inside #if's controlling its use.
47028
47029 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
47030
47031 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
47032
47033 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
47034
47035 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
47036 unreachable code.
47037
47038 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
47039
b68e08db
RM
47040 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
47041 * configure: Regenerated.
47042
b350afab
RM
47043 * Makerules: Revert last change.
47044 * elf/Makefile: Likewise.
47045
28368601
RM
470462011-06-09 Roland McGrath <roland@hack.frob.com>
47047
47048 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
47049 * elf/Makefile ($(objpfx)librtld.os): Likewise.
47050 (reloc-link): Likewise.
47051
11988f8f
UD
470522011-06-09 Ulrich Drepper <drepper@gmail.com>
47053
47054 * elf/Makefile: Add rules to build pldd.
47055 * elf/pldd.c: New file.
47056 * elf/pldd-xx.c: New file.
47057
e80fab37
UD
470582011-06-07 Ulrich Drepper <drepper@gmail.com>
47059
47060 * version.h: Update for 2.15 development version.
47061
9b849836
DM
470622011-06-07 David S. Miller <davem@davemloft.net>
47063
47064 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
47065 ifuncs.
47066 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
47067 elf_machine_lazy_rel): Likewise.
47068 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
47069 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
47070 elf_machine_lazy_rel): Likewise.
47071 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
47072 dl_hwcap via passed in argument.
47073 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
47074 Likewise.
47075
5a31b283
AK
470762011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
47077
47078 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
47079
069e52f8
RM
470802011-06-06 Roland McGrath <roland@hack.frob.com>
47081
47082 [BZ #12849]
47083 * manual/fdl-1.1.texi: New file, verbatim from:
47084 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
47085 * manual/lgpl-2.1.texi: New file, verbatim from:
47086 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
47087 * manual/Makefile (licenses): New variable, list those new file names.
47088 (texis): Use it.
47089 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
47090
47091 * manual/fdl.texi: File removed.
47092 * manual/lesser.texi: File removed.
47093 * manual/libc.texinfo (Copying, Documentation License):
47094 Use new @include file names, put @appendix directive before @include.
47095
f16846a5
JJ
470962011-06-04 Jakub Jelinek <jakub@redhat.com>
47097
47098 [BZ #12841]
47099 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
47100 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
47101 (mq_open): Add __NTH.
47102
3d29045b
L
471032011-06-02 H.J. Lu <hongjiu.lu@intel.com>
47104
47105 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
47106 Assume Intel Core i3/i5/i7 processor if AVX is available.
47107
8c297311
UD
471082011-05-31 Ulrich Drepper <drepper@gmail.com>
47109
47110 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
47111 typo.
47112
c8fc0c91
UD
471132011-05-31 Andreas Schwab <schwab@redhat.com>
47114
47115 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
47116 memory. Use alloca_account. Fix memory leak when retrying.
47117
5b27a807
UD
471182011-05-31 Ulrich Drepper <drepper@gmail.com>
47119
356f8bc6
UD
47120 * version.h (RELEASE): Bump for 2.14 release.
47121 * include/features.h (__GLIBC_MINOR__): Bump to 14.
47122
5b27a807
UD
47123 * config.make.in (RANLIB): Remove entry.
47124
01f16ab0
UD
471252011-05-30 Ulrich Drepper <drepper@gmail.com>
47126
41fce8bd
UD
47127 * po/Makefile (po-sed-cmd): Add ksh to extensions.
47128 (libc.pot): Work around missing support for .ksh extension in xgettext.
47129
4769ae77
UD
47130 [BZ #12684]
47131 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
47132 if both request failed.
47133 (send_dg): In case of server errors clear resplen or *resplen2.
47134
6b1e7d19
UD
47135 [BZ #12454]
47136 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
47137 when there are multiple maps.
47138 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
47139 (_dl_fini): Remove test here.
47140
01f16ab0
UD
47141 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
47142
b1ebd700
UD
471432011-05-29 Ulrich Drepper <drepper@gmail.com>
47144
7ae22829
UD
47145 [BZ #12350]
47146 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
47147 bit from old_res_options.
47148 (gaih_inet): Likewise.
47149
553149f6 47150 [BZ #11099]
18a84741 47151 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
47152 as signed.
47153
652ffab1
UD
47154 * resolv/res_init.c (res_setoptions): Make the code more compact.
47155
16985fd0
UD
47156 [BZ #11558]
47157 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
47158 set RES_USEVC.
47159
0464f746
UD
47160 [BZ #11634]
47161 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
47162
7d17596c
UD
47163 * malloc/malloc.h: Mark malloc hook variables as deprecated.
47164
cf6bbbd7
UD
47165 [BZ #11781]
47166 * malloc/malloc.h: Declare malloc hook variables as volatile.
47167
13f1ab36
UD
47168 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
47169 in last patch.
47170
b1ebd700
UD
47171 [BZ #11799]
47172 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 47173 raise in the comment.
80e2212d
UD
47174 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
47175 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
47176 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 47177
ce67228d
UD
471782011-05-28 Ulrich Drepper <drepper@gmail.com>
47179
8887a920
UD
47180 [BZ #12811]
47181 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
47182 grow the buffers more if it already has to be sufficient.
47183 (build_wcs_upper_buffer): Likewise.
47184 * posix/regexec.c (check_matching): Likewise.
47185 (clean_state_log_if_needed): Likewise.
47186 (extend_buffers): Don't enlarge buffers beyond size of the input
47187 buffer.
47188 Patches mostly by Emil Wojak <emil@wojak.eu>.
47189 * posix/bug-regex32.c: New file.
47190 * posix/Makefile (tests): Add bug-regex32.
47191
4f031072
UD
47192 * locale/findlocale.c (_nl_find_locale): Return right away if
47193 _nl_explode_name failed.
47194 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
47195
d0478f0c
UD
47196 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
47197
de81b246
UD
47198 * debug/xtrace.sh: Unify messages.
47199 * malloc/memusage.sh: Likewise.
47200
c738465a
UD
47201 [BZ #12813]
47202 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
47203 time symbol from vDSO. Substitute with vsyscall if not available.
47204 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
47205 __vdso_time.
47206
f1f929d7
UD
47207 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
47208 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
47209 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
47210 Add sendmmsg and internal_sendmmsg.
47211 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
47212 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
47213 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
47214
ce67228d
UD
47215 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
47216 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
47217 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
47218
e57420c6
UD
472192011-05-27 Ulrich Drepper <drepper@gmail.com>
47220
a8509ca5
UD
47221 [BZ #12813]
47222 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
47223 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
47224 available.
47225 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
47226 __vdso_getcpu.
47227
e57420c6
UD
47228 [BZ #12814]
47229 * iconvdata/Makefile (tests): Add bug-iconv9.
47230 * iconvdata/bug-iconv9.c: New file.
47231
4d07db15
AS
472322011-05-27 Andreas Schwab <schwab@redhat.com>
47233
47234 [BZ #12814]
47235 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
47236
ea486f69
JJ
472372011-05-25 Jakub Jelinek <jakub@redhat.com>
47238
47239 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
47240 (struct user_regs_struct): Change intcs field back to cs.
47241
6f038433
UD
472422011-05-25 Ulrich Drepper <drepper@gmail.com>
47243
47244 * po/ja.po: Update from translation team.
47245
67f86a25
UD
472462011-05-23 Ulrich Drepper <drepper@gmail.com>
47247
47248 [BZ #12795]
47249 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
47250 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
47251
def7fbd6
AS
472522011-05-20 Andreas Schwab <schwab@redhat.com>
47253
47254 * stdlib/longlong.h: Update from GCC.
47255
f50ef8f1
AS
472562011-05-23 Andreas Schwab <schwab@redhat.com>
47257
47258 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
47259 parameter name.
47260 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
47261 Add parameter name.
47262 (__sysconf): Pass it down.
47263
de7ce8f1
UD
472642011-05-22 Ulrich Drepper <drepper@gmail.com>
47265
f2962a71
UD
47266 [BZ #12671]
47267 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
47268 some situations.
47269 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
47270 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
47271 add in in __libc_use_alloca calls. Adjust callers.
47272 (glob): Use malloc in some situations.
47273
de7ce8f1
UD
47274 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
47275 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
47276 pltexit.
47277
aec84f53
UD
472782011-05-21 Ulrich Drepper <drepper@gmail.com>
47279
05bb4a68
UD
47280 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
47281 and CLOCK_BOOTTIME_ALARM.
47282
7ea72f99
UD
47283 [BZ #12782]
47284 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
47285 is returned.
47286
7e4afad5
UD
47287 * string/_strerror.c (__strerror_r): Print negative errors as signed
47288 numbers.
47289
8e211fec
UD
47290 [BZ #12777]
47291 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
47292 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
47293 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
47294
f7d82dc9
UD
47295 * configure.in: Fix typo in redirection and correct removal of test
47296 files in two cases.
47297
cc9e536d
UD
47298 [BZ #12788]
47299 * locale/setlocale.c (new_composite_name): Fix test to check for
47300 identical name of all categories.
47301
aec84f53
UD
47302 [BZ #12792]
47303 * libio/filedoalloc.c (local_isatty): New function.
47304 (_IO_file_doallocate): Use local_isatty.
47305 * stdio-common/perror.c (perror): In case a new stream is used
47306 forward the stream error.
47307 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
47308 error flag.
47309
78e64fdc
RT
473102011-05-20 Ulrich Drepper <drepper@gmail.com>
47311
34a9094f
UD
47312 [BZ #11869]
47313 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
47314 alloca.
47315 * include/alloca.h (extend_alloca_account): Define.
47316
78e64fdc
RT
47317 [BZ #11857]
47318 * posix/regex.h: Fix comments with documentation of user-accessible
47319 fields after compilation and describe correct free'ing of pattern
47320 after re_compile_pattern.
47321 Patch by Reuben Thomas <rrt@sc3d.org>.
47322
457bddfc
RA
473232011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
47324
47325 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
47326 and -mno-altivec to prevent the compiler from using Altivec and/or
47327 VSX instructions when the corresponding registers are not available.
47328
a4527b51
AS
473292011-05-19 Andreas Schwab <schwab@redhat.com>
47330
47331 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
47332
ed690b2f
UD
473332011-05-19 Ulrich Drepper <drepper@gmail.com>
47334
47335 * libio/freopen.c (freopen): Use __dup2, not dup2.
47336 * libio/freopen64.c (freopen64): Likewise.
47337
8db73634
L
473382011-05-17 H.J. Lu <hongjiu.lu@intel.com>
47339
47340 [BZ #12775]
47341 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
47342 * math/Makefile (tests): Add test-powl.
47343 (CFLAGS-test-powl.c): Define.
47344 * math/test-powl.c: New file.
47345
0a197a9d
L
473462011-05-16 H.J. Lu <hongjiu.lu@intel.com>
47347
47348 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
47349
ee30c380
UD
473502011-05-17 Ulrich Drepper <drepper@gmail.com>
47351
47352 [BZ #11837]
47353 * iconvdata/gb18030.c: Update to GB18020-2005.
47354
6ce75379
UD
473552011-05-16 Ulrich Drepper <drepper@gmail.com>
47356
a4b89fd8
AR
47357 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
47358 RE_SYNTAX_POSIX_AWK): Update to match recent development.
47359 Patch by Aharon Robbins <arnold@skeeve.com>.
47360
ea389b12
UD
47361 [BZ #11892]
47362 * stdlib/putenv.c (putenv): Don't always create copy of the variable
47363 on the stack.
47364
68a3f91f
UD
47365 [BZ #11895]
47366 * misc/pselect.c (__pselect): Handle timeout value errors hidden
47367 through underflows.
47368
15cc7dd1
UD
47369 [BZ #12766]
47370 * misc/error.c (error_at_line): Ensure file_name and old_file_name
47371 point to strings before performing equality test for error_one_per_line
47372 mode.
47373
f3799213
UD
47374 [BZ #11697]
47375 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
47376
d79a9c94
UD
47377 [BZ #11820]
47378 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
47379 (struct user_fpregs_struct): Avoid __uint*_t types.
47380
56e5eb46
UD
47381 [BZ #6420]
47382 * malloc/mtrace.c (tr_where): Add additional parameter to point to
47383 symbol info. Use it instead of calling _dl_addr locally.
47384 (lock_and_info): New function.
47385 (tr_freehook): Call lock_and_info and pass symbol info as additional
47386 parameter to tr_where.
47387 (tr_mallochook): Likewise.
47388 (tr_reallochook): Likewise.
47389 (tr_memalignhook): Likewise.
47390
6ce75379
UD
47391 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
47392 used and couldn't be at all thread-safe.
47393
f8a3b5bf
UD
473942011-05-15 Ulrich Drepper <drepper@gmail.com>
47395
94b7cc37
UD
47396 * libio/freopen.c (freopen): Don't close old file descriptor
47397 before the new one is opened. Instead dup the new file descriptor
47398 to the old one after the new stream is created.
47399 * libio/freopen64.c (freopen64): Likewise.
47400 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
47401 * libio/fileops.c (_IO_new_file_close_it): Handle new
47402 _IO_FLAGS2_NOCLOSE flag.
47403 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
47404 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
47405 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
47406 _IO_FLAGS2_NOCLOSE flag.
47407 * include/unistd.h: Add hidden_proto for dup3.
47408 Define __have_dup3.
47409 * io/dup3.c: Define hidden symbol.
47410 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
47411
bd25564e
UD
47412 [BZ #7101]
47413 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
47414 when an incomplete long option is used.
47415 * posix/tst-getopt_long1.c: New file.
47416 * posix/Makefile (tests): Add tst-getopt_long1.
47417
c84cfef4
UD
47418 [BZ #10138]
47419 * scripts/config.guess: Update from autoconf-2.68.
47420 * scripts/config.sub: Likewise.
47421
3b85df27
UD
47422 [BZ #10157]
47423 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
47424 tests into ...
47425 (has_cpuclock): ...this. New function.
47426 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
47427 macro here based on has_cpuclock code.
47428
15a856b1
UD
47429 [BZ #10149]
47430 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
47431 First byte (not low byte) is now always NUL.
47432 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
47433
05f399e6
UD
47434 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
47435 Use non-cancelable interfaces.
47436
10a52685 47437 [BZ #9809]
94ecc67d
UD
47438 * locale/iso-639.def: Add entry for Sorani.
47439
f8a3b5bf
UD
47440 [BZ #11901]
47441 * include/stdlib.h: Move include protection to the right place.
47442 Define abort_msg_s. Declare __abort_msg with it.
47443 * stdlib/abort.c (__abort_msg): Adjust type.
47444 * assert/assert.c (__assert_fail_base): New function. Majority
47445 of code from __assert_fail. Allocate memory for __abort_msg with
47446 mmap.
47447 (__assert_fail): Now call __assert_fail_base.
47448 * assert/assert-perr.c: Remove bulk of implementation. Use
47449 __assert_fail_base.
47450 * include/assert.hL Declare __assert_fail_base.
47451 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
47452 mmap.
47453 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
47454
1af4e298
UD
474552011-05-14 Ulrich Drepper <drepper@gmail.com>
47456
f8a3b5bf 47457 [BZ #11952]
d26dfc60
MG
47458 [BZ #12453]
47459 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
47460 until all modules are registered in the DTV.
47461 * elf/Makefile: Add rules to build and run tst-tls19.
47462 * elf/tst-tls19.c: New file.
47463 * elf/tst-tls19mod1.c: New file.
47464 * elf/tst-tls19mod2.c: New file.
47465 * elf/tst-tls19mod3.c: New file.
47466 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
47467
2fc54d6f
UD
47468 [BZ #12083]
47469 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
47470 correctly.
47471
98d76b46
UD
47472 [BZ #12601]
47473 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
47474 two-byte sequence errors.
47475 * iconvdata/Makefile (tests): Add bug-iconv8.
47476 * iconvdata/bug-iconv8.c: New file.
47477
da3c19ef
UD
47478 [BZ #12626]
47479 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
47480 buf2 definition.
47481
ca408c15
UD
47482 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
47483
d6f67f7d
UD
47484 [BZ #12432]
47485 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
47486 (dummy_getcfa): New function.
47487 (init): Get _Unwind_GetCFA address, use dummy if not found.
47488 (backtrace_helper): In recursion check, also check whether CFA changes.
47489 (__backtrace): Completely initialize arg.
47490
1af4e298 47491 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
47492 storing incomplete byte sequence in state object. Avoid testing for
47493 guaranteed too small input if we know there is enough data available.
1af4e298 47494
da62f81b
AS
474952011-05-11 Andreas Schwab <schwab@redhat.com>
47496
47497 * Makeconfig (+link-pie): Indent.
47498 * Rules (binaries-pie): Define if $(have-fpie) and
47499 $(build-shared).
47500 (binaries-shared): Also filter out $(binaries-pie).
47501 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
47502 * nscd/Makefile (others-pie): Add nscd.
47503 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
47504 ($(objpfx)nscd): Remove command override.
47505 * login/Makefile (others-pie): Add pt_chown.
47506 ($(objpfx)pt_chown): Remove command override.
47507 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
47508 remove command overrides.
47509
fcabc0f8
UD
475102011-05-13 Ulrich Drepper <drepper@gmail.com>
47511
20030ae6
UD
47512 * libio/tst_putwc.c: Fix error messages.
47513
fcabc0f8
UD
47514 [BZ #12724]
47515 * libio/fileops.c (_IO_new_file_close_it): Always flush when
47516 currently writing and seek to current position when not.
47517 * libio/Makefile (tests): Add bug-fclose1.
47518 * libio/bug-fclose1.c: New file.
47519
320a5dc0
PB
475202011-05-12 Ulrich Drepper <drepper@gmail.com>
47521
47522 [BZ #12511]
47523 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
47524 don't set DF_1_NODELETE here.
47525 (do_lookup_x): When entering new entry test for copy relocation
47526 and if necessary set DF_1_NODELETE flag.
47527 * elf/tst-unique4.cc: New file.
47528 * elf/tst-unique4.h: New file.
47529 * elf/tst-unique4lib.cc: New file.
47530 * elf/Makefile: Add rules to build and run tst-unique4.
47531 Patch by Piotr Bury <pbury@goahead.com>.
47532
22836f52
UD
475332011-05-11 Ulrich Drepper <drepper@gmail.com>
47534
f574184a
UD
47535 [BZ #12052]
47536 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
47537
e1fb097f
UD
47538 [BZ #12625]
47539 * misc/mntent_r.c (addmntent): Flush the stream after the output
47540
22836f52
UD
47541 [BZ #12393]
47542 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
47543 (is_trusted_path_normalize): Skip initial colon. Append slash
47544 to empty buffer. Duplicate is_trusted_path code but allow
47545 constructed patch to be prefix.
47546 (is_dst): Allow $ORIGIN followed by /.
47547 (_dl_dst_substitute): Correct clearing of check_for_trusted.
47548 Correct testing of result of is_trusted_path_normalize
47549 (decompose_rpath): Fix warning.
47550
7b3b0b2a
UD
475512011-05-10 Ulrich Drepper <drepper@gmail.com>
47552
47553 [BZ #11257]
47554 * grp/initgroups.c (internal_getgrouplist): When we found the service
47555 list through the initgroups entry in nsswitch.conf do not always
47556 continue on a successful lookup. Don't always use the
eac80ce2 47557 __nss_group_database value if it is set.
7b3b0b2a
UD
47558 * nss/nsswitch.conf (initgroups): Change action for successful db
47559 lookup to continue for compatibility.
47560
2a81eaa5
UD
475612011-05-09 Ulrich Drepper <drepper@gmail.com>
47562
be97a69e
UD
47563 [BZ #11532]
47564 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
47565 and CP774 modules.
47566 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
47567 and CP774 modules.
47568 * iconvdata/tst-tables.sh: Likewise.
47569 * iconvdata/cp770.c: New file.
47570 * iconvdata/cp771.c: New file.
47571 * iconvdata/cp772.c: New file.
47572 * iconvdata/cp773.c: New file.
47573 * iconvdata/cp774.c: New file.
47574 * iconvdata/testdata/CP770: New file.
47575 * iconvdata/testdata/CP770..UTF8: New file.
47576 * iconvdata/testdata/CP771: New file.
47577 * iconvdata/testdata/CP771..UTF8: New file.
47578 * iconvdata/testdata/CP772: New file.
47579 * iconvdata/testdata/CP772..UTF8: New file.
47580 * iconvdata/testdata/CP773: New file.
47581 * iconvdata/testdata/CP773..UTF8: New file.
47582 * iconvdata/testdata/CP774: New file.
47583 * iconvdata/testdata/CP774..UTF8: New file.
47584
47585 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
47586 END CHARMAP line.
47587 * iconvdata/gen-8bit-gap.sh: Likewise.
47588 * iconvdata/gen-8bit.sh: Likewise.
47589
c1e9e399
UD
47590 * locale/iso-639.def: Add ary entry.
47591
24c55fb3 47592 [BZ #11258]
96b4b1b0
UD
47593 * locale/C-translit.h.in: Add U20A1 transliteration.
47594
bdc2f971
KB
47595 [BZ #12178]
47596 * locale/iso-639.def: Add wae entry.
47597 Patch by Kevin Bortis <bortis@translate-wae.ch>.
47598
2952b117
UD
47599 [BZ #12545]
47600 * locale/programs/localedef.c (construct_output_path): Use ssize_t
47601 for n.
47602
2a81eaa5
UD
47603 [BZ #12711]
47604 * locale/C-translit.h.in: Add entry for U20B9.
47605 Patch by pravin.d.s@gmail.com.
47606
28377d1b
UD
476072011-05-08 Ulrich Drepper <drepper@gmail.com>
47608
7fb90fb8
UD
47609 [BZ #12713]
47610 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
47611 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
47612 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
47613 in rtld. Use *stat64.
7fb90fb8 47614 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 47615 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 47616 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
47617 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
47618 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
47619 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
47620 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
47621 __fstatat64 macros.
7fb90fb8
UD
47622 * include/dirent.h: Add libc_hidden_proto for rewinddir.
47623 * dirent/rewinddir.c: Add libc_hidden_def.
47624 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 47625 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 47626
28377d1b
UD
47627 * include/dirent.h (__alloc_dir): Add flags parameter.
47628 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
47629 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
47630 __alloc_dir.
47631 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
47632 from fdopendir if O_CLOEXEC is already set.
47633
66bdbaa4
AM
476342011-03-15 Alan Modra <amodra@gmail.com>
47635
47636 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
47637 l_tls_firstbyte_offset non-zero. Save padding offset in
47638 l_tls_firstbyte_offset for later use.
47639 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
47640 freeing static tls block.
47641
95721191
JN
476422011-03-05 Jonathan Nieder <jrnieder@gmail.com>
47643
47644 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
47645 where #ifdef was intended. The intent is to prevent ARG_MAX from
47646 being defined by the kernel headers.
47647
f87dfb1f
UD
476482011-05-07 Ulrich Drepper <drepper@gmail.com>
47649
47650 [BZ #12734]
47651 * resolv/resolv.h: Define RES_NOTLDQUERY.
47652 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
47653 no-tld-query and set RES_NOTLDQUERY.
47654 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
47655 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
47656 modern BIND to search name as TLD unless forbidden.
47657
47c3cd7a
UD
476582011-05-07 Petr Baudis <pasky@suse.cz>
47659 Ulrich Drepper <drepper@gmail.com>
47660
47661 [BZ #12393]
47662 * elf/dl-load.c (fillin_rpath): Move trusted path check...
47663 (is_trusted_path): ...to here.
c1e9ea35 47664 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 47665 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 47666 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 47667
8a35c912
PP
476682011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
47669
47670 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
47671 __BEGIN/__END_DECLS.
47672
acd41f47
UD
476732011-05-06 Ulrich Drepper <drepper@gmail.com>
47674
47675 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
47676 NSS_STATUS_NOTFOUND if no record was found.
47677
597df647
AS
476782011-05-05 Andreas Schwab <schwab@redhat.com>
47679
47680 * sunrpc/Makefile (headers): Add rpc/netdb.h.
47681 (headers-not-in-tirpc): Remove rpc/netdb.h
47682 * resolv/netdb.h: Revert last change.
47683
b9af1301
PP
476842011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
47685
47686 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
47687 circular dependency between libgcc.a and libc.a.
47688
4e34d5f5
AS
476892011-05-05 Andreas Schwab <schwab@redhat.com>
47690
47691 * resolv/netdb.h: Don't include <rpc/netdb.h>.
47692 * nis/Makefile: Don't install rpcsvc/*.
47693 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
47694 instead of <rpc/types.h>.
47695 (MAXHOSTNAMELEN): Define.
47696
00ee369c
AS
476972011-05-03 Andreas Schwab <schwab@redhat.com>
47698
47699 * elf/ldconfig.c (add_dir): Don't crash on empty path.
47700
0b592a30
MB
477012011-04-28 Maciej Babinski <mbabinski@google.com>
47702
47703 [BZ #12714]
47704 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
47705 gethostbyname4_r when IPv6 results are possible.
47706
6e04cbbe
UD
477072011-05-02 Ulrich Drepper <drepper@gmail.com>
47708
47709 [BZ #12723]
47710 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
47711 _PC_PIPE_BUF handling.
47712
e4ecafe0
BH
477132011-04-30 Bruno Haible <bruno@clisp.org>
47714
47715 [BZ #12717]
47716 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
47717 * resolv/netdb.h (getnameinfo): Change type of flags parameter
47718 to 'int'.
47719 * inet/getnameinfo.c (getnameinfo): Likewise.
47720
125ee683
UD
477212011-04-29 Ulrich Drepper <drepper@gmail.com>
47722
47723 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
47724 to groups setting in database lookup.
47725 * nss/nsswitch.conf: Add initgroups entry.
47726
b722481a
EB
477272011-04-22 Ulrich Drepper <drepper@gmail.com>
47728
47729 [BZ #12685]
47730 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
47731 mode string.
47732 Patch by Eric Blake <eblake@redhat.com>.
47733
4df46dbd
L
477342011-04-20 H.J. Lu <hongjiu.lu@intel.com>
47735
47736 * sunrpc/Makefile (need-export-routines): Add svc_run.
47737 (routines): Remove svc_run.
47738 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
47739 * sunrpc/clnt_perr.c (clnt_perrno): Export.
47740 * sunrpc/svc_run.c (svc_run): Likewise.
47741 * sunrpc/svc_udp.c (svcudp_create): Likewise.
47742
e84142d2
UD
477432011-04-21 Ulrich Drepper <drepper@gmail.com>
47744
47745 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
47746 problem in reallocation in last patch.
47747
877175d8
UD
477482011-04-20 Ulrich Drepper <drepper@gmail.com>
47749
47750 * sunrpc/Makefile: Move inclusion of Rules.
47751
ab8eed78
UD
477522011-04-19 Ulrich Drepper <drepper@gmail.com>
47753
47754 * nss/nss_files/files-initgroups.c: New file.
47755 * nss/Makefile (libnss_files-routines): Add files-initgroups.
47756 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
47757 _nss_files_initgroups_dyn.
47758
e3d8f584
RS
477592011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
47760
47761 * elf/elf.h (R_ARM_IRELATIVE): Define.
47762
af190f45
UD
477632011-04-19 Ulrich Drepper <drepper@gmail.com>
47764
47765 * po/ru.po: Update from translation team.
47766
53cf59ef
UD
477672011-04-17 Ulrich Drepper <drepper@gmail.com>
47768
47769 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
47770 dependencies.
47771
4c559bcd
MF
477722011-02-06 Mike Frysinger <vapier@gentoo.org>
47773
47774 [BZ #12653]
47775 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
47776 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
47777 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
47778 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
47779 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
47780
4420675c
AS
477812011-03-28 Andreas Schwab <schwab@linux-m68k.org>
47782
47783 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
47784 differing bytes.
47785 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
47786 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
47787 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
47788
75ea32ab
UD
477892011-04-17 Ulrich Drepper <drepper@gmail.com>
47790
47791 [BZ #12420]
47792 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
47793 storing it.
47794 * stdlib/bug-getcontext.c: New file.
47795 * stdlib/Makefile: Add rules to build and run bug-getcontext.
47796
27390476
AK
477972011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
47798
47799 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
47800 instructions into .machine "z9-109".
47801 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
47802 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
47803
10442705
AK
478042011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
47805
47806 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
47807 between environment variables and auxiliary vector.
47808
7b57bfe5
UD
478092011-04-16 Ulrich Drepper <drepper@gmail.com>
47810
47811 * Makefile: Add rules to build linkobj/libc.so.
47812 * include/libc-symbols.h: Define libc_hidden_nolink.
47813 * include/rpc/auth.h: Mark functions which are to be hidden.
47814 * include/rpc/auth_des.h: Likewise.
47815 * include/rpc/auth_unix.h: Likewise.
47816 * include/rpc/clnt.h: Likewise.
47817 * include/rpc/des_crypt.h: Likewise.
47818 * include/rpc/key_prot.h: Likewise.
47819 * include/rpc/pmap_clnt.h: Likewise.
47820 * include/rpc/pmap_prot.h: Likewise.
47821 * include/rpc/pmap_rmt.h: Likewise.
47822 * include/rpc/rpc_msg.h: Likewise.
47823 * include/rpc/svc.h: Likewise.
47824 * include/rpc/svc_auth.h: Likewise.
47825 * include/rpc/xdr.h: Likewise.
47826 * nis/Makefile: Link all DSOs against linkobj/libc.so.
47827 * nss/Makefile: Likewise.
47828 * sunrpc/Makefile: Don't install headers. Build library with normal
47829 entry points. Don't build rpcinfo. Link RPC tests appropriately.
47830 * sunrpc/auth_des.c: Hide exported symbols by default, export some
47831 for the compat linking library. Remove use of INTDEF/INTUSE.
47832 * sunrpc/auth_none.c: Likewise.
47833 * sunrpc/auth_unix.c: Likewise.
47834 * sunrpc/authdes_prot.c: Likewise.
47835 * sunrpc/authuxprot.c: Likewise.
47836 * sunrpc/clnt_gen.c: Likewise.
47837 * sunrpc/clnt_perr.c: Likewise.
47838 * sunrpc/clnt_raw.c: Likewise.
47839 * sunrpc/clnt_simp.c: Likewise.
47840 * sunrpc/clnt_tcp.c: Likewise.
47841 * sunrpc/clnt_udp.c: Likewise.
47842 * sunrpc/clnt_unix.c: Likewise.
47843 * sunrpc/des_crypt.c: Likewise.
47844 * sunrpc/des_soft.c: Likewise.
47845 * sunrpc/get_myaddr.c: Likewise.
47846 * sunrpc/key_call.c: Likewise.
47847 * sunrpc/key_prot.c: Likewise.
47848 * sunrpc/netname.c: Likewise.
47849 * sunrpc/pm_getmaps.c: Likewise.
47850 * sunrpc/pm_getport.c: Likewise.
47851 * sunrpc/pmap_clnt.c: Likewise.
47852 * sunrpc/pmap_prot.c: Likewise.
47853 * sunrpc/pmap_prot2.c: Likewise.
47854 * sunrpc/pmap_rmt.c: Likewise.
47855 * sunrpc/publickey.c: Likewise.
47856 * sunrpc/rpc_cmsg.c: Likewise.
47857 * sunrpc/rpc_common.c: Likewise.
47858 * sunrpc/rpc_dtable.c: Likewise.
47859 * sunrpc/rpc_prot.c: Likewise.
47860 * sunrpc/rpc_thread.c: Likewise.
47861 * sunrpc/rtime.c: Likewise.
47862 * sunrpc/svc.c: Likewise.
47863 * sunrpc/svc_auth.c: Likewise.
47864 * sunrpc/svc_authux.c: Likewise.
47865 * sunrpc/svc_raw.c: Likewise.
47866 * sunrpc/svc_run.c: Likewise.
47867 * sunrpc/svc_simple.c: Likewise.
47868 * sunrpc/svc_tcp.c: Likewise.
47869 * sunrpc/svc_udp.c: Likewise.
47870 * sunrpc/svc_unix.c: Likewise.
47871 * sunrpc/svcauth_des.c: Likewise.
47872 * sunrpc/xcrypt.c: Likewise.
47873 * sunrpc/xdr.c: Likewise.
47874 * sunrpc/xdr_array.c: Likewise.
47875 * sunrpc/xdr_float.c: Likewise.
47876 * sunrpc/xdr_intXX_t.c: Likewise.
47877 * sunrpc/xdr_mem.c: Likewise.
47878 * sunrpc/xdr_rec.c: Likewise.
47879 * sunrpc/xdr_ref.c: Likewise.
47880 * sunrpc/xdr_sizeof.c: Likewise.
47881 * sunrpc/xdr_stdio.c: Likewise.
47882
e6c61494
UD
478832011-04-10 Ulrich Drepper <drepper@gmail.com>
47884
47885 [BZ #12650]
47886 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
47887 * sysdeps/ia64/dl-tls.h: Likewise.
47888 * sysdeps/powerpc/dl-tls.h: Likewise.
47889 * sysdeps/s390/dl-tls.h: Likewise.
47890 * sysdeps/sh/dl-tls.h: Likewise.
47891 * sysdeps/sparc/dl-tls.h: Likewise.
47892 * sysdeps/x86_64/dl-tls.h: Likewise.
47893 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
47894
34fe483e
AS
478952011-03-14 Andreas Schwab <schwab@redhat.com>
47896
47897 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
47898 rpath element also skip the following colon.
47899 (expand_dynamic_string_token): Add is_path parameter and pass
47900 down to DL_DST_REQUIRED and _dl_dst_substitute.
47901 (decompose_rpath): Call expand_dynamic_string_token with
47902 non-zero is_path. Ignore empty rpaths.
47903 (_dl_map_object_from_fd): Call expand_dynamic_string_token
47904 with zero is_path.
47905
f12a32e6
AS
479062011-04-08 Andreas Schwab <schwab@linux-m68k.org>
47907
47908 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
47909 Make cancelable.
47910
38a7d692
UD
479112011-04-09 Ulrich Drepper <drepper@gmail.com>
47912
47913 [BZ #12655]
47914 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
47915 Patch by Filipe David Manana <fdmanana@apache.org>.
47916
e451d22b
AS
479172011-04-07 Andreas Schwab <schwab@redhat.com>
47918
47919 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
47920 Maintain aligned stack.
47921 (CHECK_RSP): Remove unused macro.
47922
dedc7c7b
UD
479232011-04-03 Ulrich Drepper <drepper@gmail.com>
47924
47925 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
47926 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
47927
94521213
UD
479282011-04-02 Ulrich Drepper <drepper@gmail.com>
47929
47930 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
47931
8cb700c0 47932 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 47933
0354e355
L
479342011-03-26 H.J. Lu <hongjiu.lu@intel.com>
47935
47936 [BZ #12518]
47937 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
47938 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
47939 * sysdeps/x86_64/memmove.c: New file.
47940 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
47941 (memcpy): Renamed to ...
47942 (__new_memcpy): This.
47943 (memcpy): Provide GLIBC_2_14 memcpy.
47944 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
47945 (memcpy): Provide GLIBC_2_2_5 memcpy.
47946
8593482f
UD
479472011-04-01 Ulrich Drepper <drepper@gmail.com>
47948
47949 [BZ #12631]
47950 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
47951
81a5726b
AS
479522011-03-30 Andreas Schwab <schwab@redhat.com>
47953
47954 * misc/syncfs.c: New file.
47955 * misc/Makefile (routines): Add syncfs.
47956 * posix/unistd.h: Declare syncfs.
47957 * sysdeps/unix/syscalls.list: Add syncfs.
47958
00e5419f
AS
479592011-04-01 Andreas Schwab <schwab@redhat.com>
47960
47961 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
47962 open_by_handle_at.
47963 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
47964 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
47965 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
47966 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
47967 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
47968 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
47969 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
47970
748876bf
UD
479712011-04-01 Ulrich Drepper <drepper@gmail.com>
47972
658e451d
UD
47973 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
47974 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
47975 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
47976 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
47977 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
47978 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
47979 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
47980
748876bf
UD
47981 * io/Makefile: Compile fallocate.c, fallocate64.c, and
47982 sync_file_range.c with -fexceptions.
47983 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
47984 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
47985 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
47986 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
47987 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
47988 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
47989 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
47990 sync_file_range as cancellation point
47991 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
47992 now a wrapper around __call_sync_file_range with cancellation handling.
47993 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
47994 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
47995 function name to __call_sync_file_range.
47996 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
47997 Add call_sync_file_range.
748876bf 47998
6e63d5e1
AS
479992011-04-01 Andreas Schwab <schwab@redhat.com>
48000
48001 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 48002 bits/timex.h.
6e63d5e1 48003
46998f74
UD
480042011-04-01 Ulrich Drepper <drepper@gmail.com>
48005
4c1423ed
UD
48006 * iconv/iconv.h: Fix typo in comment.
48007 * io/fcntl.h: Likewise.
48008 * libio/stdio.h: Likewise.
48009 * posix/spawn.h: Likewise.
48010 * posix/unistd.h: Likewise.
48011 * stdlib/stdlib.h: Likewise.
48012 * time/time.h: Likewise.
48013 * wcsmbs/wchar.h: Likewise.
48014
158648c0
UD
48015 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
48016 open_by_handle): Add.
48017 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
48018 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
48019 Augment a few comments.
48020 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
48021 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
48022 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
48023 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
48024 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
48025 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
48026 open_by_handle.
48027
46998f74
UD
48028 * io/fcntl.h (AT_EMPTY_PATH): Define.
48029
83fe108b
UD
480302011-03-30 Ulrich Drepper <drepper@gmail.com>
48031
48032 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
48033 * sysdeps/unix/sysv/linux/bits/time.h: New file.
48034 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
48035 to...
48036 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
48037 * Versions.def: Add GLIBC_2.14.
48038 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
48039 Export.
83fe108b 48040
bb242059
UD
480412011-03-22 Ulrich Drepper <drepper@gmail.com>
48042
48043 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
48044 round counter.
48045 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
48046
c97a1282
L
480472011-03-20 H.J. Lu <hongjiu.lu@intel.com>
48048
48049 [BZ #12597]
48050 * string/test-strncmp.c (do_page_test): New function.
48051 (check2): Likewise.
48052 (test_main): Call check2.
48053 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
48054
2a115601
UD
480552011-03-20 Ulrich Drepper <drepper@gmail.com>
48056
48057 [BZ #12587]
48058 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
48059 Handle cache information in CPU leaf 4.
48060 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
48061
8126d904
UD
480622011-03-18 Ulrich Drepper <drepper@gmail.com>
48063
042c49c6 48064 [BZ #12583]
8126d904
UD
48065 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
48066 character representation.
48067 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
48068
ccfe366e
RA
480692011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
48070
48071 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
48072 END(__isnan) to END(__isnanf) to match function entry point/label
48073 EALIGN(__isnanf,...).
48074
c6e13027
JJ
480752011-03-10 Jakub Jelinek <jakub@redhat.com>
48076
48077 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
48078
33f85a3f
UD
480792011-03-10 Ulrich Drepper <drepper@gmail.com>
48080
028478fa
UD
48081 [BZ #12510]
48082 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
48083 copy from the symbol referenced in the relocation to initialize the
48084 used variable.
48085 Patch by Piotr Bury <pbury@goahead.com>.
48086 * elf/Makefile: Add rules to build and tst-unique3.
48087 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
48088 * elf/tst-unique3.cc: New file.
48089 * elf/tst-unique3.h: New file.
48090 * elf/tst-unique3lib.cc: New file.
48091 * elf/tst-unique3lib2.cc: New file.
48092
33f85a3f
UD
48093 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
48094
03592fc7
MF
480952011-03-10 Mike Frysinger <vapier@gentoo.org>
48096
48097 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
48098 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
48099 to _start.
03592fc7 48100
6a5ee102
UD
481012011-03-06 Ulrich Drepper <drepper@gmail.com>
48102
48103 * elf/dl-load.c (_dl_map_object): If we are looking for the first
48104 to-be-loaded object along a path to loader is ld.so.
48105
7e4ba49c
HJ
481062011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
48107 Ulrich Drepper <drepper@gmail.com>
48108
48109 * sysdeps/x86_64/memset.S: After aligning destination, code
48110 branches to different locations depending on the value of
48111 misalignment, when multiarch is enabled. Fix this.
48112
481132011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
48114
48115 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
48116 Set _x86_64_preferred_memory_instruction for AMD processsors.
48117 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
48118 Set bit_Prefer_SSE_for_memop for AMD processors.
48119
13a804de
UD
481202011-03-04 Ulrich Drepper <drepper@gmail.com>
48121
48122 * libio/fmemopen.c (fmemopen): Optimize a bit.
48123
9d25c392
AS
481242011-03-03 Andreas Schwab <schwab@redhat.com>
48125
48126 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
48127
a5543c6a
RM
481282011-03-03 Roland McGrath <roland@redhat.com>
48129
48130 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
48131
012d35f7
DM
481322011-02-28 Aurelien Jarno <aurelien@aurel32.net>
48133
7e4ba49c 48134 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
48135 __bzero_ultra1 instead of __memset_ultra1.
48136
4bff6e01
AS
481372011-02-23 Andreas Schwab <schwab@redhat.com>
48138 Ulrich Drepper <drepper@gmail.com>
48139
48140 [BZ #12509]
48141 * include/link.h (struct link_map): Add l_orig_initfini.
48142 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
48143 returning unsuccessfully.
48144 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
48145 close of a file loaded at startup, restore the original l_initfini
48146 list.
48147 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
48148 list, store the pointer.
48149 * elf/Makefile ($(objpfx)noload-mem): New rule.
48150 (noload-ENV): Define.
48151 (tests): Add $(objpfx)noload-mem.
48152 * elf/noload.c: Include <memcheck.h>.
48153 (main): Call mtrace. Close all opened handles.
48154
f2092faf
AS
481552011-02-17 Andreas Schwab <schwab@redhat.com>
48156
48157 [BZ #12454]
48158 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
48159 dependencies are missing.
48160
6c8a2e88
ST
481612011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
48162
f2092faf 48163 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
48164 Hurd needs munmap.
48165 * sysdeps/mach/hurd/ifreq.h: New file.
48166
84a42118
PB
481672011-01-27 Petr Baudis <pasky@suse.cz>
48168 Ulrich Drepper <drepper@gmail.com>
48169
071f805e 48170 [BZ 12445]#
84a42118
PB
48171 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
48172 to extend_alloca().
48173 * stdio-common/bug23.c: New file.
48174 * stdio-common/Makefile (tests): Add bug23.
48175
e23fe25b
AS
481762010-09-28 Andreas Schwab <schwab@redhat.com>
48177 Ulrich Drepper <drepper@gmail.com>
48178
48179 [BZ #12489]
48180 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
48181 before performing relro protection. At old place add assertion
48182 to make sure nothing changed.
48183
d3f02e10
NS
481842011-02-17 Nathan Sidwell <nathan@codesourcery.com>
48185 Glauber de Oliveira Costa <glommer@gmail.com>
48186
48187 * elf/elf.h: Add new ARM TLS relocs.
48188
d55fd7a5
RA
481892011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
48190
48191 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
48192 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
48193 cast from r3.
48194 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
48195 'tests' variable.
48196 * sysdeps/wordsize-64/tst-writev.c: New file.
48197
2206397e
RA
481982011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
48199
48200 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
48201 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
48202 insns in _dl_start to prevent a TOC reference before relocs are
48203 resolved.
48204
e9433893
UD
482052011-02-15 Ulrich Drepper <drepper@gmail.com>
48206
48207 [BZ #12469]
48208 * Makeconfig: Remove RANLIB definition.
48209 * Makerules: Don't use RANLIB.
48210 * aclocal.m4: Remove ranlib test.
48211 * configure.in: No need to check for ranlib.
48212 * elf/rtld-Rules: Don't use RANLIB.
48213
f75286c6
ST
482142011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
48215
8e31c82d
ST
48216 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
48217 protection macro.
48218 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
48219 inclusion protection macro.
48220
f75286c6
ST
48221 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
48222 SIGRTMIN and SIGRTMAX and print information in that case only when
48223 SIGRTMIN is defined.
48224
c1d0e639
JJ
482252011-02-11 Jakub Jelinek <jakub@redhat.com>
48226
48227 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
48228 arginfo fn returning -1.
48229
48230 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
48231 and thousands string is zero terminated.
48232
edf9294e
AS
482332011-02-03 Andreas Schwab <schwab@redhat.com>
48234
48235 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
48236 sysdeps/unix/sysv/linux/bits/socket.h.
48237
2b7e92df
ST
482382011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
48239
edf9294e
AS
48240 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
48241 (__CPU_COUNT): Remove old macros.
48242 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
48243 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
48244 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
48245 (__sched_cpualloc, __sched_cpufree): Add declarations.
48246
a4c7ea7b
UD
482472011-02-05 Ulrich Drepper <drepper@gmail.com>
48248
48249 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
48250 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
48251 * nscd/aicache.c (addhstaiX): Return timeout of added value.
48252 (readdhstai): Return value of addhstaiX call.
48253 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
48254 (addgrbyX): Return value returned by cache_addgr.
48255 (readdgrbyname): Return value returned by addgrbyX.
48256 (readdgrbygid): Likewise.
48257 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
48258 (addpwbyX): Return value returned by cache_addpw.
48259 (readdpwbyname): Return value returned by addhstbyX.
48260 (readdpwbyuid): Likewise.
48261 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
48262 (addservbyX): Return value returned by cache_addserv.
48263 (readdservbyname): Return value returned by addservbyX:
48264 (readdservbyport): Likewise.
48265 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
48266 (addhstbyX): Return value returned by cache_addhst.
48267 (readdhstbyname): Return value returned by addhstbyX.
48268 (readdhstbyaddr): Likewise.
48269 (readdhstbynamev6): Likewise.
48270 (readdhstbyaddrv6): Likewise.
48271 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
48272 (readdinitgroups): Return value returned by addinitgroupsX.
48273 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
48274 (prune_cache): Keep track of timeout value of re-added entries.
48275 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
48276 * nscd/nscd.h: Adjust prototypes of readd* functions.
48277
a0bf67cc
RM
482782011-02-04 Roland McGrath <roland@redhat.com>
48279
48280 * nis/nis_server.c (nis_servstate): Use the right name for 0.
48281 (nis_stats): Likewise.
48282 * nis/nis_modify.c (nis_modify): Likewise.
48283 * nis/nis_remove.c (nis_remove): Likewise.
48284 * nis/nis_add.c (nis_add): Likewise.
48285
48286 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
48287
48288 * posix/fnmatch_loop.c: Add some consts.
48289
48290 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
48291
435b95eb
L
482922011-02-02 H.J. Lu <hongjiu.lu@intel.com>
48293
48294 [BZ #12460]
48295 * config.make.in (config-cflags-novzeroupper): Define.
48296 * configure.in: Substitute libc_cv_cc_novzeroupper.
48297 * elf/Makefile (AVX-CFLAGS): Define.
48298 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
48299 (CFLAGS-tst-auditmod4a.c): Likewise.
48300 (CFLAGS-tst-auditmod4b.c): Likewise.
48301 (CFLAGS-tst-auditmod6b.c): Likewise.
48302 (CFLAGS-tst-auditmod6c.c): Likewise.
48303 (CFLAGS-tst-auditmod7b.c): Likewise.
48304 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
48305
8517b15e
UD
483062011-02-02 Ulrich Drepper <drepper@gmail.com>
48307
48308 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
48309 function to the callback.
48310 Patch partly by Jiri Olsa <jolsa@redhat.com>.
48311
10a656fe
AS
483122011-02-02 Andreas Schwab <schwab@redhat.com>
48313
48314 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
48315 of errno.
48316
968dad0a
UD
483172011-01-19 Ulrich Drepper <drepper@gmail.com>
48318
9f94d2ea 48319 [BZ #11724]
968dad0a
UD
48320 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
48321 of constructors.
48322 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
48323 of destructors.
48324 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
48325
48326 [BZ #11724]
48327 * elf/Makefile: Add rules to build and run new test.
48328 * elf/tst-initorder.c: New file.
48329 * elf/tst-initorder.exp: New file.
48330 * elf/tst-initordera1.c: New file.
48331 * elf/tst-initordera2.c: New file.
48332 * elf/tst-initordera3.c: New file.
48333 * elf/tst-initordera4.c: New file.
48334 * elf/tst-initorderb1.c: New file.
48335 * elf/tst-initorderb2.c: New file.
48336 * elf/tst-order-a1.c: New file.
48337 * elf/tst-order-a2.c: New file.
48338 * elf/tst-order-a3.c: New file.
48339 * elf/tst-order-a4.c: New file.
48340 * elf/tst-order-b1.c: New file.
48341 * elf/tst-order-b2.c: New file.
48342 * elf/tst-order-main.c: New file.
48343 New test case by George Gensure <werkt0@gmail.com>.
48344
86e92359
UD
483452010-10-01 Andreas Schwab <schwab@redhat.com>
48346
48347 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
48348 decoding ACE if AI_CANONIDN.
48349
5d5732b0
UD
483502011-01-18 Ulrich Drepper <drepper@gmail.com>
48351
48352 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
48353
a77e8cbc
UD
483542011-01-17 Ulrich Drepper <drepper@gmail.com>
48355
6392473f
UD
48356 * version.h (RELEASE): Bump for 2.13 release.
48357 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
48358
620a0529
UD
48359 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
48360
18ba70a5
UD
48361 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
48362 MADV_NOHUGEPAGE.
32465c3e
UD
48363 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
48364 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
48365 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
48366 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
48367 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
48368 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
48369
c0dafcf1
UD
48370 * posix/getconf.c: Update copyright year.
48371 * catgets/gencat.c: Likewise.
48372 * csu/version.c: Likewise.
48373 * debug/catchsegv.sh: Likewise.
48374 * debug/xtrace.sh: Likewise.
48375 * elf/ldconfig.c: Likewise.
48376 * elf/ldd.bash.in: Likewise.
48377 * elf/sprof.c (print_version): Likewise.
48378 * iconv/iconv_prog.c: Likewise.
48379 * iconv/iconvconfig.c: Likewise.
48380 * locale/programs/locale.c: Likewise.
48381 * locale/programs/localedef.c: Likewise.
48382 * malloc/memusage.sh: Likewise.
48383 * malloc/mtrace.pl: Likewise.
48384 * nscd/nscd.c (print_version): Likewise.
48385 * nss/getent.c: Likewise.
48386
a77e8cbc
UD
48387 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
48388 PF_CAIF, and PF_ALG.
48389 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
48390
77e8bddf
AS
483912011-01-16 Andreas Schwab <schwab@linux-m68k.org>
48392
1f20b93a
AS
48393 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
48394 (modules-names): Use them.
48395 (ifunc-test-modules, ifunc-pie-tests): Define.
48396 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
48397 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
48398 (test-extras): Likewise.
48399 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
48400 $(compile-command.c).
48401 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
48402 (all-built-dso): Define.
48403 (check-textrel.out, check-execstack.out): Depend on it.
48404
77e8bddf
AS
48405 * configure.in: Don't override --enable-multi-arch.
48406
bc425b33
UD
484072011-01-15 Ulrich Drepper <drepper@gmail.com>
48408
48409 [BZ #6812]
48410 * nscd/hstcache.c (tryagain): Define.
48411 (cache_addhst): Return tryagain not notfound for temporary errors.
48412 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
48413 failed.
48414
794c3ad3
UD
484152011-01-14 Ulrich Drepper <drepper@gmail.com>
48416
70181fdd
UD
48417 [BZ #10563]
48418 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
48419 to make the syscall.
48420 * sysdeps/unix/sysv/linux/setgroups.c: New file.
48421
794c3ad3
UD
48422 [BZ #12378]
48423 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
48424 and fall back to matching as normal character if the string ends before
48425 the matching ']' is found. This is what POSIX requires.
48426 * posix/testfnm.c: Adjust test result.
48427 * posix/globtest.sh: Adjust test result. Add new test.
48428 * posix/tst-fnmatch.input: Likewise.
48429 * posix/tst-fnmatch2.c: Add new test.
48430
68dc9497
AS
484312010-12-28 Andreas Schwab <schwab@linux-m68k.org>
48432
48433 * elf/Makefile (check-execstack): Revert last change. Depend on
48434 check-execstack.h.
48435 (check-execstack.h): New target.
48436 (generated): Add check-execstack.h.
48437 * elf/check-execstack.c: Include "check-execstack.h".
48438 (main): Revert last change.
48439 (handle_file): Return zero if GNU_STACK is absent and
48440 DEFAULT_STACK_PERMS doesn't include PF_X.
48441
451f001b
UD
484422011-01-13 Ulrich Drepper <drepper@gmail.com>
48443
cfa28e56
UD
48444 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
48445 in child fails because the descriptor is already closed.
8cf8ce17
UD
48446 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
48447 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
48448 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 48449
1086d70d
UD
48450 [BZ #12397]
48451 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
48452 syscall.
48453
451f001b
UD
48454 [BZ #10484]
48455 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
48456 temporary buffer used to handle multi lookups locally.
a85b5cb4 48457 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 48458
08769175
UD
484592011-01-12 Ulrich Drepper <drepper@gmail.com>
48460
48461 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
48462 loader is ld.so.
48463
5e49c52e
UD
484642011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
48465
48466 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
48467 alignment for SSE2.
48468
60522a5f
UD
484692011-01-12 Ulrich Drepper <drepper@gmail.com>
48470
48471 [BZ #12394]
48472 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
48473 characters. When rounding increased number of integer digits recompute
48474 number of groups.
48475 * stdio-common/tst-grouping.c: New file.
48476 * stdio-common/Makefile: Add rules to build and run tst-grouping.
48477
f257bbd7
UD
484782011-01-09 Ulrich Drepper <drepper@gmail.com>
48479
48480 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
48481 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
48482
48483 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
48484 void.
48485 * bits/select.h: Likewise.
48486
fa9c15cb
UD
484872011-01-08 Ulrich Drepper <drepper@gmail.com>
48488
48489 * po/ja.po: Update from translation team.
48490
16c2895f
DM
484912011-01-04 David S. Miller <davem@sunset.davemloft.net>
48492
48493 [BZ #11155]
48494 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
48495 implementation just like for lxstat, fxstatat, et al.
48496
2543fef2
JM
484972010-12-27 Jim Meyering <meyering@redhat.com>
48498
48499 [BZ #12348]
48500 * posix/regexec.c (build_trtable): Return failure indication upon
48501 calloc failure. Otherwise, re_search_internal could infloop on OOM.
48502
98727dbe
UD
485032010-12-25 Ulrich Drepper <drepper@gmail.com>
48504
5bd6dc5c
UD
48505 [BZ #12201]
48506 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
48507 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
48508 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
48509 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
48510
97983464
UD
48511 [BZ #12207]
48512 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
48513
98727dbe
UD
48514 [BZ #12204]
48515 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
48516 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
48517
4a531bb0
L
485182010-12-15 H.J. Lu <hongjiu.lu@intel.com>
48519
48520 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
48521 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
48522 script has SORT_BY_INIT_PRIORITY.
48523 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
48524 NO_CTORS_DTORS_SECTIONS is defined.
48525 * elf/soinit.c: Likewise.
48526 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
48527 NO_CTORS_DTORS_SECTIONS is defined.
48528 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
48529 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
48530 * sysdeps/sh/init-first.c: Likewise.
48531 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
48532
07eb4b71
UD
485332010-12-24 Ulrich Drepper <drepper@gmail.com>
48534
48535 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
48536 always use the slow path.
48537
30950a5f
RA
485382010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
48539
48540 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
48541 similar rule which adds the sysdep directories to the header search in
48542 order to pick up the correct platform stackinfo.h.
48543 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
48544 perform test if it is, otherwise return successfully without testing.
48545 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
48546 DEFAULT_STACK_PERMS define in stackinfo.h.
48547 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
48548 defined in stackinfo.h.
48549 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
48550 DEFAULT_STACK_PERMS defined in stackinfo.h.
48551 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
48552 * sysdeps/ia64/stackinfo.h: Likewise.
48553 * sysdeps/s390/stackinfo.h: Likewise.
48554 * sysdeps/sh/stackinfo.h: Likewise.
48555 * sysdeps/sparc/stackinfo.h: Likewise.
48556 * sysdeps/x86_64/stackinfo.h: Likewise.
48557 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
48558 PF_X for powerpc64. Retain PF_X for powerpc32.
48559
db753e2c
UD
485602010-12-19 Ulrich Drepper <drepper@gmail.com>
48561
14b697f7
UD
48562 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
48563 accurately.
db753e2c
UD
48564 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
48565 GETDENTS_64BIT_ALIGNED.
48566
28300719
UD
485672010-12-14 Ulrich Drepper <dreper@gmail.com>
48568
14b697f7 48569 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 48570
4f197237
AS
485712010-12-10 Andreas Schwab <schwab@redhat.com>
48572
dbb0472f
AS
48573 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
48574 _GNU_SOURCE.
48575
4f197237
AS
48576 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
48577 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
48578 Remove __restrict.
48579 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
48580 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
48581
fb88ac72
UD
485822010-12-09 Ulrich Drepper <drepper@gmail.com>
48583
48584 [BZ #11655]
48585 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
48586 are initialized.
48587
42acbb92
JJ
485882010-12-09 Jakub Jelinek <jakub@redhat.com>
48589
48590 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
48591
c038d98d
UD
485922010-12-03 Ulrich Drepper <drepper@gmail.com>
48593
48594 * po/it.po: Update from translation team.
48595
3a4a2499
L
485962010-12-01 H.J. Lu <hongjiu.lu@intel.com>
48597
48598 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
48599 unused codes.
48600
1e24cf6e
UD
486012010-11-30 Ulrich Drepper <drepper@gmail.com>
48602
48603 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
48604
a7690819
AS
486052010-11-24 Andreas Schwab <schwab@redhat.com>
48606
48607 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
48608 specially.
48609 (gaih_getanswer_slice): Likewise.
48610
3bf8d1b1
JJ
486112010-10-20 Jakub Jelinek <jakub@redhat.com>
48612
48613 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
48614
6db52fbb
PB
486152010-05-31 Petr Baudis <pasky@suse.cz>
48616
48617 [BZ #11149]
48618 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
48619 silently even in the chroot mode.
48620
eaca7569
UD
486212010-11-22 Ulrich Drepper <drepper@gmail.com>
48622
48623 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
48624 last patch a bit. Pretty printing
48625
3056dcdb
UD
486262010-05-31 Petr Baudis <pasky@suse.cz>
48627
48628 [BZ #10085]
48629 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
48630 initialization of skip_initgroups_dyn.
48631
cf7c9078
UD
486322010-11-19 Ulrich Drepper <drepper@gmail.com>
48633
48634 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
48635 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
48636
a1fb5e3e
UD
486372010-11-16 Ulrich Drepper <drepper@gmail.com>
48638
48639 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
48640
3540d66b
AS
486412010-11-11 Andreas Schwab <schwab@redhat.com>
48642
48643 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
48644 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
48645 (tst-fnmatch-ENV): Set MALLOC_TRACE.
48646 ($(objpfx)tst-fnmatch-mem): New rule.
48647 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
48648 * posix/tst-fnmatch.c (main): Call mtrace.
48649
13b69574
L
486502010-11-11 H.J. Lu <hongjiu.lu@intel.com>
48651
48652 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
48653 Support Intel processor model 6 and model 0x2c.
48654
da93d214
LM
486552010-11-10 Luis Machado <luisgpm@br.ibm.com>
48656
48657 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
48658 signed comparison.
48659
8ca52c6e
L
486602010-11-09 H.J. Lu <hongjiu.lu@intel.com>
48661
48662 [BZ #12205]
48663 * string/test-strncasecmp.c (check_result): New function.
48664 (do_one_test): Use it.
48665 (check1): New function.
48666 (test_main): Use it.
48667 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
48668 Support strcasecmp and strncasecmp.
48669
69da074d
UD
486702010-11-08 Ulrich Drepper <drepper@gmail.com>
48671
48672 [BZ #12194]
48673 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
48674 * sysdeps/x86_64/bits/byteswap.h: Likewise.
48675
ff02d528
L
486762010-11-07 H.J. Lu <hongjiu.lu@intel.com>
48677
48678 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
48679 IFUNC support.
48680 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
48681 memset-x86-64.
48682 * sysdeps/x86_64/multiarch/bzero.S: New file.
48683 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
48684 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
48685 * sysdeps/x86_64/multiarch/memset.S: New file.
48686 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
48687 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
48688 Set bit_Prefer_SSE_for_memop for Intel processors.
48689 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
48690 Define.
48691 (index_Prefer_SSE_for_memop): Define.
48692 (HAS_PREFER_SSE_FOR_MEMOP): Define.
48693
344d0b54
LM
486942010-11-04 Luis Machado <luisgpm@br.ibm.com>
48695
48696 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
48697 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
48698
c0dde15b
UD
486992010-11-03 H.J. Lu <hongjiu.lu@intel.com>
48700
48701 [BZ #12191]
48702 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
48703 (__x86_64_raw_data_cache_size_half): Likewise.
48704 (__x86_64_raw_shared_cache_size): Likewise.
48705 (__x86_64_raw_shared_cache_size_half): Likewise.
48706
48707 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
48708 (__x86_64_raw_data_cache_size_half): Likewise.
48709 (__x86_64_raw_shared_cache_size): Likewise.
48710 (__x86_64_raw_shared_cache_size_half): Likewise.
48711 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
48712 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
48713 and __x86_64_raw_shared_cache_size_half. Round
48714 __x86_64_data_cache_size_half, __x86_64_data_cache_size
48715 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
48716 to multiple of 256 bytes.
48717
0e516e0e
MS
487182010-11-03 Ulrich Drepper <drepper@gmail.com>
48719
48720 [BZ #12167]
48721 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
48722 of inacessible symlinks. Verify result of symlink before returning it.
48723 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
48724 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
48725
0e012e87
ER
487262010-10-28 Erich Ritz <erichritz@gmail.com>
48727
48728 * math/math.h (isinf): Fix typo in comment.
48729
de0ff7bc
UD
487302010-11-01 Ulrich Drepper <drepper@gmail.com>
48731
48732 * po/da.po: Update from translation team.
48733
fa41c84d
UD
487342010-10-26 Ulrich Drepper <drepper@gmail.com>
48735
48736 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
48737 is added to the list.
48738
f0967738
AK
487392010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
48740 Ulrich Drepper <drepper@gmail.com>
48741
48742 * elf/dl-object.c (_dl_new_object): Don't append the new object to
48743 the global list here. Move code to...
48744 (_dl_add_to_namespace_list): ...here. New function.
48745 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
48746 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
48747 * elf/dl-load.c (lose): Don't remove the element from the list.
48748 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
48749 (_dl_map_object): Likewise.
48750
487512010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
48752
48753 [BZ #12159]
48754 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
48755 into all bytes of SSE register.
48756 Patch by Richard Li <richardpku@gmail.com>.
48757
f0967738 487582010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
48759
48760 [BZ #12140]
48761 * malloc/malloc.c (_int_free): Fill correct number of bytes when
48762 perturbing.
48763
d0b9e94f
MB
487642010-10-20 Michael B. Brutman <brutman@us.ibm.com>
48765
48766 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
48767 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
48768 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
48769 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
48770 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
48771 submachine.
48772 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
48773
8e9f92e9
AS
487742010-10-22 Andreas Schwab <schwab@redhat.com>
48775
48776 * include/dlfcn.h (__RTLD_SECURE): Define.
48777 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
48778 mode & __RTLD_SECURE instead.
48779 (open_path): Rename preloaded parameter to secure.
48780 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
48781 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
48782 * elf/dl-deps.c (openaux): Likewise.
48783 * elf/rtld.c (struct map_args): Remove is_preloaded.
48784 (map_doit): Don't use it.
48785 (dl_main): Likewise.
48786 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
48787 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
48788
bc96fbda
AS
487892010-09-09 Andreas Schwab <schwab@redhat.com>
48790
48791 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
48792 (sysd-rules-targets): Remove duplicates.
48793 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
48794 rtld-%.$o dependency.
48795
22cd1c9b
AS
487962010-10-18 Andreas Schwab <schwab@redhat.com>
48797
48798 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
48799 _dl_map_object do it.
48800
18edac48
UD
488012010-10-19 Ulrich Drepper <drepper@gmail.com>
48802
48803 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
48804 fast fma builtins, define the macros in the C99 standard.
48805 (FP_FAST_FMAF): Likewise.
48806 (FP_FAST_FMAL): Likewise.
48807 * sysdeps/x86_64/bits/mathdef.h: Likewise.
48808
48809 * bits/mathdef.h: Update copyright year.
48810 * sysdeps/powerpc/bits/mathdef.h: Likewise.
48811
d2050124
MM
488122010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
48813
48814 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
48815 builtins, define the macros in the C99 standard.
48816 (FP_FAST_FMAF): Likewise.
48817 (FP_FAST_FMAL): Likewise.
48818 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
48819 multiply/add.
48820 (FP_FAST_FMAF): Likewise.
48821
475facd1
JJ
488222010-10-15 Jakub Jelinek <jakub@redhat.com>
48823
48824 [BZ #3268]
48825 * math/libm-test.inc (fma_test): Some new testcases.
48826 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
48827 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
48828 y and infinite z. Do multiplication by C already in long double.
48829 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
48830 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
48831 y and infinite z. Do bitwise or of inexact bit into u.d.
48832 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
48833 * sysdeps/i386/fpu/s_fmaf.S: Removed.
48834 * sysdeps/i386/fpu/s_fma.S: Removed.
48835 * sysdeps/i386/fpu/s_fmal.S: Removed.
48836
7c08a05c
JJ
488372010-10-16 Jakub Jelinek <jakub@redhat.com>
48838
48839 [BZ #3268]
48840 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
48841 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
48842 computation is not scheduled after fetestexcept. Fix value
48843 of minimum denormal long double.
48844
f3f7372d
JJ
488452010-10-14 Jakub Jelinek <jakub@redhat.com>
48846
48847 [BZ #3268]
48848 * math/libm-test.inc (fma_test): Add some more tests.
48849 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
48850 correctly.
48851
14d43591
AS
488522010-10-15 Andreas Schwab <schwab@redhat.com>
48853
48854 * scripts/data/localplt-s390-linux-gnu.data: New file.
48855 * scripts/data/localplt-s390x-linux-gnu.data: New file.
48856
5e908464
JJ
488572010-10-13 Jakub Jelinek <jakub@redhat.com>
48858
48859 [BZ #3268]
48860 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
48861 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
48862 instead of dbl-64.
48863 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
48864 inlines.
48865 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
48866 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
48867 if one of x and y is very large and the other is subnormal.
48868 * sysdeps/s390/fpu/s_fmaf.c: New file.
48869 * sysdeps/s390/fpu/s_fma.c: New file.
48870 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
48871 * sysdeps/powerpc/fpu/s_fma.S: New file.
48872 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
48873 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
48874 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
48875
488762010-10-12 Jakub Jelinek <jakub@redhat.com>
48877
48878 [BZ #3268]
48879 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
48880 fma tests.
48881 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
48882 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
48883 * sysdeps/i386/i686/multiarch/s_fma.c: Include
48884 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
48885 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
48886 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
48887 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
48888
b833d51f
UD
488892010-10-12 Ulrich Drepper <drepper@redhat.com>
48890
48891 [BZ #12078]
48892 * posix/regcomp.c (parse_branch): One more memory leak plugged.
48893 * posix/bug-regex31.input: Add test case.
48894
1751705d
UD
488952010-10-11 Ulrich Drepper <drepper@gmail.com>
48896
e9b9cbf5
UD
48897 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
48898 * posix/bug-regex31.input: New file.
48899
48900 [BZ #12078]
48901 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
48902 (parse_sub_exp): Fix last change, use postorder.
48903
ef06edbe
UD
48904 * posix/bug-regex31.c: New file.
48905 * posix/Makefile: Add rules to build and run bug-regex31.
48906
a129c80d
UD
48907 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
48908
48909 [BZ #12078]
48910 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
48911
b76b818e
UD
48912 [BZ #12108]
48913 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
48914 to have entries in sys_siglist.
48915
1751705d
UD
48916 [BZ #12093]
48917 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
48918 be NULL.
48919
9ff8d36f
JJ
489202010-10-07 Jakub Jelinek <jakub@redhat.com>
48921
48922 [BZ #3268]
48923 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
48924 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
48925 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
48926 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
48927 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
48928 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
48929 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
48930 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
48931 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
48932 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
48933 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
48934 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
48935 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
48936 * math/ftestexcept.c (fetestexcept): Likewise.
48937 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
48938 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
48939 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
48940 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
48941 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
48942 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
48943 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
48944
af325969
UD
489452010-10-11 Ulrich Drepper <drepper@gmail.com>
48946
c579b202 48947 [BZ #12107]
af325969
UD
48948 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
48949 newline.
48950
67a67b95
UD
489512010-10-06 Ulrich Drepper <drepper@gmail.com>
48952
48953 * string/bug-strstr1.c: New file.
48954 * string/Makefile: Add rules to build and run bug-strstr1.
48955
5fb308bc
EB
489562010-10-05 Eric Blake <eblake@redhat.com>
48957
48958 [BZ #12092]
48959 * string/str-two-way.h (two_way_long_needle): Always clear memory
48960 when skipping input due to the shift table.
48961
45db99c7
UD
489622010-10-03 Ulrich Drepper <drepper@gmail.com>
48963
3b111893
UD
48964 [BZ #12005]
48965 * malloc/mcheck.c: Handle large requests.
48966
45db99c7
UD
48967 [BZ #12077]
48968 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
48969 for strncmp and strncasecmp.
48970 * string/stratcliff.c: Add tests for strcmp and strncmp.
48971 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
48972
cf7a1eb8
NI
489732010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
48974
48975 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
48976 __set_fpscr.
48977
6484ba5e
AJ
489782010-09-30 Andreas Jaeger <aj@suse.de>
48979
48980 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
48981 (CGROUP_SUPER_MAGIC): Define.
48982 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
48983 Handle btrfs and cgroup file systems.
48984 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
48985 Likewise.
48986
91c42559
LM
489872010-09-27 Luis Machado <luisgpm@br.ibm.com>
48988
48989 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
48990 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
48991
87a97932
AK
489922010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
48993
48994 [BZ #12067]
48995 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
48996 trying to locate the ELF header.
48997
c21cc9bc
AS
489982010-09-27 Andreas Schwab <schwab@redhat.com>
48999
49000 [BZ #11611]
49001 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
49002 Mask out sign-bit copies when constructing f_fsid.
49003
315970f6
PB
490042010-09-24 Petr Baudis <pasky@suse.cz>
49005
49006 * debug/stack_chk_fail_local.c: Add missing licence exception.
49007 * debug/warning-nop.c: Likewise.
49008
1ac7a2c7
JM
490092010-09-15 Joseph Myers <joseph@codesourcery.com>
49010
49011 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
49012 implementing getdents64 using getdents syscall, set d_type if
49013 __ASSUME_GETDENTS32_D_TYPE.
49014
56801c50
AS
490152010-09-16 Andreas Schwab <schwab@redhat.com>
49016
49017 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
49018 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
49019
dda51327
UD
490202010-09-21 Ulrich Drepper <drepper@redhat.com>
49021
49022 [BZ #12037]
49023 * posix/unistd.h: Undo change of feature selection for ftruncate from
49024 2010-01-11.
49025
8ffcee4a
UD
490262010-09-20 Ulrich Drepper <drepper@redhat.com>
49027
a545ecd9 49028 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
49029 detection.
49030
e24f0a8b
AS
490312010-09-20 Andreas Schwab <schwab@redhat.com>
49032
49033 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
49034 fanotify_mark.
49035 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
49036
7291c56f
AS
490372010-09-14 Andreas Schwab <schwab@redhat.com>
49038
49039 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
49040 variables after CHECK_SP call.
49041 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
49042
bc5fb037
AS
490432010-09-13 Andreas Schwab <schwab@redhat.com>
49044 Ulrich Drepper <drepper@redhat.com>
49045
49046 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
49047 re-relocationg ld.so.
49048 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
49049 _dl_init_paths call.
49050 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
49051 here anymore.
49052
e66e7419
UD
490532010-09-14 Ulrich Drepper <drepper@redhat.com>
49054
49055 * resolv/res_init.c (__res_vinit): Count the default server we added.
49056
c044aa75
CLT
490572010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
49058 Ulrich Drepper <drepper@redhat.com>
49059
49060 [BZ #11968]
49061 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
49062 (____longjmp_chk): Use %ebx for saving value across system call.
49063 Add unwind info.
49064
32cf4069
AS
490652010-09-06 Andreas Schwab <schwab@redhat.com>
49066
49067 * manual/Makefile: Don't mix pattern rules with normal rules.
49068
817328ee
AS
490692010-09-05 Andreas Schwab <schwab@linux-m68k.org>
49070
49071 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
49072 operation.
49073 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
49074 * libio/iofopncook.c (_IO_cookie_init): Likewise.
49075 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
49076 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
49077 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
49078 Likewise.
49079
29fddf61
UD
490802010-09-04 Ulrich Drepper <drepper@redhat.com>
49081
49082 [BZ #11979]
49083 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
49084 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
49085
0959ffc9
UD
490862010-09-02 Ulrich Drepper <drepper@redhat.com>
49087
49088 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
49089 * sysdeps/x86_64/addmul_1.S: Likewise.
49090 * sysdeps/x86_64/lshift.S: Likewise.
49091 * sysdeps/x86_64/mul_1.S: Likewise.
49092 * sysdeps/x86_64/rshift.S: Likewise.
49093 * sysdeps/x86_64/sub_n.S: Likewise.
49094 * sysdeps/x86_64/submul_1.S: Likewise.
49095
ece29840
ST
490962010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
49097
0959ffc9
UD
49098 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
49099 Define __sched_param instead of SCHED_* and sched_param when
ece29840 49100 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 49101 * bits/sched.h [__need_schedparam]
ece29840 49102 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
49103 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
49104 (__defined_schedparam): Define to 1.
ece29840
ST
49105 (__sched_param): New structure, identical to sched_param.
49106 (__need_schedparam): Undefine.
49107
e53a31fe
MF
491082010-08-31 Mike Frysinger <vapier@gentoo.org>
49109
fdc0c10d
MF
49110 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
49111 (epoll_create1): Declare.
49112
e53a31fe
MF
49113 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
49114
a726d796
AS
491152010-08-31 Andreas Schwab <schwab@redhat.com>
49116
49117 [BZ #7066]
49118 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
49119 shifting retval into place.
49120
2f3e3dc7
UD
491212010-09-01 Ulrich Drepper <drepper@redhat.com>
49122
f2933da9
UD
49123 * nis/rpcsvc/nis.h: Update copyright notice.
49124 * nis/rpcsvc/nis.x: Likewise.
49125 * nis/rpcsvc/nis_callback.h: Likewise.
49126 * nis/rpcsvc/nis_callback.x: Likewise.
49127 * nis/rpcsvc/nis_object.x: Likewise.
49128 * nis/rpcsvc/nis_tags.h: Likewise.
49129 * nis/rpcsvc/yp.h: Likewise.
49130 * nis/rpcsvc/yp.x: Likewise.
49131 * nis/rpcsvc/ypupd.h: Likewise.
49132 * nis/yp_xdr.c: Likewise.
49133 * nis/ypupdate_xdr.c: Likewise.
49134
2f3e3dc7
UD
49135 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
49136 mainly the body of pmap_getport. Add parameters to specify timeouts.
49137 (pmap_getport): Use __libc_rpc_getport.
49138 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
49139 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
49140 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
49141
f3dcc2f9
AS
491422010-08-31 Andreas Schwab <schwab@linux-m68k.org>
49143
49144 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
49145 fanotify_mark.
49146
6d34eb5b
RM
491472010-08-27 Roland McGrath <roland@redhat.com>
49148
49149 * sysdeps/i386/i686/multiarch/Makefile
49150 (CFLAGS-varshift.c): New variable.
49151
9ea3de11
UD
491522010-08-27 Ulrich Drepper <drepper@redhat.com>
49153
c96d23fc
UD
49154 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
49155 * sysdeps/i386/i686/multiarch/varshift.c: New file.
49156
9ea3de11
UD
49157 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
49158
49159 * sysdeps/x86_64/strlen.S: Minimal code improvement.
49160
623aac7f
L
491612010-08-26 H.J. Lu <hongjiu.lu@intel.com>
49162
49163 * sysdeps/x86_64/strlen.S: Unroll the loop.
49164 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
49165 strlen-sse2 strlen-sse2-bsf.
49166 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
49167 __strlen_no_bsf if bit_Slow_BSF is set.
49168 (__strlen_sse42): Removed.
49169 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
49170 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
49171
8b2b7715
RM
491722010-08-25 Roland McGrath <roland@redhat.com>
49173
49174 * sysdeps/x86_64/multiarch/varshift.S: File removed.
49175 * sysdeps/x86_64/multiarch/varshift.c: New file.
49176 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
49177 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
49178 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
49179 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
49180
e73015f2
L
491812010-08-25 H.J. Lu <hongjiu.lu@intel.com>
49182
49183 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
49184 strlen-sse2 strlen-sse2-bsf.
49185 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
49186 __strlen_sse2_bsf if bit_Slow_BSF is unset.
49187 (__strlen_sse2): Removed.
49188 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
49189 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
49190 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
49191 bit_Slow_BSF for Atom.
49192 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
49193 (index_Slow_BSF): Define.
49194 (HAS_SLOW_BSF): Define.
49195
df24a73e
UD
491962010-08-25 Ulrich Drepper <drepper@redhat.com>
49197
49198 [BZ #10851]
49199 * resolv/res_init.c (__res_vinit): When no server address at all
49200 is given default to loopback.
49201
f2ac4868
RM
492022010-08-24 Roland McGrath <roland@redhat.com>
49203
09055553
RM
49204 * configure.in: Remove config-name.h generation.
49205 * configure: Regenerated.
49206 * config-name.in: File removed.
49207 * scripts/config-uname.sh: New file.
49208 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
49209 ($(objdir)config-name.h): New target.
49210
f2ac4868
RM
49211 * sunrpc/rpc_parse.h: Avoid nested comment.
49212
73f27d5e
RH
492132010-08-24 Richard Henderson <rth@redhat.com>
49214 Ulrich Drepper <drepper@redhat.com>
49215 H.J. Lu <hongjiu.lu@intel.com>
49216
49217 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
49218 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
49219 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
49220 Replace _mm_srli_si128 with __m128i_shift_right. Replace
49221 _mm_alignr_epi8 with _mm_loadu_si128.
49222 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
49223 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
49224 (__m128i_shift_right): Removed.
49225 * sysdeps/i386/i686/multiarch/varshift.h: New file.
49226 * sysdeps/i386/i686/multiarch/varshift.S: New file.
49227 * sysdeps/x86_64/multiarch/varshift.h: New file.
49228 * sysdeps/x86_64/multiarch/varshift.S: New file.
49229
84b9230c
MF
492302010-08-21 Mike Frysinger <vapier@gentoo.org>
49231
49232 * configure.in: Move assembler checks to before sysdep dir checking.
49233
9bbd0ddc
PB
492342010-08-20 Petr Baudis <pasky@suse.cz>
49235
49236 * LICENSES: Sync the sunrpc license.
49237
9da4bb31
UD
492382010-08-19 Ulrich Drepper <drepper@redhat.com>
49239
a7ab6ec8
UD
49240 * sunrpc/auth_des.c: Update copyright notice once again.
49241 * sunrpc/auth_none.c: Likewise.
49242 * sunrpc/auth_unix.c: Likewise.
49243 * sunrpc/authdes_prot.c: Likewise.
49244 * sunrpc/authuxprot.c: Likewise.
49245 * sunrpc/bindrsvprt.c: Likewise.
49246 * sunrpc/clnt_gen.c: Likewise.
49247 * sunrpc/clnt_perr.c: Likewise.
49248 * sunrpc/clnt_raw.c: Likewise.
49249 * sunrpc/clnt_simp.c: Likewise.
49250 * sunrpc/clnt_tcp.c: Likewise.
49251 * sunrpc/clnt_udp.c: Likewise.
49252 * sunrpc/clnt_unix.c: Likewise.
49253 * sunrpc/des_crypt.c: Likewise.
49254 * sunrpc/des_soft.c: Likewise.
49255 * sunrpc/get_myaddr.c: Likewise.
49256 * sunrpc/getrpcport.c: Likewise.
49257 * sunrpc/key_call.c: Likewise.
49258 * sunrpc/key_prot.c: Likewise.
49259 * sunrpc/openchild.c: Likewise.
49260 * sunrpc/pm_getmaps.c: Likewise.
49261 * sunrpc/pm_getport.c: Likewise.
49262 * sunrpc/pmap_clnt.c: Likewise.
49263 * sunrpc/pmap_prot.c: Likewise.
49264 * sunrpc/pmap_prot2.c: Likewise.
49265 * sunrpc/pmap_rmt.c: Likewise.
49266 * sunrpc/rpc/auth.h: Likewise.
49267 * sunrpc/rpc/auth_unix.h: Likewise.
49268 * sunrpc/rpc/clnt.h: Likewise.
49269 * sunrpc/rpc/des_crypt.h: Likewise.
49270 * sunrpc/rpc/key_prot.h: Likewise.
49271 * sunrpc/rpc/netdb.h: Likewise.
49272 * sunrpc/rpc/pmap_clnt.h: Likewise.
49273 * sunrpc/rpc/pmap_prot.h: Likewise.
49274 * sunrpc/rpc/pmap_rmt.h: Likewise.
49275 * sunrpc/rpc/rpc.h: Likewise.
49276 * sunrpc/rpc/rpc_des.h: Likewise.
49277 * sunrpc/rpc/rpc_msg.h: Likewise.
49278 * sunrpc/rpc/svc.h: Likewise.
49279 * sunrpc/rpc/svc_auth.h: Likewise.
49280 * sunrpc/rpc/types.h: Likewise.
49281 * sunrpc/rpc/xdr.h: Likewise.
49282 * sunrpc/rpc_clntout.c: Likewise.
49283 * sunrpc/rpc_cmsg.c: Likewise.
49284 * sunrpc/rpc_common.c: Likewise.
49285 * sunrpc/rpc_cout.c: Likewise.
49286 * sunrpc/rpc_dtable.c: Likewise.
49287 * sunrpc/rpc_hout.c: Likewise.
49288 * sunrpc/rpc_main.c: Likewise.
49289 * sunrpc/rpc_parse.c: Likewise.
49290 * sunrpc/rpc_parse.h: Likewise.
49291 * sunrpc/rpc_prot.c: Likewise.
49292 * sunrpc/rpc_sample.c: Likewise.
49293 * sunrpc/rpc_scan.c: Likewise.
49294 * sunrpc/rpc_scan.h: Likewise.
49295 * sunrpc/rpc_svcout.c: Likewise.
49296 * sunrpc/rpc_tblout.c: Likewise.
49297 * sunrpc/rpc_util.c: Likewise.
49298 * sunrpc/rpc_util.h: Likewise.
49299 * sunrpc/rpcinfo.c: Likewise.
49300 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
49301 * sunrpc/rpcsvc/key_prot.x: Likewise.
49302 * sunrpc/rpcsvc/klm_prot.x: Likewise.
49303 * sunrpc/rpcsvc/mount.x: Likewise.
49304 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
49305 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
49306 * sunrpc/rpcsvc/rex.x: Likewise.
49307 * sunrpc/rpcsvc/rstat.x: Likewise.
49308 * sunrpc/rpcsvc/rusers.x: Likewise.
49309 * sunrpc/rpcsvc/sm_inter.x: Likewise.
49310 * sunrpc/rpcsvc/spray.x: Likewise.
49311 * sunrpc/rpcsvc/yppasswd.x: Likewise.
49312 * sunrpc/rtime.c: Likewise.
49313 * sunrpc/svc.c: Likewise.
49314 * sunrpc/svc_auth.c: Likewise.
49315 * sunrpc/svc_authux.c: Likewise.
49316 * sunrpc/svc_raw.c: Likewise.
49317 * sunrpc/svc_run.c: Likewise.
49318 * sunrpc/svc_simple.c: Likewise.
49319 * sunrpc/svc_tcp.c: Likewise.
49320 * sunrpc/svc_udp.c: Likewise.
49321 * sunrpc/svc_unix.c: Likewise.
49322 * sunrpc/svcauth_des.c: Likewise.
49323 * sunrpc/xcrypt.c: Likewise.
49324 * sunrpc/xdr.c: Likewise.
49325 * sunrpc/xdr_array.c: Likewise.
49326 * sunrpc/xdr_float.c: Likewise.
49327 * sunrpc/xdr_mem.c: Likewise.
49328 * sunrpc/xdr_rec.c: Likewise.
49329 * sunrpc/xdr_ref.c: Likewise.
49330 * sunrpc/xdr_sizeof.c: Likewise.
49331 * sunrpc/xdr_stdio.c: Likewise.
49332
9da4bb31
UD
49333 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
49334 handling.
49335
bdaa77bc
AS
493362010-08-19 Andreas Schwab <schwab@redhat.com>
49337
49338 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
49339
fe2f79db
LM
493402010-08-19 Luis Machado <luisgpm@br.ibm.com>
49341
49342 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
49343 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
49344 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
49345 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
49346 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
49347 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
49348 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
49349 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
49350 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
49351 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
49352 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
49353 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
49354 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
49355 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
49356
b9b42ee0
AB
493572010-07-26 Anton Blanchard <anton@samba.org>
49358
49359 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
49360 * malloc/arena.c (heap_trim): Likewise.
49361
1c06ba31
UD
493622010-08-16 Ulrich Drepper <drepper@redhat.com>
49363
49364 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
49365 here. Not...
49366 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
49367 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
49368
f8392f40
L
493692010-08-12 H.J. Lu <hongjiu.lu@intel.com>
49370
49371 * sysdeps/i386/elf/Makefile: New file.
49372
3162f12e
AS
493732010-08-14 Andreas Schwab <schwab@linux-m68k.org>
49374
49375 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
49376 from fanotify_init.
49377 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
49378 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
49379
28c90b2c
UD
493802010-08-15 Ulrich Drepper <drepper@redhat.com>
49381
49382 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
49383 of strncasecmp_l.
1feccb6c 49384 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 49385
ca6bb004
UD
493862010-08-14 Ulrich Drepper <drepper@redhat.com>
49387
e9f82e0d
UD
49388 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
49389 strncase_l-nonascii.
49390 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
49391 Add strncase_l-ssse3.
49392 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
49393 * sysdeps/x86_64/strcmp.S: Likewise.
49394 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
49395 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
49396 * sysdeps/x86_64/strncase.S: New file.
49397 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
49398 * sysdeps/x86_64/strncase_l.S: New file.
49399 * string/Makefile (strop-tests): Add strncasecmp.
49400 * string/test-strncasecmp.c: New file.
49401
49402 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
49403 warning.
49404
ca6bb004
UD
49405 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
49406 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
49407
052fa7b3
AS
494082010-08-14 Andreas Schwab <schwab@linux-m68k.org>
49409
49410 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
49411
962dba78
UD
494122010-08-12 Ulrich Drepper <drepper@redhat.com>
49413
49414 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
49415 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
49416 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
49417
bebff237
AM
494182010-05-01 Alan Modra <amodra@gmail.com>
49419
49420 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
49421 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
49422 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
49423 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
49424 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
49425 tidying. Don't tail-call __sigjmp_save for static lib.
49426 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
49427 save location.
49428 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
49429 (CALL_MCOUNT): Add eh info, and nop after bl.
49430 (TAIL_CALL_SYSCALL_ERROR): New macro.
49431 (PSEUDO_RET): Use it.
49432 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
49433 Correct save location of integer regs and cr.
49434 (_dl_profile_resolve): Correct cr save location. Delete nops
49435 after bl when SHARED. Reduce cfi size a little by better
49436 placement of cfi directives.
49437 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
49438 make a stack frame. Instead use parm save area as a temp.
49439 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
49440 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
49441 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
49442 Don't make a stack frame for parent, use parm save area.
49443 Increase child stack frame to 112 bytes. Don't save unused reg,
49444 and adjust reg usage. Set up cfi on error recovery and
49445 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
49446 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
49447 (__makecontext): Add dummy nop after jump to exit.
49448 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
49449 Use correct parm save area and cr save, reduce stack frame.
49450 Correct cfi for possible PSEUDO_RET frame setup.
49451 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
49452 Branch to local label emitted by PSEUDO_RET rather than
49453 __syscall_error.
49454
02637374
AS
494552010-08-12 Andreas Schwab <schwab@redhat.com>
49456
49457 [BZ #11904]
49458 * locale/programs/locale.c (print_assignment): New function.
49459 (show_locale_vars): Use it.
49460
c3e2f19b
UD
494612010-08-11 Ulrich Drepper <drepper@redhat.com>
49462
3cdaa6ad
UD
49463 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
49464 field.
49465 (struct statfs64): Likewise.
49466 (_STATFS_F_FLAGS): Define.
49467 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
49468 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
49469 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
49470 (ST_VALID): Define locally.
49471 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
49472 __statvfs_getflags, use the provided value.
49473 * sysdeps/unix/sysv/linux/kernel-features.h: Define
49474 __ASSUME_STATFS_F_FLAGS.
49475
754f7da3
UD
49476 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
49477
10b3bedc
UD
49478 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
49479 Add sys/fanotify.h.
49480 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
49481 fanotify_mask for GLIBC_2.13.
49482 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
49483 fanotify_init and fanotify_mark.
49484 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
49485 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
49486
c08fb0d7
UD
49487 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
49488 Add prlimit.
49489 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
49490 prlimit64 for GLIBC_2.13.
49491 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
49492 prlimit64.
49493 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
49494 syscall.
49495 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
49496 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
49497 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
49498 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
49499 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
49500 add prlimit alias.
49501 * sysdeps/unix/sysv/linux/prlimit.c: New file.
49502
15bac72b
UD
49503 [BZ #11903]
49504 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
49505 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
49506
c3e2f19b
UD
49507 * nss/Makefile: Add rules to build and run tst-nss-test1.
49508 * shlib-versions: Add entry for libnss_test1.
49509 * nss/nss_test1.c: New file.
49510 * nss/tst-nss-test1.c: New file.
49511
49512 * nss/nsswitch.c (__nss_database_custom): Define new variable.
49513 (__nss_configure_lookup): Set appropriate entry in
49514 __nss_configure_lookup to true.
49515 * nss/nsswitch.h: Define enum with indeces of databases in
49516 databases and __nss_database_custom arrays. Declare
49517 __nss_database_custom.
49518 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
49519 to avoid using nscd when custom rules are installed.
49520 * nss/getXXbyYY_r.c: Likewise.
49521 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
49522
49523 * nss/nss_files/files-parse.c: Whitespace fixes.
49524
f15ce4d8
UD
495252010-08-09 Ulrich Drepper <drepper@redhat.com>
49526
49527 [BZ #11883]
49528 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
49529 * posix/fnmatch_loop.c: Likewise.
49530
d22e4cc9
AK
495312010-07-17 Andi Kleen <ak@linux.intel.com>
49532
49533 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
49534 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
49535 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
49536 * Versions.def [GLIBC_2.13]: Add.
49537
805bc17d
UD
495382010-08-06 Ulrich Drepper <drepper@redhat.com>
49539
49540 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
49541 Also fail if tpwd after pwuid call is NULL.
49542
5a42321d
ST
495432010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
49544
49545 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
49546 when converting to ms.
49547
fd3ebeda
ST
495482010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
49549
49550 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
49551 EOPNOTSUPP errors with ENOTTY.
49552 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
49553 EOPNOTSUPP errors with ENOTTY.
49554
73507d3a
UD
495552010-07-31 Ulrich Drepper <drepper@redhat.com>
49556
49557 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
49558 Add strcasecmp_l-ssse3.
49559 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
49560 strcasecmp.
49561 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
49562 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
49563 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
49564
fe36dd02
UD
495652010-07-30 Ulrich Drepper <drepper@redhat.com>
49566
66f6765a
UD
49567 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
49568
42e08a54
UD
49569 * string/Makefile (strop-tests): Add strcasecmp.
49570 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
49571 strcasecmp_l-nonascii.
49572 (gen-as-const-headers): Add locale-defines.sym.
49573 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
49574 * sysdeps/x86_64/strcasecmp.S: New file.
49575 * sysdeps/x86_64/strcasecmp_l.S: New file.
49576 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
49577 * sysdeps/x86_64/locale-defines.sym: New file.
49578 * string/test-strcasecmp.c: New file.
49579
fe36dd02
UD
49580 * string/test-strcasestr.c: Test both ends of the range of characters.
49581 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
49582
48cbc0d6
RM
495832010-07-29 Roland McGrath <roland@redhat.com>
49584
76e6d6bc 49585 [BZ #11856]
48cbc0d6
RM
49586 * manual/locale.texi (Yes-or-No Questions): Fix example code.
49587
880113d9
UD
495882010-07-27 Ulrich Drepper <drepper@redhat.com>
49589
49590 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
49591 for ld.so.
49592
deb9cabb
AS
495932010-07-27 Andreas Schwab <schwab@redhat.com>
49594
49595 * manual/memory.texi (Malloc Tunable Parameters): Document
49596 M_PERTURB.
49597
1c7570ff
RM
495982010-07-26 Roland McGrath <roland@redhat.com>
49599
49600 [BZ #11840]
49601 * configure.in (-fgnu89-inline check): Set and substitute
49602 gnu89_inline, not libc_cv_gnu89_inline.
49603 * configure: Regenerated.
49604 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
49605
24fb0f88
UD
496062010-07-26 Ulrich Drepper <drepper@redhat.com>
49607
49608 * string/test-strnlen.c: New file.
49609 * string/Makefile (strop-tests): Add strnlen.
49610 * string/tester.c (test_strnlen): Add a few more test cases.
49611 * string/tst-strlen.c: Better error reporting.
49612
49613 * sysdeps/x86_64/strnlen.S: New file.
49614
8e96b93a
UD
496152010-07-24 Ulrich Drepper <drepper@redhat.com>
49616
49617 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
49618 lower-latency instructions.
49619
dbc676d4
UD
496202010-07-23 Ulrich Drepper <drepper@redhat.com>
49621
49622 * string/test-strcasestr.c: New file.
49623 * string/test-strstr.c: New file.
49624 * string/Makefile (strop-tests): Add strstr and strcasestr.
49625 * string/str-two-way.h: Don't undefine MAX.
49626 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
49627
f6a31e0e
AS
496282010-07-21 Andreas Schwab <schwab@redhat.com>
49629
49630 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
49631 strcasestr-nonascii.
49632 (CFLAGS-strcasestr-nonascii.c): Define.
49633 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
49634 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
49635 Remove unused attribute.
49636
5dbc3b6c
RM
496372010-07-20 Roland McGrath <roland@redhat.com>
49638
49639 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
49640 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
49641 ld.so.cache was broken. With it, there is no way to disable dsocaps
49642 like LD_HWCAP_MASK can disable hwcaps.
49643
23d101d8
EPM
496442010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
49645
49646 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
49647
cc9f2e47
UD
496482010-07-16 Ulrich Drepper <drepper@redhat.com>
49649
49650 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
49651 call in strcasestr.
49652 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
49653 __strcasestr_sse42_nonascii.
49654 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
49655 strcasestr-nonascii.c.
49656 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
49657
77c1b069
LM
496582010-06-15 Luis Machado <luisgpm@br.ibm.com>
49659
49660 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
49661 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
49662 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
49663 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
49664
440566c3
UD
496652010-07-09 Ulrich Drepper <drepper@redhat.com>
49666
49667 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
49668 fcntl.
49669
5be9d05d
AS
496702010-07-06 Andreas Schwab <schwab@redhat.com>
49671
c30b7ee2 49672 [BZ #11577]
5be9d05d
AS
49673 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
49674 dl_signal_cerror.
49675
8a492a67
UD
496762010-07-06 Ulrich Drepper <drepper@redhat.com>
49677
49678 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
49679 _PC_PIPE_BUF using F_GETPIPE_SZ.
49680
713df3d5
RM
496812010-07-05 Roland McGrath <roland@redhat.com>
49682
49683 * manual/arith.texi (Rounding Functions): Fix rint description
49684 implicit in round description.
49685
702e8f14
UD
496862010-07-02 Ulrich Drepper <drepper@redhat.com>
49687
49688 * elf/Makefile: Fix linking for a few tests to make recent linker
49689 happy.
49690
52ed8be9
AS
496912010-06-30 Andreas Schwab <schwab@redhat.com>
49692
49693 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
49694 $(common-objpfx)libc_nonshared.a.
49695
f47c9a11
LM
496962010-06-21 Luis Machado <luisgpm@br.ibm.com>
49697
49698 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
49699 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
49700 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
49701 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
49702 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
49703 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
49704 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
49705 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
49706 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
49707 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
49708 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
49709 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
49710 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
49711 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
49712 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
49713 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
49714 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
49715 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
49716 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
49717 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
49718 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
49719 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
49720 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
49721 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
49722 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
49723 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
49724 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
49725 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
49726 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
49727 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
49728 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
49729 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
49730 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
49731 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
49732 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
49733 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
49734 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
49735 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
49736 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
49737 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
49738 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
49739 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
49740 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
49741 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
49742 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
49743 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
49744 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
49745 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
49746
6fb8cbcb
L
497472010-06-25 H.J. Lu <hongjiu.lu@intel.com>
49748
49749 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
49750 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
49751 * string/memmove.c (memmove): Renamed to ...
49752 (MEMMOVE): ...this. Default to memmove.
49753 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
49754 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
49755 (END_CHK): Define.
49756 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
49757 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
49758 mempcpy-ssse3-back memmove-ssse3-back.
49759 * sysdeps/x86_64/multiarch/bcopy.S: New file .
49760 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
49761 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
49762 * sysdeps/x86_64/multiarch/memcpy.S: New file.
49763 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
49764 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
49765 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
49766 * sysdeps/x86_64/multiarch/memmove.c: New file.
49767 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
49768 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
49769 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
49770 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
49771 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
49772 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
49773 Define.
49774 (index_Fast_Copy_Backward): Define.
49775 (HAS_ARCH_FEATURE): Define.
49776 (HAS_FAST_REP_STRING): Define.
49777 (HAS_FAST_COPY_BACKWARD): Define.
49778
4e733bac 497792010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
49780
49781 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
49782 Restore proper fallback handling.
49783
63c4ed22
UD
497842010-06-19 Ulrich Drepper <drepper@redhat.com>
49785
ac2b484c
UD
49786 [BZ #11701]
49787 * posix/group_member.c (__group_member): Correct checking loop.
49788
63c4ed22
UD
49789 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
49790 OOM in getpwuid_r correctly. Return error number when the caller
49791 should return, otherwise -1.
49792 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
49793 call returning > 0 value.
49794 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
49795
765ade4b
AS
497962010-06-07 Andreas Schwab <schwab@redhat.com>
49797
49798 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
49799 libc_nonshared.a from targets in modules-names.
49800
80da2e09
KS
498012010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
49802
49803 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
49804 requires it.
49805
158db122
LM
498062010-06-10 Luis Machado <luisgpm@br.ibm.com>
49807
49808 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
49809 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
49810 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
49811 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
49812
caa78cf8
AS
498132010-06-02 Andreas Schwab <schwab@redhat.com>
49814
49815 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
49816
b2ef2c01
UD
498172010-06-14 Ulrich Drepper <drepper@redhat.com>
49818
49819 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
49820 and F_GETPIPE_SZ.
49821 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
49822 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
49823 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
49824 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
49825 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
49826 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
49827
fbd643b6
RM
498282010-06-14 Roland McGrath <roland@redhat.com>
49829
49830 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
49831
f32f2869
JJ
498322010-06-07 Jakub Jelinek <jakub@redhat.com>
49833
49834 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
49835 __REDIRECT followed by __THROW.
49836 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
49837 * posix/getopt.h (getopt): Likewise.
49838
2a50c078
EPM
498392010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
49840
49841 * hurd/lookup-at.c (__file_name_lookup_at): Accept
49842 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
49843 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
49844 in AT_FLAGS.
49845 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
49846 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
49847
eb5ad2eb
LM
498482010-05-28 Luis Machado <luisgpm@br.ibm.com>
49849
49850 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
49851
3c88fe1e
L
498522010-05-26 H.J. Lu <hongjiu.lu@intel.com>
49853
49854 [BZ #11640]
49855 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
49856 Properly check family and model.
49857
d2f73151
TY
498582010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
49859
49860 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
49861
ebd2e13d
LM
498622010-05-24 Luis Machado <luisgpm@br.ibm.com>
49863
49864 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
49865
b32b8b45
UD
498662010-05-21 Ulrich Drepper <drepper@redhat.com>
49867
49868 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
49869 symbol reference.
49870
9acbe24d
AS
498712010-05-19 Andreas Schwab <schwab@redhat.com>
49872
49873 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
49874 symbol reference.
49875
f0ccf6ea
AS
498762010-05-21 Andreas Schwab <schwab@redhat.com>
49877
3d04ff3a
AS
49878 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
49879 and internal_recvmmsg.
49880 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
49881 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
49882 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
49883 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
49884
f0ccf6ea
AS
49885 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
49886 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
49887 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
49888
5b08ac57
AS
498892010-05-20 Andreas Schwab <schwab@redhat.com>
49890
49891 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
49892
4828935d
LM
498932010-05-17 Luis Machado <luisgpm@br.ibm.com>
49894
49895 POWER7 optimizations.
49896 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
49897 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
49898
373d545e
UD
498992010-05-19 Ulrich Drepper <drepper@redhat.com>
49900
49901 * version.h: Update for 2.13 development version.
49902
21a2b1ae
AS
499032010-05-12 Andrew Stubbs <ams@codesourcery.com>
49904
49905 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
49906 exceptions. Return 0.
49907
3f7dcb2b
RM
499082010-05-07 Roland McGrath <roland@redhat.com>
49909
49910 * elf/ldconfig.c (main): Add a const.
49911
5f24d53a 499122010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 49913
a160f8d8
UD
49914 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
49915 (args_options): Add no-idn option.
49916 (ahosts_keys_int): Add idn_flags to ai_flags.
49917 (parse_option): Handle 'i' option to clear idn_flags.
49918
5f24d53a
UD
49919 * malloc/malloc.c (_int_free): Possible race in the most recently
49920 added check. Only act on the data if no current modification
49921 happened.
265bb1ce
UD
49922
49923See ChangeLog.17 for earlier changes.