]> sourceware.org Git - glibc.git/blob - ChangeLog
MicroBlaze: Fix volatile-register-var warning in READ_THREAD_POINTER
[glibc.git] / ChangeLog
1 2015-01-09 David Holsgrove <david.holsgrove@xilinx.com>
2
3 * sysdeps/microblaze/nptl/tls.h (__microblaze_get_thread_area): Function
4 removed.
5 (READ_THREAD_POINTER): Use __microblaze_thread_area instead.
6
7 2015-01-09 David Holsgrove <david.holsgrove@xilinx.com>
8
9 * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Use NULL instead
10 of 0.
11
12 2015-01-08 Roland McGrath <roland@hack.frob.com>
13
14 * sysdeps/pthread/timer_routines.c: Fix <pthreadP.h> include to use
15 <nptl/pthreadP.h> instead.
16 * sysdeps/pthread/aio_notify.c: Include <signal.h> for raise decl.
17
18 * signal/allocrtsig.c (RESERVED_SIGRT): New macro, defined to 0 if not
19 already defined.
20 [__SIGRTMIN] (init): Function removed.
21 [__SIGRTMIN] (initialized): Variable removed.
22 [!__SIGRTMIN] (current_rtmin, current_rtmax): Variables removed.
23 [__SIGRTMIN] (current_rtmin, current_rtmax): Initialize to
24 __SIGRTMIN + RESERVED_SIGRT and __SIGRTMAX, respectively.
25 (__libc_current_sigrtmin) [__SIGRTMIN]: Don't call init.
26 (__libc_current_sigrtmin) [!__SIGRTMIN]: Just return -1.
27 (__libc_current_sigrtmin): Add __libc_current_sigrtmin_private alias.
28 (__libc_current_sigrtmax) [__SIGRTMIN]: Don't call init.
29 (__libc_current_sigrtmax) [!__SIGRTMIN]: Just return -1.
30 (__libc_current_sigrtmax): Add __libc_current_sigrtmax_private alias.
31 (__libc_allocate_rtsig) [__SIGRTMIN]: Don't call init.
32 (__libc_allocate_rtsig): Add __libc_allocate_rtsig_private alias.
33 * sysdeps/nptl/allocrtsig.c: New file.
34 * sysdeps/unix/sysv/linux/allocrtsig.c: File removed.
35 * sysdeps/unix/sysv/linux/testrtsig.h: File removed.
36 * sysdeps/generic/testrtsig.h: File removed.
37
38 * nptl/pthread_sigmask.c [SIGCANCEL || SIGTIMER || SIGSETXID]: #error.
39 (pthread_sigmask): Call sigprocmask, not __sigprocmask.
40
41 * nptl/nptl-init.c (pthread_functions): Conditionalize
42 .ptr__nptl_setxid initialization on [SIGSETXID].
43
44 * sysdeps/nptl/sys/procfs.h: New file.
45 * nptl_db/Makefile (headers): Add it.
46 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Don't add it.
47
48 * nptl/pthreadP.h (check_cpuset_attr): Moved ...
49 * sysdeps/unix/sysv/linux/check-cpuset.h: ... to this new file.
50 * nptl/pthread_attr_setaffinity.c: Include it.
51 * nptl/pthread_setattr_default_np.c: Likewise.
52 * nptl/check-cpuset.h: New file.
53
54 2015-01-08 Richard Henderson <rth@redhat.com>
55
56 * elf/Makefile (CFLAGS-tst-execstack-mod.c): Add -Wno-trampolines
57 (CFLAGS-tst-execstack-prog.c): Likewise.
58 * nptl/Makefile (CFLAGS-tst-execstack-mod.c): Likewise.
59
60 2015-01-08 Chung-Lin Tang <cltang@codesourcery.com>
61 Sandra Loosemore <sandra@codesourcery.com>
62 Andrew Jenner <andrew@codesourcery.com>
63 Joseph Myers <joseph@codesourcery.com>
64 Nathan Sidwell <nathan@codesourcery.com>
65
66 * elf/elf.h (EM_ALTERA_NIOS2): New machine number for Altera Nios II.
67 (DT_NIOS2_GP): New dynamic entry type for Nios II _gp address.
68 (R_NIOS2_NONE,R_NIOS2_S16,R_NIOS2_U16): Define Nios II relocations.
69 (R_NIOS2_PCREL16,R_NIOS2_CALL26,R_NIOS2_IMM5): Likewise.
70 (R_NIOS2_CACHE_OPX,R_NIOS2_IMM6,R_NIOS2_IMM8,R_NIOS2_HI16): Likewise.
71 (R_NIOS2_LO16,R_NIOS2_HIADJ16,R_NIOS2_BFD_RELOC_32): Likewise.
72 (R_NIOS2_BFD_RELOC_16,R_NIOS2_BFD_RELOC_8,R_NIOS2_GPREL): Likewise.
73 (R_NIOS2_GNU_VTINHERIT,R_NIOS2_GNU_VTENTRY,R_NIOS2_UJMP): Likewise.
74 (R_NIOS2_CJMP,R_NIOS2_CALLR,R_NIOS2_ALIGN,R_NIOS2_GOT16): Likewise.
75 (R_NIOS2_CALL16,R_NIOS2_GOTOFF_LO,R_NIOS2_GOTOFF_HA): Likewise.
76 (R_NIOS2_PCREL_LO,R_NIOS2_PCREL_HA,R_NIOS2_TLS_GD16): Likewise.
77 (R_NIOS2_TLS_LDM16,R_NIOS2_TLS_LDO16,R_NIOS2_TLS_IE16): Likewise.
78 (R_NIOS2_TLS_LE16,R_NIOS2_TLS_DTPMOD,R_NIOS2_TLS_DTPREL): Likewise.
79 (R_NIOS2_TLS_TPREL,R_NIOS2_COPY,R_NIOS2_GLOB_DAT): Likewise.
80 (R_NIOS2_JUMP_SLOT,R_NIOS2_RELATIVE,R_NIOS2_GOTOFF): Likewise.
81 (R_NIOS2_CALL26_NOAT,R_NIOS2_GOT_LO,R_NIOS2_GOT_HA): Likewise.
82 (R_NIOS2_CALL_LO,R_NIOS2_CALL_HA): Likewise.
83
84 2015-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
85
86 * sysdeps/unix/sysv/linux/futimens.c (futimens): Use address of first
87 timespec struct member in syscall macro.
88 * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
89 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Use address of
90 first timeval struct member in syscall macro.
91 * sysdeps/unix/sysv/linux/utimes.c (__utimeS): Likewise.
92
93 2015-01-07 Joseph Myers <joseph@codesourcery.com>
94
95 [BZ #17748]
96 * include/fenv.h (__feupdateenv): Use libm_hidden_proto.
97 * math/feupdateenv.c (__feupdateenv): Use libm_hidden_def.
98 * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Rename to
99 __feupdateenv and define as weak alias of __feupdateenv. Use
100 libm_hidden_weak.
101 * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Use
102 libm_hidden_def.
103 * sysdeps/arm/feupdateenv.c (feupdateenv): Rename to __feupdateenv
104 and define as weak alias of __feupdateenv. Use libm_hidden_weak.
105 * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
106 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Use
107 libm_hidden_def.
108 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Rename to
109 __feupdateenv and define as weak alias of __feupdateenv. Use
110 libm_hidden_weak.
111 * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Use
112 libm_hidden_def.
113 * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Rename to
114 __feupdateenv and define as weak alias of __feupdateenv. Use
115 libm_hidden_weak.
116 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Use
117 libm_hidden_def.
118 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
119 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
120 (__feupdateenv): Likewise.
121 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Rename to
122 __feupdateenv and define as weak alias of __feupdateenv. Use
123 libm_hidden_weak.
124 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
125 * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Use
126 libm_hidden_def.
127 * sysdeps/tile/math_private.h (__feupdateenv): New inline
128 function.
129 * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Use
130 libm_hidden_def.
131 * sysdeps/generic/math_private.h (default_libc_feupdateenv): Call
132 __feupdateenv instead of feupdateenv.
133 (default_libc_feupdateenv_test): Likewise.
134 (libc_feresetround_ctx): Likewise.
135
136 2015-01-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
137
138 * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Fix function
139 prototype.
140
141 2015-01-07 Chris Metcalf <cmetcalf@ezchip.com>
142
143 * posix/regcomp.c (parse_bracket_exp): Initialize type to
144 COLL_SYM in a couple of places to avoid uninitialized variable
145 wanings on tilegx gcc 4.8.2.
146
147 2015-01-07 Richard Earnshaw <rearnsha@arm.com>
148
149 * sysdeps/aarch64/strcpy.S: New file.
150 * sysdeps/aarch64/stpcpy.S: New file.
151 * NEWS: Updated.
152
153 2015-01-07 Richard Earnshaw <rearnsha@arm.com>
154
155 * sysdeps/aarch64/strrchr.S: New file.
156 * NEWS: Updated.
157
158 2015-01-07 Eric Biggers <ebiggers3@gmail.com>
159
160 [BZ #17658]
161 * stdlib/setenv.c: Fix memory leak when setting large,
162 duplicate string.
163
164 2015-01-06 Vladimir A. Nazarenko <naszar@ya.ru>
165
166 [BZ #17273]
167 * misc/mntent_r.c (__getmntent_r): Cut off trailing spaces
168 and tabs from buffer before parsing fstab entry.
169 * misc/tst-mntent.c (main): Add test for mount entry with
170 trailing spaces and tabs.
171
172 2015-01-06 Joseph Myers <joseph@codesourcery.com>
173
174 [BZ #17748]
175 * include/fenv.h (__fesetround): Declare. Use libm_hidden_proto.
176 * math/fesetround.c (fesetround): Rename to __fesetround and
177 define as weak alias of __fesetround. Use libm_hidden_weak.
178 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Likewise.
179 * sysdeps/alpha/fpu/fesetround.c (fesetround): Likewise.
180 * sysdeps/arm/fesetround.c (fesetround): Likewise.
181 * sysdeps/hppa/fpu/fesetround.c (fesetround): Likewise.
182 * sysdeps/i386/fpu/fesetround.c (fesetround): Likewise.
183 * sysdeps/ia64/fpu/fesetround.c (fesetround): Likewise.
184 * sysdeps/m68k/fpu/fesetround.c (fesetround): Likewise.
185 * sysdeps/mips/fpu/fesetround.c (fesetround): Likewise.
186 * sysdeps/powerpc/fpu/fenv_libc.h (__fesetround): Rename to
187 __fesetround_inline.
188 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetround_ppc): Call
189 __fesetround_inline instead of __fesetround.
190 * sysdeps/powerpc/fpu/fesetround.c (fesetround): Rename to
191 __fesetround and define as weak alias of __fesetround. Use
192 libm_hidden_weak. Call __fesetround_inline instead of
193 __fesetround.
194 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Rename to
195 __fesetround and define as weak alias of __fesetround. Use
196 libm_hidden_weak.
197 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c (fesetround):
198 Likewise.
199 * sysdeps/s390/fpu/fesetround.c (fesetround): Likewise.
200 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
201 * sysdeps/sparc/fpu/fesetround.c (fesetround): Likewise.
202 * sysdeps/tile/math_private.h (__fesetround): New inline function.
203 * sysdeps/x86_64/fpu/fesetround.c (fesetround): Rename to
204 __fesetround and define as weak alias of __fesetround. Use
205 libm_hidden_weak.
206 * sysdeps/generic/math_private.h (default_libc_fesetround): Call
207 __fesetround instead of fesetround.
208 (default_libc_feholdexcept_setround): Likewise.
209 (libc_feholdsetround_ctx): Likewise.
210 (libc_feholdsetround_noex_ctx): Likewise.
211
212 [BZ #17748]
213 * include/fenv.h (__fesetenv): Use libm_hidden_proto.
214 * math/fesetenv.c (__fesetenv): Use libm_hidden_def.
215 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
216 and define as weak alias of __fesetenv. Use libm_hidden_weak.
217 * sysdeps/alpha/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
218 * sysdeps/arm/fesetenv.c (fesetenv): Rename to __fesetenv and
219 define as weak alias of __fesetenv. Use libm_hidden_weak.
220 * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
221 * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
222 * sysdeps/ia64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
223 define as weak alias of __fesetenv. Use libm_hidden_weak.
224 * sysdeps/m68k/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
225 * sysdeps/mips/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
226 define as weak alias of __fesetenv. Use libm_hidden_weak.
227 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Use
228 libm_hidden_def.
229 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Likewise.
230 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c (__fesetenv):
231 Likewise.
232 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
233 define as weak alias of __fesetenv. Use libm_hidden_weak.
234 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
235 * sysdeps/sparc/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
236 * sysdeps/tile/math_private.h (__fesetenv): New inline function.
237 * sysdeps/x86_64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
238 and define as weak alias of __fesetenv. Use libm_hidden_weak.
239 * sysdeps/generic/math_private.h (default_libc_fesetenv): Use
240 __fesetenv instead of fesetenv.
241 (libc_feresetround_noex_ctx): Likewise.
242 * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
243 * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
244 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Likewise.
245 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
246 * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
247 * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
248 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
249 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
250 (__feupdateenv): Likewise.
251 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
252 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
253 * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
254 * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Likewise.
255
256 2015-01-06 Aurelien Jarno <aurelien@aurel32.net>
257
258 [BZ #17806]
259 * resolv/res_init.c (__res_iclose): Only clear nsinit if the
260 addresses have been freed.
261
262 2015-01-06 Aurelien Jarno <aurelien@aurel32.net>
263
264 * resolv/res_init.c (__res_vinit): Improve comments about nserv
265 and nservall.
266
267 2015-01-06 Ondřej Bílka <neleai@seznam.cz>
268
269 * sysdeps/unix/sysv/linux/check_pf.c (make_request):
270 Clean up check_pf allocation pattern. addresses
271
272 2015-01-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
273
274 * nptl/pthread_cancel.c (pthread_cancel): Use ANSI prototype.
275 * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Likewise.
276 * nptl/pthread_cond_wait.c (__pthread_cond_wait): Likewise.
277 * nptl/pthread_exit.c (__pthread_exit): Likewise.
278 * nptl/pthread_join.c (pthread_join): Likewise.
279 * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
280 * sysdeps/posix/waitid.c (__waitid): Likewise.
281 * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
282 * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
283 * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
284 * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
285 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
286 Likewise.
287 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
288 (__libc_pread64): Likewise.
289 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
290 (__libc_pwrite): Likewise.
291 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
292 (__libc_pwrite64): Likewsie.
293 * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
294 * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
295 * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
296 * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
297 * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
298 * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
299 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
300 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
301 Likewise.
302 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
303 (__libc_pread64): Likewise.
304 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_pwrite):
305 Likewise.
306 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
307 (__libc_pwrite64): Likewise.
308 * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
309 * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
310 * sysdeps/unix/sysv/linux/preadv.c (PREADV): Likewise.
311 * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Likewise.
312 * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
313 * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
314 * sysdeps/unix/sysv/linux/pwritev.c (__libc_pwritev): Likewise.
315 * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
316 * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
317 * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
318 * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_write64): Likewise.
319 * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
320 * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
321 * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Likewise.
322 * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
323 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
324 Likewise.
325
326 2015-01-06 Andrew Senkevich <andrew.n.senkevich@gmail.com>
327
328 * math/Makefile (CFLAGS-test-float.c): Remove -frounding-math.
329 (CFLAGS-test-double.c): Likewise.
330 (CFLAGS-test-ldouble.c): Likewise.
331 (CPPFLAGS-test-ifloat.c): Likewise.
332 (CPPFLAGS-test-idouble.c): Likewise.
333 (CPPFLAGS-test-ildoubl.c): Likewise.
334 (CFLAGS-test-test-fenv.c): Remove variable.
335 (CFLAGS-test-misc.c): Likewise.
336
337 2015-01-06 H.J. Lu <hongjiu.lu@intel.com>
338
339 [BZ #17797]
340 * bits/time.h (CLOCKS_PER_SEC): Changed to ((clock_t) 1000000).
341 * sysdeps/unix/sysv/linux/bits/time.h (CLOCKS_PER_SEC): Likewise.
342 * sysdeps/unix/sysv/linux/clock.c (clock): _Static_assert
343 CLOCKS_PER_SEC == 1000000.
344 * time/clocktest.c (main): Replace %ld with %jd and cast to
345 intmax_t.
346
347 2015-01-05 Roland McGrath <roland@hack.frob.com>
348
349 * sysdeps/generic/unwind-resume.h: New file.
350 * sysdeps/gnu/unwind-resume.c: Include it.
351 (libgcc_s_personality): Use PERSONALITY_PROTO macro for the prototype.
352 (__gcc_personality_v0): Likewise, and PERSONALITY_ARGS for the callee
353 argument list.
354 (libgcc_s_resume): Variable renamed to __libgcc_s_resume, made hidden
355 global rather than static.
356 (_Unwind_Resume): Update user.
357 Conditionalize definition on [!HAVE_ARCH_UNWIND_RESUME].
358 (init): Likewise. Renamed to __libgcc_s_init, made hidden global
359 rather than static. Add __attribute__ ((cold)).
360 (_Unwind_Resume, __gcc_personality_v0): Update callers.
361 * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
362 * sysdeps/arm/arm-unwind-resume.S: New file.
363 * sysdeps/arm/rt-arm-unwind-resume.S: New file.
364 * sysdeps/arm/pt-arm-unwind-resume.S: New file.
365 * sysdeps/arm/Makefile [$(subdir) = csu]
366 (sysdep_routines, shared-only-routines): Add arm-unwind-resume.
367 [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
368 Add rt-arm-unwind-resume.
369 [$(subdir) = nptl]
370 (libpthread-sysdep_routines, libpthread-shared-only-routines):
371 Add pt-arm-unwind-resume.
372 * sysdeps/unix/sysv/linux/arm/unwind-resume.c: File removed.
373 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: File removed.
374
375 2015-01-05 Joseph Myers <joseph@codesourcery.com>
376
377 [BZ #17748]
378 * include/fenv.h (__feholdexcept): Declare. Use
379 libm_hidden_proto.
380 * math/feholdexcpt.c (feholdexcept): Rename to __feholdexcept and
381 define as weak alias of __feholdexcept. Use libm_hidden_weak.
382 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Likewise.
383 * sysdeps/alpha/fpu/feholdexcpt.c (feholdexcept): Likewise.
384 * sysdeps/arm/feholdexcpt.c (feholdexcept): Likewise.
385 * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Likewise.
386 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Likewise.
387 * sysdeps/ia64/fpu/feholdexcpt.c (feholdexcept): Likewise.
388 * sysdeps/m68k/fpu/feholdexcpt.c (feholdexcept): Likewise.
389 * sysdeps/mips/fpu/feholdexcpt.c (feholdexcept): Likewise.
390 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
391 * sysdeps/powerpc/nofpu/feholdexcpt.c (feholdexcept): Likewise.
392 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c
393 (feholdexcept): Likewise.
394 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
395 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
396 * sysdeps/sparc/fpu/feholdexcpt.c (feholdexcept): Likewise.
397 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
398 * sysdeps/generic/math_private.h (default_libc_feholdexcept): Use
399 __feholdexcept instead of feholdexcept.
400 (default_libc_feholdexcept_setround): Likewise.
401
402 2015-01-05 Steve Ellcey <sellcey@imgtec.com>
403
404 * sysdeps/mips/memset.S (memset): Modify for mips32r6/mips64r6
405 to avoid using stl/str to align destination.
406
407 2015-01-05 Steve Ellcey <sellcey@imgtec.com>
408
409 * sysdeps/mips/memcpy.S: Add support for mips32r6/mips64r6.
410
411 2015-01-05 Joseph Myers <joseph@codesourcery.com>
412
413 [BZ #17796]
414 * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c
415 [!SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)] (posix_fadvise64):
416 Define as weak alias not strong alias.
417
418 2015-01-05 Steve Ellcey <sellcey@imgtec.com>
419
420 * sysdeps/mips/dl-machine.h (elf_machine_load_address): Replace
421 bltzal with addiupc.
422 (RTLD_START): Ditto.
423
424 2015-01-05 Chris Metcalf <cmetcalf@ezchip.com>
425
426 * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Fix return type
427 for __vdso_* functions in declarations.
428 * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise for
429 definitions.
430 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL,
431 INTERNAL_VSYSCALL): Use struct return types to check for error.
432
433 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c [!defined _LP64
434 && REGISTER_CAST_INT32_TO_INT64]: Provide explicit lround()
435 function with cast from llround().
436 * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Define.
437 * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
438 Define.
439
440 2015-01-05 Joseph Myers <joseph@codesourcery.com>
441
442 [BZ #17793]
443 * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c (posix_fadvise64):
444 Define as weak alias not strong alias.
445
446 [BZ #17635]
447 * ctype/ctype-c99.c: New file. isblank implementation moved from
448 ...
449 * ctype/ctype-extn.c: ... here.
450 (__isblank_l): Move to ...
451 * ctype/ctype-c99_l.c: ... here. New file.
452 * ctype/Makefile (routines): Add ctype-c99 and ctype-c99_l.
453 * conform/Makefile (test-xfail-ISO99/ctype.h/linknamespace):
454 Remove variable.
455 (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
456 (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
457 (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
458 (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
459 (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
460
461 [BZ #17777]
462 * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c
463 (posix_fadvise64): Define as weak alias not strong alias.
464 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
465 (posix_fallocate64): Likewise.
466 * conform/Makefile (test-xfail-XOPEN2K/fcntl.h/linknamespace):
467 Remove variable.
468 (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
469 (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
470 (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
471 (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
472 (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
473
474 2015-01-05 Matthew Fortune <matthew.fortune@imgtec.com>
475
476 [BZ #16191]
477 * NEWS: Mention bug fix.
478 * sysdeps/unix/sysv/linux/mips/sys/user.h (PAGE_SHIFT): Remove.
479 (PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Likewise.
480 (HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR): Likewise.
481 (HOST_STACK_END_ADDR): Likewise.
482
483 2015-01-02 Joseph Myers <joseph@codesourcery.com>
484
485 [BZ #17748]
486 * include/fenv.h (__fegetround): Declare. Use libm_hidden_proto.
487 * math/fegetround.c (fegetround): Rename to __fegetround and
488 define as weak alias of __fegetround. Use libm_hidden_weak.
489 * sysdeps/aarch64/fpu/fegetround.c (fegetround): Likewise.
490 * sysdeps/alpha/fpu/fegetround.c (fegetround): Likewise.
491 * sysdeps/arm/fegetround.c (fegetround): Likewise.
492 * sysdeps/hppa/fpu/fegetround.c (fegetround): Likewise.
493 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
494 * sysdeps/ia64/fpu/fegetround.c (fegetround): Likewise.
495 * sysdeps/m68k/fpu/fegetround.c (fegetround): Likewise.
496 * sysdeps/mips/fpu/fegetround.c (fegetround): Likewise.
497 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
498 Undefine after rather than before function definition; use
499 parentheses around function name in definition.
500 (__fegetround): Also undefine macro after function definition.
501 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Rename to
502 __fegetround and define as weak alias of __fegetround. Use
503 libm_hidden_weak. Do not undefine as macro.
504 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
505 Likewise.
506 * sysdeps/s390/fpu/fegetround.c (fegetround): Rename to
507 __fegetround and define as weak alias of __fegetround. Use
508 libm_hidden_weak.
509 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
510 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
511 * sysdeps/tile/math_private.h (__fegetround): New inline function.
512 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Rename to
513 __fegetround and define as weak alias of __fegetround. Use
514 libm_hidden_weak.
515 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Use
516 __fegetround instead of fegetround.
517
518 [BZ #17782]
519 * sysdeps/unix/sysv/linux/mips/bits/termios.h (TIOCSER_TEMT):
520 Condition macro definition on [__USE_MISC].
521
522 [BZ #17781]
523 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
524 (struct sigaction): Change type of sa_flags field to int.
525
526 [BZ #17780]
527 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (struct flock)
528 [!__USE_FILE_OFFSET64 && _MIPS_SIM != _ABI64]: Rename pad field to
529 __glibc_reserved0.
530
531 * nptl/version.c (banner): Use single year in copyright notice.
532
533 * NEWS: Update copyright dates.
534 * catgets/gencat.c (print_version): Likewise.
535 * csu/version.c (banner): Likewise.
536 * debug/catchsegv.sh: Likewise.
537 * debug/pcprofiledump.c (print_version): Likewise.
538 * debug/xtrace.sh (do_version): Likewise.
539 * elf/ldconfig.c (print_version): Likewise.
540 * elf/ldd.bash.in: Likewise.
541 * elf/pldd.c (print_version): Likewise.
542 * elf/sotruss.sh: Likewise.
543 * elf/sprof.c (print_version): Likewise.
544 * iconv/iconv_prog.c (print_version): Likewise.
545 * iconv/iconvconfig.c (print_version): Likewise.
546 * locale/programs/locale.c (print_version): Likewise.
547 * locale/programs/localedef.c (print_version): Likewise.
548 * login/programs/pt_chown.c (print_version): Likewise.
549 * malloc/memusage.sh (do_version): Likewise.
550 * malloc/memusagestat.c (print_version): Likewise.
551 * malloc/mtrace.pl: Likewise.
552 * manual/libc.texinfo: Likewise.
553 * nptl/version.c (banner): Likewise.
554 * nscd/nscd.c (print_version): Likewise.
555 * nss/getent.c (print_version): Likewise.
556 * nss/makedb.c (print_version): Likewise.
557 * posix/getconf.c (main): Likewise.
558 * scripts/test-installation.pl: Likewise.
559 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
560
561 2015-01-02 Will Newton <will.newton@linaro.org>
562
563 * sysdeps/arm/armv7/configure: Removed.
564 * sysdeps/arm/armv7/configure.ac: Likewise.
565
566 2015-01-02 Joseph Myers <joseph@codesourcery.com>
567
568 * All files with FSF copyright notices: Update copyright dates
569 using scripts/update-copyrights.
570 * intl/plural.c: Regenerated.
571 * locale/programs/charmap-kw.h: Likewise.
572 * locale/programs/locfile-kw.h: Likewise.
573
574 2015-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
575
576 * scripts/gen-posix-conf-vars.awk (END): Don't use sprintf.
577
578 2014-12-31 Joseph Myers <joseph@codesourcery.com>
579
580 [BZ #17748]
581 * include/fenv.h (__fegetenv): Use libm_hidden_proto.
582 * math/fegetenv.c (__fegetenv): Use libm_hidden_def.
583 * sysdeps/aarch64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
584 and define as weak alias of __fegetenv. Use libm_hidden_weak.
585 * sysdeps/alpha/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
586 * sysdeps/arm/fegetenv.c (fegetenv): Rename to __fegetenv and
587 define as weak alias of __fegetenv. Use libm_hidden_weak.
588 * sysdeps/hppa/fpu/fegetenv.c (fegetenv): Likewise.
589 * sysdeps/i386/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
590 * sysdeps/ia64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
591 define as weak alias of __fegetenv. Use libm_hidden_weak.
592 * sysdeps/m68k/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
593 * sysdeps/mips/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
594 define as weak alias of __fegetenv. Use libm_hidden_weak.
595 * sysdeps/powerpc/fpu/fegetenv.c (__fegetenv): Use
596 libm_hidden_def.
597 * sysdeps/powerpc/nofpu/fegetenv.c (__fegetenv): Likewise.
598 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (__fegetenv):
599 Likewise.
600 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
601 define as weak alias of __fegetenv. Use libm_hidden_weak.
602 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
603 * sysdeps/sparc/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
604 * sysdeps/tile/math_private.h (__fegetenv): New inline function.
605 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
606 and define as weak alias of __fegetenv. Use libm_hidden_weak.
607 * sysdeps/generic/math_private.h (libc_feholdsetround_ctx): Use
608 __fegetenv instead of fegetenv.
609 (libc_feholdsetround_noex_ctx): Likewise.
610
611 2014-12-31 Matthew Fortune <matthew.fortune@imgtec.com>
612
613 * elf/elf.h (PT_MIPS_ABIFLAGS): Define.
614 (Elf_MIPS_ABIFlags_v0): New structure.
615 (EF_MIPS_FP64): Define.
616 (MIPS_AFL_REG_NONE, MIPS_AFL_REG_32, MIPS_AFL_REG_64): Likewise.
617 (MIPS_AFL_REG_128, MIPS_AFL_ASE_DSP, MIPS_AFL_ASE_DSP64): Likewise.
618 (MIPS_AFL_ASE_DSPR2, MIPS_AFL_ASE_EVA, MIPS_AFL_ASE_MCU): Likewise.
619 (MIPS_AFL_ASE_MDMX, MIPS_AFL_ASE_MIPS3D, MIPS_AFL_ASE_MT): Likewise.
620 (MIPS_AFL_ASE_SMARTMIPS, MIPS_AFL_ASE_VIRT): Likewise.
621 (MIPS_AFL_ASE_VIRT64, MIPS_AFL_ASE_MSA, MIPS_AFL_ASE_MSA64): Likewise.
622 (MIPS_AFL_ASE_MIPS16, MIPS_AFL_ASE_MICROMIPS): Likewise.
623 (MIPS_AFL_ASE_XPA, MIPS_AFL_EXT_XLR, MIPS_AFL_EXT_OCTEON2): Likewise.
624 (MIPS_AFL_EXT_OCTEONP, MIPS_AFL_EXT_LOONGSON_3A): Likewise.
625 (MIPS_AFL_EXT_OCTEON, MIPS_AFL_EXT_5900, MIPS_AFL_EXT_4010): Likewise.
626 (MIPS_AFL_EXT_4100, MIPS_AFL_EXT_3900, MIPS_AFL_EXT_10000): Likewise.
627 (MIPS_AFL_EXT_SB1, MIPS_AFL_EXT_4111, MIPS_AFL_EXT_4120): Likewise.
628 (MIPS_AFL_EXT_5400, MIPS_AFL_EXT_5500): Likewise.
629 (MIPS_AFL_EXT_LOONGSON_2E, MIPS_AFL_EXT_LOONGSON_2F): Likewise.
630 (Val_GNU_MIPS_ABI_FP_ANY, Val_GNU_MIPS_ABI_FP_DOUBLE): New enum values.
631 (Val_GNU_MIPS_ABI_FP_SINGLE, Val_GNU_MIPS_ABI_FP_SOFT): Likewise.
632 (Val_GNU_MIPS_ABI_FP_OLD_64, Val_GNU_MIPS_ABI_FP_XX): Likewise.
633 (Val_GNU_MIPS_ABI_FP_64, Val_GNU_MIPS_ABI_FP_64A): Likewise.
634 (Val_GNU_MIPS_ABI_FP_MAX): Likewise.
635 * sysdeps/mips/Makefile [subdir=elf]: Add tst-abi-interlink,
636 tst-mode-switch-1, tst-mode-switch-2, tst-mode-switch-3 tests.
637 * sysdeps/mips/bits/linkmap.h (struct link_map_machine): Add fpmode
638 field.
639 * sysdeps/mips/dl-machine.h (elf_machine_matches_host): Reject
640 EF_MIPS_FP64.
641 * sysdeps/mips/dl-machine-reject-phdr.h: New file.
642 * sysdeps/mips/tst-abi-fp32mod.c: Likewise.
643 * sysdeps/mips/tst-abi-fpxxmod.c: Likewise.
644 * sysdeps/mips/tst-abi-fpxxomod.c: Likewise.
645 * sysdeps/mips/tst-abi-fp64mod.c: Likewise.
646 * sysdeps/mips/tst-abi-fp64amod.c: Likewise.
647 * sysdeps/mips/tst-abi-interlink.c: Likewise.
648 * sysdeps/mips/tst-mode-switch-1.c: Likewise.
649 * sysdeps/mips/tst-mode-switch-2.c: Likewise.
650 * sysdeps/mips/tst-mode-switch-3.c: Likewise.
651 * sysdeps/unix/sysv/linux/mips/configure.ac (o32-fpabi): Define to
652 record the current FP ABI extension.
653 (mips-mode-switch): Define to show if kernel headers support mode
654 switching.
655 * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
656 * sysdeps/unix/sysv/linux/mips/ldsodefs.h: Increase maximum
657 supported SYSV ABI version to 3.
658 * sysdeps/unix/sysv/linux/mips/libc-abis: Add new MIPS_O32_FP64
659 feature.
660
661 2014-12-31 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
662 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
663
664 * sysdeps/powerpc/powerpc64/power7/strcpy.S (strcpy): Optimize unaligned
665 path.
666 * benchtests/bench-strcpy.c (test_main): Add more unaligned inputs.
667
668 2014-12-31 Joseph Myers <joseph@codesourcery.com>
669
670 * sysdeps/powerpc/bits/fenvinline.h (fegetround): Rename macro to
671 __fegetround and redefine to call __fegetround. Remove condition
672 on [!__NO_MATH_INLINES].
673 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove inline
674 function.
675 * sysdeps/powerpc/nofpu/fenv_libc.h: Remove file.
676 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
677 Remove macro.
678 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Include <fenv.h>
679 instead of <fenv_libc.h>.
680 (__llrintl): Call fegetround instead of __fegetround.
681 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Include <fenv.h>
682 instead of <fenv_libc.h>.
683 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
684 (__lrintl): Call fegetround instead of __fegetround.
685 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Include <fenv.h>
686 instead of <fenv_libc.h>.
687 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
688 (__rintl): Call fegetround instead of __fegetround.
689
690 2014-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
691
692 * scripts/gen-posix-conf-vars.awk: Don't use multi-dimensional
693 arrays.
694
695 2014-12-30 H.J. Lu <hongjiu.lu@intel.com>
696
697 [BZ #17775]
698 * sysdeps/i386/dl-machine.h (PI_STATIC_AND_HIDDEN): Removed.
699 (elf_machine_dynamic) [!PI_STATIC_AND_HIDDEN]: Likewise.
700 (elf_machine_load_address) [!PI_STATIC_AND_HIDDEN]: Likewise.
701
702 2014-12-30 Andrew Senkevich <andrew.senkevich@intel.com>
703
704 * sysdeps/i386/tls-macros.h: Include <features.h>.
705 (TLS_LE): Use non-PIC version for GCC >= 5.0.
706 (TLS_IE): Likewise.
707 (TLS_LD): Likewise.
708 (TLS_GD): Likewise.
709 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Don't
710 define for GCC >= 5.0.
711
712 2014-12-30 Chris Metcalf <cmetcalf@ezchip.com>
713
714 * math/test-fenv.c (test_single_exception, set_single_exc,
715 feenv_nomask_test, feenv_mask_test, feexcp_nomask_test,
716 feexcp_mask_test, feenable_test, fe_single_test): Add
717 [!FE_ALL_EXCEPT] test so these routines are not compiled in the
718 case where they are not used.
719 * math/libm-test.inc: Likewise.
720 * setjmp/test-setjmp-fp.c: Mark attribute ((unused)) on variable
721 unused in the absence of FP rounding/exception support.
722 * stdio-common/tst-printf-round.c: Likewise.
723 * stdlib/tst-strtod-round.c: Likewise.
724 * stdlib/tst-strtod-underflow.c: Likewise.
725
726 2014-12-30 Joseph Myers <joseph@codesourcery.com>
727
728 [BZ #17723]
729 * include/fenv.h (__feraiseexcept): Use libm_hidden_proto.
730 * math/fraiseexcpt.c (__feraiseexcept): Use libm_hidden_def.
731 * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
732 __feraiseexcept and define as weak alias of __feraiseexcept. Use
733 libm_hidden_weak.
734 * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Likewise.
735 * sysdeps/hppa/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
736 * sysdeps/i386/fpu/fraiseexcpt.c (__feraiseexcept): Use
737 libm_hidden_def.
738 * sysdeps/ia64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
739 __feraiseexcept and define as weak alias of __feraiseexcept. Use
740 libm_hidden_weak.
741 * sysdeps/m68k/coldfire/fpu/fraiseexcpt.c (feraiseexcept):
742 Likewise.
743 * sysdeps/microblaze/math_private.h (__feraiseexcept): New macro.
744 * sysdeps/mips/fpu/fraiseexcpt.c (feraiseexcept): Rename to
745 __feraiseexcept and define as weak alias of __feraiseexcept. Use
746 libm_hidden_weak.
747 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Use
748 libm_hidden_def.
749 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
750 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c
751 (__feraiseexcept): Likewise.
752 * sysdeps/s390/fpu/fraiseexcpt.c (feraiseexcept): Rename to
753 __feraiseexcept and define as weak alias of __feraiseexcept. Use
754 libm_hidden_weak.
755 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
756 * sysdeps/sparc/fpu/fraiseexcpt.c (__feraiseexcept): Use
757 libm_hidden_def.
758 * sysdeps/tile/math_private.h (__feraiseexcept): New macro.
759 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (__feraiseexcept):
760 Use libm_hidden_def.
761 * sysdeps/x86_64/fpu/fraiseexcpt.c (__feraiseexcept): Use
762 libm_hidden_def.
763 (feraiseexcept): Define as weak not strong alias. Use
764 libm_hidden_weak.
765 * sysdeps/x86/fpu/bits/fenv.h (__feraiseexcept_invalid_divbyzero):
766 New inline function. Factored out of ...
767 (feraiseexcept): ... here. Use __feraiseexcept_invalid_divbyzero.
768 * sysdeps/x86/fpu/include/bits/fenv.h: New file.
769 * math/e_scalb.c (invalid_fn): Call __feraiseexcept instead of
770 feraiseexcept.
771 * math/w_acos.c (__acos): Likewise.
772 * math/w_asin.c (__asin): Likewise.
773 * math/w_ilogb.c (__ilogb): Likewise.
774 * math/w_j0.c (y0): Likewise.
775 * math/w_j1.c (y1): Likewise.
776 * math/w_jn.c (yn): Likewise.
777 * math/w_log.c (__log): Likewise.
778 * math/w_log10.c (__log10): Likewise.
779 * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Likewise.
780 * sysdeps/aarch64/fpu/math_private.h
781 (libc_feupdateenv_test_aarch64): Likewise.
782 * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
783 * sysdeps/arm/fenv_private.h (libc_feupdateenv_test_vfp): Likewise.
784 * sysdeps/arm/feupdateenv.c (feupdateenv): Likewise.
785 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
786 * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
787 * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
788 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Likewise.
789 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
790 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
791 * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
792
793 2014-12-30 H.J. Lu <hongjiu.lu@intel.com>
794
795 [BZ #17732]
796 * io/test-utime.c (main): Replace %ld with %jd and cast to
797 intmax_t.
798 * libio/tst-ftell-active-handler.c (do_append_test): Likewise.
799 * nptl/tst-mutex5.c: Include <stdint.h>.
800 (do_test): Replace %ld with %jd and cast to intmax_t.
801 * posix/tst-regex.c (run_test): Likewise.
802 (run_test_backwards): Likewise.
803 * rt/tst-clock.c: Include <stdint.h>.
804 (clock_test): Replace %ld with %jd and cast to intmax_t.
805 * rt/tst-cpuclock1.c: Include <stdint.h>.
806 (do_test): Replace %lu with %ju and cast to uintmax_t.
807 * rt/tst-cpuclock2.c: Include <stdint.h>.
808 (do_test): Replace %lu with %ju and cast to uintmax_t.
809 * rt/tst-mqueue1.c: Include <stdint.h>.
810 (check_attrs): Replace %ld with %jd and cast to intmax_t.
811 * rt/tst-mqueue3.c (fct): Replace %ld with %jd and cast to
812 intmax_t.
813 * rt/tst-mqueue4.c (do_test): Likewise.
814 * rt/tst-timer4.c: Include <stdint.h>.
815 (check_ts): Replace %ld with %jd and cast to intmax_t.
816 (do_test): Likewise.
817 * stdio-common/tst-fmemopen2.c (do_test): Replace %ld with %jd
818 and cast to intmax_t.
819 * sysdeps/pthread/tst-timer.c (main): Likewise.
820 * time/clocktest.c (main): Likewise.
821 * time/tst-posixtz.c (do_test): Likewise.
822 * timezone/tst-timezone.c (main): Likewise.
823
824 2014-12-30 Andrew Senkevich <andrew.senkevich@intel.com>
825 H.J. Lu <hongjiu.lu@intel.com>
826
827 * sysdeps/i386/i686/multiarch/bcopy-sse2-unaligned.S: New file.
828 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
829 * sysdeps/i386/i686/multiarch/memmove-sse2-unaligned.S: Likewise.
830 * sysdeps/i386/i686/multiarch/mempcpy-sse2-unaligned.S: Likewise.
831 * sysdeps/i386/i686/multiarch/bcopy.S: Select the sse2_unaligned
832 version if bit_Fast_Unaligned_Load is set.
833 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
834 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
835 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
836 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
837 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
838 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
839 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
840 bcopy-sse2-unaligned, memcpy-sse2-unaligned,
841 memmove-sse2-unaligned and mempcpy-sse2-unaligned.
842 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c (MAX_IFUNC): Set
843 to 4.
844 (__libc_ifunc_impl_list): Test __bcopy_sse2_unaligned,
845 __memmove_chk_sse2_unaligned, __memmove_sse2_unaligned,
846 __memcpy_chk_sse2_unaligned, __memcpy_sse2_unaligned,
847 __mempcpy_chk_sse2_unaligned, and __mempcpy_sse2_unaligned.
848
849 2014-12-29 Chris Metcalf <cmetcalf@ezchip.com>
850
851 * sysdeps/unix/sysv/linux/tst-setgetname.c (do_test): Use #ifndef
852 instead of #if to avoid a Wundef warning.
853 * stdlib/tst-limits.c (do_test): Likewise.
854
855 * sysdeps/tile/math_private.h (fetestexcept): Add macro to
856 parallel other exception macros.
857 (fegetenv): Convert from macro to extern inline so that it applies
858 retroactively to inline functions already seen by the compiler.
859 (fesetenv, feupdateenv, fegetround, fesetround): Likewise.
860
861 * posix/Makefile (before-compile): Use $(objpfx) for
862 posix-conf-vars-def.h.
863
864 2014-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
865
866 * posix/getconf.c (main): Use size_t for type of I.
867 * scripts-gen-posix-conf-vars.awk (END): Use size_t for type of
868 NSPEC.
869
870 * posix/posix-conf-vars.list (SPEC:XBS5): Add sysconf prefix.
871 * posix/confstr.c: Define NEED_SPEC_ARRAY to 0.
872 * posix/posix-envs.def: Likewise.
873 * sysdeps/posix/sysconf.c: Likewise.
874 * posix/getconf.c: Define NEED_SPEC_ARRAY to 1.
875 (specs): Remove array.
876 * scripts/gen-posix-conf-vars.awk: Support generation of specs
877 array.
878
879 * posix/posix-conf-vars.list: Add _POSIX sysconf namespace.
880 * sysdeps/posix/sysconf.c: Include posix-conf-vars.h.
881 (__sysconf): Use CONF_IS_* macros.
882
883 * posix/Makefile (before-compile): Add posix-conf-vars-def.h.
884 ($(objpfx)posix-conf-vars-def.h): New target.
885 * posix/posix-conf-vars.list: New file.
886 * posix/posix-conf-vars.h: New file.
887 * posix/confstr.c: Include posix-conf-vars.h.
888 (confstr): Use CONF_IS_* macros.
889 * posix/posix-envs.def: Include posix-conf-vars.h. Use
890 CONF_IS_* macros.
891 * scripts/gen-posix-conf-vars.awk: New file.
892
893 2014-12-26 Chris Metcalf <cmetcalf@ezchip.com>
894
895 * sysdeps/tile/math_private.h (fegetenv, fesetenv, feupdateenv,
896 fegetround): Add no-op macros to avoid linknamespace issues.
897
898 * sysdeps/unix/sysv/linux/clock_settime.c (SYSDEP_SETTIME): Remove
899 definitions of INTERNAL_VSYSCALL and INLINE_VSYSCALL.
900
901 * sysdeps/unix/sysv/linux/tile/sysdep.h
902 (HAVE_CLOCK_GETTIME_VSYSCALL): Move definition out of
903 assembly-specific section to avoid a redefinition warning.
904
905 * sysdeps/tile/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast to
906 long before casting to pointer to avoid a cast warning.
907
908 2014-12-23 Chris Metcalf <cmetcalf@ezchip.com>
909
910 * sysdeps/tile/tilegx/Implies: New file.
911
912 2014-12-23 Richard Earnshaw <rearnsha@arm.com>
913
914 * string/stpcpy.c (__stpcpy): Rewrite using strlen and memcpy.
915
916 2014-12-23 Florian Weimer <fweimer@redhat.com>
917
918 * iconvdata/run-iconv-test.sh: Actually test iconv modules.
919
920 2014-12-22 Joseph Myers <joseph@codesourcery.com>
921
922 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES): Do
923 not define.
924 * sysdeps/unix/sysv/linux/utimes.c: Do not include
925 <kernel-features.h>.
926 (__utimes) [__NR_utimes]: Make code unconditional.
927 (__utimes) [!__ASSUME_UTIMES]: Remove conditional code.
928 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
929 (__ASSUME_UTIMES): Do not undefine.
930 * sysdeps/unix/sysv/linux/tile/kernel-features.h
931 (__ASSUME_UTIMES): Likewise.
932 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
933 (__ASSUME_UTIMES): Define for [__LINUX_KERNEL_VERSION >= 0x030e00]
934 instead of undefining for [__LINUX_KERNEL_VERSION < 0x030e00].
935 * sysdeps/unix/sysv/linux/hppa/utimes.c: New file.
936
937 2014-12-22 Steve Ellcey <sellcey@imgtec.com>
938
939 * sysdeps/mips/memcpy.S: Fix preprocessor indentation.
940
941 2014-12-22 Chris Metcalf <cmetcalf@ezchip.com>
942
943 [BZ #17747]
944 * math/w_j0.c [defined NO_LONG_DOUBLE] (j0, y0): Convert strong
945 alias to weak alias for j0l, y0l.
946 * math/w_j1.c [defined NO_LONG_DOUBLE] (j1, y1): Likewise.
947 * math/w_jn.c [defined NO_LONG_DOUBLE] (jn, yn): Likewise.
948
949 [BZ #17746]
950 * sysdeps/tile/tilegx/strstr.c (STRSTR2): Remove implicit boolean
951 conversion.
952
953 2014-12-22 Steve Ellcey <sellcey@imgtec.com>
954
955 * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Set
956 to zero if not already defined.
957
958 2014-12-22 Joseph Myers <joseph@codesourcery.com>
959
960 [BZ #17724]
961 * sysdeps/ieee754/k_standard.c: Don't include <float.h>.
962 (__kernel_standard_f): Remove. Moved to k_standardf.c.
963 (__kernel_standard_l): Remove. Moved to k_standardl.c with
964 (char *) casts added.
965 * sysdeps/ieee754/k_standardf.c: New file.
966 * sysdeps/ieee754/k_standardl.c: Likewise.
967 * math/Makefile (libm-support): Remove k_standard.
968 (libm-calls): Add k_standard.
969
970 2014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
971
972 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
973 Optimize to avoid an unnecessary FPCR read.
974
975 2014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
976
977 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
978 Optimize to reduce FPCR/FPSR accesses.
979
980 2014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
981
982 * sysdeps/aarch64/fpu/ftestexcept.c (fetestexcept):
983 Call libc_fetestexcept_aarch64.
984
985 2014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
986
987 * sysdeps/aarch64/fpu/fesetround.c (fesetround):
988 Call libc_fesetround_aarch64.
989
990 2014-12-22 Joseph Myers <joseph@codesourcery.com>
991
992 [BZ #17733]
993 * sysdeps/unix/sysv/linux/bind.S (NO_WEAK_ALIAS): Do not define.
994 (__bind): Do not define as weak alias.
995 * sysdeps/unix/sysv/linux/getsockname.S (NO_WEAK_ALIAS): Do not
996 define.
997 (__getsockname): Do not define as weak alias.
998
999 2014-12-22 Will Newton <will.newton@linaro.org>
1000
1001 * manual/install.texi: Document that we require bison 2.7
1002 or above.
1003 * INSTALL: Regenerate.
1004 * configure.ac: Use AC_CHECK_PROG_VER instead of
1005 AC_PATH_PROG when checking for bison and check for
1006 version 2.7 or above.
1007 * configure: Regenerate.
1008
1009 2014-12-21 Chris Metcalf <cmetcalf@ezchip.com>
1010
1011 [BZ #17745]
1012 * sysdeps/tile/ffs.c (__ffs): Moved ffsll definition...
1013 * sysdeps/tile/ffsll.c (ffsll): To here.
1014
1015 * sysdeps/unix/sysv/linux/tile/localplt.data: Removed.
1016
1017 2014-12-21 H.J. Lu <hongjiu.lu@intel.com>
1018
1019 * elf/dl-tls.c (__tls_get_addr): Provide the hidden definition
1020 if not defined.
1021 * sysdeps/i386/dl-tls.h (___tls_get_addr): Provide the hidden
1022 definition.
1023 * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
1024 hidden ___tls_get_addr.
1025 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
1026 hidden __tls_get_addr.
1027 * sysdeps/generic/localplt.data (__tls_get_addr): Removed.
1028 * sysdeps/unix/sysv/linux/i386/localplt.data (___tls_get_addr):
1029 Likewise.
1030
1031 2014-12-21 Andreas Schwab <schwab@linux-m68k.org>
1032
1033 * sysdeps/m68k/dl-machine.h (RTLD_START): Remove @PLTPC from
1034 _dl_init call.
1035
1036 2014-12-21 H.J. Lu <hongjiu.lu@intel.com>
1037
1038 * sysdeps/i386/dl-machine.h (_dl_start_user): Remove @PLT
1039 from "call _dl_init@PLT".
1040 * sysdeps/x86_64/dl-machine.h (_dl_start_user): Likewise.
1041
1042 2014-12-21 Anders Kaseorg <andersk@mit.edu>
1043
1044 * manual/search.texi: (Array Sort Function): Clarify stable sorting
1045 guarantees.
1046
1047 2014-12-20 Chris Metcalf <cmetcalf@ezchip.com>
1048
1049 * sysdeps/unix/sysv/linux/tile/localplt.data: New file.
1050
1051 2014-12-19 Chris Metcalf <cmetcalf@ezchip.com>
1052
1053 [BZ #17744]
1054 * sysdeps/tile/tilegx/strstr.c (STRSTR): Call __strnlen, not
1055 strnlen.
1056
1057 2014-12-19 Steve Ellcey <sellcey@imgtec.com>
1058
1059 * sysdeps/mips/addmul_1.S (__mpn_addmul_1): Use mulu/muhu instead
1060 of multu on MIPSr6.
1061 * sysdeps/mips/mul_1.S (__mpn_mul_1): Ditto.
1062 * sysdeps/mips/submul_1.S (__mpn_submul_1): Ditto.
1063 * sysdeps/mips/mips64/addmul_1.S (__mpn_addmul_1): Ditto.
1064 * sysdeps/mips/mips64/mul_1.S (__mpn_mul_1): Ditto.
1065 * sysdeps/mips/mips64/submul_1.S (__mpn_submul_1): Ditto.
1066
1067 2014-12-19 Steve Ellcey <sellcey@imgtec.com>
1068
1069 * sysdeps/mips/sys/asm.h (PTR_ADDU): Use addu on mips32r6/mips64r6.
1070 (PTR_ADDIU): Use addiu for mips32r6/mips64r6.
1071 (PTR_SUBU): Use subu for mips32r6/mips64r6.
1072 (PTR_SUBIU): Use subu for mips32r6/mips64r6 (subiu does not exist).
1073 * sysdeps/mips/machine-gmon.h (PTR_ADDU_STRING) Use addu for
1074 mips32r6/mips64r6.
1075 (PTR_SUBU_STRING) Use subu for mips32r6/mips64r6.
1076
1077 2014-12-19 Ondřej Bílka <neleai@seznam.cz>
1078
1079 * string/strncat.c (STRNCAT): Simplify implementation.
1080
1081 2014-12-19 David S. Miller <davem@davemloft.net>
1082
1083 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Use a union to
1084 access the quad as both a long double and as a series of 4 words.
1085
1086 * get-dynamic-info.h (elf_get_dynamic_info): Ignore -Warray-bounds for a
1087 link_map->l_info array access.
1088
1089 2014-12-19 Chris Metcalf <cmetcalf@ezchip.com>
1090
1091 * iconvdata/tst-loading.c (TIMEOUT): Increase timeout 10 sec.
1092
1093 * math/atest-exp.c (TIMEOUT): Increase timeout to 10 sec.
1094 * math/atest-exp2.c (TIMEOUT): Likewise.
1095 * math/atest-sincos.c (TIMEOUT): Likewise.
1096
1097 2014-12-19 H.J. Lu <hongjiu.lu@intel.com>
1098
1099 * sysdeps/x86_64/x32/Makefile (CFLAGS-s_llround.c): Replace
1100 -Wno-error with -fno-builtin-lround.
1101
1102 2014-12-19 Torvald Riegel <triegel@redhat.com>
1103
1104 * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: New file.
1105 Contains futex constants and functions moved over from ...
1106 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here. Include
1107 <lowlevellock-futex.h>.
1108 (lll_wait_tid): Use lll_futex_wait instead of assembly code.
1109 (lll_timedwait_tid): Add comments and parentheses around macro
1110 arguments.
1111
1112 2014-12-19 Torvald Riegel <triegel@redhat.com>
1113
1114 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Include
1115 <lowlevellock-futex.h>. Remove FUTEX_* constants defined there.
1116 (__lll_private_flag): Remove.
1117 (lll_futex_wait): Likewise.
1118 (lll_futex_timed_wait): Likewise.
1119 (lll_futex_wake): Likewise.
1120 (lll_futex_requeue): Likewise.
1121 (lll_wait_tid): Use lll_futex_wait instead of assembly code.
1122 (__lll_timedwait_tid): Spell out argument names.
1123 (lll_timedwait_tid): Add comments and parentheses around macro
1124 arguments.
1125 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Make FUTEX_* constants,
1126 LLL_SHARED and LLL_PRIVATE usable from assembly code.
1127
1128 2014-12-19 Torvald Riegel <triegel@redhat.com>
1129
1130 * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Remove file.
1131 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
1132 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
1133 * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Likewise.
1134 * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Likewise.
1135 * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Likewise.
1136 * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Likewise.
1137 * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Likewise.
1138 * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Likewise.
1139 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: Likewise.
1140 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: Likewise.
1141 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Likewise.
1142 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Likewise.
1143 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Likewise.
1144 * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Likewise.
1145 * sysdeps/unix/sysv/linux/sh/sem_post.S: Likewise.
1146 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Likewise.
1147 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Likewise.
1148 * sysdeps/unix/sysv/linux/sh/sem_wait.S: Likewise.
1149
1150 2014-12-19 H.J. Lu <hongjiu.lu@intel.com>
1151
1152 * sysdeps/x86_64/x32/Makefile: New file.
1153
1154 2014-12-19 H.J. Lu <hongjiu.lu@intel.com>
1155
1156 * sysdeps/i386/ldbl2mpn.c (__mpn_extract_long_double): Replace
1157 1L with (mp_limb_t) 1.
1158
1159 2014-12-17 Roland McGrath <roland@hack.frob.com>
1160
1161 * sysdeps/nptl/fork.c (__fork_generation_pointer): Variable moved ...
1162 * nptl/libc_pthread_init.c: ... here.
1163 * sysdeps/nptl/fork.c (__fork_handlers): Variable moved ...
1164 * nptl/register-atfork.c: ... here.
1165
1166 * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread):
1167 Use pthread_sigmask rather than INTERNAL_SYSCALL.
1168 Use assert_perror to check its return value.
1169 (__gai_create_helper_thread): Likewise.
1170
1171 * inet/if_index.c (__if_freenameindex): Add libc_hidden_def.
1172
1173 * malloc/malloc.c (alloc_perturb, free_perturb): Remove inline keyword.
1174
1175 2014-12-17 Joseph Myers <joseph@codesourcery.com>
1176
1177 [BZ #17725]
1178 * sysdeps/generic/profil-counter.h (profil_counter): Rename to
1179 __profil_counter.
1180 * sysdeps/unix/sysv/linux/hppa/profil-counter.h (profil_counter):
1181 Likewise.
1182 * sysdeps/unix/sysv/linux/i386/profil-counter.h (profil_counter):
1183 Likewise.
1184 * sysdeps/unix/sysv/linux/ia64/profil-counter.h (profil_counter):
1185 Likewise.
1186 * sysdeps/unix/sysv/linux/s390/s390-32/profil-counter.h
1187 (profil_counter): Likewise.
1188 * sysdeps/unix/sysv/linux/s390/s390-64/profil-counter.h
1189 (profil_counter): Likewise.
1190 * sysdeps/unix/sysv/linux/sh/profil-counter.h (profil_counter):
1191 Likewise.
1192 * sysdeps/unix/sysv/linux/tile/profil-counter.h (profil_counter):
1193 Likewise.
1194 * sysdeps/unix/sysv/linux/x86_64/profil-counter.h
1195 (profil_counter): Likewise.
1196 * sysdeps/unix/sysv/linux/arm/profil-counter.h (profil_counter):
1197 Likewise.
1198 [!__profil_counter] (profil_counter): Define as weak alias of
1199 __profil_counter.
1200 * sysdeps/unix/sysv/linux/sparc/sparc32/profil-counter.h
1201 (profil_counter): Rename to __profil_counter.
1202 [!__profil_counter] (profil_counter): Define as weak alias of
1203 __profil_counter.
1204 * sysdeps/unix/sysv/linux/sparc/sparc64/profil-counter.h
1205 (profil_counter): Rename to __profil_counter.
1206 [!__profil_counter] (profil_counter): Define as weak alias of
1207 __profil_counter.
1208 * sysdeps/posix/profil.c: Update comment referring to
1209 profil_counter.
1210 (__profil): Use __profil_counter instead of profil_counter.
1211 * sysdeps/posix/sprofil.c (profil_counter): Rename to
1212 __profil_counter. Use __profil_counter_ushort and
1213 __profil_counter_uint in definitions.
1214 (__sprofil): Use __profil_counter_uint and __profil_counter_ushort
1215 instead of profil_counter_uint and profil_counter_ushort.
1216
1217 [BZ #17722]
1218 * inet/inet_mkadr.c (inet_makeaddr): Rename to __inet_makeaddr and
1219 define as weak alias of __inet_makeaddr.
1220 * resolv/inet_addr.c (inet_addr): Rename to __inet_addr and define
1221 as weak alias of __inet_addr.
1222 * resolv/inet_pton.c (inet_pton): Rename to __inet_pton and define
1223 as weak alias of __inet_pton. Use libc_hidden_weak.
1224 * include/arpa/inet.h (__inet_pton): Declare. Use
1225 libc_hidden_proto.
1226 (inet_makeaddr): Don't use libc_hidden_proto.
1227 (__inet_makeaddr): Declare. Use libc_hidden_proto.
1228 * resolv/res_init.c (__res_vinit): Use __inet_pton instead of
1229 inet_pton. Use __inet_makeaddr instead of inet_makeaddr.
1230 * conform/Makefile (test-xfail-POSIX/pthread.h/linknamespace):
1231 Remove variable.
1232 (test-xfail-POSIX/sched.h/linknamespace): Likewise.
1233 (test-xfail-POSIX/time.h/linknamespace): Likewise.
1234
1235 2014-12-17 Steve Ellcey <sellcey@imgtec.com>
1236
1237 * inet/getnetgrent_r.c: Move while loop to be inside if statement.
1238
1239 2014-12-17 Stefan Liebler <stli@linux.vnet.ibm.com>
1240
1241 * stdio-common/bug-vfprintf-nargs.c (do_test):
1242 Cast value to intptr_t to avoid format warning
1243 for usage with PRIdPTR printing macro.
1244
1245 2014-12-17 Stefan Liebler <stli@linux.vnet.ibm.com>
1246
1247 * libio/tst-widetext.c (do_test):
1248 Use format type %td instead of %Zd for ptrdiff_t
1249 in order to avoid format warning.
1250
1251 2014-12-17 Andreas Schwab <schwab@suse.de>
1252
1253 * nscd/mem.c (gc): Add size_t cast to match printf format.
1254
1255 2014-12-16 Roland McGrath <roland@hack.frob.com>
1256
1257 * sysdeps/gnu/unwind-resume.c: #include <sysdep.h>.
1258 (init): Apply PTR_MANGLE to pointers before storing them.
1259 (_Unwind_Resume, __gcc_personality_v0): Apply PTR_DEMANGLE to pointers
1260 before using them.
1261
1262 2014-12-16 Joseph Myers <joseph@codesourcery.com>
1263
1264 [BZ #17719]
1265 * sysdeps/x86_64/memrchr.S (memrchr): Rename to __memrchr and
1266 define as weak alias of __memrchr.
1267 (__memrchr): Do not define as strong alias of memrchr.
1268 * conform/Makefile (test-xfail-XPG4/libgen.h/linknamespace):
1269 Remove variable.
1270 (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
1271 (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
1272 (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
1273
1274 [BZ #17717]
1275 * inet/if_index.c (if_nametoindex): Rename to __if_nametoindex and
1276 define as weak alias of __if_nametoindex. Use libc_hidden_weak.
1277 (if_indextoname): Rename to __if_indextoname and define as weak
1278 alias of __if_indextoname. Use libc_hidden_weak.
1279 (if_freenameindex): Rename to __if_freenameindex and define as
1280 weak alias of __if_freenameindex.
1281 (if_nameindex): Rename to __if_nameindex and define as weak alias
1282 of __if_nameindex.
1283 * sysdeps/mach/hurd/if_index.c (if_nametoindex): Rename to
1284 __if_nametoindex and define as weak alias of __if_nametoindex.
1285 Use libc_hidden_weak.
1286 (if_freenameindex): Rename to __if_freenameindex and define as
1287 weak alias of __if_freenameindex.
1288 (if_nameindex): Rename to __if_nameindex and define as weak alias
1289 of __if_nameindex.
1290 (if_indextoname): Rename to __if_indextoname and define as weak
1291 alias of __if_indextoname. Use libc_hidden_weak.
1292 * sysdeps/unix/sysv/linux/if_index.c (if_nametoindex): Rename to
1293 __if_nametoindex and define as weak alias of __if_nametoindex.
1294 Use libc_hidden_weak.
1295 (if_freenameindex): Rename to __if_freenameindex and define as
1296 weak alias of __if_freenameindex. Use libc_hidden_weak.
1297 (if_nameindex_netlink): Use __if_freenameindex instead of
1298 if_freenameindex.
1299 (if_nameindex): Rename to __if_nameindex and define as weak alias
1300 of __if_nameindex. Use libc_hidden_weak.
1301 (if_indextoname): Rename to __if_indextoname and define as weak
1302 alias of __if_indextoname. Use libc_hidden_weak.
1303 * include/net/if.h [!_ISOMAC] (__if_nametoindex): Declare and use
1304 libc_hidden_proto.
1305 [!_ISOMAC] (__if_freenameindex): Likewise.
1306 * resolv/res_init.c (__res_vinit): Use __if_nametoindex instead of
1307 if_nametoindex.
1308 * conform/Makefile (test-xfail-XPG4/grp.h/linknamespace): Remove
1309 variable.
1310 (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
1311 (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
1312 (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
1313 (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
1314 (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
1315 (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
1316 (test-xfail-UNIX98/time.h/linknamespace): Likewise.
1317
1318 * conform/Makefile (test-xfail-UNIX98/semaphore.h/linknamespace):
1319 Remove variable.
1320 (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
1321 (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
1322
1323 2014-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
1324
1325 * resolv/res_send.c (__libc_res_nsend): Disable warning 'array
1326 subscript above bounds'
1327
1328 * resolv/res_send.c (__libc_res_nsend): Fix check for nsmap
1329 bounds.
1330
1331 2014-12-16 Arjun Shankar <arjun.is@lostca.se>
1332
1333 * libio/tst-fopenloc.c: Use test-skeleton.c.
1334
1335 * stdlib/tst-bsearch.c: Use test-skeleton.c.
1336 (entry): Rename to ITEM.
1337 (do_test, comp): Adjust.
1338
1339 * stdio-common/tst-fseek.c: Use test-skeleton.c.
1340
1341 2014-12-16 Torvald Riegel <triegel@redhat.com>
1342
1343 * string/tester.c: Include <libc-internal.h>.
1344 (test_memset): Ignore -Wmemset-transposed-args.
1345
1346 2014-12-16 Torvald Riegel <triegel@redhat.com>
1347
1348 * misc/tst-mntent2.c (do_test): Fix warning.
1349
1350 2014-12-16 Torvald Riegel <triegel@redhat.com>
1351
1352 * elf/tst-unique4lib.cc(a): Mark as used.
1353
1354 2014-12-16 Florian Weimer <fweimer@redhat.com>
1355
1356 [BZ #17630]
1357 * resolv/nss_dns/dns-network.c (getanswer_r): Iterate over alias
1358 names.
1359
1360 2014-12-16 Allan McRae <allan@archlinux.org>
1361
1362 * stdio-common/Makefile (tests): Re-add bug26.
1363
1364 2014-12-15 Ondřej Bílka <neleai@seznam.cz>
1365
1366 [BZ #17657]
1367 * locale/programs/ld-ctype.c (find_translit2, read_widestring): Return
1368 static array.
1369
1370 2014-12-15 Bernard Ogden <bernie.ogden@linaro.org>
1371
1372 * nptl/lowlevellock.c (__lll_lock_wait_private): Add comments.
1373 (__lll_lock_wait): Likewise.
1374 (__lll_timedlock_wait): Likewise.
1375 (__lll_timedwait_tid): Likewise.
1376 * nptl/lowlevelrobustlock.c (__lll_robust_lock_wait): Likewise.
1377 (__lll_robust_timedlock_wait): Likewise.
1378 * sysdeps/nptl/lowlevellock.h (lll_trylock): Likewise.
1379 (lll_cond_trylock): Likewise.
1380 (__lll_lock): Likewise.
1381 (__lll_robust_lock): Likewise.
1382 (__lll_cond_lock): Likewise.
1383 (lll_robust_cond_lock): Likewise.
1384 (__lll_timedlock): Likewise.
1385 (__lll_robust_timedlock): Likewise.
1386 (__lll_unlock): Likewise.
1387 (__lll_robust_unlock): Likewise.
1388 (lll_wait_tid): Likewise.
1389 (lll_timedwait_tid): Likewise.
1390
1391 2014-12-15 Torvald Riegel <triegel@redhat.com>
1392
1393 * nptl/tst-sem4.c (do_test): Start with a fresh semaphore state.
1394
1395 2014-12-15 Torvald Riegel <triegel@redhat.com>
1396
1397 * nptl/tst-mutex5.c (do_test): Do not skip tests if elision is enabled.
1398
1399 2014-12-15 Adhemerval Zanella <Azanella@linux.vnet.ibm.com>
1400
1401 * stdio-common/test-vfprintf.c: Include <libc-internal.h>.
1402 * stdio-common/tst-sprintf.c: Likewise.
1403
1404 2014-12-15 Torvald Riegel <triegel@redhat.com>
1405
1406 * sysdeps/unix/sysv/linux/s390/pthread_once.c: Remove file.
1407
1408 2014-12-15 Jeff Law <law@redhat.com>
1409
1410 [BZ #16617]
1411 * stdio-common/vfprintf.c (vfprintf): Allocate large specs array
1412 on the heap. (CVE-2012-3406)
1413 * stdio-common/bug23-2.c, stdio-common/bug23-3.c: New file.
1414 * stdio-common/bug23-4.c: New file. Test case by Joseph Myers.
1415 * stdio-common/Makefile (tests): Add bug23-2, bug23-3, bug23-4.
1416
1417 2014-12-15 Will Newton <will.newton@linaro.org>
1418
1419 * manual/install.texi: Bump required version of texinfo
1420 to 4.7 from 4.5.
1421 * INSTALL: Regenerated.
1422 * configure.ac: Check for makeinfo version 4.7 and above.
1423 * configure: Regenerated.
1424
1425 2014-12-12 Roland McGrath <roland@hack.frob.com>
1426
1427 * sysdeps/posix/shm-directory.h (SHM_GET_NAME): Take new argument
1428 PREFIX, string constant to insert between directory and name.
1429 * sysdeps/posix/shm_open.c: Update caller.
1430 * sysdeps/posix/shm_unlink.c: Likewise.
1431 * nptl/semaphoreP.h (struct mountpoint_info): Type removed.
1432 (__where_is_shmfs, mountpoint, __namedsem_once): Declarations removed.
1433 (SEM_SHM_PREFIX): New macro.
1434 * sysdeps/posix/Makefile (librt-routines): Add shm-directory only if
1435 [$(have-thread-library) = no].
1436 * nptl/Makefile (libpthread-routines): Add shm-directory.
1437 * nptl/Versions (GLIBC_PRIVATE): Add __shm_directory.
1438 * sysdeps/nptl/shm-directory.h: New file.
1439 * sysdeps/posix/shm-directory.c
1440 [IS_IN (libpthread)] (__shm_directory): Add hidden_def.
1441 * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
1442 * nptl/sem_open.c (check_add_mapping): Use munmap function rather than
1443 INTERNAL_SYSCALL.
1444 (__where_is_shmfs): Function removed.
1445 (mountpoint, defaultmount, defaultdir, __namedsem_once):
1446 Variables removed.
1447 (sem_open): Use __libc_close function rather than INTERNAL_SYSCALL.
1448 Use SHM_GET_NAME.
1449 * nptl/sem_unlink.c: Prototypify. Use SHM_GET_NAME.
1450
1451 * sysdeps/nptl/bits/libc-lockP.h [IS_IN (libpthread)]
1452 (PTFAVAIL, __libc_ptf_call, __libc_ptf_call_always): Define as
1453 unconditional for use inside libpthread.
1454 [IS_IN (libpthread)]: Include <nptl/pthreadP.h>.
1455
1456 2014-12-12 Roland McGrath <roland@hack.frob.com>
1457
1458 * nptl/pthread_getaffinity.c: New file.
1459 * nptl/pthread_setaffinity.c: New file.
1460 * nptl/pthread_getname.c: New file.
1461 * nptl/pthread_setname.c: New file.
1462
1463 * nptl/pthread_create.c (START_THREAD_DEFN)
1464 [! __ASSUME_SET_ROBUST_LIST]: Add missing & in lll_futex_wake argument.
1465
1466 2014-12-12 Stefan Liebler <stli@linux.vnet.ibm.com>
1467 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1468
1469 * resolv/res_send.c (send_vc): Disable warning resplen may
1470 be used uninitialized.
1471
1472 2014-12-12 Stefan Liebler <stli@linux.vnet.ibm.com>
1473
1474 * nptl/tst-mutex6.c
1475 (ATTR_NULL): New define checks ATTR against NULL.
1476 (do_test): Use !ATTR_NULL instead of ATTR != NULL.
1477 * nptl/tst-mutexpp6.c (ATTR_NULL): New define.
1478
1479 2014-12-11 James Lemke <jwlemke@codesourcery.com>
1480
1481 [BZ #17581]
1482 * malloc/hooks.c
1483 (mem2mem_check): Revert my previous change.
1484 (malloc_check_get_size): Revert my previous change.
1485 (mem2chunk_check): Revert my previous change.
1486
1487 2014-12-11 Roland McGrath <roland@hack.frob.com>
1488
1489 * sysdeps/posix/shm-directory.c: New file.
1490 * sysdeps/posix/shm-directory.h: New file.
1491 * sysdeps/posix/Makefile [($(subdir) = rt] (librt-routines): Add it.
1492 * sysdeps/posix/shm_open.c: Use SHM_GET_NAME.
1493 Use O_NOFOLLOW and O_CLOEXEC if available. Transmute EISDIR to EINVAL.
1494 * sysdeps/posix/shm_unlink.c: Use SHM_GET_NAME.
1495 Transmute EPERM to EACCES.
1496 * sysdeps/unix/sysv/linux/shm-directory.c: New file, most code taken
1497 from ...
1498 * sysdeps/unix/sysv/linux/shm_open.c: ... here. File removed.
1499 * sysdeps/unix/sysv/linux/shm_unlink.c: File removed.
1500
1501 2014-12-11 Kaz Kojima <kkojima@rr.iij4u.or.jp>
1502
1503 * sysdeps/sh/jmpbuf_unwind.h (_jmpbuf_sp): Declare SP as void
1504 pointer and cast to uintptr_t.
1505 * sysdeps/sh/nptl/tls.h (TLS_INIT_TP): Use NULL instead of 0.
1506 * sysdeps/unix/sysv/linux/sh/lowlevellock.h (lll_futex_timed_wait):
1507 Add cast to avoid warning.
1508 * sysdeps/unix/sysv/linux/sh/register-dump.h: Use 0 instead of NULL.
1509
1510 2014-12-11 Joseph Myers <joseph@codesourcery.com>
1511
1512 * nptl/semaphore.h: Move to ...
1513 * sysdeps/pthread/semaphore.h: ... here.
1514 * Makefile (installed-headers): Change nptl/semaphore.h to
1515 sysdeps/pthread/semaphore.h.
1516
1517 2014-12-11 Roland McGrath <roland@hack.frob.com>
1518
1519 * misc/tst-error1.c (do_test): Ignore -Wformat-security for
1520 generated error format strings.
1521
1522 * stdio-common/tstdiomisc.c (t2): Ignore -Wformat and
1523 -Wformat-extra-args warnings for scanf formats.
1524 * stdio-common/scanf4.c (main): Ignore -Wformat-zero-length around
1525 test of zero-length format (duh).
1526 * stdio-common/scanf7.c (main): Ignore -Wformat warnings for
1527 corner-case scanf format test.
1528 * stdio-common/test-vfprintf.c (do_test): Ignore -Wformat-security for
1529 generated fprintf format string.
1530 * stdio-common/tst-sprintf.c (do_test): Ignore -Wformat warnings for
1531 corner-case sprintf format tests.
1532 * stdio-common/tst-printf.c: Ignore -Wformat throughout.
1533 * stdio-common/tst-printfsz.c (main): Ignore -Wformat and
1534 -Wformat-extra-args warnings throughout.
1535 * stdio-common/Makefile (CFLAGS-tstdiomisc.c): Variable removed.
1536 (CFLAGS-scanf4.c): Likewise.
1537 (CFLAGS-scanf7.c): Likewise.
1538 (CFLAGS-tst-sprintf.c): Likewise.
1539 (CFLAGS-tst-printf.c): Likewise.
1540 (CFLAGS-tst-printfsz.c): Likewise.
1541
1542 2014-12-11 Joseph Myers <joseph@codesourcery.com>
1543
1544 * include/cpio.h: New file.
1545 * include/fmtmsg.h: Likewise.
1546
1547 * tst-mbswcs1.c (show): Use %zu format instead of %Zd. Cast
1548 corresponding format argument to size_t.
1549 * tst-mbswcs2.c (show): Likewise. Use %td format for ptrdiff_t
1550 arguments.
1551 * tst-mbswcs3.c (show): Use %zu format instead of %Zd. Cast
1552 corresponding format argument to size_t.
1553 * tst-mbswcs4.c (show): Likewise. Use %td format for ptrdiff_t
1554 arguments.
1555 * tst-mbswcs5.c (show): Use %zu format instead of %Zd. Cast
1556 corresponding format argument to size_t.
1557 * tst-trans.c (do_test): Use %lc format for wint_t arguments.
1558 * Makefile (CFLAGS-tst-mbswcs1.c): Remove variable.
1559 (CFLAGS-tst-mbswcs2.c): Likewise.
1560 (CFLAGS-tst-mbswcs3.c): Likewise.
1561 (CFLAGS-tst-mbswcs4.c): Likewise.
1562 (CFLAGS-tst-mbswcs5.c): Likewise.
1563 (CFLAGS-tst-trans.c): Likewise
1564
1565 2014-12-11 Roland McGrath <roland@hack.frob.com>
1566
1567 * posix/regexbug1.c (main): Use "%s" format with regerror results,
1568 rather than assuming they won't contain any '%'s.
1569
1570 2014-12-11 Chris Metcalf <cmetcalf@ezchip.com>
1571
1572 * sysdeps/tile/tilegx/memset.c (__memcpy): Add
1573 inhibit_loop_to_libcall to avoid recursive calls.
1574 * sysdeps/tile/tilegx/memcpy.c (__memcpy): Likewise.
1575 * sysdeps/tile/tilepro/memcpy.c (__memcpy): Likewise.
1576
1577 2014-12-11 Adhemerval Zanella <Azanella@linux.vnet.ibm.com>
1578
1579 * include/sys/socket.h (__sendmmsg): Add __USE_GNU guards on function
1580 prototype.
1581
1582 2014-12-11 Steve Ellcey <sellcey@imgtec.com>
1583
1584 * sysdeps/mips/dl-trampoline.c: Modify switch expression to have
1585 integer value instead of boolean.
1586
1587 2014-12-11 Steve Ellcey <sellcey@imgtec.com>
1588
1589 * malloc/malloc.c: Fix powerof2 check.
1590
1591 2014-12-11 Stefan Liebler <stli@linux.vnet.ibm.com>
1592
1593 * locale/programs/locfile.h (maybe_swap_uint32):
1594 Remove inline and add unused attribute.
1595
1596 2014-12-11 Stefan Liebler <stli@linux.vnet.ibm.com>
1597
1598 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
1599 Truncating assembler expression to a .long expression.
1600
1601 2014-12-11 Andreas Schwab <schwab@suse.de>
1602
1603 * elf/rtld.c (struct map_args): Constify str member.
1604 (do_preload): Constify fname argument.
1605
1606 2014-12-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1607
1608 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Remove overflow warnings for
1609 constants definition.
1610
1611 2014-12-11 Andreas Schwab <schwab@suse.de>
1612
1613 [BZ #16657]
1614 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Use
1615 FORCE_ELISION instead of DO_ELISION.
1616 * sysdeps/unix/sysv/linux/x86/force-elision.h (DO_ELISION):
1617 Remove.
1618 * sysdeps/unix/sysv/linux/s390/force-elision.h (DO_ELISION):
1619 Likewise.
1620
1621 * iconvdata/gconv-modules: Remove duplicate entry.
1622
1623 2014-12-11 Will Newton <will.newton@linaro.org>
1624
1625 Merge gettext 0.19.3 into intl/.
1626
1627 This involves a number of cosmetic changes to comments
1628 and ANSI function definitions and prototypes throughout
1629 all the files. The gettext copyright header is used but
1630 with the date ranges taken from the glibc copy.
1631
1632 * NEWS: Add gettext merge to 2.21.
1633 * intl/bindtextdom.c: Switch to gettext copyright.
1634 Use ANSI definitions and prototypes.
1635 Use gl_* locking primitives rather than __libc_* ones.
1636 Use __builtin_expect rather than __glibc_likely/unlikely.
1637 * intl/dcgettext.c: Switch to gettext copyright.
1638 Use ANSI definitions and prototypes.
1639 * intl/dcigettext.c: Switch to gettext copyright.
1640 Use ANSI definitions and prototypes.
1641 (INTDIV0_RAISES_SIGFPE): New define.
1642 Use gl_* locking primitives rather than __libc_* ones.
1643 Include eval-plural.h instead of plural-eval.c.
1644 Use __builtin_expect rather than __glibc_likely/unlikely.
1645 * intl/dcngettext.c: Switch to gettext copyright.
1646 Use ANSI definitions and prototypes.
1647 * intl/dgettext.c: Likewise.
1648 * intl/dngettext.c: Likewise.
1649 * intl/plural-eval.c: Renamed to...
1650 * intl/eval-plural.h: ...this.
1651 * intl/explodename.c: Switch to gettext copyright.
1652 Use ANSI definitions and prototypes.
1653 (_nl_explode_name): Use strchr instead of __rawmemchr.
1654 * intl/finddomain.c: Switch to gettext copyright.
1655 Use ANSI definitions and prototypes.
1656 Use gl_* locking primitives rather than __libc_* ones.
1657 (_nl_find_domain): Use malloc rather than alloca for
1658 allocation of temporary locale name.
1659 * intl/gettext.c: Switch to gettext copyright.
1660 Use ANSI definitions and prototypes.
1661 * intl/gettextP.h: Switch to gettext copyright.
1662 Use ANSI definitions and prototypes.
1663 Use gl_* locking primitives rather than __libc_* ones.
1664 * intl/gmo.h: Switch to gettext copyright.
1665 (struct sysdep_string): Move struct segment_pair outside of
1666 struct definition.
1667 * intl/hash-string.c: Use ANSI definitions and prototypes.
1668 * intl/hash-string.h: Switch to gettext copyright.
1669 Use ANSI definitions and prototypes.
1670 * intl/l10nflist.c: Switch to gettext copyright.
1671 Use ANSI definitions and prototypes.
1672 (_nl_normalize_codeset): Avoid integer overflow.
1673 * intl/loadinfo.h: Switch to gettext copyright.
1674 Use ANSI definitions and prototypes.
1675 (LIBINTL_DLL_EXPORTED): New define.
1676 (PATH_SEPARATOR): New define.
1677 * intl/loadmsgcat.c: Switch to gettext copyright.
1678 * intl/localealias.c: Switch to gettext copyright.
1679 Use ANSI definitions and prototypes.
1680 (_nl_expand_alias): Use PATH_SEPARATOR.
1681 * intl/ngettext.c: Switch to gettext copyright.
1682 Use ANSI definitions and prototypes.
1683 * intl/plural-exp.c: Likewise.
1684 * intl/plural-exp.h: Switch to gettext copyright.
1685 Use ANSI definitions and prototypes.
1686 (struct expression): Move definition of enum operator outside
1687 of struct definition.
1688 * intl/plural.c: Regenerate.
1689 * intl/plural.y: Switch to gettext copyright.
1690 Use ANSI definitions and prototypes.
1691 Port to bison 3.0.
1692 * intl/textdomain.c: Switch to gettext copyright.
1693 Use ANSI definitions and prototypes.
1694 Use gl_* locking primitives rather than __libc_* ones.
1695
1696 2014-12-10 Steve Ellcey <sellcey@imgtec.com>
1697
1698 * debug/warning-nop.c: Add used atrribute.
1699
1700 2014-12-10 Joseph Myers <joseph@codesourcery.com>
1701
1702 * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: New file.
1703
1704 * sysdeps/unix/sysv/linux/mips/mips64/Makefile
1705 [$(subdir) == signal] (CFLAGS-sigaction.c): New variable.
1706 [$(subdir) == nptl] (CFLAGS-sigaction.c): Likewise.
1707
1708 2014-12-10 Joseph Myers <joseph@codesourcery.com>
1709 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1710
1711 [BZ #17634]
1712 * wcsmbs/wcschr.c [!WCSCHR] (wcschr): Define as __wcschr.
1713 Undefine after defining function. Define as weak alias of
1714 __wcschr. Use libc_hidden_weak.
1715 * include/wchar.h (__wcschr): Declare. Use libc_hidden_proto.
1716 * sysdeps/i386/i686/multiarch/wcschr-c.c [IS_IN (libc) && SHARED]
1717 (libc_hidden_def): Also define __GI___wcschr alias.
1718 * sysdeps/i386/i686/multiarch/wcschr.S (wcschr): Rename to
1719 __wcschr and define as weak alias of __wcschr.
1720 * sysdeps/powerpc/power6/wcschr.c [!WCSCHR] (WCSCHR): Define as
1721 __wcschr.
1722 [!WCSCHR] (DEFAULT_WCSCHR): Define.
1723 [DEFAULT_WCSCHR] (__wcschr): Use libc_hidden_def.
1724 [DEFAULT_WCSCHR] (wcschr): Define as weak alias of __wcschr. Use
1725 libc_hidden_weak. Do not use libc_hidden_def.
1726 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c
1727 [IS_IN (libc) && SHARED] (libc_hidden_def): Also define
1728 __GI___wcschr alias.
1729 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c
1730 [IS_IN (libc)] (wcschr): Define as macro expanding to
1731 __redirect_wcschr.
1732 [IS_IN (libc)] (__wcschr_ppc): Use __redirect_wcschr in typeof.
1733 [IS_IN (libc)] (__wcschr_power6): Likewise.
1734 [IS_IN (libc)] (__wcschr_power7): Likewise.
1735 [IS_IN (libc)] (__libc_wcschr): New. Define with libc_ifunc
1736 instead of wcschr.
1737 [IS_IN (libc)] (wcschr): Undefine and define as weak alias of
1738 __libc_wcschr.
1739 [!IS_IN (libc)] (libc_hidden_def): Do not undefine and redefine.
1740 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c (wcschr): Rename to
1741 __wcschr and define as weak alias of __wcschr. Use
1742 libc_hidden_builtin_def.
1743 * sysdeps/x86_64/wcschr.S (wcschr): Rename to __wcschr and define
1744 as weak alias of __wcschr. Use libc_hidden_weak.
1745 * time/alt_digit.c (_nl_get_walt_digit): Use __wcschr instead of
1746 wcschr.
1747 * time/era.c (_nl_init_era_entries): Likewise.
1748 * conform/Makefile (test-xfail-ISO/time.h/linknamespace): Remove
1749 variable.
1750 (test-xfail-XPG3/time.h/linknamespace): Likewise.
1751 (test-xfail-XPG4/time.h/linknamespace): Likewise.
1752
1753 2014-12-10 Joseph Myers <joseph@codesourcery.com>
1754
1755 * libio/tst-ftell-active-handler.c (do_ftruncate_test): Use %ld
1756 format for long int variable.
1757
1758 2014-12-10 Anders Kaseorg <andersk@MIT.EDU>
1759
1760 [BZ #10672]
1761 * manual/search.texi: (Array Sort Function): Remove claim how to make
1762 qsort stable.
1763
1764 2014-12-10 Andreas Schwab <schwab@suse.de>
1765
1766 [BZ #12847]
1767 * sysdeps/nptl/fork.c (fresetlockfiles): Skip files with
1768 user-controlled locks.
1769
1770 2014-12-10 Richard Earnshaw <rearnsha@arm.com>
1771
1772 * sysdeps/aarch64/strchrnul.S (vrepmask): Use a call-clobbered
1773 register.
1774
1775 2014-12-10 Joseph Myers <joseph@codesourcery.com>
1776
1777 * configure.ac (--disable-werror): New configure option.
1778 (enable_werror): New AC_SUBST.
1779 * configure: Regenerated.
1780 * config.make.in (enable-werror): New variable.
1781 * Makeconfig [$(enable-werror) = yes] (+gccwarn): Add -Werror
1782 -Wno-error=undef.
1783 (+gccwarn-c): Do not use -Werror=implicit-function-declaration.
1784 * manual/install.texi (Configuring and compiling): Document
1785 --disable-werror.
1786 * INSTALL: Regenerated.
1787 * debug/Makefile (CFLAGS-tst-chk1.c): Add -Wno-error.
1788 (CFLAGS-tst-chk2.c): Likewise.
1789 (CFLAGS-tst-chk3.c): Likewise.
1790 (CFLAGS-tst-chk4.cc): Likewise.
1791 (CFLAGS-tst-chk5.cc): Likewise.
1792 (CFLAGS-tst-chk6.cc): Likewise.
1793 (CFLAGS-tst-lfschk1.c): Likewise.
1794 (CFLAGS-tst-lfschk2.c): Likewise.
1795 (CFLAGS-tst-lfschk3.c): Likewise.
1796 (CFLAGS-tst-lfschk4.cc): Likewise.
1797 (CFLAGS-tst-lfschk5.cc): Likewise.
1798 (CFLAGS-tst-lfschk6.cc): Likewise.
1799
1800 * stdio-common/tst-printfsz.c: Include <libc-internal.h>.
1801 (main): Disable -Wdeprecated-declarations around calls to
1802 register_printf_function.
1803
1804 * stdio-common/tst-unlockedio.c: Include <libc-internal.h>.
1805 (do_test): Disable -Wdiv-by-zero around some calls to
1806 fwrite_unlocked and fread_unlocked.
1807
1808 * include/libc-internal.h (DIAG_PUSH_NEEDS_COMMENT): New macro.
1809 (DIAG_POP_NEEDS_COMMENT): Likewise.
1810 (_DIAG_STR1): Likewise.
1811 (_DIAG_STR): Likewise.
1812 (DIAG_IGNORE_NEEDS_COMMENT): Likewise.
1813 * stdio-common/bug21.c: Include <libc-internal.h>.
1814 (do_test): Disable -Wformat around call to sscanf.
1815 * stdio-common/scanf14.c: Include <libc-internal.h>.
1816 (main): Disable -Wformat around some calls to scanf functions.
1817
1818 2014-12-09 Torvald Riegel <triegel@redhat.com>
1819
1820 * sysdeps/unix/sysv/linux/sh/pthread_once.S: Remove file.
1821
1822 2014-12-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1823
1824 * libio/tst-ftell-active-handler.c (do_ftell_test): Fix wide-character
1825 stack variable alignment.
1826
1827 2014-12-06 Joseph Myers <joseph@codesourcery.com>
1828
1829 [BZ #17682]
1830 * resource/Versions (libc): Add __getrlimit at GLIBC_PRIVATE.
1831 * resource/getrlimit.c (__getrlimit): Use libc_hidden_def.
1832 * sysdeps/mach/hurd/getrlimit.c (__getrlimit): Likewise.
1833 * include/sys/resource.h (__getrlimit): Use libc_hidden_proto.
1834 * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Use
1835 __getrlimit instead of getrlimit.
1836 * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Use
1837 __gettimeofday instead of gettimeofday.
1838 * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
1839 Likewise.
1840 * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
1841 Likewise.
1842 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
1843 * conform/Makefile (test-xfail-POSIX2008/aio.h/linknamespace):
1844 Remove variable.
1845 (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
1846 (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
1847
1848 2014-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1849
1850 * libio/tst-ftell-active-handler.c (do_ftell_test): Fix buffer overrun
1851 for wide-character tests.
1852
1853 2014-12-04 Roland McGrath <roland@hack.frob.com>
1854
1855 * io/openat64.c: #include <libc-internal.h>
1856 (__openat64): Prototypify. Use ignore_value on MODE.
1857 * io/openat.c: Likewise.
1858 * misc/reboot.c: #include <libc-internal.h>
1859 (reboot): Prototypify. Use ignore_value on HOWTO.
1860 * misc/ptrace.c: #include <libc-internal.h>
1861 (ptrace): Prototypify. Use ignore_value for va_arg'd parameters.
1862
1863 2014-12-04 Joseph Myers <joseph@codesourcery.com>
1864
1865 * conform/list-header-symbols.pl (%extra_syms): Add h_errno for
1866 XPG4, UNIX98 and XOPEN2K.
1867 * conform/Makefile (test-xfail-XOPEN2K/grp.h/linknamespace):
1868 Remove variable.
1869 (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
1870
1871 2014-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
1872
1873 * libio/fileops.c: Use ISO C style for function definitions.
1874 * libio/iofopen.c: Likewise.
1875 * libio/wfileops.c: Likewise.
1876
1877 [BZ #17653]
1878 * libio/fileops.c (_IO_new_file_underflow): Unset cached
1879 offset on EOF.
1880 * libio/wfileops.c (_IO_wfile_underflow): Likewise.
1881 * libio/tst-ftell-active-handler.c (fgets_func_t): New type.
1882 (fgets_func): Function pointer to fgets and fgetws.
1883 (do_ftell_test): Add test to verify ftell value after read
1884 EOF.
1885 (do_test): Set fgets_func.
1886
1887 * libio/tst-ftell-active-handler.c (do_ftruncate_test): Add
1888 O_TRUNC flag for w and w+ modes.
1889 (do_rewind_test): Likewise.
1890 (do_ftell_test): Likewise.
1891 (do_write_test): Likewise.
1892
1893 [BZ #17647]
1894 * libio/fileops.c (do_ftell): Seek only when there are
1895 unflushed writes.
1896 * libio/wfileops.c (do_ftell_wide): Likewise.
1897 * libio/tst-ftell-active-handler.c (do_ftruncate_test): New
1898 test case.
1899 (do_one_test): Call it.
1900
1901 2014-12-03 Joseph Myers <joseph@codesourcery.com>
1902
1903 * conform/list-header-symbols.pl (%extra_syms): Add getdate_err
1904 for XPG4, UNIX98, XOPEN2K and XOPEN2K8.
1905 * conform/Makefile (test-xfail-XOPEN2K/pthread.h/linknamespace):
1906 Remove variable.
1907 (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
1908 (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
1909 (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
1910
1911 2014-12-02 Joseph Myers <joseph@codesourcery.com>
1912
1913 * conform/Makefile (test-xfail-XOPEN2K/aio.h/linknamespace):
1914 Remove variable.
1915 (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
1916
1917 [BZ #17668]
1918 * inet/ifaddrs.c (getifaddrs): Rename to __getifaddrs and define
1919 as weak alias of __getifaddrs. Use libc_hidden_weak.
1920 (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
1921 __freeifaddrs. Use libc_hidden_weak.
1922 * sysdeps/gnu/ifaddrs.c (getifaddrs): Rename to __getifaddrs and
1923 define as weak alias of __getifaddrs. Use libc_hidden_weak.
1924 (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
1925 __freeifaddrs. Use libc_hidden_weak.
1926 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs): Rename to
1927 __getifaddrs and define as weak alias of __getifaddrs. Use
1928 libc_hidden_weak.
1929 (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
1930 __freeifaddrs. Use libc_hidden_weak.
1931 * conform/Makefile (test-xfail-XOPEN2K/net/if.h/linknamespace):
1932 Remove variable.
1933 (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
1934 (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
1935
1936 2014-12-02 Petar Jovanovic <petar.jovanovic@rt-rk.com>
1937
1938 [BZ #17601]
1939 * sysdeps/mips/start.S (__start): Use indirect jump to call
1940 __libc_start_main.
1941
1942 2014-12-02 Joseph Myers <joseph@codesourcery.com>
1943
1944 * nptl/tst-stack4.c (dso_process): Use int not uintptr_t for t.
1945
1946 * nptl/tst-mutex1.c: Include <stdbool.h>.
1947 [!ATTR] (ATTR_NULL): New macro.
1948 (do_test): Test !ATTR_NULL instead of ATTR != NULL.
1949 * nptl/tst-mutexpi1.c (ATTR_NULL): New macro.
1950 * nptl/tst-mutexpp1.c (ATTR_NULL): New macro.
1951
1952 * posix/tst-getopt_long1.c (do_test): Cast elements of argv array
1953 to char *.
1954
1955 [BZ #17665]
1956 * posix/unistd.h [__USE_MISC || (__USE_XOPEN && !__USE_UNIX98)]:
1957 Change conditional to [__USE_MISC].
1958
1959 [BZ #17664]
1960 * misc/mntent_r.c (__getmntent_r): Use __fgets_unlocked instead of
1961 fgets_unlocked.
1962 * resolv/res_hconf.c [IS_IN (libc)] (fgets_unlocked): Define to
1963 __fgets_unlocked.
1964 * resolv/res_init.c (__res_vinit): Use __fgets_unlocked instead of
1965 fgets_unlocked.
1966 * conform/Makefile (test-xfail-XPG4/sys/statvfs.h/linknamespace):
1967 Remove variable.
1968 (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
1969 (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
1970 (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
1971 (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
1972 (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
1973 (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
1974 (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
1975 (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
1976 (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
1977
1978 * elf/tst-unique4lib.cc (b): Mark with __attribute__ ((used)).
1979
1980 2014-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1981
1982 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
1983 Remove strpbrk objects.
1984 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1985 (__libc_ifunc_impl_list): Remove strpbrk implementation.
1986 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: Remove file.
1987 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Remove file.
1988 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: Remove file.
1989 * sysdeps/powerpc/powerpc64/strpbrk.S: New file.
1990
1991 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
1992 Remove strcspn objects.
1993 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1994 (__libc_ifunc_impl_list): Remove strcspn implementation.
1995 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: Remove file.
1996 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Remove file.
1997 * sysdeps/powerpc/powerpc64/power7/strcspn.S: Remove file.
1998 * sysdeps/powerpc/powerpc64/strcspn.S: New file.
1999
2000 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
2001 Remove strspn objetcs.
2002 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2003 (__libc_ifunc_impl_list): Remove strspn implementation.
2004 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: Remove file.
2005 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
2006 * sysdeps/powerpc/powerpc64/power7/strspn.S: Remove file.
2007 * sysdeps/powerpc/powerpc64/strspn.S: New file.
2008
2009 2014-12-01 James Lemke <jwlemke@codesourcery.com>
2010
2011 [BZ #17581]
2012 * malloc/hooks.c
2013 (mem2mem_check): Add a terminator to the chain of checking blocks.
2014 (malloc_check_get_size): Use it here.
2015 (mem2chunk_check): Ditto.
2016
2017 2014-12-01 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
2018
2019 * sysdeps/powerpc/powerpc64/strtok.S: New file.
2020 * sysdeps/powerpc/powerpc64/strtok_r.S: New file.
2021
2022 2014-11-29 Carlos O'Donell <carlos@redhat.com>
2023
2024 * bits/ioctl-types.h: Indent preprocessor directives correctly.
2025
2026 * nptl/nptl-init.c: Include libc-internal.h.
2027 (__pthread_initialize_minimal_internal): Use ROUND_UP.
2028
2029 * elf/ldconfig.c (search_dir): Expand comment.
2030
2031 2014-11-29 Joseph Myers <joseph@codesourcery.com>
2032
2033 * conform/Makefile (linknamespace-symlist-stdlibs-base): New
2034 variable.
2035 (linknamespace-symlist-stdlibs-tests): Likewise.
2036 (tests-special): Append $(linknamespace-symlist-stdlibs-tests)
2037 instead of $(objpfx)symlist-stdlibs.
2038 (linknamespace-libs-isoc): New variable.
2039 (linknamespace-libs): Use $(linknamespace-libs-isoc).
2040 (linknamespace-libs-ISO): New variable.
2041 (linknamespace-libs-ISO99): Likewise.
2042 (linknamespace-libs-ISO11): Likewise.
2043 (linknamespace-libs-XPG3): Likewise.
2044 (linknamespace-libs-XPG4): Likewise.
2045 (linknamespace-libs-POSIX): Likewise.
2046 (linknamespace-libs-UNIX98): Likewise.
2047 (linknamespace-libs-XOPEN2K): Likewise.
2048 (linknamespace-libs-POSIX2008): Likewise.
2049 (linknamespace-libs-XOPEN2K8): Likewise.
2050 ($(objpfx)symlist-stdlibs): Replace by
2051 $(linknamespace-symlist-stdlibs-tests). Use
2052 $(linknamespace-libs-$*) as set of libraries.
2053 ($(linknamespace-header-tests)): Update dependencies. Use
2054 $(objpfx)symlist-stdlibs-$$std for --libsyms argument.
2055 (test-xfail-XPG4/sys/mman.h/linknamespace): Remove.
2056 * conform/linknamespace.pl: Remove comment about considering
2057 definitions of symbols from irrelevant libraries.
2058
2059 2014-11-28 H.J. Lu <hongjiu.lu@intel.com>
2060
2061 [BZ #13862]
2062 * elf/dl-tls.c: Include <atomic.h>.
2063 (oom): Remove #ifdef SHARED/#endif.
2064 (_dl_static_dtv, _dl_initial_dtv): Moved before ...
2065 (_dl_resize_dtv): This. Extracted from _dl_update_slotinfo.
2066 (_dl_allocate_tls_init): Resize DTV if the current DTV isn't
2067 big enough.
2068 (_dl_update_slotinfo): Call _dl_resize_dtv to resize DTV.
2069 * nptl/Makefile (tests): Add tst-stack4.
2070 (modules-names): Add tst-stack4mod.
2071 ($(objpfx)tst-stack4): New.
2072 (tst-stack4mod.sos): Likewise.
2073 ($(objpfx)tst-stack4.out): Likewise.
2074 ($(tst-stack4mod.sos)): Likewise.
2075 (clean): Likewise.
2076 * nptl/tst-stack4.c: New file.
2077 * nptl/tst-stack4mod.c: Likewise.
2078
2079 2014-11-27 J. Brown <jb999@gmx.de>
2080
2081 * sysdeps/x86/bits/string.h: Add recent CPUs.
2082
2083 2014-11-27 Joseph Myers <joseph@codesourcery.com>
2084
2085 * misc/tst-pselect.c (do_test): Use sigprocmask instead of
2086 sigblock.
2087
2088 * libio/bug-ungetwc1.c (do_test): Verify results of getwc and
2089 feof.
2090
2091 * dlfcn/failtestmod.c (constr): Do not store result of dlsym in a
2092 variable.
2093
2094 2014-11-27 Stefan Liebler <stli@linux.vnet.ibm.com>
2095
2096 * nscd/connections.c: Include libc-internal.h because of macro
2097 usage ignore_value.
2098
2099 2014-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
2100
2101 * string/bits/string3.h (__warn_memset_zero_len): Don't
2102 declare for gcc newer than 5.0.
2103 (memset): Don't test for zero-length __LEN for gcc newer than
2104 5.0.
2105
2106 2014-11-27 Joseph Myers <joseph@codesourcery.com>
2107
2108 * stdio-common/tst-fmemopen.c (do_test): Cast st_size values to
2109 size_t for %zu format.
2110
2111 * nss/tst-nss-test1.c (do_test): Use %td printf format for pointer
2112 difference, not %ju.
2113
2114 2014-11-26 Joseph Myers <joseph@codesourcery.com>
2115
2116 * include/libc-internal.h (ignore_value): New macro.
2117 * nscd/connections.c (restart): Wrap calls to setuid and setgid
2118 with ignore_value.
2119
2120 * sysdeps/mips/__longjmp.c (____longjmp): Use prototype
2121 definition.
2122
2123 * nptl/tst-cancel-self-cancelstate.c (do_test): Cast argument of
2124 pthread_cleanup_push to void *.
2125
2126 * sysdeps/unix/sysv/linux/arm/libc-do-syscall.S (_FORTIFY_SOURCE):
2127 Undefine.
2128
2129 [BZ #16619]
2130 [BZ #16740]
2131 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Use 1LL << 52
2132 instead of 1L << 52.
2133
2134 * libio/bug-rewind.c (do_test): Check fwscanf return values.
2135 * libio/bug-rewind2.c (do_test): Likewise.
2136
2137 * debug/test-stpcpy_chk-ifunc.c: Remove file.
2138 * debug/test-strcpy_chk-ifunc.c: Likewise.
2139 * wcsmbs/test-wcschr-ifunc.c: Likewise.
2140 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
2141 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
2142 * wcsmbs/test-wcslen-ifunc.c: Likewise.
2143 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
2144 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
2145 * Rules [$(multi-arch) = no] (tests): Do not filter out
2146 $(tests-ifunc).
2147 [$(multi-arch) = no] (xtests): Do not filter out $(xtests-ifunc).
2148 * debug/Makefile (tests-ifunc): Remove variable.
2149 (tests): Do not add $(tests-ifunc).
2150 * wcsmbs/Makefile (tests-ifunc): Remove variable.
2151 (tests): Do not add $(tests-ifunc).
2152 * benchtests/bench-string.h (TEST_IFUNC): Remove macro.
2153 [TEST_IFUNC]: Remove conditionals.
2154 * string/test-string.h (TEST_IFUNC): Remove macro.
2155 [TEST_IFUNC]: Remove conditionals.
2156
2157 * string/test-strchr.c [!WIDE] (L): New macro.
2158 [WIDE] (L): Likewise.
2159 (check1): Use CHAR instead of char. Use L on string and character
2160 constants.
2161
2162 2014-11-26 Adhemerval Zanella <azanella@linux.ibm.com>
2163
2164 * csu/tst-atomic.c (do_test): Add atomic_exchange_and_add_{acq,rel}
2165 tests.
2166 * sysdeps/powerpc/bits/atomic.h
2167 (__arch_atomic_exchange_and_add_32_acq): Add definition.
2168 (__arch_atomic_exchange_and_add_32_rel): Likewise.
2169 (atomic_exchange_and_add_acq): Likewise.
2170 (atomic_exchange_and_add_rel): Likewise.
2171 * sysdeps/powerpc/powerpc32/bits/atomic.h
2172 (__arch_atomic_exchange_and_add_64_acq): Add definition.
2173 (__arch_atomic_exchange_and_add_64_rel): Likewise.
2174 * sysdeps/powerpc/powerpc64/bits/atomic.h
2175 (__arch_atomic_exchange_and_add_64_acq): Add definition.
2176 (__arch_atomic_exchange_and_add_64_rel): Likewise.
2177
2178 2014-11-26 Torvald Riegel <triegel@redhat.com>
2179
2180 * nptl/tpp.c (__init_sched_fifo_prio, __pthread_tpp_change_priority):
2181 Change synchronization of __sched_fifo_min_prio and
2182 __sched_fifo_max_prio.
2183 * nptl/pthread_mutexattr_getprioceiling.c
2184 (pthread_mutexattr_getprioceiling): Likewise.
2185 * nptl/pthread_mutexattr_setprioceiling.c
2186 (pthread_mutexattr_setprioceiling): Likewise.
2187 * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
2188 * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
2189 Likewise.
2190
2191 2014-11-26 Joseph Myers <joseph@codesourcery.com>
2192
2193 * setjmp/jmpbug.c (test): Make foo volatile and cast it to
2194 void.
2195
2196 2014-11-25 Joseph Myers <joseph@codesourcery.com>
2197
2198 * stdio-common/tst-printf-round.c (test_hex_in_one_mode): Make
2199 third argument const.
2200
2201 2014-11-25 Paul Eggert <eggert@cs.ucla.edu>
2202
2203 fnmatch: work around GCC compiler warning bug with uninit var
2204 * posix/fnmatch_loop.c (FCT): Use a scalar not a one-item array.
2205 This works around a bug with x86-64 GCC 4.9.2 and earlier
2206 where 'gcc -O2 -Wmaybe-uninitialized' incorrectly complains
2207 "../locale/weightwc.h:93:7: warning: '*((void *)&str+4)' may be
2208 used uninitialized in this function [-Wmaybe-uninitialized]".
2209
2210 2014-11-25 Joseph Myers <joseph@codesourcery.com>
2211
2212 * posix/bug-regex31.c (main): Return RES not 0.
2213
2214 2014-11-25 Anton Blanchard <anton@samba.org>
2215
2216 * sysdeps/powerpc/bits/atomic.h
2217 (__arch_compare_and_exchange_bool_64_rel): Load from mem.
2218
2219 2014-11-24 Sterling Augustine <saugustine@google.com>
2220
2221 * sysdeps/x86_64/start.S (_start): Use ENTRY and END macros.
2222
2223 2014-11-24 Ryan Cumming <etaoins@gmail.com>
2224
2225 [BZ #17608]
2226 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_TAI.
2227
2228 2014-11-24 Joseph Myers <joseph@codesourcery.com>
2229
2230 [BZ #17633]
2231 * stdio-common/perror.c (perror): Call __fileno instead of fileno.
2232 * conform/Makefile (test-xfail-ISO/stdio.h/linknamespace): Remove
2233 variable.
2234 (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
2235 (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
2236
2237 2014-11-24 Wilco Dijkstra <wdijkstr@arm.com>
2238
2239 * string/strncpy.c (strncpy): Improve performance by using memset.
2240
2241 2014-11-24 Wilco Dijkstra <wdijkstr@arm.com>
2242
2243 * string/strcpy.c (strcpy):
2244 Improve performance by using strlen and memcpy.
2245
2246 2014-11-24 Leonhard Holz <leonhard.holz@web.de>
2247
2248 * string/strcoll_l.c (get_next_seq): __always_inline.
2249 * string/strcoll_l.c (do_compare): __always_inline.
2250
2251 2014-11-24 Siddhesh Poyarekar <siddhesh@redhat.com>
2252
2253 * include/bits/stdlib-float.h: Use IS_IN only if _ISOMAC is
2254 defined.
2255 * include/mqueue.h: Likewise.
2256 * include/stdlib.h: Likewise.
2257
2258 * stdlib/isomac.c (fmt): Replace NOT_IN_libc with IN_MODULE.
2259 (get_null_defines): Adjust.
2260 * sunrpc/Makefile: Adjust comment.
2261 * Makerules (CPPFLAGS-nonlib): Remove NOT_IN_libc.
2262 * elf/Makefile (CPPFLAGS-sotruss-lib): Likewise.
2263 (CFLAGS-interp.c): Likewise.
2264 (CFLAGS-ldconfig.c): Likewise.
2265 (CPPFLAGS-.os): Likewise.
2266 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
2267 * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
2268 * extra-modules.mk (extra-modules.mk): Likewise.
2269 * iconv/Makefile (CPPFLAGS-iconvprogs): Likewise.
2270 * locale/Makefile (CPPFLAGS-locale_programs): Likewise.
2271 * malloc/Makefile (CPPFLAGS-memusagestat): Likewise.
2272 * nscd/Makefile (CPPFLAGS-nscd): Likewise.
2273 * nss/Makefile (CPPFLAGS-nss_test1): Likewise.
2274 * stdlib/Makefile (CFLAGS-tst-putenvmod.c): Likewise.
2275 * sysdeps/gnu/Makefile ($(objpfx)errlist-compat.c): Likewise.
2276 * sysdeps/unix/sysv/linux/Makefile (CPPFLAGS-lddlibc4): Likewise.
2277 * iconvdata/Makefile (CPPFLAGS): Likewise.
2278 (cpp-srcs-left): Add libof for all iconvdata routines.
2279 * bits/stdio-lock.h: Replace NOT_IN_libc with IS_IN.
2280 * include/assert.h: Likewise.
2281 * include/ctype.h: Likewise.
2282 * include/errno.h: Likewise.
2283 * include/libc-symbols.h: Likewise.
2284 * include/math.h: Likewise.
2285 * include/netdb.h: Likewise.
2286 * include/resolv.h: Likewise.
2287 * include/stdio.h: Likewise.
2288 * include/stdlib.h: Likewise.
2289 * include/string.h: Likewise.
2290 * include/sys/stat.h: Likewise.
2291 * include/wctype.h: Likewise.
2292 * intl/l10nflist.c: Likewise.
2293 * libidn/idn-stub.c: Likewise.
2294 * libio/libioP.h: Likewise.
2295 * nptl/libc_multiple_threads.c: Likewise.
2296 * nptl/pthreadP.h: Likewise.
2297 * posix/regex_internal.h: Likewise.
2298 * resolv/res_hconf.c: Likewise.
2299 * sysdeps/arm/armv7/multiarch/memcpy.S: Likewise.
2300 * sysdeps/arm/memmove.S: Likewise.
2301 * sysdeps/arm/sysdep.h: Likewise.
2302 * sysdeps/generic/_itoa.h: Likewise.
2303 * sysdeps/generic/symbol-hacks.h: Likewise.
2304 * sysdeps/gnu/errlist.awk: Likewise.
2305 * sysdeps/gnu/errlist.c: Likewise.
2306 * sysdeps/i386/i586/memcpy.S: Likewise.
2307 * sysdeps/i386/i586/memset.S: Likewise.
2308 * sysdeps/i386/i686/memcpy.S: Likewise.
2309 * sysdeps/i386/i686/memmove.S: Likewise.
2310 * sysdeps/i386/i686/mempcpy.S: Likewise.
2311 * sysdeps/i386/i686/memset.S: Likewise.
2312 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
2313 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
2314 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: Likewise.
2315 * sysdeps/i386/i686/multiarch/memchr-sse2.S: Likewise.
2316 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
2317 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
2318 * sysdeps/i386/i686/multiarch/memcmp-ssse3.S: Likewise.
2319 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
2320 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
2321 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
2322 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
2323 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
2324 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
2325 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
2326 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
2327 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
2328 * sysdeps/i386/i686/multiarch/memrchr-c.c: Likewise.
2329 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: Likewise.
2330 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: Likewise.
2331 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
2332 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
2333 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
2334 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
2335 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
2336 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
2337 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
2338 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: Likewise.
2339 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
2340 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Likewise.
2341 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
2342 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
2343 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
2344 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
2345 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
2346 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
2347 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
2348 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
2349 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
2350 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
2351 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
2352 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
2353 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
2354 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
2355 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
2356 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
2357 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
2358 * sysdeps/i386/i686/multiarch/wcschr-c.c: Likewise.
2359 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: Likewise.
2360 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
2361 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
2362 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
2363 * sysdeps/i386/i686/multiarch/wcscpy-c.c: Likewise.
2364 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Likewise.
2365 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
2366 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
2367 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: Likewise.
2368 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
2369 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: Likewise.
2370 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: Likewise.
2371 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
2372 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
2373 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
2374 * sysdeps/ia64/fpu/libm-symbols.h: Likewise.
2375 * sysdeps/nptl/bits/libc-lock.h: Likewise.
2376 * sysdeps/nptl/bits/libc-lockP.h: Likewise.
2377 * sysdeps/nptl/bits/stdio-lock.h: Likewise.
2378 * sysdeps/posix/closedir.c: Likewise.
2379 * sysdeps/posix/opendir.c: Likewise.
2380 * sysdeps/posix/readdir.c: Likewise.
2381 * sysdeps/posix/rewinddir.c: Likewise.
2382 * sysdeps/powerpc/novmx-sigjmp.c: Likewise.
2383 * sysdeps/powerpc/powerpc32/__longjmp.S: Likewise.
2384 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
2385 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
2386 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
2387 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Likewise.
2388 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Likewise.
2389 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: Likewise.
2390 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
2391 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: Likewise.
2392 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
2393 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
2394 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
2395 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: Likewise.
2396 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: Likewise.
2397 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: Likewise.
2398 * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
2399 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
2400 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: Likewise.
2401 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: Likewise.
2402 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
2403 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: Likewise.
2404 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: Likewise.
2405 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
2406 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: Likewise.
2407 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: Likewise.
2408 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: Likewise.
2409 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
2410 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
2411 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: Likewise.
2412 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
2413 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: Likewise.
2414 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
2415 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: Likewise.
2416 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
2417 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Likewise.
2418 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
2419 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
2420 * sysdeps/powerpc/powerpc64/__longjmp.S: Likewise.
2421 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: Likewise.
2422 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: Likewise.
2423 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: Likewise.
2424 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
2425 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
2426 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
2427 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Likewise.
2428 * sysdeps/powerpc/powerpc64/multiarch/memmove.c: Likewise.
2429 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
2430 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: Likewise.
2431 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: Likewise.
2432 * sysdeps/powerpc/powerpc64/multiarch/memset.c: Likewise.
2433 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
2434 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
2435 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
2436 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
2437 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Likewise.
2438 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: Likewise.
2439 * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
2440 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
2441 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: Likewise.
2442 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
2443 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
2444 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
2445 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
2446 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Likewise.
2447 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
2448 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Likewise.
2449 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Likewise.
2450 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: Likewise.
2451 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: Likewise.
2452 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
2453 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
2454 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: Likewise.
2455 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
2456 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
2457 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Likewise.
2458 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: Likewise.
2459 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
2460 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
2461 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: Likewise.
2462 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
2463 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
2464 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
2465 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Likewise.
2466 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
2467 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Likewise.
2468 * sysdeps/s390/s390-32/multiarch/memcmp.S: Likewise.
2469 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
2470 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
2471 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
2472 * sysdeps/s390/s390-64/multiarch/memcmp.S: Likewise.
2473 * sysdeps/s390/s390-64/multiarch/memcpy.S: Likewise.
2474 * sysdeps/s390/s390-64/multiarch/memset.S: Likewise.
2475 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
2476 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
2477 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: Likewise.
2478 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
2479 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
2480 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Likewise.
2481 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: Likewise.
2482 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
2483 * sysdeps/unix/alpha/sysdep.S: Likewise.
2484 * sysdeps/unix/alpha/sysdep.h: Likewise.
2485 * sysdeps/unix/make-syscalls.sh: Likewise.
2486 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
2487 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
2488 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
2489 * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
2490 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
2491 * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
2492 * sysdeps/unix/sysv/linux/getpid.c: Likewise.
2493 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
2494 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
2495 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Likewise.
2496 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
2497 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
2498 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
2499 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
2500 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
2501 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
2502 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
2503 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
2504 * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
2505 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
2506 * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
2507 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
2508 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
2509 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
2510 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
2511 * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
2512 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
2513 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
2514 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
2515 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: Likewise.
2516 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
2517 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
2518 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
2519 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
2520 * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
2521 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
2522 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
2523 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
2524 * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
2525 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
2526 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
2527 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
2528 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
2529 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
2530 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
2531 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
2532 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
2533 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
2534 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
2535 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
2536 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
2537 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
2538 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
2539 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
2540 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
2541 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
2542 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
2543 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
2544 * sysdeps/wordsize-32/symbol-hacks.h: Likewise.
2545 * sysdeps/x86_64/memcpy.S: Likewise.
2546 * sysdeps/x86_64/memmove.c: Likewise.
2547 * sysdeps/x86_64/memset.S: Likewise.
2548 * sysdeps/x86_64/multiarch/init-arch.h: Likewise.
2549 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
2550 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
2551 * sysdeps/x86_64/multiarch/memcmp.S: Likewise.
2552 * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
2553 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
2554 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
2555 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
2556 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
2557 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
2558 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
2559 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
2560 * sysdeps/x86_64/multiarch/memset-avx2.S: Likewise.
2561 * sysdeps/x86_64/multiarch/memset.S: Likewise.
2562 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
2563 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Likewise.
2564 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
2565 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
2566 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
2567 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
2568 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Likewise.
2569 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
2570 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
2571 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
2572 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
2573 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
2574 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
2575 * sysdeps/x86_64/multiarch/wcscpy-c.c: Likewise.
2576 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
2577 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
2578 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Likewise.
2579 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
2580 * sysdeps/x86_64/strcmp.S: Likewise.
2581
2582 * extra-lib.mk (CPPFLAGS-$(lib)): Remove IS_IN_$(lib).
2583
2584 * elf/Makefile (CPPFLAGS-.os): Remove IS_IN_rtld.
2585 * elf/dl-open.c: Use IS_IN (rtld) instead if IS_IN_rtld.
2586 * elf/rtld-Rules: Likewise.
2587 * elf/setup-vdso.h: Likewise.
2588 * include/assert.h: Likewise.
2589 * include/bits/stdlib-float.h: Likewise.
2590 * include/errno.h: Likewise.
2591 * include/sys/stat.h: Likewise.
2592 * include/unistd.h: Likewise.
2593 * sysdeps/aarch64/setjmp.S: Likewise.
2594 * sysdeps/alpha/setjmp.S: Likewise.
2595 * sysdeps/arm/__longjmp.S: Likewise.
2596 * sysdeps/arm/aeabi_unwind_cpp_pr1.c: Likewise.
2597 * sysdeps/arm/setjmp.S: Likewise.
2598 * sysdeps/arm/sysdep.h: Likewise.
2599 * sysdeps/generic/_itoa.h: Likewise.
2600 * sysdeps/generic/dl-sysdep.h: Likewise.
2601 * sysdeps/generic/ldsodefs.h: Likewise.
2602 * sysdeps/i386/dl-tls.h: Likewise.
2603 * sysdeps/i386/setjmp.S: Likewise.
2604 * sysdeps/m68k/setjmp.c: Likewise.
2605 * sysdeps/mach/hurd/dl-execstack.c: Likewise.
2606 * sysdeps/mach/hurd/opendir.c: Likewise.
2607 * sysdeps/posix/getcwd.c: Likewise.
2608 * sysdeps/posix/opendir.c: Likewise.
2609 * sysdeps/posix/profil.c: Likewise.
2610 * sysdeps/powerpc/dl-procinfo.h: Likewise.
2611 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
2612 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
2613 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
2614 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
2615 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Likewise.
2616 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
2617 * sysdeps/s390/dl-tls.h: Likewise.
2618 * sysdeps/s390/s390-32/setjmp.S: Likewise.
2619 * sysdeps/s390/s390-64/setjmp.S: Likewise.
2620 * sysdeps/sh/sh3/setjmp.S: Likewise.
2621 * sysdeps/sh/sh4/setjmp.S: Likewise.
2622 * sysdeps/unix/alpha/sysdep.h: Likewise.
2623 * sysdeps/unix/arm/sysdep.S: Likewise.
2624 * sysdeps/unix/i386/sysdep.S: Likewise.
2625 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
2626 * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
2627 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
2628 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
2629 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
2630 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
2631 * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
2632 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
2633 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
2634 * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
2635 * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
2636 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
2637 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
2638 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
2639 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
2640 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
2641 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
2642 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
2643 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
2644 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
2645 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
2646 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
2647 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
2648 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
2649 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
2650 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
2651 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
2652 * sysdeps/unix/x86_64/sysdep.S: Likewise.
2653 * sysdeps/x86_64/setjmp.S: Likewise.
2654
2655 * include/math.h: Use IS_IN instead of IS_IN_libm.
2656 * sysdeps/alpha/fpu/s_copysign.c: Likewise.
2657 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
2658 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
2659 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
2660 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
2661 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
2662 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
2663 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
2664 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
2665 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
2666 * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Likewise.
2667 * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
2668 * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Likewise.
2669 * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
2670 * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
2671 * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Likewise.
2672 * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
2673 * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
2674 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
2675 * sysdeps/ieee754/ldbl-opt/s_copysign.c: Likewise.
2676 * sysdeps/ieee754/ldbl-opt/s_finite.c: Likewise.
2677 * sysdeps/ieee754/ldbl-opt/s_frexp.c: Likewise.
2678 * sysdeps/ieee754/ldbl-opt/s_isinf.c: Likewise.
2679 * sysdeps/ieee754/ldbl-opt/s_isnan.c: Likewise.
2680 * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Likewise.
2681 * sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
2682 * sysdeps/ieee754/ldbl-opt/s_modf.c: Likewise.
2683 * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
2684 * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
2685 * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
2686 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Likewise.
2687 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
2688 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
2689 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
2690 Likewise.
2691 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
2692 Likewise.
2693 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c:
2694 Likewise.
2695 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c:
2696 Likewise.
2697 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c:
2698 Likewise.
2699 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
2700 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Likewise.
2701 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
2702 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
2703 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
2704 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
2705 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
2706 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
2707 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
2708 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
2709 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Likewise.
2710 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
2711 * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S: Likewise.
2712 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
2713 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
2714 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
2715 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
2716 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
2717 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
2718 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
2719 * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
2720 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
2721 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
2722 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
2723 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: Likewise.
2724 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
2725 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S: Likewise.
2726
2727 * nptl/lowlevellock.c: Use IS_IN instead of IS_IN_libpthread.
2728 * nptl/pthreadP.h: Likewise.
2729 * nptl_db/structs.def: Likewise.
2730 * sysdeps/arm/sysdep.h: Likewise.
2731 * sysdeps/nptl/bits/libc-lock.h: Likewise.
2732 * sysdeps/nptl/bits/libc-lockP.h: Likewise.
2733 * sysdeps/sparc/sparc32/lowlevellock.c: Likewise.
2734 * sysdeps/unix/alpha/sysdep.h: Likewise.
2735 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
2736 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
2737 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
2738 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
2739 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
2740 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
2741 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
2742 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
2743 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
2744 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
2745 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
2746 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
2747 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
2748 * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
2749 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
2750 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
2751 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
2752 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
2753 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
2754 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
2755 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
2756 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
2757 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
2758 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
2759 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
2760 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
2761
2762 * include/mqueue.h: Use IS_IN instead of IS_IN_librt.
2763 * nptl/pthreadP.h: Likewise.
2764 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
2765 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
2766 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
2767 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
2768 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
2769 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
2770 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
2771 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
2772 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
2773 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
2774 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
2775 * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
2776 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
2777 Likewise.
2778 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
2779 Likewise.
2780 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
2781 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
2782 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
2783 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
2784 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
2785 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
2786 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
2787 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
2788
2789 * dlfcn/dladdr.c: Use IS_IN.
2790 * dlfcn/dladdr1.c: Likewise.
2791 * dlfcn/dlclose.c: Likewise.
2792 * dlfcn/dlerror.c: Likewise.
2793 * dlfcn/dlinfo.c: Likewise.
2794 * dlfcn/dlmopen.c: Likewise.
2795 * dlfcn/dlopen.c: Likewise.
2796 * dlfcn/dlsym.c: Likewise.
2797 * dlfcn/dlvsym.c: Likewise.
2798
2799 * include/ifaddrs.h: Use IS_IN.
2800 * inet/check_pf.c: Likewise.
2801 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
2802 * nscd/Makefile (CPPFLAGS-nscd): Remove IS_IN_nscd.
2803
2804 * elf/Makefile (CFLAGS-ldconfig.c): Remove definition of
2805 IS_IN_ldconfig.
2806 * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Use IS_IN.
2807 * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.h: Likewise.
2808
2809 * include/shlib-compat.h [!NOT_IN_libc]: Remove.
2810 * nss/nss_files/files-parse.c (IS_IN_libc): Replace with
2811 IS_IN (libc).
2812
2813 * elf/Makefile (libof-sotruss-lib): Set as extramodules.
2814
2815 * elf/Makefile (CPPFLAGS-.os): Remove IN_LIB.
2816 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
2817 * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
2818 * include/libc-symbols.h (IS_IN_LIB): New macro.
2819 * include/errno.h: Use IS_IN_LIB instead of IN_LIB.
2820 * include/netdb.h: Likewise.
2821 * include/stap-probe.h: Remove all uses of IN_LIB.
2822
2823 * Makeconfig (module-cppflags-real): Define MODULE_NAME
2824 instead of IN_MODULE.
2825 * include/libc-symbols.h (IN_MODULE): Define using
2826 MODULE_NAME.
2827 (PASTE_NAME, PASTE_NAME1): New macros.
2828 * include/stap-probe.h (LIBC_PROBE_1): Use MODULE_NAME instead
2829 of IN_LIB.
2830 (STAP_PROBE_ASM): Likewise.
2831
2832 2014-11-23 Samuel Thibault <samuel.thibault@ens-lyon.org>
2833
2834 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Call
2835 __mach_init in dlopened libc.
2836
2837 2014-11-22 Mike Frysinger <vapier@gentoo.org>
2838
2839 * sysdeps/arm/preconfigure.ac: Delete EABI check.
2840 * sysdeps/arm/preconfigure: Regenerate.
2841
2842 2014-11-21 Roland McGrath <roland@hack.frob.com>
2843
2844 * nptl/pthread_create.c (__pthread_create_2_1): Set
2845 ATTR_FLAG_POLICY_SET and/or ATTR_FLAG_SCHED_SET in PD->flags
2846 when copying values from IATTR into PD.
2847
2848 2014-11-21 Will Newton <will.newton@linaro.org>
2849 Andrew Pinski <andrew.pinski@caviumnetworks.com>
2850
2851 * sysdeps/aarch64/dl-machine.h (elf_machine_load_address):
2852 Refactor inline-asm. Also add comment.
2853
2854 * sysdeps/aarch64/bits/link.h (la_aarch64_gnu_pltenter): Use
2855 ElfW macro instead of hardcoded Elf64 types.
2856 (la_aarch64_gnu_pltenter): Likewise.
2857 * sysdeps/aarch64/dl-machine.h
2858 (elf_machine_runtime_setup): Use ElfW(Addr).
2859
2860 * elf/elf.h (R_AARCH64_P32_ABS32, R_AARCH64_P32_COPY,
2861 R_AARCH64_P32_GLOB_DAT, R_AARCH64_P32_JUMP_SLOT,
2862 R_AARCH64_P32_RELATIVE, R_AARCH64_P32_TLS_DTPMOD,
2863 R_AARCH64_P32_TLS_DTPREL, R_AARCH64_P32_TLS_TPREL,
2864 R_AARCH64_P32_TLSDESC, R_AARCH64_P32_IRELATIVE): Define.
2865 (R_AARCH64_TLS_DTPMOD64): Rename to ..
2866 (R_AARCH64_TLS_DTPMOD): This.
2867 (R_AARCH64_TLS_DTPREL64): Rename to ...
2868 (R_AARCH64_TLS_DTPREL): This.
2869 (R_AARCH64_TLS_TPREL64): Rename to ...
2870 (R_AARCH64_TLS_TPREL): This.
2871 * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Update
2872 R_AARCH64_TLS_DTPMOD64, R_AARCH64_TLS_DTPREL64, and
2873 R_AARCH64_TLS_TPREL64.
2874 (elf_machine_rela): Likewise.
2875
2876 2014-11-21 Torvald Riegel <triegel@redhat.com>
2877
2878 * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS): Fix value
2879 by setting it to 0. 64b atomics are not supported currently.
2880
2881 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
2882
2883 [BZ #16469]
2884 * resolv/res_query.c (__libc_res_nsearch): Skip leading dot in
2885 search domain names.
2886
2887 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
2888
2889 [BZ #16469]
2890 * NEWS: Update.
2891 * resolv/res_query.c (__libc_res_nquerydomain): Retain
2892 trailing dot.
2893 * posix/tst-getaddrinfo5.c: New.
2894 * posix/Makefile (tests): Add it.
2895
2896 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
2897
2898 [BZ #14498]
2899 * NEWS: Fixed.
2900 * nss/nss_db/db-XXX.c (_nss_db_get##name##_r): Update hidx
2901 after parsing line but before break_if_match.
2902 * nss/nss_files/files-service (DB_LOOKUP): Don't "continue;"
2903 if there is a protocol mismatch.
2904
2905 2014-11-21 Ma Shimiao <mashimiao.fnst@cn.fujitsu.com>
2906
2907 * manual/sysinfo.texi (addmntent): It is actually MT-Safe,
2908 because the potential race is on the user-supplied stream.
2909
2910 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
2911
2912 * sysdeps/posix/ctermid.c (ctermid): Return a pointer to a
2913 string literal if not passed a buffer.
2914 * manual/job.texi (ctermid): Update reasoning, note deviation
2915 from posix, suggest mtasurace when not passed a buffer, for
2916 future non-preliminary safety notes.
2917
2918 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
2919
2920 * manual/users.texi (cuserid): Fix MT-Safety note for the case
2921 of not passing it a buffer.
2922 Reported by Peng Haitao.
2923
2924 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
2925
2926 * manual/Makefile ($(objpfx)stamp-summary): Require
2927 check-safety.sh to pass.
2928 * manual/check-safety.sh: Wish for verification that every
2929 @deftypefn and @deftypefun is followed by a @safety remark.
2930
2931 2014-11-20 Roland McGrath <roland@hack.frob.com>
2932
2933 * nptl/unwind.c (unwind_cleanup): Use __libc_fatal.
2934
2935 * nptl/pthread_setcanceltype.c [!SIGCANCEL]: Return ENOTSUP early for
2936 PTHREAD_CANCEL_ASYNCHRONOUS.
2937 * nptl/pthread_cancel.c [!SIGCANCEL]: Just abort rather than trying to
2938 send SIGCANCEL.
2939
2940 * nptl/default-sched.h: New file.
2941 * sysdeps/unix/sysv/linux/default-sched.h: New file.
2942 * nptl/pthread_create.c: Include it.
2943 (__pthread_create_2_1): Use collect_default_sched instead of making
2944 Linux syscalls here directly.
2945
2946 2014-11-20 Torvald Riegel <triegel@redhat.com>
2947
2948 * nptl/pthread_once.c (clear_once_control, __pthread_once_slow,
2949 __pthread_once): Use C11 atomics.
2950
2951 2014-11-20 Torvald Riegel <triegel@redhat.com>
2952
2953 * csu/tst-atomic.c (do_test): Add tests for C11-like atomics.
2954
2955 2014-11-20 Torvald Riegel <triegel@redhat.com>
2956
2957 * include/atomic.h (__atomic_link_error, __atomic_check_size,
2958 atomic_thread_fence_acquire, atomic_thread_fence_release,
2959 atomic_thread_fence_seq_cst, atomic_load_relaxed,
2960 atomic_load_acquire, atomic_store_relaxed, atomic_store_release,
2961 atomic_compare_exchange_weak_relaxed,
2962 atomic_compare_exchange_weak_acquire,
2963 atomic_compare_exchange_weak_release,
2964 atomic_exchange_acquire, atomic_exchange_release,
2965 atomic_fetch_add_relaxed, atomic_fetch_add_acquire,
2966 atomic_fetch_add_release, atomic_fetch_add_acq_rel,
2967 atomic_fetch_and_acquire,
2968 atomic_fetch_or_relaxed, atomic_fetch_or_acquire): New.
2969
2970 2014-11-20 Torvald Riegel <triegel@redhat.com>
2971
2972 * sysdeps/aarch64/bits/atomic.h (__HAVE_64B_ATOMICS,
2973 USE_ATOMIC_COMPILER_BUILTINS): Define.
2974 * sysdeps/alpha/bits/atomic.h (__HAVE_64B_ATOMICS,
2975 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
2976 * sysdeps/arm/bits/atomic.h (__HAVE_64B_ATOMICS,
2977 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
2978 * sysdeps/i386/i486/bits/atomic.h (__HAVE_64B_ATOMICS,
2979 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
2980 * sysdeps/ia64/bits/atomic.h (__HAVE_64B_ATOMICS,
2981 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
2982 * sysdeps/m68k/coldfire/bits/atomic.h (__HAVE_64B_ATOMICS,
2983 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
2984 * sysdeps/m68k/m680x0/m68020/bits/atomic.h (__HAVE_64B_ATOMICS,
2985 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
2986 * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS,
2987 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
2988 * sysdeps/mips/bits/atomic.h (__HAVE_64B_ATOMICS,
2989 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
2990 * sysdeps/powerpc/powerpc32/bits/atomic.h (__HAVE_64B_ATOMICS,
2991 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
2992 * sysdeps/powerpc/powerpc64/bits/atomic.h (__HAVE_64B_ATOMICS,
2993 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
2994 * sysdeps/s390/bits/atomic.h (__HAVE_64B_ATOMICS,
2995 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
2996 * sysdeps/sparc/sparc32/bits/atomic.h (__HAVE_64B_ATOMICS,
2997 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
2998 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (__HAVE_64B_ATOMICS,
2999 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
3000 * sysdeps/sparc/sparc64/bits/atomic.h (__HAVE_64B_ATOMICS,
3001 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
3002 * sysdeps/tile/tilegx/bits/atomic.h (__HAVE_64B_ATOMICS,
3003 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
3004 * sysdeps/tile/tilepro/bits/atomic.h (__HAVE_64B_ATOMICS,
3005 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
3006 * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (__HAVE_64B_ATOMICS,
3007 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
3008 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
3009 (__HAVE_64B_ATOMICS, USE_ATOMIC_COMPILER_BUILTINS): Likewise.
3010 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (__HAVE_64B_ATOMICS,
3011 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
3012 * sysdeps/x86_64/bits/atomic.h (__HAVE_64B_ATOMICS,
3013 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
3014
3015 2014-11-19 Roland McGrath <roland@hack.frob.com>
3016
3017 * nptl/pthread_create.c (__pthread_create_2_1): Don't try to validate
3018 the sched_priority value here. It was already checked when the user
3019 called pthread_attr_setschedparam.
3020
3021 * nptl/tst-bad-schedattr.c: New file.
3022 * nptl/Makefile (tests): Add it.
3023
3024 2014-11-19 Carlos O'Donell <carlos@redhat.com>
3025 Florian Weimer <fweimer@redhat.com>
3026 Joseph Myers <joseph@codesourcery.com>
3027 Adam Conrad <adconrad@0c3.net>
3028 Andreas Schwab <schwab@suse.de>
3029 Brooks <bmoses@google.com>
3030
3031 [BZ #17625]
3032 * wordexp-test.c (__dso_handle): Add prototype.
3033 (__register_atfork): Likewise.
3034 (__app_register_atfork): New function.
3035 (registered_forks): New global.
3036 (register_fork): New function.
3037 (test_case): Add 3 new tests for WRDE_CMDSUB.
3038 (main): Call __app_register_atfork.
3039 (testit): If WRDE_NOCMD set registered_forks to zero, run test, and if
3040 fork count is non-zero fail the test.
3041 * posix/wordexp.c (exec_comm): Return WRDE_CMDSUB if WRDE_NOCMD flag
3042 is set.
3043 (parse_dollars): Remove check for WRDE_NOCMD.
3044 (parse_dquote): Likewise.
3045
3046 2014-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
3047
3048 * Makeconfig (built-modules): List non-library modules to be
3049 built.
3050 (module-cppflags): Include libc-modules.h for
3051 everything except shlib-versions.v.i.
3052 (CPPFLAGS): Use it.
3053 (before-compile): Add libc-modules.h.
3054 ($(common-objpfx)libc-modules.h,
3055 $(common-objpfx)libc-modules.stmp): New targets.
3056 (common-generated): Add libc-modules.h and libc-modules.stmp.
3057 ($(common-objpfx)Versions.v.i): Depend on libc-modules.h.
3058 * include/libc-symbols.h: Don't include libc-modules.h.
3059 * include/libc-modules.h: Remove file.
3060 * scripts/gen-libc-modules.awk: New script to generate
3061 libc-modules.h.
3062 * sysdeps/unix/Makefile ($(common-objpfx)sysd-syscalls):
3063 Depend on libc-modules.stmp.
3064
3065 * include/shlib-compat.h (_SHLIB_COMPAT): Use IS_IN.
3066
3067 * Makeconfig (in-module): Get value of libof set for the
3068 translation unit.
3069 (CPPFLAGS): Use $(in-module).
3070 * Makerules: Don't suffix routine names for nonlib.
3071 * include/libc-modules.h: New file.
3072 * include/libc-symbols.h: Include libc-modules.h
3073 (IS_IN): New macro to replace IS_IN_* macros.
3074 * elf/Makefile: Set libof-* for each routine.
3075 * elf/rtld-Rules: Likewise.
3076 * extra-modules.mk: Likewise.
3077 * iconv/Makefile: Likewise.
3078 * iconvdata/Makefile: Likewise.
3079 * locale/Makefile: Likewise.
3080 * malloc/Makefile: Likewise.
3081 * nss/Makefile: Likewise.
3082 * sysdeps/gnu/Makefile: Likewise.
3083 * sysdeps/ieee754/ldbl-opt/Makefile: Likewise.
3084 * sysdeps/unix/sysv/linux/Makefile: Likewise.
3085 * sysdeps/s390/s390-64/Makefile: Likewise.
3086 * nscd/Makefile: Set libof-* for each routine. Set CFLAGS and
3087 CPPFLAGS for nscd instead of nonlib.
3088
3089 2014-11-18 Roland McGrath <roland@hack.frob.com>
3090
3091 * nptl/createthread.c: New file.
3092
3093 * nptl/createthread.c: Moved ...
3094 * sysdeps/unix/sysv/linux/createthread.c: ... here.
3095
3096 * nptl/createthread.c: Add proper top-line comment.
3097 (do_clone): Folded into ...
3098 (create_thread): ... here. Take new arguments STOPPED_START and
3099 THREAD_RAN. Always set PD->stopped_start to something here. Don't
3100 increment __nptl_threads, do event-reporting logic, do
3101 CHECK_THREAD_SYSINFO, or set THREAD_SELF->header.multiple_threads
3102 here. Set *THREAD_RAN after ARCH_CLONE call succeeds. Don't do any
3103 resource cleanup if sched_setaffinity or sched_setscheduler fails,
3104 just send SIGCANCEL.
3105 * nptl/pthread_create.c: Forward-declare create_thread before
3106 including createthread.c.
3107 (start_thread): Use new macro START_THREAD_DEFN to replace defining
3108 declaration, and new macro START_THREAD_SELF to replace argument.
3109 Remove return statement.
3110 (report_thread_creation): New function.
3111 (__pthread_create_2_1): Use it. Do TD_CREATE reporting,
3112 synchronization logic, and __nptl_nthreads increment here, around
3113 calling create_thread. Do CHECK_THREAD_SYSINFO and initialize
3114 PD->parent_cancelhandling here, before create_thread. When
3115 create_thread fails, do __nptl_nthreads decrement, setxid_futex wake,
3116 __deallocate_stack, and ENOMEM translation here.
3117
3118 2014-11-18 Joseph Myers <joseph@codesourcery.com>
3119
3120 [BZ #17616]
3121 * sysdeps/ieee754/dbl-64/mpa.c (mpone): Rename to __mpone.
3122 (mptwo): Rename to __mptwo.
3123 (__inv): Use __mptwo instead of mptwo.
3124 * sysdeps/ieee754/dbl-64/mpa.h (mpone): Rename to __mpone.
3125 (mptwo): Rename to __mptwo.
3126 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __mpone instead
3127 of mpone and __mptwo instead of mptwo.
3128 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Use __mpone
3129 instead of mpone.
3130 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
3131 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Likewise.
3132 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use __mpone instead
3133 of mpone and __mptwo instead of mptwo.
3134 (__mpranred): Use __mpone instead of mpone.
3135 * conform/Makefile (test-xfail-ISO/math.h/linknamespace): Remove
3136 variable.
3137 (test-xfail-ISO99/complex.h/linknamespace): Likewise.
3138 (test-xfail-ISO99/math.h/linknamespace): Likewise.
3139 (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
3140 (test-xfail-ISO11/complex.h/linknamespace): Likewise.
3141 (test-xfail-ISO11/math.h/linknamespace): Likewise.
3142 (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
3143 (test-xfail-XPG3/math.h/linknamespace): Likewise.
3144 (test-xfail-XPG4/math.h/linknamespace): Likewise.
3145 (test-xfail-POSIX/math.h/linknamespace): Likewise.
3146 (test-xfail-UNIX98/math.h/linknamespace): Likewise.
3147 (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
3148 (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
3149 (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
3150 (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
3151 (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
3152 (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
3153 (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
3154 (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
3155 (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
3156
3157 2014-11-18 Tom de Vries <tom@codesoucery.com>
3158
3159 * manual/signal.texi (Primitives Interrupted by Signals): In section,
3160 replace BSD Handler xref with BSD Signal Handling.
3161
3162 2014-11-17 Richard Henderson <rth@redhat.com>
3163
3164 * sysdeps/alpha/soft-fp/local-soft-fp.h (_FP_UNPACK_RAW_2): Remove.
3165 (_FP_PACK_RAW_2): Remove.
3166 (AXP_DECL_RETURN_Q): Rename from FP_DECL_RETURN, use _FP_UNION_Q.
3167 (AXP_RETURN_Q): Rename from FP_RETURN, use _FP_UNION_Q.
3168 (AXP_UNPACK_RAW_Q, AXP_UNPACK_SEMIRAW_Q, AXP_UNPACK_Q): New.
3169 (AXP_PACK_RAW_Q, AXP_PACK_SEMIRAW_Q, AXP_PACK_Q): New.
3170 * sysdeps/alpha/soft-fp/ots_add.c (_OtsAddX): Update to match.
3171 * sysdeps/alpha/soft-fp/ots_cmp.c (internal_equality): Likewise.
3172 * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Likewise.
3173 * sysdeps/alpha/soft-fp/ots_cvtqux.c (_OtsCvtQUX): Likewise.
3174 * sysdeps/alpha/soft-fp/ots_cvtqx.c (_OtsCvtQX): Likewise.
3175 * sysdeps/alpha/soft-fp/ots_cvttx.c (_OtsConvertFloatTX): Likewise.
3176 * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Likewise.
3177 * sysdeps/alpha/soft-fp/ots_cvtxt.c (_OtsConvertFloatXT): Likewise.
3178 * sysdeps/alpha/soft-fp/ots_div.c (_OtsDivX): Likewise.
3179 * sysdeps/alpha/soft-fp/ots_mul.c (_OtsMulX): Likewise.
3180 * sysdeps/alpha/soft-fp/ots_nintxq.c (_OtsNintXQ): Likewise.
3181 * sysdeps/alpha/soft-fp/ots_sub.c (_OtsSubX): Likewise.
3182
3183 2014-11-14 Roland McGrath <roland@hack.frob.com>
3184
3185 * signal/signal.h [__USE_MISC]
3186 (struct sigvec): Remove type.
3187 (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): Remove macros.
3188 (sigvec): Remove declaration.
3189 * sysdeps/posix/sigvec.c: Moved ...
3190 * signal/sigvec.c: ... here, replacing old file.
3191 (struct sigvec): New type, copied from old signal.h definition.
3192 (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): New macros, likewise copied.
3193 (__sigvec): Convert definition to prototype.
3194 (sigvec): Replace weak_alias with compat_symbol.
3195 * signal/Versions (libc: GLIBC_2.21): New version set.
3196 * include/signal.h: Remove __sigvec declaration.
3197 * sysdeps/unix/bsd/sigvec.c: Remove file.
3198 * sysdeps/unix/bsd/syscalls.list: Remove sigvec.
3199 * manual/signal.texi (BSD Handler): Remove subsection.
3200 Move siginterrupt up to ...
3201 (BSD Signal Handling): ... here. Mark it as XPG rather than BSD.
3202 (Blocking in BSD): Fold subsection into its parent.
3203 * NEWS: Mention sigvec removal.
3204
3205 2014-11-14 Joseph Myers <joseph@codesourcery.com>
3206
3207 * sysdeps/x86_64/fpu/dla.h [__FMA4__ && __GNUC_PREREQ (4, 6)]
3208 (DLA_FMS): Make definition conditional only on [__FMA4__].
3209 [__FMA4__ && !__GNUC_PREREQ (4, 6)] (DLA_FMS): Remove conditional
3210 definition.
3211
3212 * sysdeps/arm/sysdep.h [PROF && __GNUC_PREREQ(4,4)] (CALL_MCOUNT):
3213 Make definition conditional only on [PROF].
3214 [PROF && !__GNUC_PREREQ(4,4)] (CALL_MCOUNT): Remove conditional
3215 definition.
3216 [__GNUC_PREREQ(4,4)] (mcount): Make definition unconditional.
3217 [!__GNUC_PREREQ(4,4)] (mcount): Remove conditional definition.
3218
3219 * signal/signal.h (__sigpause): Only declare if [__USE_XOPEN &&
3220 !__GNUC__].
3221 * include/signal.h (__sigpause): Move declaration above call to
3222 libc_hidden_proto.
3223 * conform/Makefile (test-xfail-ISO/signal.h/linknamespace): Remove
3224 variable.
3225 (test-xfail-ISO99/signal.h/linknamespace): Likewise.
3226 (test-xfail-ISO11/signal.h/linknamespace): Likewise.
3227
3228 2014-11-14 David S. Miller <davem@davemloft.net>
3229
3230 * sysdeps/sparc/sparc64/rtld-memcpy.c (NO_MEMPCPY_STPCPY_REDIRECT):
3231 Define before including <string/memcpy.c> and <string/mempcpy.c>.
3232
3233 2014-11-14 Joseph Myers <joseph@codesourcery.com>
3234
3235 * configure.ac (libc_cv_compiler_ok): Require GCC 4.6 or later.
3236 * configure: Regenerated.
3237 * manual/install.texi (Tools for Compilation): Document a
3238 requirement of GCC 4.6 or later and that GCC 4.9 is the newest
3239 compiler verified to work.
3240 * INSTALL: Regenerated.
3241
3242 * include/string.h [NO_MEMPCPY_STPCPY_REDIRECT] (mempcpy): Do not
3243 redeclare with asm name.
3244 [NO_MEMPCPY_STPCPY_REDIRECT] (stpcpy): Likewise.
3245 * string/mempcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Define before
3246 including <string.h>.
3247 * string/stpcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
3248 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c
3249 [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
3250 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c
3251 [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
3252 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
3253 [SHARED && !NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
3254
3255 2014-11-13 Joseph Myers <joseph@codesourcery.com>
3256
3257 * stdlib/strtol.c (__strtol): Use prototype definition.
3258
3259 [BZ #17594]
3260 * stdlib/strtol.c (SYM__): New macro.
3261 (SYM__1): Likewise.
3262 (__strtol): Likewise.
3263 (strtol): Rename to __strtol and define as weak alias of
3264 __strtol. Use libc_hidden_weak.
3265
3266 2014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
3267
3268 * sysdeps/s390/s390-32/dl-machine.h (RTLD_START):
3269 Use numbered labels in inline assembly.
3270
3271 2014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
3272
3273 * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp):
3274 Add setjmp LIBC_PROBE.
3275 * sysdeps/s390/s390-64/setjmp.S (__sigsetjmp):
3276 Likewise.
3277 * sysdeps/s390/s390-32/__longjmp.c (__longjmp):
3278 Add longjmp, longjmp_target LIBC_PROBE.
3279 * sysdeps/s390/s390-64/__longjmp.c (__longjmp):
3280 Likewise.
3281
3282 2014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
3283
3284 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
3285 Gate the definition of refsym additionally with !RTLD_BOOTSTRAP
3286 to get rid of unused variable warning.
3287
3288 2014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
3289
3290 * sysdeps/s390/s390-32/backtrace.c (__backtrace):
3291 Check for unwind_backtrace == NULL only in SHARED case.
3292 (__backchain_backtrace): Compile only in SHARED case.
3293 * sysdeps/s390/s390-64/backtrace.c (__backtrace):
3294 Likewise.
3295 (__backchain_backtrace): Declare as static.
3296
3297 2014-11-12 Roland McGrath <roland@hack.frob.com>
3298
3299 * nptl/createthread.c [!TLS_MULTIPLE_THREADS_IN_TCB]
3300 (__libc_multiple_threads_ptr): Variable moved ...
3301 * nptl/nptl-init.c [!TLS_MULTIPLE_THREADS_IN_TCB]: ... here.
3302
3303 2014-11-12 Joseph Myers <joseph@codesourcery.com>
3304
3305 * conform/GlibcConform.pm: New file.
3306 * conform/conformtest.pl: Use GlibcConform module.
3307 * conform/linknamespace.pl: New file.
3308 * conform/list-header-symbols.pl: Likewise.
3309 * conform/Makefile (linknamespace-symlists-base): New variable.
3310 (linknamespace-symlists-tests): Likewise.
3311 (linknamespace-header-base): Likewise.
3312 (linknamespace-header-tests): Likewise.
3313 (tests-special): Add new tests.
3314 ($(linknamespace-symlists-tests)): New rule.
3315 (linknamespace-libs): New variable.
3316 ($(objpfx)symlist-stdlibs): New rule.
3317 ($(linknamespace-header-tests)): Likewise.
3318 (test-xfail-XPG3/varargs.h/linknamespace): New variable.
3319 (test-xfail-XPG4/varargs.h/linknamespace): Likewise.
3320 (test-xfail-UNIX98/varargs.h/linknamespace): Likewise.
3321 (test-xfail-XPG4/ndbm.h/linknamespace): Likewise.
3322 (test-xfail-UNIX98/ndbm.h/linknamespace): Likewise.
3323 (test-xfail-XOPEN2K/ndbm.h/linknamespace): Likewise.
3324 (test-xfail-XOPEN2K8/ndbm.h/linknamespace): Likewise.
3325 (test-xfail-ISO/math.h/linknamespace): Likewise.
3326 (test-xfail-ISO/signal.h/linknamespace): Likewise.
3327 (test-xfail-ISO/stdio.h/linknamespace): Likewise.
3328 (test-xfail-ISO/time.h/linknamespace): Likewise.
3329 (test-xfail-ISO99/complex.h/linknamespace): Likewise.
3330 (test-xfail-ISO99/ctype.h/linknamespace): Likewise.
3331 (test-xfail-ISO99/math.h/linknamespace): Likewise.
3332 (test-xfail-ISO99/signal.h/linknamespace): Likewise.
3333 (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
3334 (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
3335 (test-xfail-ISO11/complex.h/linknamespace): Likewise.
3336 (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
3337 (test-xfail-ISO11/math.h/linknamespace): Likewise.
3338 (test-xfail-ISO11/signal.h/linknamespace): Likewise.
3339 (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
3340 (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
3341 (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
3342 (test-xfail-XPG3/fnmatch.h/linknamespace): Likewise.
3343 (test-xfail-XPG3/glob.h/linknamespace): Likewise.
3344 (test-xfail-XPG3/math.h/linknamespace): Likewise.
3345 (test-xfail-XPG3/regex.h/linknamespace): Likewise.
3346 (test-xfail-XPG3/search.h/linknamespace): Likewise.
3347 (test-xfail-XPG3/stdio.h/linknamespace): Likewise.
3348 (test-xfail-XPG3/time.h/linknamespace): Likewise.
3349 (test-xfail-XPG3/unistd.h/linknamespace): Likewise.
3350 (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
3351 (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
3352 (test-xfail-XPG4/fmtmsg.h/linknamespace): Likewise.
3353 (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
3354 (test-xfail-XPG4/glob.h/linknamespace): Likewise.
3355 (test-xfail-XPG4/grp.h/linknamespace): Likewise.
3356 (test-xfail-XPG4/libgen.h/linknamespace): Likewise.
3357 (test-xfail-XPG4/math.h/linknamespace): Likewise.
3358 (test-xfail-XPG4/netdb.h/linknamespace): Likewise.
3359 (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
3360 (test-xfail-XPG4/regex.h/linknamespace): Likewise.
3361 (test-xfail-XPG4/search.h/linknamespace): Likewise.
3362 (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
3363 (test-xfail-XPG4/stdlib.h/linknamespace): Likewise.
3364 (test-xfail-XPG4/sys/mman.h/linknamespace): Likewise.
3365 (test-xfail-XPG4/sys/statvfs.h/linknamespace): Likewise.
3366 (test-xfail-XPG4/syslog.h/linknamespace): Likewise.
3367 (test-xfail-XPG4/time.h/linknamespace): Likewise.
3368 (test-xfail-XPG4/unistd.h/linknamespace): Likewise.
3369 (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
3370 (test-xfail-POSIX/aio.h/linknamespace): Likewise.
3371 (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
3372 (test-xfail-POSIX/glob.h/linknamespace): Likewise.
3373 (test-xfail-POSIX/math.h/linknamespace): Likewise.
3374 (test-xfail-POSIX/mqueue.h/linknamespace): Likewise.
3375 (test-xfail-POSIX/pthread.h/linknamespace): Likewise.
3376 (test-xfail-POSIX/regex.h/linknamespace): Likewise.
3377 (test-xfail-POSIX/sched.h/linknamespace): Likewise.
3378 (test-xfail-POSIX/semaphore.h/linknamespace): Likewise.
3379 (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
3380 (test-xfail-POSIX/time.h/linknamespace): Likewise.
3381 (test-xfail-POSIX/unistd.h/linknamespace): Likewise.
3382 (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
3383 (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
3384 (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
3385 (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
3386 (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
3387 (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
3388 (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
3389 (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
3390 (test-xfail-UNIX98/math.h/linknamespace): Likewise.
3391 (test-xfail-UNIX98/mqueue.h/linknamespace): Likewise.
3392 (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
3393 (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
3394 (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
3395 (test-xfail-UNIX98/regex.h/linknamespace): Likewise.
3396 (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
3397 (test-xfail-UNIX98/search.h/linknamespace): Likewise.
3398 (test-xfail-UNIX98/semaphore.h/linknamespace): Likewise.
3399 (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
3400 (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
3401 (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
3402 (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
3403 (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
3404 (test-xfail-UNIX98/time.h/linknamespace): Likewise.
3405 (test-xfail-UNIX98/unistd.h/linknamespace): Likewise.
3406 (test-xfail-UNIX98/wchar.h/linknamespace): Likewise.
3407 (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
3408 (test-xfail-XOPEN2K/aio.h/linknamespace): Likewise.
3409 (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
3410 (test-xfail-XOPEN2K/fcntl.h/linknamespace): Likewise.
3411 (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
3412 (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
3413 (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
3414 (test-xfail-XOPEN2K/grp.h/linknamespace): Likewise.
3415 (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
3416 (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
3417 (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
3418 (test-xfail-XOPEN2K/net/if.h/linknamespace): Likewise.
3419 (test-xfail-XOPEN2K/netdb.h/linknamespace): Likewise.
3420 (test-xfail-XOPEN2K/pthread.h/linknamespace): Likewise.
3421 (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
3422 (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
3423 (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
3424 (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
3425 (test-xfail-XOPEN2K/signal.h/linknamespace): Likewise.
3426 (test-xfail-XOPEN2K/spawn.h/linknamespace): Likewise.
3427 (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
3428 (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
3429 (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
3430 (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
3431 (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
3432 (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
3433 (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
3434 (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
3435 (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
3436 (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
3437 (test-xfail-POSIX2008/aio.h/linknamespace): Likewise.
3438 (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
3439 (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
3440 (test-xfail-POSIX2008/dirent.h/linknamespace): Likewise.
3441 (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
3442 (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
3443 (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
3444 (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
3445 (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
3446 (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
3447 (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
3448 (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
3449 (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
3450 (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
3451 (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
3452 (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
3453 (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
3454 (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
3455 (test-xfail-POSIX2008/unistd.h/linknamespace): Likewise.
3456 (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
3457 (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
3458 (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
3459 (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
3460 (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
3461 (test-xfail-XOPEN2K8/grp.h/linknamespace): Likewise.
3462 (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
3463 (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
3464 (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
3465 (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
3466 (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
3467 (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
3468 (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
3469 (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
3470 (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
3471 (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
3472 (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
3473 (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
3474 (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
3475 (test-xfail-XOPEN2K8/syslog.h/linknamespace): Likewise.
3476 (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
3477 (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
3478 (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
3479
3480 [BZ #17589]
3481 * intl/localealias.c [_LIBC] (FGETS): Use __fgets_unlocked instead
3482 of fgets_unlocked.
3483
3484 [BZ #17585]
3485 * string/memmem.c [!_LIBC] (__memmem): Define to memmem.
3486 (memmem): Rename to __memmem and define as weak alias of
3487 __memmem. Use libc_hidden_weak.
3488 (__memmem): Use libc_hidden_def.
3489 * include/string.h (__memmem): Declare. Use libc_hidden_proto.
3490 * locale/findlocale.c (valid_locale_name): Use __memmem instead of
3491 memmem.
3492
3493 [BZ #17582]
3494 * libio/iofgets.c [weak_alias && !_IO_MTSAFE_IO]
3495 (__fgets_unlocked): Add alias of _IO_fgets. Use libc_hidden_def.
3496 * libio/iofgets_u.c (fgets_unlocked): Rename to __fgets_unlocked
3497 and define as weak alias of __fgets_unlocked. Use
3498 libc_hidden_weak.
3499 (__fgets_unlocked): Use libc_hidden_def.
3500 * include/stdio.h (__fgets_unlocked): Declare. Use
3501 libc_hidden_proto.
3502 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Use
3503 __fgets_unlocked instead of fgets_unlocked.
3504 * sysdeps/unix/sysv/linux/alpha/getsysstats.c
3505 (GET_NPROCS_CONF_PARSER): Likewise.
3506 * sysdeps/unix/sysv/linux/sparc/getsysstats.c
3507 (GET_NPROCS_CONF_PARSER): Likewise.
3508
3509 [BZ #17574]
3510 * wcsmbs/wmemset.c (wmemset): Rename to __wmemset and define as
3511 weak alias of __wmemset. Use libc_hidden_weak.
3512 (__wmemset): Use libc_hidden_def.
3513 * include/wchar.h (__wmemset): Declare. Use libc_hidden_proto.
3514 * stdio-common/printf_fp.c (___printf_fp): Call __wmemset instead
3515 of wmemset.
3516
3517 [BZ #17573]
3518 * include/string.h [NOT_IN_libc || !SHARED] (mempcpy): Declare
3519 with asm name __mempcpy.
3520 [NOT_IN_libc || !SHARED] (stpcpy): Declare with asm name __stpcpy.
3521
3522 [BZ #17572]
3523 * sysdeps/x86_64/rawmemchr.S (rawmemchr): Rename to __rawmemchr
3524 and define as weak alias of __rawmemchr.
3525 (__rawmemchr): Do not define as strong alias of rawmemchr.
3526
3527 [BZ #17571]
3528 * stdlib/msort.c (qsort_r): Rename to __qsort_r and define as weak
3529 alias of __qsort_r.
3530 (qsort): Call __qsort_r instead of qsort_r.
3531 * include/stdlib.h (qsort_r): Do not call libc_hidden_proto.
3532 (__qsort_r): Declare. Call libc_hidden_proto.
3533 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Call __qsort_r
3534 instead of qsort_r.
3535 * nscd/gai.c (__qsort_r): Define to qsort_r.
3536 * posix/tst-rfc3484.c (__qsort_r): Likewise.
3537 * posix/tst-rfc3484-2.c (__qsort_r): Likewise.
3538 * posix/tst-rfc3484-3.c (__qsort_r): Likewise.
3539
3540 [BZ #17570]
3541 * malloc/malloc.c (malloc_info): Rename to __malloc_info and
3542 define as weak alias of __malloc_info.
3543
3544 [BZ #17584]
3545 * dirent/rewinddir.c (rewinddir): Rename to __rewinddir and define
3546 as weak alias of __rewinddir. Don't use libc_hidden_def.
3547 (__rewinddir): Use libc_hidden_def.
3548 * sysdeps/mach/hurd/rewinddir.c: Rename to __rewinddir and define
3549 as weak alias of __rewinddir. Don't use libc_hidden_def.
3550 (__rewinddir): Use libc_hidden_def.
3551 * sysdeps/posix/rewinddir.c: Rename to __rewinddir and define as
3552 weak alias of __rewinddir. Don't use libc_hidden_def.
3553 (__rewinddir): Use libc_hidden_def.
3554 * include/dirent.h (rewinddir): Don't use libc_hidden_proto.
3555 (__rewinddir): Use libc_hidden_proto.
3556 * sysdeps/posix/getcwd.c [!_LIBC] (__rewinddir): Define to
3557 rewinddir.
3558 (__getcwd): Use __rewinddir instead of rewinddir.
3559
3560 [BZ #17583]
3561 * libio/fileno.c (fileno): Rename to __fileno and define as weak
3562 alias of __fileno. Use libc_hidden_weak.
3563 (__fileno): Use libc_hidden_def.
3564 [weak_alias] (fileno_unlocked): Define as weak alias of __fileno.
3565 * libio/ftello.c (ftello): Rename to __ftello and define as weak
3566 alias of __ftello.
3567 [__OFF_T_MATCHES_OFF64_T] (ftello64): Define as weak alias of
3568 __ftello.
3569 * libio/iofread.c [weak_alias && !_IO_MTSAFE_IO]
3570 (__fread_unlocked): Define as strong alias of _IO_fread. Use
3571 libc_hidden_def.
3572 (fread_unlocked): Don't use libc_hidden_ver.
3573 * libio/iofread_u.c (fread_unlocked): Rename to __fread_unlocked
3574 and define as weak alias of __fread_unlocked. Don't use
3575 libc_hidden_def.
3576 (__fread_unlocked): Use libc_hidden_def.
3577 * include/stdio.h (__fileno): Declare. Use libc_hidden_proto.
3578 (ftello): Don't use libc_hidden_proto.
3579 (__ftello): Declare. Use libc_hidden_proto.
3580 (fread_unlocked): Don't use libc_hidden_proto.
3581 (__fread_unlocked): Declare. Use libc_hidden_proto.
3582 * time/tzfile.c (__tzfile_read): Use __fileno, __fread_unlocked
3583 and __ftello instead of fileno, fread_unlocked and ftello.
3584
3585 2012-11-12 Siddhesh Poyarekar <siddhesh@redhat.com>
3586
3587 * sysdeps/s390/s390-32/bcopy.S (__bcopy): Use GOT instead of
3588 GOT12.
3589 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
3590 Likewise.
3591 (_dl_start_user): Likewise.
3592 * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp): Likewise.
3593
3594 2014-11-12 Carlos O'Donell <carlos@redhat.com>
3595 Siddhesh Poyarekar <siddhesh@redhat.com>
3596
3597 * sysdeps/s390/s390-32/dl-machine.h (_dl_start_user):
3598 Move argv and envp down instead of moving argc up.
3599 * sysdeps/s390/s390-32/dl-sysdep.h: New file.
3600
3601 2014-11-12 Leonhard Holz <leonhard.holz@web.de>
3602
3603 [BZ #17506]
3604 * test-skeleton.c (main): Return successful if one of
3605 EXPECTED_SIGNAL or EXPECTED_STATUS is met when both given.
3606 * string/tst-strcoll-overflow.c: Define expected status.
3607
3608 2014-11-12 Tatiana Udalova <t.udalova@samsung.com>
3609
3610 [BZ #17475]
3611 * locale/iso-639.def: Define Bhili and Tulu language codes.
3612
3613 2014-11-11 Alan Hayward <alan.hayward@arm.com>
3614
3615 * sysdeps/unix/sysv/linux/aarch64/bits/ipc.h: New file.
3616
3617 2014-11-10 Renlin Li <Renlin.Li@arm.com>
3618
3619 [BZ #17555]
3620 * sysdeps/aarch64/start.S (_start): Delete x29 overwritten assignment.
3621
3622 2014-11-10 Andrew Senkevich <andrew.n.senkevich@gmail.com>
3623
3624 * configure.ac: Updated check of minimal required version to
3625 2.22.
3626 * manual/install.texi (Tools for Compilation): Updated version
3627 number.
3628 * configure: Regenerated.
3629 * INSTALL: Likewise.
3630
3631 2014-11-07 Andreas Schwab <schwab@linux-m68k.org>
3632
3633 * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Remove
3634 __tls_get_addr.
3635
3636 2014-11-07 Joseph Myers <joseph@codesourcery.com>
3637
3638 * include/sys/wait.h (__libc_waitpid): Remove declaration.
3639 * posix/waitpid.c (__libc_waitpid): Rename to __waitpid.
3640 (__waitpid): Don't define as alias. Use libc_hidden_def not
3641 libc_hidden_weak.
3642 (waitpid): Define as alias of __waitpid.
3643 * sysdeps/unix/bsd/waitpid.c (__libc_waitpid): Rename to
3644 __waitpid.
3645 (__waitpid): Don't define as alias. Use libc_hidden_def not
3646 libc_hidden_weak.
3647 (waitpid): Define as alias of __waitpid.
3648 * sysdeps/unix/sysv/linux/i386/syscalls.list (waitpid): Remove
3649 __libc_waitpid alias.
3650 * sysdeps/unix/sysv/linux/m68k/syscalls.list (waitpid): Likewise.
3651 * sysdeps/unix/sysv/linux/powerpc/syscalls.list (waitpid):
3652 Likewise.
3653 * sysdeps/unix/sysv/linux/sh/syscalls.list (waitpid): Likewise.
3654 * sysdeps/unix/sysv/linux/sparc/syscalls.list (waitpid): Likewise.
3655 * sysdeps/unix/sysv/linux/tile/waitpid.S (__libc_waitpid): Remove
3656 alias.
3657 * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Rename to
3658 __waitpid.
3659 (__waitpid): Don't define as alias. Use libc_hidden_def not
3660 libc_hidden_weak.
3661 (waitpid): Define as alias of __waitpid.
3662
3663 2014-11-06 Carlos O'Donell <carlos@redhat.com>
3664
3665 * manual/llio.texi: Add comment that write safety has been
3666 fixed in Linux.
3667
3668 * elf/Makefile (all-built-dso): Add $(common-objpfx)elf/ld.so.
3669 (localplt-build-dso): Add elf/ld.so.
3670 * sysdeps/unix/sysv/linux/i386/localplt.data: Add ___tls_get_addr
3671 i.e. 3 underscore version, __libc_memalign, malloc, calloc, realloc,
3672 and free for ld.so.
3673 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: Add
3674 __libc_memalign, malloc, calloc, realloc, and free for ld.so.
3675 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data:
3676 Likewise.
3677 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
3678 Likewise.
3679 * sysdeps/unix/sysv/linux/s390/localplt.data: Likewise.
3680 * sysdeps/generic/localplt.data: Add __tls_get_addr i.e. 2 underscore
3681 version, __libc_memalign, malloc, calloc, realloc and free for ld.so.
3682 * sysdeps/unix/sysv/linux/aarch64/localplt.data: Likewise.
3683 * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
3684 * sysdeps/unix/sysv/linux/alpha/localplt.data: Likewise.
3685 * sysdeps/unix/sysv/linux/ia64/localplt.data: Likewise.
3686 * sysdeps/unix/sysv/linux/m68k/localplt.data: Likewise.
3687 * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
3688 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Likewise.
3689 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
3690
3691 2014-11-05 Joseph Myers <joseph@codesourcery.com>
3692
3693 [BZ #14132]
3694 * include/libc-symbols.h (INTUSE): Remove macro.
3695 (INTDEF): Likewise.
3696 (INTVARDEF): Likewise.
3697 (_INTVARDEF): Likewise.
3698 (INTDEF2): Likewise.
3699 (INTVARDEF2): Likewise.
3700 * elf/rtld.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Use
3701 rtld_hidden_def instead of INTVARDEF.
3702 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]
3703 (_dl_starting_up_internal): Remove declaration.
3704 (_dl_starting_up): Use rtld_hidden_proto.
3705 * elf/dl-init.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Remove
3706 declaration.
3707 [!HAVE_INLINED_SYSCALLS] (_dl_starting_up_internal): Likewise.
3708 (_dl_init) [!HAVE_INLINED_SYSCALLS]: Don't use INTUSE with
3709 _dl_starting_up.
3710 * elf/dl-writev.h (_dl_writev): Likewise.
3711 * sysdeps/powerpc/powerpc64/dl-machine.h [!HAVE_INLINED_SYSCALLS]
3712 (DL_STARTING_UP_DEF): Use __GI__dl_starting_up instead of
3713 _dl_starting_up_internal.
3714
3715 2014-11-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3716
3717 * stdio-common/tst-fmemopen.c (do_test): Refactor to use
3718 test-skeleton.c.
3719
3720 2014-11-05 Will Newton <will.newton@linaro.org>
3721
3722 * benchtests/Makefile: (bench-malloc): Add malloc thread
3723 scalability benchmark.
3724 * benchtests/bench-malloc-threads.c: New file.
3725
3726 2014-11-05 Richard Earnshaw <rearnsha@arm.com>
3727
3728 * sysdeps/aarch64/strchrnul.S: New file.
3729
3730 2014-11-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3731
3732 * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Simplify
3733 definition.
3734 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
3735 Likwise.
3736 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
3737 Likewise.
3738 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
3739 Likewise.
3740 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
3741 Likewise.
3742 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
3743 Likewise.
3744
3745 2014-11-05 Arjun Shankar <arjun.is@lostca.se>
3746
3747 * catgets/test-gencat.c: Use test-skeleton.c.
3748 * catgets/tst-catgets.c: Likewise.
3749 * csu/tst-empty.c: Likewise.
3750 * elf/tst-audit2.c: Likewise.
3751 * elf/tst-global1.c: Likewise.
3752 * elf/tst-pathopt.c: Likewise.
3753 * elf/tst-piemod1.c: Likewise.
3754 * elf/tst-tls10.c: Likewise.
3755 * elf/tst-tls11.c: Likewise.
3756 * elf/tst-tls12.c: Likewise.
3757 * gnulib/tst-gcc.c: Likewise.
3758 * iconvdata/tst-e2big.c: Likewise.
3759 * iconvdata/tst-loading.c: Likewise.
3760 * iconv/tst-iconv1.c: Likewise.
3761 * iconv/tst-iconv2.c: Likewise.
3762 * inet/test-inet6_opt.c: Likewise.
3763 * inet/tst-gethnm.c: Likewise.
3764 * inet/tst-network.c: Likewise.
3765 * inet/tst-ntoa.c: Likewise.
3766 * intl/tst-codeset.c: Likewise.
3767 * intl/tst-gettext2.c: Likewise.
3768 * intl/tst-gettext3.c: Likewise.
3769 * intl/tst-ngettext.c: Likewise.
3770 * intl/tst-translit.c: Likewise.
3771 * io/test-stat.c: Likewise.
3772 * libio/test-fmemopen.c: Likewise.
3773 * libio/tst-freopen.c: Likewise.
3774 * libio/tst-sscanf.c: Likewise.
3775 * libio/tst-ungetwc1.c: Likewise.
3776 * libio/tst-ungetwc2.c: Likewise.
3777 * libio/tst-widetext.c: Likewise.
3778 * localedata/tst-ctype.c: Likewise.
3779 * localedata/tst-digits.c: Likewise.
3780 * localedata/tst-leaks.c: Likewise.
3781 * localedata/tst-mbswcs1.c: Likewise.
3782 * localedata/tst-mbswcs2.c: Likewise.
3783 * localedata/tst-mbswcs3.c: Likewise.
3784 * localedata/tst-mbswcs4.c: Likewise.
3785 * localedata/tst-mbswcs5.c: Likewise.
3786 * localedata/tst-setlocale.c: Likewise.
3787 * localedata/tst-trans.c: Likewise.
3788 * localedata/tst-wctype.c: Likewise.
3789 * localedata/tst-xlocale1.c: Likewise.
3790 * login/tst-grantpt.c: Likewise.
3791 * malloc/tst-calloc.c: Likewise.
3792 * malloc/tst-malloc.c: Likewise.
3793 * malloc/tst-mallocstate.c: Likewise.
3794 * malloc/tst-mcheck.c: Likewise.
3795 * malloc/tst-mtrace.c: Likewise.
3796 * malloc/tst-obstack.c: Likewise.
3797 * math/atest-exp2.c: Likewise.
3798 * math/atest-exp.c: Likewise.
3799 * math/atest-sincos.c: Likewise.
3800 * math/test-matherr.c: Likewise.
3801 * math/test-misc.c: Likewise.
3802 * math/test-powl.c: Likewise.
3803 * math/tst-definitions.c: Likewise.
3804 * misc/tst-dirname.c: Likewise.
3805 * misc/tst-efgcvt.c: Likewise.
3806 * misc/tst-fdset.c: Likewise.
3807 * misc/tst-hsearch.c: Likewise.
3808 * misc/tst-mntent2.c: Likewise.
3809 * nptl/tst-sem7.c: Likewise.
3810 * nptl/tst-sem8.c: Likewise.
3811 * nptl/tst-sem9.c: Likewise.
3812 * nss/test-netdb.c: Likewise.
3813 * posix/tst-fnmatch.c: Likewise.
3814 * posix/tst-getlogin.c: Likewise.
3815 * posix/tst-gnuglob.c: Likewise.
3816 * posix/tst-mmap.c: Likewise.
3817 * pwd/tst-getpw.c: Likewise.
3818 * resolv/tst-inet_ntop.c: Likewise.
3819 * rt/tst-timer.c: Likewise.
3820 * stdio-common/test-fseek.c: Likewise.
3821 * stdio-common/test-popen.c: Likewise.
3822 * stdio-common/test-vfprintf.c: Likewise.
3823 * stdio-common/tst-cookie.c: Likewise.
3824 * stdio-common/tst-fileno.c: Likewise.
3825 * stdio-common/tst-gets.c: Likewise.
3826 * stdio-common/tst-obprintf.c: Likewise.
3827 * stdio-common/tst-perror.c: Likewise.
3828 * stdio-common/tst-sprintf2.c: Likewise.
3829 * stdio-common/tst-sprintf3.c: Likewise.
3830 * stdio-common/tst-sprintf.c: Likewise.
3831 * stdio-common/tst-swprintf.c: Likewise.
3832 * stdio-common/tst-tmpnam.c: Likewise.
3833 * stdio-common/tst-unbputc.c: Likewise.
3834 * stdio-common/tst-wc-printf.c: Likewise.
3835 * stdlib/tst-environ.c: Likewise.
3836 * stdlib/tst-fmtmsg.c: Likewise.
3837 * stdlib/tst-limits.c: Likewise.
3838 * stdlib/tst-rand48-2.c: Likewise.
3839 * stdlib/tst-rand48.c: Likewise.
3840 * stdlib/tst-random2.c: Likewise.
3841 * stdlib/tst-random.c: Likewise.
3842 * stdlib/tst-strtol.c: Likewise.
3843 * stdlib/tst-strtoll.c: Likewise.
3844 * stdlib/tst-tls-atexit.c: Likewise.
3845 * stdlib/tst-xpg-basename.c: Likewise.
3846 * string/test-ffs.c: Likewise.
3847 * string/tst-bswap.c: Likewise.
3848 * string/tst-inlcall.c: Likewise.
3849 * string/tst-strtok.c: Likewise.
3850 * string/tst-strxfrm.c: Likewise.
3851 * sysdeps/x86_64/tst-audit10.c: Likewise.
3852 * sysdeps/x86_64/tst-audit3.c: Likewise.
3853 * sysdeps/x86_64/tst-audit4.c: Likewise.
3854 * sysdeps/x86_64/tst-audit5.c: Likewise.
3855 * time/tst-ftime_l.c: Likewise.
3856 * time/tst-getdate.c: Likewise.
3857 * time/tst-mktime3.c: Likewise.
3858 * time/tst-mktime.c: Likewise.
3859 * time/tst-posixtz.c: Likewise.
3860 * time/tst-strptime2.c: Likewise.
3861 * time/tst-strptime3.c: Likewise.
3862 * wcsmbs/tst-btowc.c: Likewise.
3863 * wcsmbs/tst-mbrtowc.c: Likewise.
3864 * wcsmbs/tst-mbsrtowcs.c: Likewise.
3865 * wcsmbs/tst-wchar-h.c: Likewise.
3866 * wcsmbs/tst-wcpncpy.c: Likewise.
3867 * wcsmbs/tst-wcrtomb.c: Likewise.
3868 * wcsmbs/tst-wcsnlen.c: Likewise.
3869 * wcsmbs/tst-wcstof.c: Likewise.
3870
3871 2014-11-04 Joseph Myers <joseph@codesourcery.com>
3872
3873 [BZ #14132]
3874 * elf/dl-profile.c (_dl_mcount): Use rtld_hidden_def instead of
3875 INTDEF.
3876 * sysdeps/generic/ldsodefs.h (_dl_mcount_internal): Remove
3877 declaration.
3878 (_dl_mcount): Use rtld_hidden_proto.
3879 * elf/dl-runtime.c (_dl_profile_fixup): Don't use INTUSE with
3880 _dl_mcount.
3881 * elf/rtld.c (_rtld_global_ro): Likewise.
3882
3883 [BZ #14132]
3884 * elf/dl-init.c (_dl_init): Don't use INTDEF.
3885 * sysdeps/aarch64/dl-machine.h (RTLD_START): Use _dl_init instead
3886 of _dl_init_internal.
3887 * sysdeps/alpha/dl-machine.h (RTLD_START): Likewise.
3888 * sysdeps/arm/dl-machine.h (RTLD_START): Likewise.
3889 * sysdeps/hppa/dl-machine.h (RTLD_START): Likewise.
3890 * sysdeps/i386/dl-machine.h (RTLD_START): Likewise.
3891 * sysdeps/ia64/dl-machine.h (RTLD_START): Likewise.
3892 * sysdeps/m68k/dl-machine.h (RTLD_START): Likewise.
3893 * sysdeps/microblaze/dl-machine.h (RTLD_START): Likewise.
3894 * sysdeps/mips/dl-machine.h (RTLD_START): Likewise.
3895 * sysdeps/powerpc/powerpc32/dl-start.S (_start): Likewise.
3896 * sysdeps/s390/s390-32/dl-machine.h (RTLD_START): Likewise.
3897 * sysdeps/s390/s390-64/dl-machine.h (RTLD_START): Likewise.
3898 * sysdeps/sh/dl-machine.h (RTLD_START): Likewise.
3899 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
3900 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
3901 * sysdeps/tile/dl-start.S (_start): Likewise.
3902 * sysdeps/x86_64/dl-machine.h (RTLD_START): Likewise.
3903 * sysdeps/x86_64/x32/dl-machine.h (RTLD_START): Likewise.
3904
3905 [BZ #14132]
3906 * sysdeps/generic/ldsodefs.h (_dl_argv): Use rtld_hidden_proto.
3907 [IS_IN_rtld] (_dl_argv_internal): Do not declare.
3908 (rtld_progname): Make macro definition unconditional.
3909 * elf/rtld.c (_dl_argv): Use rtld_hidden_data_def instead of
3910 INTDEF.
3911 (dlmopen_doit): Do not use INTUSE with _dl_argv.
3912 (dl_main): Likewise.
3913 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
3914 * sysdeps/alpha/dl-machine.h (RTLD_START): Use __GI__dl_argv
3915 instead of _dl_argv_internal.
3916 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
3917 __GI__dl_argv instead of INTUSE(_dl_argv).
3918 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Use
3919 __GI__dl_argv instead of _dl_argv_internal.
3920
3921 * soft-fp/op-common.h (_FP_TO_INT_ROUND): New macro.
3922 * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_D): New
3923 macro.
3924 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_D): Likewise.
3925 * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_E):
3926 New macro.
3927 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_E): Likewise.
3928 * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_Q): New
3929 macro.
3930 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_Q): Likewise.
3931 * soft-fp/single.h (FP_TO_INT_ROUND_S): New macro.
3932
3933 2014-11-04 Andreas Schwab <schwab@suse.de>
3934
3935 * posix/regex_internal.h: Don't include <locale/elem-hash.h>.
3936
3937 2014-11-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3938
3939 * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Encode
3940 mtvsrd instruction in binary form.
3941
3942 2014-11-03 Andreas Schwab <schwab@suse.de>
3943
3944 [BZ #17522]
3945 * libio/wfileops.c (_IO_wdo_write): If the file buffer has room
3946 for less than MB_LEN_MAX use a local buffer of that size.
3947 * libio/tst-fputws.c: New file.
3948 * libio/Makefile (tests): Add tst-fputws.
3949
3950 2014-11-01 Jose E. Marchesi <jose.marchesi@oracle.com>
3951
3952 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu): fix
3953 the size of the fpu_fr.fpu_dregs[] array.
3954
3955 2014-11-01 Joseph Myers <joseph@codesourcery.com>
3956
3957 * posix/nanosleep.c (__libc_nanosleep): Rename to __nanosleep.
3958 (__nanosleep): Do not define as alias.
3959 (nanosleep): Define as alias of __nanosleep.
3960 * sysdeps/unix/sysv/linux/syscalls.list (nanosleep): Remove
3961 __libc_nanosleep name.
3962
3963 2014-10-31 Joseph Myers <joseph@codesourcery.com>
3964
3965 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): Mention need to update
3966 install.texi in comment.
3967
3968 2014-10-31 Torvald Riegel <triegel@redhat.com>
3969
3970 * sysdeps/powerpc/bits/atomic.h (atomic_write_barrier): Remove and...
3971 * sysdeps/powerpc/powerpc32/bits/atomic.h (atomic_write_barrier):
3972 ... add here and use lwsync or sync ...
3973 * sysdeps/powerpc/powerpc64/bits/atomic.h (atomic_write_barrier):
3974 ... and add here using lwsync.
3975
3976 2014-10-31 Matthew Fortune <matthew.fortune@imgtec.com>
3977
3978 * elf/dl-machine-reject-phdr.h: New file.
3979 * elf/dl-load.c: #include that.
3980 (open_verify): Call elf_machine_reject_phdr_p and ignore the file
3981 if that returned true.
3982
3983 2014-10-31 Roland McGrath <roland@hack.frob.com>
3984
3985 [BZ #17496]
3986 * Makerules: Move gnu/lib-names.h generation chunk up, to right after
3987 gen-as-const-headers chunk. Add a big scare comment after the last
3988 safe place to touch before-compile.
3989
3990 2014-10-31 Joseph Myers <joseph@codesourcery.com>
3991
3992 * manual/install.texi (Tools for Compilation): Update autoconf
3993 version requirements.
3994 * INSTALL: Regenerated.
3995
3996 * misc/pselect.c [!__pselect] (__libc_pselect): Remove alias.
3997 * sysdeps/unix/sysv/linux/pselect.c [__NR_pselect6]
3998 (__libc_pselect): Likewise.
3999
4000 [BZ #14138]
4001 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Remove file.
4002 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
4003 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
4004 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
4005
4006 2014-10-31 Torvald Riegel <triegel@redhat.com>
4007
4008 * sysdeps/sparc/sparc32/bits/atomic.h (atomic_write_barrier): Use
4009 correct barrier instruction.
4010 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_write_barrier):
4011 Likewise.
4012 * sysdeps/sparc/sparc64/bits/atomic.h (atomic_write_barrier):
4013 Likewise.
4014
4015 2014-10-30 Roland McGrath <roland@hack.frob.com>
4016
4017 * include/ctype.h: Include <ctype/ctype.h> first thing rather than
4018 after defining inlines. Instead, just use parens to defeat macro
4019 expansion of __isctype in its declaration.
4020
4021 2014-10-30 Joseph Myers <joseph@codesourcery.com>
4022
4023 * include/sys/uio.h (__libc_readv): Remove declaration.
4024 (__libc_writev): Likewise.
4025 * misc/readv.c (__libc_readv): Rename to __readv.
4026 (__readv): Do not define as alias.
4027 (readv): Define as alias of __readv.
4028 * misc/writev.c (__libc_writev): Rename to __writev.
4029 (__writev): Do not define as alias.
4030 (writev): Define as alias of __writev.
4031 * sysdeps/posix/readv.c (__libc_readv): Rename to __readv.
4032 (__readv): Do not define as alias.
4033 (readv): Define unconditionally as alias of __readv.
4034 * sysdeps/posix/writev.c (__libc_writev): Rename to __writev.
4035 (__writev): Do not define as alias.
4036 (writev): Define unconditionally as alias of __writev.
4037 * sysdeps/unix/syscalls.list (readv): Do not define __libc_readv
4038 name.
4039 (writev): Do not define __libc_writev name.
4040
4041 2014-10-30 Roland McGrath <roland@hack.frob.com>
4042
4043 * iconv/iconv_charmap.c (add_bytes): Make IN argument pointer to const.
4044 (convert_charseq): New function, broken out of ...
4045 (use_from_charmap): ... here. Call it.
4046 (use_to_charmap): Use convert_charseq and free instead of duplicating
4047 its code with a variable-length stack struct.
4048
4049 2014-10-30 Joseph Myers <joseph@codesourcery.com>
4050
4051 * include/fcntl.h (__libc_creat): Remove declaration.
4052 * io/creat.c (__libc_creat): Rename to creat.
4053 (creat): Do not define as alias.
4054 * sysdeps/unix/sysv/linux/alpha/creat.c (creat64): Define as alias
4055 of creat instead of __libc_creat.
4056 * sysdeps/unix/sysv/linux/generic/creat.c (__libc_creat): Rename
4057 to creat.
4058 (creat): Do not define as alias.
4059 [__WORDSIZE == 64] (creat64): Define as alias of creat instead of
4060 __libc_creat.
4061 * sysdeps/unix/sysv/linux/syscalls.list (creat): Do not define
4062 __libc_creat name.
4063 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (creat):
4064 Likewise.
4065
4066 2014-10-29 Carlos O'Donell <carlos@redhat.com>
4067
4068 * manual/llio.texi: Add comments discussing why write() may be
4069 considered MT-unsafe on Linux.
4070
4071 2014-10-28 Carlos O'Donell <carlos@redhat.com>
4072
4073 * dl-load.c (local_strdup): Remove.
4074 (expand_dynamic_string_token): Use __strdup.
4075 (decompose_rpath): Likewise.
4076 (_dl_map_object): Likewise.
4077
4078 2014-10-28 Joseph Myers <joseph@codesourcery.com>
4079
4080 [BZ #14132]
4081 * sysdeps/generic/unwind-dw2-fde.c
4082 (__register_frame_info_bases_internal): Do not declare.
4083 (__register_frame_info_table_bases_internal): Likewise.
4084 (__deregister_frame_info_bases_internal): Likewise.
4085 (__register_frame_info_bases): Declare and use hidden_proto before
4086 definition. Use hidden_def instead of INTDEF.
4087 (__register_frame_info_table_bases): Likewise.
4088 (__deregister_frame_info_bases): Likewise.
4089 (__register_frame_info): Do not use INTUSE.
4090 (__register_frame): Likewise.
4091 (__register_frame_info_table): Likewise.
4092 (__register_frame_table): Likewise.
4093 (__deregister_frame_info): Likewise.
4094 (__deregister_frame): Likewise.
4095
4096 2014-10-27 Gratian Crisan <gratian.crisan@ni.com>
4097
4098 * sysdeps/unix/sysv/linux/arm/kernel-features.h
4099 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_FUTEX_LOCK_PI): Do
4100 not undefine.
4101 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_REQUEUE_PI):
4102 Likewise.
4103 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_SET_ROBUST_LIST):
4104 Likewise.
4105
4106 2014-10-27 Joseph Myers <joseph@codesourcery.com>
4107
4108 [BZ #14138]
4109 * sysdeps/unix/sysv/linux/arm/setfsgid.c: Remove file.
4110 * sysdeps/unix/sysv/linux/arm/setfsuid.c: Likewise.
4111 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
4112 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
4113 * sysdeps/unix/sysv/linux/m68k/setfsgid.c: Likewise.
4114 * sysdeps/unix/sysv/linux/m68k/setfsuid.c: Likewise.
4115 * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: Likewise.
4116 * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: Likewise.
4117 * sysdeps/unix/sysv/linux/sh/setfsgid.c: Likewise.
4118 * sysdeps/unix/sysv/linux/sh/setfsuid.c: Likewise.
4119 * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: Likewise.
4120 * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: Likewise.
4121 * sysdeps/unix/sysv/linux/arm/syscalls.list (setfsgid): Add
4122 syscall.
4123 (setfsuid): Likewise.
4124 * sysdeps/unix/sysv/linux/i386/syscalls.list (setfsgid): Likewise.
4125 (setfsuid): Likewise.
4126 * sysdeps/unix/sysv/linux/m68k/syscalls.list (setfsgid): Likewise.
4127 (setfsuid): Likewise.
4128 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setfsgid):
4129 Likewise.
4130 (setfsuid): Likewise.
4131 * sysdeps/unix/sysv/linux/sh/syscalls.list (setfsgid): Likewise.
4132 (setfsuid): Likewise.
4133 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (setfsgid):
4134 Likewise.
4135 (setfsuid): Likewise.
4136
4137 2014-10-27 Andreas Schwab <schwab@suse.de>
4138
4139 [BZ #17501]
4140 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Fix
4141 check for Slow_SSE4_2 feature bit.
4142 * sysdeps/i386/i686/multiarch/strcmp.S (STRCMP): Likewise.
4143 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
4144 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP, __strcascmp):
4145 Likewise. Fix check for Fast_Unaligned_Load feature bit.
4146
4147 2014-10-24 Roland McGrath <roland@hack.frob.com>
4148
4149 * configure.ac: Validate compiler version with a empirical test of
4150 __GNUC__ and __GNUC_MINOR__ predefined values, rather than by grepping
4151 $CC -v output.
4152 * configure: Regenerated.
4153
4154 * inet/htons.c (htons): Prototypify.
4155 * inet/htonl.c (htonl): Likewise.
4156
4157 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
4158
4159 * string/strncat.c (strncat): Improve performance by using strlen.
4160
4161 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
4162
4163 * string/strcat.c (strcat): Improve performance by using strlen/strcpy.
4164
4165 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
4166
4167 * sysdeps/aarch64/fpu/fgetexcptflg.c (fegetexceptflag):
4168 Call libc_fetestexcept_aarch64.
4169
4170 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
4171
4172 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept):
4173 Call libc_feholdexcept_aarch64.
4174
4175 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
4176
4177 * sysdeps/aarch64/fpu/fegetround.c (fegetround):
4178 Call get_rounding_mode.
4179
4180 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
4181
4182 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
4183 Simplify logic.
4184
4185 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
4186
4187 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept):
4188 Simplify logic.
4189
4190 2014-10-24 Joseph Myers <joseph@codesourcery.com>
4191
4192 [BZ #14138]
4193 * sysdeps/unix/sysv/linux/arm/getegid.c: Remove file.
4194 * sysdeps/unix/sysv/linux/arm/geteuid.c: Likewise.
4195 * sysdeps/unix/sysv/linux/arm/getgid.c: Likewise.
4196 * sysdeps/unix/sysv/linux/arm/getgroups.c: Likewise.
4197 * sysdeps/unix/sysv/linux/arm/getresgid.c: Likewise.
4198 * sysdeps/unix/sysv/linux/arm/getresuid.c: Likewise.
4199 * sysdeps/unix/sysv/linux/arm/getuid.c: Likewise.
4200 * sysdeps/unix/sysv/linux/i386/getegid.c: Likewise.
4201 * sysdeps/unix/sysv/linux/i386/geteuid.c: Likewise.
4202 * sysdeps/unix/sysv/linux/i386/getgid.c: Likewise.
4203 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
4204 * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
4205 * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
4206 * sysdeps/unix/sysv/linux/i386/getuid.c: Likewise.
4207 * sysdeps/unix/sysv/linux/m68k/getegid.c: Likewise.
4208 * sysdeps/unix/sysv/linux/m68k/geteuid.c: Likewise.
4209 * sysdeps/unix/sysv/linux/m68k/getgid.c: Likewise.
4210 * sysdeps/unix/sysv/linux/m68k/getgroups.c: Likewise.
4211 * sysdeps/unix/sysv/linux/m68k/getresgid.c: Likewise.
4212 * sysdeps/unix/sysv/linux/m68k/getresuid.c: Likewise.
4213 * sysdeps/unix/sysv/linux/m68k/getuid.c: Likewise.
4214 * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: Likewise.
4215 * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: Likewise.
4216 * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: Likewise.
4217 * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: Likewise.
4218 * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: Likewise.
4219 * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: Likewise.
4220 * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: Likewise.
4221 * sysdeps/unix/sysv/linux/sh/getegid.c: Likewise.
4222 * sysdeps/unix/sysv/linux/sh/geteuid.c: Likewise.
4223 * sysdeps/unix/sysv/linux/sh/getgid.c: Likewise.
4224 * sysdeps/unix/sysv/linux/sh/getgroups.c: Likewise.
4225 * sysdeps/unix/sysv/linux/sh/getresgid.c: Likewise.
4226 * sysdeps/unix/sysv/linux/sh/getresuid.c: Likewise.
4227 * sysdeps/unix/sysv/linux/sh/getuid.c: Likewise.
4228 * sysdeps/unix/sysv/linux/sparc/sparc32/getegid.c: Likewise.
4229 * sysdeps/unix/sysv/linux/sparc/sparc32/geteuid.c: Likewise.
4230 * sysdeps/unix/sysv/linux/sparc/sparc32/getgid.c: Likewise.
4231 * sysdeps/unix/sysv/linux/sparc/sparc32/getgroups.c: Likewise.
4232 * sysdeps/unix/sysv/linux/sparc/sparc32/getuid.c: Likewise.
4233 * sysdeps/unix/sysv/linux/arm/syscalls.list (getegid): Add
4234 syscall.
4235 (geteuid): Likewise.
4236 (getgid): Likewise.
4237 (getuid): Likewise.
4238 (getresgid): Likewise.
4239 (getresuid): Likewise.
4240 (getgroups): Likewise.
4241 * sysdeps/unix/sysv/linux/i386/syscalls.list (getegid): Likewise.
4242 (geteuid): Likewise.
4243 (getgid): Likewise.
4244 (getuid): Likewise.
4245 (getresgid): Likewise.
4246 (getresuid): Likewise.
4247 (getgroups): Likewise.
4248 * sysdeps/unix/sysv/linux/m68k/syscalls.list (getegid): Likewise.
4249 (geteuid): Likewise.
4250 (getgid): Likewise.
4251 (getuid): Likewise.
4252 (getresgid): Likewise.
4253 (getresuid): Likewise.
4254 (getgroups): Likewise.
4255 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (getegid):
4256 Likewise.
4257 (geteuid): Likewise.
4258 (getgid): Likewise.
4259 (getuid): Likewise.
4260 (getresgid): Likewise.
4261 (getresuid): Likewise.
4262 (getgroups): Likewise.
4263 * sysdeps/unix/sysv/linux/sh/syscalls.list (getegid): Likewise.
4264 (geteuid): Likewise.
4265 (getgid): Likewise.
4266 (getuid): Likewise.
4267 (getresgid): Likewise.
4268 (getresuid): Likewise.
4269 (getgroups): Likewise.
4270 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (getegid):
4271 Likewise.
4272 (geteuid): Likewise.
4273 (getgid): Likewise.
4274 (getuid): Likewise.
4275 (getgroups): Likewise.
4276
4277 [BZ #14138]
4278 * sysdeps/unix/sysv/linux/i386/chown.c: Remove file.
4279 * sysdeps/unix/sysv/linux/i386/fchown.c: Likewise.
4280 * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
4281 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
4282 * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: Remove file.
4283 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Likewise.
4284 * sysdeps/unix/sysv/linux/sh/chown.c: Likewise.
4285 * sysdeps/unix/sysv/linux/sh/fchown.c: Likewise.
4286 * sysdeps/unix/sysv/linux/sh/lchown.c: Likewise.
4287 * sysdeps/unix/sysv/linux/sparc/sparc32/chown.c: Likewise.
4288 * sysdeps/unix/sysv/linux/sparc/sparc32/fchown.c: Likewise.
4289 * sysdeps/unix/sysv/linux/sparc/sparc32/lchown.c: Likewise.
4290 * sysdeps/unix/sysv/linux/s390/s390-32/Versions (GLIBC_2.1): Add
4291 __chown.
4292 * sysdeps/unix/sysv/linux/i386/syscalls.list (chown): Add syscall.
4293 (lchown): Likewise.
4294 (fchown): Likewise.
4295 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (chown):
4296 Likewise.
4297 (lchown): Likewise.
4298 (fchown): Likewise.
4299 * sysdeps/unix/sysv/linux/sh/syscalls.list (chown): Likewise.
4300 (lchown): Likewise.
4301 (fchown): Likewise.
4302 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (chown):
4303 Likewise.
4304 (lchown): Likewise.
4305 (fchown): Likewise.
4306
4307 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
4308
4309 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept):
4310 Simplify logic.
4311
4312 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
4313
4314 * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
4315 Cleanup logic.
4316
4317 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
4318
4319 * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
4320 Remove unused include.
4321
4322 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
4323
4324 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Remove spaces.
4325 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Remove spaces.
4326 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Remove spaces.
4327 * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Remove spaces.
4328
4329 2014-10-23 Carlos O'Donell <carlos@systemhalted.org>
4330 Helge Deller <deller@gmx.de>
4331
4332 [BZ #17508]
4333 * sysdeps/unix/sysv/linux/hppa/bits/signum.h: Remove SIGEMT.
4334 Define SIGSTKFLT as 7. Define SIGSYS as 31. Define SIGXCPU as 12.
4335 Remove SIGLOST. Define SIGXFSZ as 30. Define __SIGRTMIN as 32.
4336
4337 2014-10-23 Joseph Myers <joseph@codesourcery.com>
4338
4339 [BZ #14132]
4340 * sysdeps/powerpc/powerpc32/libgcc-compat.S (__ashldi3_v_glibc20):
4341 Remove macro definition.
4342 (__ashrdi3_v_glibc20): Likewise.
4343 (__lshrdi3_v_glibc20): Likewise.
4344 (__cmpdi2_v_glibc20): Likewise.
4345 (__ucmpdi2_v_glibc20): Likewise.
4346 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixdfdi_v_glibc20): Likewise.
4347 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
4348 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
4349 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
4350 [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
4351 [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdisf_v_glibc20): Likewise.
4352
4353 2014-10-22 Roland McGrath <roland@hack.frob.com>
4354
4355 * inet/netgroup.h (struct name_list): Use C99 [] syntax rather than
4356 old GNU extension [0] syntax.
4357 * nscd/nscd_helper.c (open_socket): Use a flexible array member and
4358 alloca rather than an array member with variable length.
4359 * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
4360 * nscd/nscd.c (invalidate_db): New function, broken out of ...
4361 (parse_opt): ... here. Likewise use alloca there.
4362 Validate the -i argument before checking for rootness.
4363 (send_shutdown): New function, broken out of ...
4364 (parse_opt): ... here.
4365
4366 2014-10-22 Roland McGrath <roland@hack.frob.com>
4367
4368 * sysdeps/arm/__longjmp.S [NEED_HWCAP] [IS_IN_rtld]: Use LDST_PCREL
4369 macro to get at the _rt_local_ro field.
4370 [NEED_HWCAP] [!IS_IN_rtld]: Use LDR_GLOBAL to get at _rtld_global_ro
4371 ([PIC] case) or _dl_hwcap ([!PIC] case).
4372 * sysdeps/arm/setjmp.S: Likewise.
4373
4374 * config.h.in (ARM_PCREL_MOVW_OK): New macro.
4375 * sysdeps/arm/configure.ac: New check to define it.
4376 * sysdeps/arm/configure: Regenerated.
4377 * sysdeps/arm/sysdep.h [__ASSEMBLER__]: Include <arm-features.h>.
4378 (LDST_INDEXED_NOINDEX, LDST_INDEXED_INDEX): New macros.
4379 (LDST_INDEXED, LDST_PC_INDEXED): New macros, differing definitions
4380 depending on [ARM_NO_INDEX_REGISTER] and [__thumb2__].
4381 (LDST_PCREL) [!__thumb2__ && ARCH_HAS_T2 && ARM_PCREL_MOVW_OK]:
4382 Use move/movt pair instead of a load.
4383 (LDST_GLOBAL): Macro removed.
4384 (LDR_GLOBAL): New macro replaces it.
4385 (LDR_HIDDEN): New macro.
4386 (PTR_MANGLE_LOAD): Use LDR_GLOBAL rather than LDST_GLOBAL.
4387 Use LDR_HIDDEN instead for __pointer_chk_guard_local.
4388
4389 * setjmp/tst-setjmp-static.c: New file.
4390 * setjmp/Makefile (tests): Add it.
4391 (tests-static): New variable.
4392
4393 2014-10-22 Maciej W. Rozycki <macro@codesourcery.com>
4394
4395 [BZ #17485]
4396 * sysdeps/unix/sysv/linux/mips/vfork.S (__libc_vfork): Define.
4397
4398 2014-10-21 Joseph Myers <joseph@codesourcery.com>
4399
4400 [BZ #14132]
4401 * math/s_ldexpf.c (__ldexpf): Do not use INTDEF.
4402
4403 2014-10-21 Roland McGrath <roland@hack.frob.com>
4404
4405 * nptl/version.c (__nptl_main): Call __libc_write, not __write.
4406
4407 2014-10-20 Roland McGrath <roland@hack.frob.com>
4408
4409 * io/fts.c (dirent_not_directory): New function.
4410 (fts_build): Call it.
4411
4412 2014-10-20 Roland McGrath <roland@hack.frob.com>
4413
4414 * nptl/version.c (__nptl_main): Use normal __write rather than
4415 INTERNAL_SYSCALL.
4416 (banner): Update copyright years.
4417
4418 * nptl/pthread_rwlock_timedrdlock.c: #include <sys/time.h> before using
4419 gettimeofday.
4420 * nptl/pthread_rwlock_timedwrlock.c: Likewise.
4421 * nptl/pthread_cond_timedwait.c: Likewise.
4422 * nptl/pthread_mutex_timedlock.c: Likewise.
4423 * nptl/sem_timedwait.c: Likewise.
4424
4425 * sysdeps/nptl/bits/libc-lock.h
4426 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
4427 (__libc_lock_init_recursive): Return void, not 0.
4428 * sysdeps/nptl/bits/libc-lockP.h (__libc_lock_init): Likewise.
4429 (__libc_rwlock_init): Likewise.
4430 * sysdeps/nptl/bits/stdio-lock.h (_IO_lock_init): Likewise.
4431
4432 2014-10-20 Torvald Riegel <triegel@redhat.com>
4433
4434 [BZ #15215]
4435 * nptl/pthread_once.c (__pthread_once): Split out fast path to ...
4436 (__pthread_once_slow): ... here.
4437 * sysdeps/unix/sysv/linux/i386/pthread_once.S: Remove file.
4438 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Remove file.
4439
4440 2014-10-20 Torvald Riegel <triegel@redhat.com>
4441
4442 [BZ #15215]
4443 * nptl/pthreadP.h (__PTHREAD_ONCE_INPROGRESS, __PTHREAD_ONCE_DONE,
4444 __PTHREAD_ONCE_FORK_GEN_INCR): New.
4445 * sysdeps/nptl/fork.c (__libc_fork): Use them.
4446 * nptl/pthread_once.c (__pthread_once): Likewise.
4447 Update comments.
4448
4449 2014-10-20 Joseph Myers <joseph@codesourcery.com>
4450
4451 [BZ #14138]
4452 * sysdeps/unix/syscalls.list (readv): Use __libc_readv as strong
4453 name.
4454 (writev): Use __libc_writev as strong name.
4455 * sysdeps/unix/sysv/linux/readv.c: Remove file.
4456 * sysdeps/unix/sysv/linux/writev.c: Likewise.
4457
4458 2014-10-17 Roland McGrath <roland@hack.frob.com>
4459
4460 * nptl/createthread.c (TLS_DEFINE_INIT_TP, TLS_VALUE): Macros removed.
4461
4462 * sysdeps/i386/nptl/tls.h
4463 (THREAD_SELF_SYSINFO, THREAD_SYSINFO): Macros removed.
4464 [NEED_DL_SYSINFO] (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO):
4465 New macros.
4466 * sysdeps/ia64/nptl/tls.h [NEED_DL_SYSINFO]
4467 (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO): New macros.
4468 * nptl/allocatestack.c (allocate_stack) [NEED_DL_SYSINFO]:
4469 Call SETUP_THREAD_SYSINFO instead of doing an assignment.
4470 * nptl/createthread.c (create_thread) [NEED_DL_SYSINFO]:
4471 Call CHECK_THREAD_SYSINFO instead of doing an assert.
4472
4473 * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
4474 Conditionalize FUTEX_PRIVATE_FLAG and FUTEX_CLOCK_REALTIME probes
4475 on [__NR_futex].
4476 * nptl/pthread_mutex_init.c (prio_inherit_missing): New function,
4477 broken out of ...
4478 (__pthread_mutex_init): ... here. Call it.
4479 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full):
4480 Conditionalize PI cases on [__NR_futex].
4481 * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
4482 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
4483 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
4484
4485 * nptl/nptl-init.c (sighandler_setxid, __xidcmd): Make definitions
4486 conditional on [SIGSETXID].
4487 (sigcancel_handler): Make definition conditional on [SIGCANCEL].
4488 (__pthread_initialize_minimal_internal): Set up SIGCANCEL only if it
4489 is defined. Likewise for SIGSETXID.
4490 * nptl/allocatestack.c (setxid_mark_thread, setxid_unmark_thread):
4491 Conditionalize definitions on [SIGSETXID].
4492 (setxid_signal_thread, __nptl_setxid_error, __nptl_setxid): Likewise.
4493 * nptl/pthread_create.c (start_thread): Conditionalize SIGCANCEL
4494 unblocking on [SIGCANCEL].
4495
4496 * nptl/nptl-init.c (__nptl_set_robust): Conditionalize body on
4497 [__NR_set_robust_list].
4498
4499 2014-10-17 Siddhesh Poyarekar <siddhesh@redhat.com>
4500
4501 * string/strcoll_l.c (get_next_seq): Fix up formatting.
4502 (do_compare): Likewise.
4503
4504 2014-10-17 Leonhard Holz <leonhard.holz@web.de>
4505
4506 [BZ #15884]
4507 * string/strcoll_l.c: Don't include stdio.h.
4508 (coll_seq): Remove members idxarr and rulearr.
4509 (get_next_seq_cached): Remove function.
4510 (get_next_seq): Likewise.
4511 (get_next_seq_nocache): Rename to get_next_seq.
4512 (do_compare): Remove function.
4513 (do_compare_nocache): Rename to do_compare.
4514 (STRCOLL): Remove weight and rules cache.
4515
4516 2014-10-16 Roland McGrath <roland@hack.frob.com>
4517
4518 * sysdeps/arm/soft-fp/sfp-machine.h: Filed moved ...
4519 * sysdeps/arm/sfp-machine.h: ... to here.
4520 * sysdeps/arm/Implies: Remove arm/soft-fp.
4521
4522 2014-10-14 Joseph Myers <joseph@codesourcery.com>
4523
4524 * conform/data/sys/utsname.h-data (*_t): Allow.
4525 * conform/data/sys/wait.h-data [POSIX] (uid_t): Do not define.
4526 [POSIX] (WEXITED): Do not expect constant.
4527 [POSIX] (WSTOPPED): Likewise.
4528 [POSIX] (WNOHANG): Likewise.
4529 [POSIX] (WNOWAIT): Likewise.
4530 [POSIX] (siginfo_t): Do not expect type or elements.
4531 [POSIX] (pid_t): Do not expect type.
4532 [POSIX] (signal.h): Do not allow header.
4533 [POSIX] (sys/resource.h): Likewise.
4534 [POSIX] (si_*): Do not allow pattern.
4535 [POSIX] (W*): Likewise.
4536 [POSIX] (P_*): Likewise.
4537 [POSIX] (BUS_*): Likewise.
4538 [POSIX] (CLD_*): Likewise.
4539 [POSIX] (FPE_*): Likewise.
4540 [POSIX] (ILL_*): Likewise.
4541 [POSIX] (POLL_*): Likewise.
4542 [POSIX] (SEGV_*): Likewise.
4543 [POSIX] (SI_*): Likewise.
4544 [POSIX] (TRAP_*): Likewise.
4545 * conform/Makefile (test-xfail-POSIX/sys/wait.h/conform): New
4546 variable.
4547
4548 2014-10-14 Paul Pluzhnikov <ppluzhnikov@google.com>
4549
4550 [BZ #12926]
4551 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Avoid
4552 infinite loop when __recvmsg returns 0.
4553
4554 2014-10-10 Joseph Myers <joseph@codesourcery.com>
4555
4556 * CANCEL-FCT-WAIVE: Remove file.
4557 * CANCEL-FILE-WAIVE: Likewise.
4558
4559 [BZ #14132]
4560 * elf/dl-sysdep.c (__libc_enable_secure): Use rtld_hidden_data_def
4561 instead of INTVARDEF.
4562 (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
4563 * sysdeps/mach/hurd/dl-sysdep.c (__libc_enable_secure): Use
4564 rtld_hidden_data_def instead of INTVARDEF.
4565 (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
4566 * elf/dl-deps.c (expand_dst): Likewise.
4567 * elf/dl-load.c (_dl_dst_count): Likewise.
4568 (_dl_dst_substitute): Likewise.
4569 (decompose_rpath): Likewise.
4570 (_dl_init_paths): Likewise.
4571 (open_path): Likewise.
4572 (_dl_map_object): Likewise.
4573 * elf/rtld.c (dl_main): Likewise.
4574 (process_dl_audit): Likewise.
4575 (process_envvars): Likewise.
4576 * include/unistd.h [IS_IN_rtld] (__libc_enable_secure_internal):
4577 Remove declaration.
4578 (__libc_enable_secure): Use rtld_hidden_proto.
4579
4580 2014-10-09 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
4581
4582 * elf/dl-load.c
4583 (add_path): New function broken out of _dl_rtld_di_serinfo.
4584 (_dl_rtld_di_serinfo): Remove that nested function. Update call sites.
4585
4586 2014-10-09 Joseph Myers <joseph@codesourcery.com>
4587
4588 * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_D): Use
4589 parentheses around macro arguments.
4590 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_DP): Likewise.
4591 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_D): Likewise.
4592 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_DP): Likewise.
4593 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_D): Likewise.
4594 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_DP): Likewise.
4595 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_D): Likewise.
4596 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
4597 [_FP_W_TYPE_SIZE < 64] (FP_PACK_D): Likewise.
4598 [_FP_W_TYPE_SIZE < 64] (FP_PACK_DP): Likewise.
4599 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_D): Likewise.
4600 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_DP): Likewise.
4601 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_D): Likewise.
4602 [_FP_W_TYPE_SIZE < 64] (FP_CMP_D): Likewise.
4603 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_D): Likewise.
4604 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_D): Likewise.
4605 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_D): Likewise.
4606 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_D): Likewise.
4607 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_D): Likewise.
4608 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_DP): Likewise.
4609 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_D): Likewise.
4610 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_DP): Likewise.
4611 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_D): Likewise.
4612 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_DP): Likewise.
4613 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_D): Likewise.
4614 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
4615 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_D): Likewise.
4616 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_DP): Likewise.
4617 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_D): Likewise.
4618 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_DP): Likewise.
4619 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_D): Likewise.
4620 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_D): Likewise.
4621 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_D): Likewise.
4622 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_D): Likewise.
4623 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_D): Likewise.
4624 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_D): Likewise.
4625 * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_E):
4626 Likewise.
4627 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_EP): Likewise.
4628 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_E): Likewise.
4629 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
4630 [_FP_W_TYPE_SIZE < 64] (FP_PACK_E): Likewise.
4631 [_FP_W_TYPE_SIZE < 64] (FP_PACK_EP): Likewise.
4632 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_E): Likewise.
4633 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_EP): Likewise.
4634 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_E): Likewise.
4635 [_FP_W_TYPE_SIZE < 64] (FP_CMP_E): Likewise.
4636 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_E): Likewise.
4637 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_E): Likewise.
4638 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_E): Likewise.
4639 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_E): Likewise.
4640 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_E): Likewise.
4641 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_EP): Likewise.
4642 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_E): Likewise.
4643 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
4644 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_E): Likewise.
4645 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_EP): Likewise.
4646 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_E): Likewise.
4647 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_EP): Likewise.
4648 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_E): Likewise.
4649 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_E): Likewise.
4650 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_E): Likewise.
4651 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_E): Likewise.
4652 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_E): Likewise.
4653 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_E): Likewise.
4654 * soft-fp/op-1.h (_FP_FRAC_SRST_1): Likewise.
4655 (_FP_FRAC_SRS_1): Likewise.
4656 (_FP_FRAC_CLZ_1): Likewise.
4657 (_FP_MUL_MEAT_1_imm): Likewise.
4658 (_FP_MUL_MEAT_1_wide): Likewise.
4659 (_FP_MUL_MEAT_1_hard): Likewise.
4660 (_FP_SQRT_MEAT_1): Likewise.
4661 (_FP_FRAC_ASSEMBLE_1): Likewise.
4662 (_FP_FRAC_DISASSEMBLE_1): Likewise.
4663 * soft-fp/op-2.h (_FP_FRAC_CLZ_2): Likewise.
4664 (__FP_CLZ_2): Likewise.
4665 (_FP_MUL_MEAT_2_wide): Likewise.
4666 (_FP_MUL_MEAT_2_wide_3mul): Likewise.
4667 (_FP_MUL_MEAT_2_gmp): Likewise.
4668 (_FP_MUL_MEAT_2_120_240_double): Likewise.
4669 (_FP_SQRT_MEAT_2): Likewise.
4670 (_FP_FRAC_ASSEMBLE_2): Likewise.
4671 (_FP_FRAC_DISASSEMBLE_2): Likewise.
4672 * soft-fp/op-4.h (_FP_FRAC_SRS_4): Likewise.
4673 (_FP_FRAC_CLZ_4): Likewise.
4674 (_FP_MUL_MEAT_4_wide): Likewise.
4675 (_FP_MUL_MEAT_4_gmp): Likewise.
4676 (_FP_SQRT_MEAT_4): Likewise.
4677 (_FP_FRAC_ASSEMBLE_4): Likewise.
4678 (_FP_FRAC_DISASSEMBLE_4): Likewise.
4679 * soft-fp/op-common.h (_FP_CMP): Likewise.
4680 (_FP_CMP_EQ): Likewise.
4681 (_FP_CMP_UNORD): Likewise.
4682 (_FP_TO_INT): Likewise.
4683 (_FP_FROM_INT): Likewise.
4684 [!__FP_CLZ] (__FP_CLZ): Likewise.
4685 (_FP_DIV_HELP_imm): Likewise.
4686 * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_Q):
4687 Likewise.
4688 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_QP): Likewise.
4689 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_Q): Likewise.
4690 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_QP): Likewise.
4691 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_Q): Likewise.
4692 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_QP): Likewise.
4693 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
4694 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
4695 [_FP_W_TYPE_SIZE < 64] (FP_PACK_Q): Likewise.
4696 [_FP_W_TYPE_SIZE < 64] (FP_PACK_QP): Likewise.
4697 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_Q): Likewise.
4698 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_QP): Likewise.
4699 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_Q): Likewise.
4700 [_FP_W_TYPE_SIZE < 64] (FP_CMP_Q): Likewise.
4701 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_Q): Likewise.
4702 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_Q): Likewise.
4703 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_Q): Likewise.
4704 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_Q): Likewise.
4705 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_Q): Likewise.
4706 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_QP): Likewise.
4707 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_Q): Likewise.
4708 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_QP): Likewise.
4709 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_Q): Likewise.
4710 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_QP): Likewise.
4711 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
4712 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
4713 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_Q): Likewise.
4714 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_QP): Likewise.
4715 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_Q): Likewise.
4716 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_QP): Likewise.
4717 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_Q): Likewise.
4718 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_Q): Likewise.
4719 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_Q): Likewise.
4720 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_Q): Likewise.
4721 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_Q): Likewise.
4722 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_Q): Likewise.
4723 * soft-fp/single.h (FP_UNPACK_RAW_S): Likewise.
4724 (FP_UNPACK_RAW_SP): Likewise.
4725 (FP_PACK_RAW_S): Likewise.
4726 (FP_PACK_RAW_SP): Likewise.
4727 (FP_UNPACK_S): Likewise.
4728 (FP_UNPACK_SP): Likewise.
4729 (FP_UNPACK_SEMIRAW_S): Likewise.
4730 (FP_UNPACK_SEMIRAW_SP): Likewise.
4731 (FP_PACK_S): Likewise.
4732 (FP_PACK_SP): Likewise.
4733 (FP_PACK_SEMIRAW_S): Likewise.
4734 (FP_PACK_SEMIRAW_SP): Likewise.
4735 (_FP_SQRT_MEAT_S): Likewise.
4736 (FP_CMP_S): Likewise.
4737 (FP_CMP_EQ_S): Likewise.
4738 (FP_CMP_UNORD_S): Likewise.
4739 (FP_TO_INT_S): Likewise.
4740 (FP_FROM_INT_S): Likewise.
4741
4742 * soft-fp/op-common.h (_FP_TO_INT): Handle rsigned == 2.
4743
4744 * soft-fp/soft-fp.h (FP_EX_INVALID_SNAN): New macro.
4745 (FP_EX_INVALID_IMZ): Likewise.
4746 (FP_EX_INVALID_IMZ_FMA): Likewise.
4747 (FP_EX_INVALID_ISI): Likewise.
4748 (FP_EX_INVALID_ZDZ): Likewise.
4749 (FP_EX_INVALID_IDI): Likewise.
4750 (FP_EX_INVALID_SQRT): Likewise.
4751 (FP_EX_INVALID_CVI): Likewise.
4752 (FP_EX_INVALID_VC): Likewise.
4753 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Specify more precise
4754 "invalid" exceptions.
4755 (_FP_CHECK_SIGNAN_SEMIRAW): Likewise.
4756 (_FP_ADD_INTERNAL): Likewise.
4757 (_FP_MUL): Likewise.
4758 (_FP_FMA): Likewise.
4759 (_FP_DIV): Likewise.
4760 (_FP_CMP_CHECK_NAN): Likewise.
4761 (_FP_SQRT): Likewise.
4762 (_FP_TO_INT): Likewise.
4763 (FP_EXTEND): Likewise.
4764
4765 2014-10-09 Allan McRae <allan@archlinux.org>
4766
4767 * po/fr.po: Update French translation from translation project.
4768
4769 2014-10-09 Joseph Myers <joseph@codesourcery.com>
4770
4771 [BZ #14132]
4772 * stdlib/cxa_atexit.c (__cxa_atexit): Use libc_hidden_def instead
4773 of INTDEF.
4774 * include/stdlib.h (__cxa_atexit_internal): Remove declaration.
4775 (__cxa_atexit): Use libc_hidden_proto.
4776 [!NOT_IN_libc] (__cxa_atexit): Remove macro definition.
4777
4778 [BZ #14132]
4779 * include/wctype.h [!_ISOMAC] (__iswalpha_l_internal): Remove
4780 declaration.
4781 [!_ISOMAC] (__iswdigit_l_internal): Likewise.
4782 [!_ISOMAC] (__iswspace_l_internal): Likewise.
4783 [!_ISOMAC] (__iswxdigit_l_internal): Likewise.
4784 [!_ISOMAC] (__iswctype_internal): Likewise.
4785 * stdio-common/siglist.c (_sys_siglist_internal): Remove alias.
4786 * sysdeps/unix/syscalls.list (chown): Remove __chown_internal
4787 alias.
4788 (fcntl): Remove __fcntl_internal alias.
4789 * sysdeps/unix/sysv/linux/hppa/syscalls.list (connect): Remove
4790 __connect_internal alias.
4791 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (connect):
4792 Likewise.
4793
4794 * soft-fp/soft-fp.h (FP_DENORM_ZERO): New macro.
4795 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Check
4796 FP_DENORM_ZERO.
4797 (_FP_CHECK_FLUSH_ZERO): New macro.
4798 (_FP_ADD_INTERNAL): Call _FP_CHECK_FLUSH_ZERO.
4799 (_FP_CMP): Likewise.
4800 (_FP_CMP_EQ): Likewise.
4801 (_FP_TO_INT): Do not set inexact for subnormal arguments if
4802 FP_DENORM_ZERO.
4803 (FP_EXTEND): Call _FP_CHECK_FLUSH_ZERO.
4804 (FP_TRUNC): Likewise.
4805
4806 * soft-fp/op-common.h (_FP_TO_INT): Ensure maximum exponent is
4807 treated as invalid conversion, not as normal exponent.
4808
4809 * soft-fp/op-common.h (_FP_CMP_CHECK_NAN): New macro.
4810 (_FP_CMP): Add extra argument EX. Call _FP_CMP_CHECK_NAN.
4811 (_FP_CMP_EQ): Likewise.
4812 (_FP_CMP_UNORD): Likewise.
4813 * soft-fp/double.h (FP_CMP_D): Add extra argument EX.
4814 (FP_CMP_EQ_D): Likewise.
4815 (FP_CMP_UNORD_D): Likewise.
4816 * soft-fp/extended.h (FP_CMP_E): Likewise.
4817 (FP_CMP_EQ_E): Likewise.
4818 (FP_CMP_UNORD_E): Likewise.
4819 * soft-fp/quad.h (FP_CMP_Q): Likewise.
4820 (FP_CMP_EQ_Q): Likewise.
4821 (FP_CMP_UNORD_Q): Likewise.
4822 * soft-fp/single.h (FP_CMP_S): Likewise.
4823 (FP_CMP_EQ_S): Likewise.
4824 (FP_CMP_UNORD_S): Likewise.
4825 * soft-fp/eqdf2.c (__eqdf2): Update call to FP_CMP_EQ_D.
4826 * soft-fp/eqsf2.c (__eqsf2): Update call to FP_CMP_EQ_S.
4827 * soft-fp/eqtf2.c (__eqtf2): Update call to FP_CMP_EQ_Q.
4828 * soft-fp/gedf2.c (__gedf2): Update call to FP_CMP_D.
4829 * soft-fp/gesf2.c (__gesf2): Update call to FP_CMP_S.
4830 * soft-fp/getf2.c (__getf2): Update call to FP_CMP_Q.
4831 * soft-fp/ledf2.c (__ledf2): Update call to FP_CMP_D.
4832 * soft-fp/lesf2.c (__lesf2): Update call to FP_CMP_S.
4833 * soft-fp/letf2.c (__letf2): Update call to FP_CMP_Q.
4834 * soft-fp/unorddf2.c (__unorddf2): Update call to FP_CMP_UNORD_D.
4835 * soft-fp/unordsf2.c (__unordsf2): Update call to FP_CMP_UNORD_S.
4836 * soft-fp/unordtf2.c (__unordtf2): Update call to FP_CMP_UNORD_Q.
4837 * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Update call
4838 to FP_CMP_Q.
4839 * sysdeps/sparc/sparc32/soft-fp/q_cmp.c (_Q_cmp): Update call to
4840 FP_CMP_Q.
4841 * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c (_Q_cmpe): Likewise.
4842 * sysdeps/sparc/sparc32/soft-fp/q_feq.c (_Q_feq): Update call to
4843 FP_CMP_EQ_Q.
4844 * sysdeps/sparc/sparc32/soft-fp/q_fge.c (_Q_fge): Update call to
4845 FP_CMP_Q.
4846 * sysdeps/sparc/sparc32/soft-fp/q_fgt.c (_Q_fgt): Likewise.
4847 * sysdeps/sparc/sparc32/soft-fp/q_fle.c (_Q_fle): Likewise.
4848 * sysdeps/sparc/sparc32/soft-fp/q_flt.c (_Q_flt): Likewise.
4849 * sysdeps/sparc/sparc32/soft-fp/q_fne.c (_Q_fne): Update call to
4850 FP_CMP_EQ_Q.
4851 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c (_Qp_cmp): Update call to
4852 FP_CMP_Q.
4853 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c (_Qp_cmpe): Likewise.
4854 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c (_Qp_feq): Update call to
4855 FP_CMP_EQ_Q.
4856 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c (_Qp_fge): Update call to
4857 FP_CMP_Q.
4858 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c (_Qp_fgt): Likewise.
4859 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c (_Qp_fle): Likewise.
4860 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c (_Qp_flt): Likewise.
4861 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c (_Qp_fne): Update call to
4862 FP_CMP_EQ_Q.
4863
4864 * soft-fp/op-common.h (FP_EXTEND): When a subnormal input produces
4865 a subnormal result, set the underflow exception if trapping on
4866 underflow is enabled.
4867 * soft-fp/soft-fp.h (FP_INIT_TRAPPING_EXCEPTIONS): New macro.
4868 (FP_INIT_EXCEPTIONS): Default to FP_INIT_TRAPPING_EXCEPTIONS.
4869 [FP_NO_EXACT_UNDERFLOW] (FP_TRAPPING_EXCEPTIONS): Undefine and
4870 redefine to 0.
4871 * soft-fp/extenddftf2.c (FP_NO_EXACT_UNDERFLOW): Define.
4872 * soft-fp/extendsfdf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
4873 * soft-fp/extendsftf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
4874 * soft-fp/extendxftf2.c (__extendxftf2): Use
4875 FP_INIT_TRAPPING_EXCEPTIONS instead of FP_INIT_ROUNDMODE.
4876
4877 * soft-fp/soft-fp.h (FP_CLEAR_EXCEPTIONS): Remove macro.
4878 * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Define FP_NO_EXCEPTIONS.
4879 (_Q_itoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
4880 FP_HANDLE_EXCEPTIONS.
4881 * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Define FP_NO_EXCEPTIONS.
4882 (_Q_lltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
4883 FP_HANDLE_EXCEPTIONS.
4884 * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Define FP_NO_EXCEPTIONS.
4885 (_Q_ulltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
4886 FP_HANDLE_EXCEPTIONS.
4887 * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Define FP_NO_EXCEPTIONS.
4888 (_Q_utoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
4889 FP_HANDLE_EXCEPTIONS.
4890
4891 2014-10-08 Joseph Myers <joseph@codesourcery.com>
4892
4893 [BZ #14132]
4894 * sysdeps/unix/sysv/linux/include/sys/timex.h: New file.
4895 * sysdeps/unix/sysv/linux/adjtime.c [!ADJTIMEX] (ADJTIMEX): Do not
4896 use INTUSE.
4897 [!ADJTIMEX] (INTUSE(__adjtimex)): Remove declaration.
4898 * sysdeps/unix/sysv/linux/alpha/adjtime.c (__adjtimex_internal):
4899 Remove alias.
4900 (__adjtimex): Define using libc_hidden_ver.
4901 * sysdeps/unix/sysv/linux/ntp_gettime.c (INTUSE(__adjtimex)):
4902 Remove declaration.
4903 (ntp_gettime): Call __adjtimex directly.
4904 * sysdeps/unix/sysv/linux/ntp_gettimex.c (INTUSE(__adjtimex)):
4905 Remove declaration.
4906 (ntp_gettimex): Call __adjtimex directly.
4907 * sysdeps/unix/sysv/linux/syscalls.list (adjtimex): Remove
4908 __adjtimex_internal alias.
4909
4910 2014-10-08 Roland McGrath <roland@hack.frob.com>
4911
4912 [BZ #17460]
4913 * nscd/nscd.c (more_help): Rewrite list of tables collection
4914 using xstrdup and asprintf.
4915
4916 * nscd/nscd_conf.c: Remove local xstrdup declaration.
4917
4918 2014-10-08 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
4919 Roland McGrath <roland@hack.frob.com>
4920
4921 * elf/dl-lookup.c (enter_unique_sym): New function, broken out of ...
4922 (do_lookup_unique): ... local function 'enter' here; update callers.
4923
4924 2014-10-06 Joseph Myers <joseph@codesourcery.com>
4925
4926 * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Condition
4927 compat_symbol calls on [SHARED].
4928 * sysdeps/unix/sysv/linux/powerpc/lchown.S: Remove file.
4929 * sysdeps/unix/sysv/linux/i386/syscalls.list (oldsetrlimit):
4930 Remove.
4931 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
4932 * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list
4933 (oldsetrlimit): Remove.
4934 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
4935 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
4936 (lchown): New syscall entry.
4937 (oldsetrlimit): Remove.
4938 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
4939 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list
4940 (oldsetrlimit): Remove.
4941 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
4942
4943 [BZ #14138]
4944 * sysdeps/unix/sysv/linux/arm/fchown.c: Remove file.
4945 * sysdeps/unix/sysv/linux/arm/lchown.c: Likewise.
4946 * sysdeps/unix/sysv/linux/m68k/fchown.c: Likewise.
4947 * sysdeps/unix/sysv/linux/m68k/lchown.c: Likewise.
4948 * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
4949 * sysdeps/unix/sysv/linux/arm/syscalls.list (lchown): Add syscall.
4950 (fchown): Likewise.
4951 * sysdeps/unix/sysv/linux/m68k/syscalls.list (lchown): Likewise.
4952 (fchown): Likewise.
4953 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (chown):
4954 Likewise.
4955
4956 2014-10-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4957
4958 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Remove file.
4959 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c
4960 (pthread_spin_unlock): Use __ARCH_REL_INSTR instead of
4961 __lll_rel_instr and __ARCH_ACQ_INSTR instead of __lll_acq_instr.
4962 * sysdeps/unix/sysv/linux/powerpc/sem_post.c (__new_sem_post):
4963 Likewise.
4964 (__old_sem_post): Likewise.
4965
4966 2014-10-06 Chris Metcalf <cmetcalf@tilera.com>
4967
4968 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Define
4969 INLINE_VSYSCALL, INTERNAL_VSYSCALL, and
4970 HAVE_CLOCK_GETTIME_VSYSCALL macros.
4971 * sysdeps/unix/sysv/linux/tile/gettimeofday.c (__gettimeofday):
4972 Use INLINE_VSYSCALL macro.
4973 * sysdeps/unix/sysv/linux/tile/bits/libc-vdso: Add declaration of
4974 __vdso_clock_gettime.
4975 * sysdeps/unix/sysv/linux/tile/init-first.c
4976 (_libc_vdso_platform_setup): Set new __vdso_clock_gettime global.
4977 * sysdeps/unix/sysv/linux/tile/Versions (GLIBC_PRIVATE): Add
4978 __vdso_clock_gettime.
4979
4980 * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Fix code
4981 to set up frame more cleanly.
4982
4983 * sysdeps/tile/memcmp.c: New file.
4984
4985 * sysdeps/unix/sysv/linux/tile/sysconf.c: New file.
4986
4987 * sysdeps/tile/tilegx/string-endian.h (STRSHIFT): New macro.
4988 * sysdeps/tile/tilegx/strcasestr.c: New file.
4989 * sysdeps/tile/tilegx/strnlen.c: New file.
4990 * sysdeps/tile/tilegx/strstr.c: New file.
4991
4992 * sysdeps/tile/tilegx/string-endian.h (copy_byte): Optimize.
4993
4994 2014-10-06 Arjun Shankar <arjun.is@lostca.se>
4995
4996 * nptl/tst-setuid3.c: Write errors to stdout.
4997
4998 2014-10-01 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
4999
5000 * elf/dl-deps.c
5001 (preload): New functions broken out of _dl_map_object_deps.
5002 (_dl_map_object_deps): Remove a nested function. Update call sites.
5003
5004 2014-10-01 Joseph Myers <joseph@codesourcery.com>
5005
5006 [BZ #14138]
5007 * sysdeps/unix/sysv/linux/execve.c: Remove file.
5008 * sysdeps/unix/sysv/linux/syscalls.list (execve): Add syscall.
5009
5010 2014-10-01 Steve Ellcey <sellcey@mips.com>
5011
5012 * sysdeps/mips/strcmp.S: New.
5013
5014 2014-09-30 Joseph Myers <joseph@codesourcery.com>
5015
5016 [BZ #14138]
5017 * sysdeps/unix/sysv/linux/syscalls.list (fchownat): New syscall.
5018 (linkat): Likewise.
5019 (mkdirat): Likewise.
5020 (readlinkat): Likewise.
5021 (renameat): Likewise.
5022 (symlinkat): Likewise.
5023 (unlinkat): Likewise.
5024 * sysdeps/unix/sysv/linux/fchownat.c: Remove file.
5025 * sysdeps/unix/sysv/linux/linkat.c: Likewise.
5026 * sysdeps/unix/sysv/linux/mkdirat.c: Likewise.
5027 * sysdeps/unix/sysv/linux/readlinkat.c: Likewise.
5028 * sysdeps/unix/sysv/linux/renameat.c: Likewise.
5029 * sysdeps/unix/sysv/linux/symlinkat.c: Likewise.
5030 * sysdeps/unix/sysv/linux/unlinkat.c: Likewise.
5031
5032 2014-09-30 Will Newton <will.newton@linaro.org>
5033
5034 * math/math.h: Define long double math functions if
5035 _LIBC_TEST is defined.
5036 * stdlib/tst-strtod-round.c: Define _LIBC_TEST.
5037
5038 * localedata/Makefile: Move assignment to tests-special
5039 into an ifdef testing run-built-tests.
5040 * timezone/Makefile: Likewise.
5041
5042 2014-09-29 Joseph Myers <joseph@codesourcery.com>
5043
5044 * sysdeps/x86/Makefile ($(objpfx)tst-ld-sse-use.out): Run script
5045 with $(BASH) not $(SHELL).
5046
5047 2014-09-29 Carlos O'Donell <carlos@redhat.com>
5048 Matthew LeGendre <legendre1@llnl.gov>
5049
5050 [BZ #17411]
5051 * elf/dl-reloc.c (_dl_relocate_object): Allocate correct amount for
5052 l_reloc_result.
5053
5054 2014-09-29 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
5055
5056 * stdio-common/printf_fp.c
5057 (hack_digit): New function, broken out of ...
5058 (__printf_fp): ... local function here. Update call sites.
5059 hack_digit now takes an additional parameter that is a pointer
5060 to a struct of the referenced locals. Those locals moved inside
5061 the struct and references updated.
5062
5063 2014-09-29 H.J. Lu <hongjiu.lu@intel.com>
5064
5065 * aclocal.m4: Require autoconf 2.69.
5066 * configure: Regenerated.
5067 * sysdeps/aarch64/configure: Likewise.
5068 * sysdeps/alpha/configure: Likewise.
5069 * sysdeps/arm/armv7/configure: Likewise.
5070 * sysdeps/arm/configure: Likewise.
5071 * sysdeps/ia64/configure: Likewise.
5072 * sysdeps/mach/configure: Likewise.
5073 * sysdeps/mips/configure: Likewise.
5074 * sysdeps/s390/configure: Likewise.
5075 * sysdeps/unix/sysv/linux/mips/configure: Likewise.
5076 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Likewise.
5077
5078 * sysdeps/alpha/configure.ac: Avoid empty lines at the end of
5079 file.
5080 * sysdeps/ia64/configure.ac: Likewise.
5081
5082 2014-09-26 Joseph Myers <joseph@codesourcery.com>
5083
5084 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Do not
5085 specify symbol version for ld.so. Do not include entry for
5086 libpthread.
5087 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
5088 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
5089 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
5090
5091 [BZ #14171]
5092 * Makeconfig [$(build-shared) = yes]
5093 ($(common-objpfx)soversions.mk): Don't handle SONAMEs specified in
5094 makefiles.
5095 [$(build-shared) = yes && $(soversions.mk-done) = t]
5096 ($(common-objpfx)gnu/lib-names.h): Remove rule.
5097 [$(build-shared) = yes && $(soversions.mk-done) = t]
5098 ($(common-objpfx)gnu/lib-names.stmp): Likewise. Split and moved
5099 to Makerules.
5100 [$(build-shared) = yes && $(soversions.mk-done) = t]
5101 (before-compile): Don't append $(common-objpfx)gnu/lib-names.h
5102 here.
5103 [$(build-shared) = yes && $(soversions.mk-done) = t]
5104 (common-generated): Don't append gnu/lib-names.h and
5105 gnu/lib-names.stmp here.
5106 * Makerules [$(build-shared) = yes && $(soversions.mk-done) = t]
5107 (lib-names-h-abi): New variable.
5108 [$(build-shared) = yes && $(soversions.mk-done) = t]
5109 (lib-names-stmp-abi): Likewise.
5110 [$(build-shared) = yes && $(soversions.mk-done) = t &&
5111 abi-variants] (before-compile): Append
5112 $(common-objpfx)$(lib-names-h-abi).
5113 [$(build-shared) = yes && $(soversions.mk-done) = t &&
5114 abi-variants] (common-generated): Append gnu/lib-names.h.
5115 [$(build-shared) = yes && $(soversions.mk-done) = t &&
5116 abi-variants] (install-others-nosubdir): Depend on
5117 $(inst_includedir)/$(lib-names-h-abi).
5118 [$(build-shared) = yes && $(soversions.mk-done) = t &&
5119 abi-variants] ($(common-objpfx)gnu/lib-names.h): New rule.
5120 [$(build-shared) = yes && $(soversions.mk-done) = t]
5121 ($(common-objpfx)$(lib-names-h-abi)): New rule.
5122 [$(build-shared) = yes && $(soversions.mk-done) = t]
5123 ($(common-objpfx)$(lib-names-stmp-abi)): Likewise.
5124 [$(build-shared) = yes && $(soversions.mk-done) = t]
5125 (common-generated): Append $(lib-names-h-abi) and
5126 $(lib-names-stmp-abi).
5127 * scripts/lib-names.awk: Do not handle multi being set.
5128 * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-ld-soname):
5129 Remove variable.
5130 (abi-lp64_be-ld-soname): Likewise.
5131 * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-ld-soname):
5132 Likewise.
5133 (abi-hard-ld-soname): Likewise.
5134 * sysdeps/unix/sysv/linux/i386/shlib-versions: New file.
5135 * sysdeps/unix/sysv/linux/mips/Makefile (abi-o32_soft-ld-soname):
5136 Remove variable.
5137 (abi-o32_hard-ld-soname): Likewise.
5138 (abi-o32_soft_2008-ld-soname): Likewise.
5139 (abi-o32_hard_2008-ld-soname): Likewise.
5140 (abi-n32_soft-ld-soname): Likewise.
5141 (abi-n32_hard-ld-soname): Likewise.
5142 (abi-n32_soft_2008-ld-soname): Likewise.
5143 (abi-n32_hard_2008-ld-soname): Likewise.
5144 (abi-n64_soft-ld-soname): Likewise.
5145 (abi-n64_hard-ld-soname): Likewise.
5146 (abi-n64_soft_2008-ld-soname): Likewise.
5147 (abi-n64_hard_2008-ld-soname): Likewise.
5148 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-64-v1-ld-soname):
5149 Likewise.
5150 (abi-64-v2-ld-soname): Likewise.
5151 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Add
5152 ld.so entries.
5153 * sysdeps/unix/sysv/linux/s390/Makefile (abi-64-ld-soname): Remove
5154 variable.
5155 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Add ld.so
5156 entry.
5157 * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-ld-soname): Remove
5158 variable.
5159 (abi-64-ld-soname): Likewise.
5160 (abi-x32-ld-soname): Likewise.
5161 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Add ld.so
5162 entry.
5163 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
5164
5165 2014-09-23 Joseph Myers <joseph@codesourcery.com>
5166
5167 [BZ #14138]
5168 * sysdeps/unix/sysv/linux/arm/setrlimit.c: Remove file.
5169 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
5170 * sysdeps/unix/sysv/linux/m68k/setrlimit.c: Likewise.
5171 * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: Likewise.
5172 * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: Likewise.
5173 * sysdeps/unix/sysv/linux/sh/setrlimit.c: Likewise.
5174 * sysdeps/unix/sysv/linux/i386/syscalls.list (setrlimit): Add
5175 syscall entry for GLIBC_2.2 symbol version.
5176 * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list (setrlimit):
5177 Likewise.
5178 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
5179 (setrlimit): Likewise.
5180 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setrlimit):
5181 Likewise.
5182
5183 2014-09-23 Will Newton <will.newton@linaro.org>
5184
5185 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h: Check for
5186 _LINUX_ARM_SYSDEP_H include guard too.
5187 * sysdeps/unix/sysv/linux/arm/sysdep.h (_SYS_AUXV_H): Remove
5188 define.
5189
5190 2014-09-20 Rasmus Villemoes <rv@rasmusvillemoes.dk>
5191
5192 * sysdeps/unix/sysv/linux/eventfd.c:
5193 Make first argument unsigned.
5194 * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Likewise.
5195 * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
5196
5197 2014-09-20 Ondřej Bílka <neleai@seznam.cz>
5198
5199 * socket/recvmmsg.c (recvmmsg): Drop const argument.
5200 * socket/sys/socket.h: Likewise
5201 * sysdeps/unix/sysv/linux/recvmmsg.c: Likewise.
5202
5203 2014-09-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5204
5205 * stdlib/longlong.h: Add __udiv_w_sdiv prototype.
5206
5207 2014-09-17 Arjun Shankar <arjun.is@lostca.se>
5208
5209 * time/tst-ftime.c: New test.
5210 * time/Makefile (tests): Add tst-ftime.
5211
5212 2014-09-17 Joseph Myers <joseph@codesourcery.com>
5213
5214 * soft-fp/extended.h: Fix comment formatting.
5215 * soft-fp/op-1.h: Likewise.
5216 * soft-fp/op-2.h: Likewise.
5217 * soft-fp/op-4.h: Likewise.
5218 * soft-fp/op-8.h: Likewise.
5219 * soft-fp/op-common.h: Likewise.
5220 * soft-fp/soft-fp.h: Likewise.
5221
5222 * soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
5223
5224 2014-09-16 Joseph Myers <joseph@codesourcery.com>
5225
5226 [BZ #6652]
5227 * Makeconfig (soversions-default-setname): Remove variable.
5228 ($(common-objpfx)soversions.i): Don't pass default_setname to
5229 soversions.awk.
5230 * Makerules ($(common-objpfx)abi-versions.h): Don't pass
5231 oldest_abi to abi-versions.awk.
5232 * config.h.in (GLIBC_OLDEST_ABI): Remove macro undefine.
5233 * config.make.in (oldest-abi): Remove variable.
5234 * configure.ac (--enable-oldest-abi): Remove configure option.
5235 * configure: Regenerated.
5236 * csu/version.c (banner) [GLIBC_OLDEST_ABI]: Remove conditional
5237 text.
5238 * scripts/abi-versions.awk: Do not handle oldest_abi variable.
5239 * scripts/soversions.awk: Do not handle default_setname variable.
5240 * sysdeps/mach/hurd/configure.ac: Do not handle oldest_abi
5241 variable.
5242 * sysdeps/mach/hurd/configure: Regenerated.
5243 * sysdeps/unix/sysv/linux/configure.ac: Do not handle oldest_abi
5244 variable.
5245 * sysdeps/unix/sysv/linux/configure: Regenerated.
5246
5247 2014-09-16 Siddhesh Poyarekar <siddhesh@redhat.com>
5248
5249 * elf/Makefile (CFLAGS-interp.c): Remove.
5250 ($(elf-objpfx)runtime-linker.h): Generate header with linker
5251 path string.
5252 * elf/interp.c: Include generated runtime-linker.h
5253
5254 * Makerules (lib%.so): Don't include $(+interp) in
5255 prerequisites.
5256 * elf/Makefile (CFLAGS-interp.c): Don't define NOT_IN_libc.
5257 * dlfcn/eval.c: Remove file.
5258
5259 * posix/getconf.c (vars): Don't check for _[SP]C_* and _CS
5260 macros.
5261
5262 [BZ #17266]
5263 * misc/sys/cdefs.h: Define __extern_always_inline for clang
5264 4.2 and newer.
5265
5266 [BZ #17370]
5267 * libio/wfileops.c (do_ftell_wide): Free OUT on error path.
5268
5269 2014-09-16 Siddhesh Poyarekar <siddhesh@redhat.com>
5270 Jakub Jelinek <jakub@redhat.com>
5271
5272 [BZ #17266]
5273 * libio/stdio.h: Check definition of __fortify_function
5274 instead of __extern_always_inline to include bits/stdio2.h.
5275 * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also
5276 check if __extern_always_inline is defined.
5277 [__USE_MISC || __USE_XOPEN]: Likewise.
5278 [__USE_ISOC99] Likewise.
5279 * misc/sys/cdefs.h (__fortify_function): Define only if
5280 __extern_always_inline is defined.
5281 [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining
5282 __extern_always_inline and __extern_inline only for g++-4.3
5283 and newer or a compatible gcc.
5284
5285 2014-09-15 Andreas Schwab <schwab@linux-m68k.org>
5286
5287 [BZ #17371]
5288 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
5289 last change to handle zero prefix length.
5290
5291 2014-09-15 Siddhesh Poyarekar <siddhesh@redhat.com>
5292
5293 * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
5294 _SC_REGEX_VERSION.
5295
5296 * posix/getconf.c (vars): Add _POSIX_IPV6 and
5297 _POSIX_RAW_SOCKETS.
5298
5299 2014-09-13 Allan McRae <allan@archlinux.org>
5300
5301 * po/ru.po: Update Russian translation from translation project.
5302
5303 2014-09-12 Roland McGrath <roland@hack.frob.com>
5304
5305 * locale/programs/locale.c (show_locale_vars): Inline local function
5306 into its sole call site. Clean up some style nits.
5307 (print_item): New function, broken out of ...
5308 (show_info): ... local function here. Clean up style nits.
5309
5310 * locale/programs/ld-ctype.c (set_one_default): New function, broken
5311 out of ...
5312 (set_class_defaults): ... local function set_default here.
5313 Define set_default as a macro locally to pass constant parameters.
5314 (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
5315 rather than a shared local.
5316
5317 * stdlib/rpmatch.c (try): New function, broken out of ...
5318 (rpmatch): ... local function here. Also, prototypify definition.
5319
5320 2014-09-12 Joseph Myers <joseph@codesourcery.com>
5321
5322 * scripts/soversions.awk: Do not handle configuration names.
5323 * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
5324 vendor and os variables to soversions.awk.
5325 * configure.ac: Do not modify gnu-* host_os.
5326 * configure: Regenerated
5327 * shlib-versions: Remove first column with configuration names.
5328 * nptl/shlib-versions: Likewise.
5329 * nptl_db/shlib-versions: Likewise.
5330 * sysdeps/hppa/shlib-versions: Likewise.
5331 * sysdeps/m68k/shlib-versions: Likewise.
5332 * sysdeps/mach/hurd/shlib-versions: Likewise.
5333 * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
5334 * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
5335 * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
5336 * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
5337 * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
5338 * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
5339 * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
5340 * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
5341 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
5342 Likewise.
5343 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
5344 * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
5345 * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
5346 * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
5347 * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
5348 * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
5349 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
5350 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
5351
5352 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
5353 (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
5354 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
5355 Regenerated.
5356 * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
5357 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
5358 Condition symbol version definitions on [HAVE_ELFV2_ABI].
5359
5360 * shlib-versions: Remove OS-specific entries. Moved to files in
5361 sysdeps.
5362 * sysdeps/mach/hurd/shlib-versions: New file.
5363 * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
5364
5365 * nptl/shlib-versions: Remove architecture-specific entries.
5366 Moved to files in sysdeps.
5367 * shlib-versions: Likewise.
5368 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
5369 file.
5370 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
5371 * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
5372 * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
5373 * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
5374
5375 * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
5376 (UDP_NO_CHECK6_RX): Likewise.
5377
5378 2014-09-12 Siddhesh Poyarekar <siddhesh@redhat.com>
5379
5380 * sysdeps/posix/sysconf.c (__sysconf): Spell
5381 _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
5382
5383 2014-08-12 Florian Weimer <fweimer@redhat.com>
5384
5385 * iconv/gconv_open.c (__gconv_open): Remove transliteration module
5386 loading.
5387 * iconv/Versions (__gconv_transliterate): Export for use from
5388 gconv modules.
5389 * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
5390 (struct __gconv_trans_data, __gconv_trans_fct,
5391 __gconv_trans_context_fct, __gconv_trans_query_fct,
5392 __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
5393 definitions.
5394 (struct __gconv_step_data): Remove __trans member.
5395 (__gconv_transliterate): Declaration moved from gconv_int.h. No
5396 longer hidden. Remove unused trans_data argument.
5397 * iconv/gconv_int.h (struct trans_struct): Remove definition.
5398 (__gconv_translit_find): Remove declaration.
5399 (__gconv_transliterate): Declaration moved to gconv.h. Add hidden
5400 prototype.
5401 * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
5402 * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
5403 trans_data argument. Add hidden definition.
5404 (__gconv_translit_find): Remove.
5405 * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
5406 __gconv_transliterate directly if __GCONV_TRANSLIT is set.
5407 * iconv/skeleton.c: Remove transliteration initialization.
5408 * libio/fileops.c (_IO_new_file_fopen): Adjust struct
5409 __gconv_step_data initialization.
5410 * libio/iofwide.c (__libio_translit_): Remove.
5411 (_IO_fwide): Adjust struct __gconv_step_data initialization.
5412 * wcsmbs/btowc.c (__btowc): Likewise.
5413 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
5414 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
5415 * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
5416 * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
5417 * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
5418 * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
5419 * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
5420 * wcsmbs/wctob.c (wctob): Likewise.
5421
5422 2014-09-12 Siddhesh Poyarekar <siddhesh@redhat.com>
5423
5424 [BZ #16194]
5425 * sysdeps/x86/tst-xmmymm.sh: Rename file to...
5426 * sysdeps/x86/tst-ld-sse-use.sh: ... this. Check for zmm
5427 register usage.
5428 * sysdeps/x86/Makefile: Adjust.
5429
5430 2014-09-11 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
5431 Roland McGrath <roland@hack.frob.com>
5432
5433 * locale/weight.h: Add include guard.
5434 (findidx): Make static rather than auto; take new parameters
5435 TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
5436 * locale/weightwc.h: Likewise.
5437 * posix/fnmatch_loop.c
5438 (FCT): Change type of EXTRA from int32_t to wint_t.
5439 Don't include either header inside the function.
5440 Call FINDIDX rather than findidx, and pass new arguments.
5441 #undef FINDIDX at the end of the file.
5442 * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
5443 FINDIDX before including fnmatch_loop.c for the non-wide version.
5444 [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
5445 #include <locale/weightwc.h>, and define FINDIDX to findidxwc
5446 for the wide version.
5447 * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
5448 (build_equiv_class) [_LIBC]: Don't #include it inside the function.
5449 Pass new arguments to findidx.
5450 * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
5451 [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
5452 Don't #include it inside the function. Pass new arguments to findidx.
5453 * posix/regex_internal.h
5454 [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
5455 (re_string_elem_size_at): Don't #include it inside the function.
5456 Pass new arguments to findidx.
5457 * string/strcoll_l.c: #include WEIGHT_H at top level.
5458 (get_next_seq): Don't #include it inside the function.
5459 Pass new arguments to findidx.
5460 (get_next_seq_nocache): Likewise.
5461 * string/strxfrm_l.c: #include WEIGHT_H at top level.
5462 (STRXFRM): Don't #include it inside the function.
5463 Pass new arguments to findidx.
5464
5465 2014-09-11 Florian Weimer <fweimer@redhat.com>
5466
5467 [BZ #17344]
5468 * malloc/malloc.c (unlink): Turn asserts into a call to
5469 malloc_printerr.
5470
5471 2014-09-11 Tim Lammens <tim.lammens@gmail.com>
5472
5473 [BZ #17370]
5474 * libio/wfileops (do_ftell_wide): Free OUT.
5475
5476 2014-09-10 Chris Metcalf <cmetcalf@tilera.com>
5477
5478 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
5479
5480 2014-09-10 Siddhesh Poyarekar <siddhesh@redhat.com>
5481
5482 [BZ #17363]
5483 * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
5484 group if the current group is empty.
5485
5486 2014-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5487
5488 * benchtests/bench-memset.c (test_main): Add more test from size
5489 from 32 to 512 bytes.
5490 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
5491 Add POWER8 memset object.
5492 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5493 (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
5494 * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
5495 implementation.
5496 * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
5497 Likewise.
5498 * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
5499 multiarch POWER8 memset optimization.
5500 * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
5501 POWER8 memset optimization.
5502
5503 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
5504 Remove bzero multiarch objects.
5505 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
5506 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
5507 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
5508 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
5509 Remove define.
5510 [__bzero]: Redefine to specific name.
5511 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
5512 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
5513 * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
5514 define.
5515 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
5516 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
5517
5518 2014-09-10 Florian Weimer <fweimer@redhat.com>
5519
5520 * Makeconfig (gccwarn-c): Turn implicit-function-declaration
5521 warnings into errors.
5522
5523 * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
5524 __cxa_thread_atexit_impl prototype.
5525
5526 2014-09-09 Steve Ellcey <sellcey@mips.com>
5527
5528 * sysdeps/mips/preconfigure: Put code inside mips* case statement.
5529 Fix capitalization of error message.
5530
5531 2014-09-09 Steve Ellcey <sellcey@mips.com>
5532
5533 * sysdeps/mips/preconfigure: Modify ABI tests.
5534
5535 2014-09-07 Carlos O'Donell <carlos@systemhalted.org>
5536
5537 * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
5538
5539 2014-09-07 Roland McGrath <roland@hack.frob.com>
5540 Carlos O'Donell <carlos@systemhalted.org>
5541
5542 * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
5543 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
5544 * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
5545 * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
5546 * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
5547 * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
5548 * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
5549 * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
5550 * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
5551 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
5552 * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
5553 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
5554 * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
5555 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
5556 * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
5557 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
5558 * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
5559 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
5560 * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
5561 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
5562 * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
5563 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
5564 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
5565 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
5566 * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
5567 * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
5568 * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
5569 * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
5570 Deconditionalize the code that was previously under [RESET_PID].
5571 * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
5572 * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
5573 * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
5574 * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
5575 include sysdep.h.
5576
5577 2014-09-08 Allan McRae <allan@archlinux.org>
5578
5579 * version.h (RELEASE): Set to "development".
5580 (VERSION): Set to "2.20.90"
5581
5582 2014-09-07 Allan McRae <allan@archlinux.org
5583
5584 * version.h (RELEASE): Set to "stable".
5585 (VERSION): Set to "2.20"
5586 * include/features.h (__GLIBC_MINOR__): Set to 20.
5587
5588 * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
5589 Liebler.
5590
5591 * po/ko.po: Update Korean translation from translation project.
5592
5593 2014-09-06 Chris Metcalf <cmetcalf@tilera.com>
5594
5595 [BZ #17354]
5596 * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
5597 macro for handling signed relocations.
5598
5599 2014-09-03 Florian Weimer <fweimer@redhat.com>
5600
5601 [BZ #17325]
5602 * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
5603 * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
5604 assert.
5605 * iconvdata/ibm933.c (BODY): Fix check for sentinel.
5606 * iconvdata/ibm935.c (BODY): Likewise.
5607 * iconvdata/ibm937.c (BODY): Likewise.
5608 * iconvdata/ibm939.c (BODY): Likewise.
5609 * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
5610 assert.
5611 * iconvdata/Makefile (iconv-test.out): Pass module list to test
5612 script.
5613 * iconvdata/run-iconv-test.sh: New test loop for checking for
5614 decoder crashers.
5615
5616 2014-09-02 Khem Raj <raj.khem@gmail.com>
5617
5618 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
5619 libm_hidden_ver.
5620
5621 2014-09-01 Allan McRae <allan@archlinux.org>
5622
5623 * po/eo.po: Update Esperanto translation from translation project.
5624
5625 * po/ca.po: Update Catalan translation from translation project.
5626
5627 2014-08-28 Samuel Thibault <samuel.thibault@ens-lyon.org>
5628
5629 * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
5630 __proc_dostop call.
5631
5632 2014-08-27 Mark Wielaard <mjw@redhat.com>
5633
5634 [BZ #17319]
5635 * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
5636 to call set_thread_area instead of hand written asm.
5637 (__NR_set_thread_area): Removed define.
5638 (TLS_FLAG_WRITABLE): Likewise.
5639 (__ASSUME_SET_THREAD_AREA): Remove check.
5640 (TLS_EBX_ARG): Remove define.
5641 (TLS_LOAD_EBX): Likewise.
5642
5643 2014-08-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
5644
5645 Simplify atomicity of socket creation in bind.
5646
5647 * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
5648 looking up the name after linking the file.
5649
5650 2014-08-27 Allan McRae <allan@archlinux.org>
5651
5652 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
5653
5654 2014-08-26 Florian Weimer <fweimer@redhat.com>
5655
5656 [BZ #17187]
5657 * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
5658 trans_compare, open_translit, __gconv_translit_find):
5659 Remove module loading code.
5660
5661 2014-08-26 Allan McRae <allan@archlinux.org>
5662
5663 * po/vi.po: Update Vietnamese translation from translation project.
5664
5665 * po/uk.po: Update Ukrainian translation from translation project.
5666
5667 * po/fr.po: Update French translation from translation project.
5668
5669 * po/ru.po: Update Russian translation from translation project.
5670
5671 * po/pl.po: Update Polish translation from translation project.
5672
5673 * po/cs.po: Update Czech translation from translation project.
5674
5675 * po/de.po: Update German translation from translation project.
5676
5677 * po/bg.po: Update Bulgarian translation from translation project.
5678
5679 * po/sv.po: Update Sweedish translation from translation project.
5680
5681 * po/nl.po: Update Dutch translation from translation project.
5682
5683 * po/es.po: Update Spanish translation from translation project.
5684
5685 2014-08-21 Siddhesh Poyarekar <siddhesh@redhat.com>
5686
5687 * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
5688
5689 * catgets/Makefile (CPPFLAGS-gencat): Remove.
5690 * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
5691 (CPPFLAGS-iconvconfig): Likewise.
5692 * timezone/Makefile (CPPFLAGS-zic): Likewise.
5693
5694 * include/libc-symbols.h: Remove unnecessary check for
5695 NOT_IN_libc.
5696 * nptl/pthreadP.h: Likewise.
5697 * sysdeps/aarch64/setjmp.S: Likewise.
5698 * sysdeps/alpha/setjmp.S: Likewise.
5699 * sysdeps/arm/sysdep.h: Likewise.
5700 * sysdeps/i386/setjmp.S: Likewise.
5701 * sysdeps/m68k/setjmp.c: Likewise.
5702 * sysdeps/posix/getcwd.c: Likewise.
5703 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
5704 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
5705 * sysdeps/s390/s390-32/setjmp.S: Likewise.
5706 * sysdeps/s390/s390-64/setjmp.S: Likewise.
5707 * sysdeps/sh/sh3/setjmp.S: Likewise.
5708 * sysdeps/sh/sh4/setjmp.S: Likewise.
5709 * sysdeps/unix/alpha/sysdep.h: Likewise.
5710 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
5711 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
5712 * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
5713 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
5714 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
5715 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
5716 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
5717 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
5718 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
5719 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
5720 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
5721 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
5722 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
5723 * sysdeps/x86_64/setjmp.S: Likewise.
5724
5725 2014-08-13 Joseph Myers <joseph@codesourcery.com>
5726
5727 [BZ #17263]
5728 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
5729 <stdint.h>.
5730 (__get_clockfreq): Use uint64_t instead of hp_timing_t in
5731 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
5732
5733 2014-08-13 Siddhesh Poyarekar <siddhesh@redhat.com>
5734
5735 * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
5736
5737 [BZ #17262]
5738 * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
5739 and __x86_64__ when disabling x87 inline functions.
5740
5741 2014-08-12 H.J. Lu <hongjiu.lu@intel.com>
5742
5743 [BZ #17259]
5744 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
5745 asm statement with __cpuid_count.
5746
5747 2014-08-12 Mike Frysinger <vapier@gentoo.org>
5748
5749 * configure.ac: Change __ehdr_start code to dereference the struct.
5750 Run readelf on the output to look for relocations.
5751 * configure: Regenerated.
5752
5753 2014-08-12 Joseph Myers <joseph@codesourcery.com>
5754
5755 [BZ #17261]
5756 * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
5757 value to 0.
5758 (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
5759
5760 2014-08-12 Roland McGrath <roland@hack.frob.com>
5761
5762 * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
5763
5764 2014-08-12 Bernard Ogden <bernie.ogden@linaro.org>
5765
5766 [BZ #16892]
5767 * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
5768 atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
5769
5770 2014-08-12 Sean Anderson <seanga2@gmail.com>
5771
5772 * malloc/malloc.c: Fix typo in comment.
5773
5774 2014-08-09 Allan McRae <allan@archlinux.org>
5775
5776 * Regenerate libc.po.
5777
5778 2014-08-08 Mike Frysinger <vapier@gentoo.org>
5779
5780 * intl/tst-gettext2.sh: Check every lang file for creation.
5781
5782 2014-08-07 Wilco Dijkstra <wdijkstr@arm.com>
5783
5784 * sysdeps/aarch64/fpu/math_private.h
5785 (libc_feholdsetround_noex_aarch64_ctx): New function.
5786
5787 2014-08-07 Wilco Dijkstra <wdijkstr@arm.com>
5788
5789 * sysdeps/arm/armv6/strcpy.S (strcpy):
5790 Fix performance issue in misaligned cases.
5791
5792 2014-08-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5793
5794 * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
5795 Move definition from termios.h.
5796 (struct termio): Likewise.
5797 (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
5798 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
5799 N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
5800 N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
5801 Likewise.
5802 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
5803 Move definition to ioctl-types.h
5804 (struct termio): Likewise.
5805 (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
5806 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
5807 N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
5808 N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
5809 Likewise.
5810
5811 2014-08-05 Richard Henderson <rth@redhat.com>
5812
5813 * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
5814 exceptions.
5815 * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
5816 Add fraiseexcpt.
5817 * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
5818 Use __feraiseexcept.
5819 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
5820 Protect libm symbols with IS_IN_libm.
5821
5822 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
5823
5824 2014-08-04 Bernard Ogden <bernie.ogden@linaro.org>
5825
5826 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
5827
5828 2014-08-04 Will Newton <will.newton@linaro.org>
5829
5830 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
5831 file.
5832
5833 2014-08-04 Mike Frysinger <vapier@gentoo.org>
5834
5835 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
5836 variants for each function.
5837
5838 2014-08-04 Roland McGrath <roland@hack.frob.com>
5839
5840 * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
5841 appended ...
5842 * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
5843 * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
5844 appended ...
5845 * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
5846 * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
5847 * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
5848 * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
5849 * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
5850 * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
5851 * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
5852 * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
5853 * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
5854 * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
5855 * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
5856 * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
5857 * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
5858 * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
5859 * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
5860 * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
5861 * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
5862 * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
5863 * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
5864 * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
5865 * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
5866 * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
5867 * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
5868 * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
5869 * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
5870 * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
5871 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
5872 * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
5873 * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
5874 * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
5875 * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
5876 * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
5877 * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
5878 * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
5879 * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
5880 * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
5881 * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
5882 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
5883 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
5884 * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
5885 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
5886 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
5887 * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
5888 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
5889 * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
5890 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
5891 * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
5892 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
5893 * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
5894 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
5895 * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
5896 * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
5897 * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
5898 Update #include.
5899 * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
5900 * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
5901
5902 2014-08-04 Roland McGrath <roland@hack.frob.com>
5903
5904 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
5905 * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
5906 * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
5907 * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
5908 * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
5909 * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
5910
5911 2014-08-04 Roland McGrath <roland@hack.frob.com>
5912
5913 * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
5914 * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
5915 * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
5916 * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
5917
5918 2014-08-04 Roland McGrath <roland@hack.frob.com>
5919
5920 * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
5921 * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
5922 (__libc_vfork): Define function under this name.
5923 (__vfork): Define as an alias.
5924 * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
5925 * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
5926
5927 2014-08-04 Roland McGrath <roland@hack.frob.com>
5928
5929 * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
5930 that was previously under [RESET_PID].
5931 * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
5932
5933 2014-08-04 Andreas Schwab <schwab@suse.de>
5934
5935 * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
5936
5937 2014-08-03 Mike Frysinger <vapier@gentoo.org>
5938
5939 * stdlib/tst-setcontext.c (test_stack): Fix coding style.
5940 (main): Likewise.
5941
5942 2014-08-01 Roland McGrath <roland@hack.frob.com>
5943
5944 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
5945
5946 2014-08-01 Richard Henderon <rth@redhat.com>
5947
5948 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
5949 feclearexcept; use math_opt_barrier instead of open-coded asm; fix
5950 typo in exact zero test.
5951 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
5952 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
5953 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
5954
5955 2014-08-01 Roland McGrath <roland@hack.frob.com>
5956
5957 * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
5958 (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
5959 * sysdeps/arm/sysdep.h: ... here.
5960 [!__ASSEMBLER__]: Include <stdint.h>.
5961
5962 2014-08-01 Siddhesh Poyarekar <siddhesh@redhat.com>
5963
5964 * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
5965 (HAVE_WCTYPE_H): Likewise.
5966 (HAVE_ISWCTYPE): Likewise.
5967 (ENABLE_NLS): Likewise.
5968 * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
5969 && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
5970
5971 * posix/regex_internal.c: Check if DEBUG is defined and is
5972 set.
5973
5974 * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
5975 (HAVE_MBSRTOWCS): Likewise.
5976 * posix/fnmatch.c: Include string.h unconditionally.
5977
5978 2014-08-01 Stefan Liebler <stli@linux.vnet.ibm.com>
5979
5980 * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
5981 reversal.
5982
5983 2014-07-31 Roland McGrath <roland@hack.frob.com>
5984
5985 * sysdeps/generic/safe-fatal.h: New file.
5986 * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
5987 * nptl/forward.c: Include it.
5988 (__pthread_unwind): Use __safe_fatal as default action, rather
5989 than a bogus use of INTERNAL_SYSCALL that could never work.
5990
5991 * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
5992 * configure.ac (libc_cv_builtin_trap): New test.
5993 * configure: Regenerated.
5994 * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
5995 (ABORT_INSTRUCTION): Define using __builtin_trap.
5996
5997 * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
5998 * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
5999 * sysdeps/nptl/nptl-signals.h: New file.
6000 * nptl/pthreadP.h: Include <nptl-signals.h>.
6001
6002 2014-07-31 Stefan Liebler <stli@linux.vnet.ibm.com>
6003
6004 * sysdeps/s390/s390-64/utf16-utf32-z9.c
6005 (ONE_DIRECTION): Define.
6006 * sysdeps/s390/s390-64/utf8-utf16-z9.c
6007 (ONE_DIRECTION): Define.
6008 * sysdeps/s390/s390-64/utf8-utf32-z9.c
6009 (ONE_DIRECTION): Define.
6010
6011 2014-07-31 Stefan Liebler <stli@linux.vnet.ibm.com>
6012
6013 * sysdeps/s390/Makefile: Delete file.
6014 * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
6015 * sysdeps/s390/__longjmp.c: Delete file.
6016 * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
6017 Remove fields __flags and __reserved.
6018 * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
6019 and add versioning.
6020 * sysdeps/s390/rtld-__longjmp.c: Delete file.
6021 * sysdeps/s390/rtld-global-offsets.sym: Likewise.
6022 * sysdeps/s390/rtld-setjmp.S: Likewise.
6023 * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
6024 * sysdeps/s390/s390-32/__longjmp.c: ... here.
6025 * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
6026 * sysdeps/s390/s390-32/setjmp.S: ... here.
6027 Add versioning.
6028 (__sigsetjmp): Remove setting __flags field.
6029 * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
6030 * sysdeps/s390/s390-64/__longjmp.c: ... here.
6031 * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
6032 * sysdeps/s390/s390-64/setjmp.S: ... here.
6033 Add versioning.
6034 (__sigsetjmp): Remove setting __flags field.
6035 * sysdeps/s390/setjmp.S: Delete file.
6036 * sysdeps/s390/sigjmp.c: Likewise.
6037 * sysdeps/s390/v1-longjmp.c: Likewise.
6038 * sysdeps/s390/v1-setjmp.h: Likewise.
6039 * sysdeps/s390/v1-sigjmp.c: Likewise.
6040 * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
6041 Remove v1-longjmp_chk.
6042 * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
6043 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
6044 Include debug/longjmp_chk.c and add versioning.
6045 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
6046 Include nptl/pt-longjmp.c and add versioning.
6047 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
6048 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
6049 Include __longjmp.c.
6050 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
6051 Move to ...
6052 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
6053 (__getcontext): Remove setting __flags field.
6054 Add versioning.
6055 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
6056 Don't restore upper high grps.
6057 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
6058 Likewise.
6059 (__swapcontext): Remove setting uc_flags field.
6060 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
6061 Delete file.
6062 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
6063 Include __longjmp.c.
6064 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
6065 Move to ...
6066 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
6067 (__getcontext): Remove setting __flags field.
6068 Add versioning.
6069 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
6070 (__swapcontext): Remove setting uc_flags field.
6071 * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
6072 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
6073 Remove fields uc_high_gprs and __reserved.
6074 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
6075 New file with reverted content.
6076 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
6077 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
6078 Regenerated.
6079 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
6080 Regenerated.
6081
6082 2014-07-31 Andreas Schwab <schwab@suse.de>
6083
6084 * config.h.in (HAVE_IFUNC): Define to 0.
6085 * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
6086 definedness.
6087
6088 2014-07-30 Ling Ma <ling.ml@alibaba-inc.com>
6089
6090 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
6091 memmove-avx-unaligned, memcpy-avx-unaligned and
6092 mempcpy-avx-unaligned.
6093 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
6094 Add tests for AVX memcpy functions.
6095 * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
6096 * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
6097 memcpy_chk.
6098 * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
6099 * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
6100 memmove_chk.
6101 * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
6102 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
6103 mempcpy_chk.
6104 * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
6105 * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
6106 * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
6107
6108 2013-07-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6109
6110 [BZ #17213]
6111 * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
6112 powerpc64le.
6113
6114 2014-07-29 Jeff Layton <jlayton@poochiereds.net>
6115
6116 [BZ #16839]
6117 * manual/llio.texi: Add section about open file description locks.
6118 * manual/examples/ofdlocks.c: Example of open file description
6119 lock usage.
6120 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
6121 F_OFD_SETLK, and F_OFD_SETLKW.
6122
6123 2014-07-23 Allan McRae <allan@archlinux.org>
6124
6125 * po/es.po: Update Spanish translation from translation project.
6126
6127 2014-07-18 Andreas Schwab <schwab@linux-m68k.org>
6128
6129 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
6130
6131 2014-07-17 Maciej W. Rozycki <macro@codesourcery.com>
6132
6133 [BZ #17078]
6134 * sysdeps/arm/dl-machine.h (elf_machine_rela)
6135 [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
6136 (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
6137
6138 2014-07-17 Joseph Myers <joseph@codesourcery.com>
6139
6140 [BZ #17088]
6141 * math/fesetenv.c (__fesetenv)
6142 [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
6143 * math/feupdateenv.c (__feupdateenv)
6144 [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
6145
6146 * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
6147 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
6148 (__ASSUME_SOCKETCALL): Do not define.
6149
6150 * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
6151 * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
6152 (__ASSUME_SOCKETCALL): Do not define.
6153 (__ASSUME_ST_INO_64_BIT): Define unconditionally.
6154 [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
6155 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
6156 [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
6157 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
6158 [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
6159 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
6160 [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
6161
6162 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
6163 * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
6164 (__ASSUME_SOCKETCALL): Do not define.
6165 (__ASSUME_IPC64): Define unconditionally.
6166 [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
6167 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
6168 [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
6169 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
6170 [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
6171 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
6172 [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
6173 Likewise.
6174
6175 * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
6176 * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
6177 (__ASSUME_SOCKETCALL): Do not define.
6178 (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
6179 (__ASSUME_FUTEX_LOCK_PI): Likewise.
6180 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
6181 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
6182 (__ASSUME_REQUEUE_PI): Define unconditionally.
6183 [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
6184 (__ASSUME_RECVMMSG_SYSCALL): Do not define.
6185 [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
6186 [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
6187 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
6188 [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
6189
6190 * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
6191 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
6192 (__ASSUME_SOCKETCALL): Do not define.
6193 [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
6194 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
6195 [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
6196 [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
6197 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
6198 [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
6199
6200 * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
6201 * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
6202 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
6203 [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
6204 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
6205 [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
6206 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
6207 [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
6208 (__ASSUME_GETCPU_SYSCALL): Likewise.
6209
6210 * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
6211 * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR. Remove
6212 cases for individual architectures.
6213 * sysdeps/gnu/configure: Regenerated.
6214 * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
6215 LIBC_SLIBDIR_RTLDDIR.
6216 * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
6217 * sysdeps/unix/sysv/linux/mips/configure.ac: Use
6218 LIBC_SLIBDIR_RTLDDIR.
6219 * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
6220 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
6221 LIBC_SLIBDIR_RTLDDIR.
6222 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
6223 Regenerated.
6224 * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
6225 * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
6226 file.
6227 * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
6228 * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
6229 file.
6230 * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
6231 * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
6232 * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
6233 * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
6234
6235 * sysdeps/aarch64/shlib-versions: Move to ...
6236 * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
6237 * sysdeps/alpha/shlib-versions: Move to ...
6238 * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
6239 * sysdeps/arm/shlib-versions: Move to ...
6240 * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
6241 * sysdeps/hppa/shlib-versions: Move all contents except for
6242 libgcc_s entry to ...
6243 * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here. Merge in
6244 entry from ...
6245 * sysdeps/hppa/nptl/shlib-versions: ... here. Remove file.
6246 * sysdeps/ia64/shlib-versions: Move to ...
6247 * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here. Merge in
6248 entry from ...
6249 * sysdeps/ia64/nptl/shlib-versions: ... here. Remove file.
6250 * sysdeps/m68k/coldfire/shlib-versions: Move to ...
6251 * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
6252 * sysdeps/microblaze/shlib-versions: Move to ...
6253 * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
6254 * sysdeps/mips/shlib-versions: Move to ...
6255 * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here. Merge in
6256 entry from ...
6257 * sysdeps/mips/nptl/shlib-versions: ... here. Remove file.
6258 * sysdeps/tile/shlib-versions: Move to ...
6259 * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
6260 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
6261 from ...
6262 * sysdeps/x86_64/64/shlib-versions: ... here. Remove file.
6263 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
6264 entry from ...
6265 * sysdeps/x86_64/x32/shlib-versions: ... here. Remove file.
6266
6267 2014-07-17 Will Newton <will.newton@linaro.org>
6268
6269 * sysdeps/arm/bits/atomic.h
6270 (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
6271 (__arch_compare_and_exchange_bool_16_int): Likewise.
6272 (__arch_compare_and_exchange_bool_64_int): Likewise.
6273
6274 * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
6275 into an #else block.
6276
6277 2014-07-16 Roland McGrath <roland@hack.frob.com>
6278
6279 * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
6280 just Linux configurations. Test empirically that the compiler sets
6281 __ARM_EABI__, rather than using the tuple to decide.
6282 * sysdeps/arm/preconfigure: Regenerated.
6283 * sysdeps/unix/sysv/linux/arm/configure: File removed.
6284 * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
6285 contents appended ...
6286 * sysdeps/arm/configure.ac: ... here.
6287 * sysdeps/arm/configure: Regenerated.
6288
6289 2014-07-15 Roland McGrath <roland@hack.frob.com>
6290
6291 * nptl/pthread_kill.c: New file.
6292 * nptl/pthread_sigmask.c: New file.
6293 * nptl/pthread_sigqueue.c: New file.
6294
6295 * sysdeps/nptl/lowlevellock.h: New file.
6296 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
6297 * sysdeps/nptl/lowlevellock-futex.h: New file.
6298
6299 * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
6300 Remove dead declarations.
6301
6302 2014-07-14 H.J. Lu <hongjiu.lu@intel.com>
6303
6304 * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
6305 * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
6306 config-cflags-avx2.
6307 * sysdeps/x86_64/configure.ac: Likewise.
6308 * sysdeps/i386/configure: Regenerated.
6309 * sysdeps/x86_64/configure: Likewise.
6310 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
6311 memset-avx2 only if config-cflags-avx2 is yes.
6312 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
6313 Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
6314 defined.
6315 * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
6316 only if HAVE_AVX2_SUPPORT is defined.
6317 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
6318
6319 2014-07-14 Alan Modra <amodra@gmail.com>
6320
6321 [BZ #17153]
6322 * elf/elf.h (DT_PPC64_NUM): Correct value.
6323 * NEWS: Add to fixed bug list.
6324
6325 2014-07-13 Jim Meyering <meyering@fb.com>
6326
6327 [BZ 17150]
6328 regex: don't deref NULL upon heap allocation failure
6329 * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
6330 failure in one more place.
6331 To trigger the segfault, configure grep -with-included-regex,
6332 build it, and run these commands:
6333 ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
6334
6335 2014-07-13 Andreas Schwab <schwab@linux-m68k.org>
6336
6337 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
6338
6339 2014-07-11 Richard Henderson <rth@redhat.com>
6340
6341 * sysdeps/aarch64/libm-test-ulps: Update.
6342
6343 2014-07-10 Florian Weimer <fweimer@redhat.com>
6344
6345 [BZ #17135]
6346 * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
6347 * nptl/allocatestack.c (__nptl_setxid_error): New function.
6348 (__nptl_setxid): Initialize error member. Call
6349 __nptl_setxid_error.
6350 * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
6351 * nptl/descr.h (struct xid_command): Add error member.
6352 * nptl/tst-setuid3.c: New file.
6353 * nptl/Makefile (tests): Add it.
6354
6355 2014-07-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6356
6357 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
6358 New define.
6359 (__lll_trylock): Use __lll_base_trylock.
6360 (__lll_cond_trylock): Likewise.
6361
6362 2014-07-10 Roland McGrath <roland@hack.frob.com>
6363
6364 * nptl/pthread_create.c (start_thread): Use atomic_or and
6365 lll_futex_wake directly rather than lll_robust_dead.
6366 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
6367 (lll_robust_dead): Macro removed.
6368 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
6369 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
6370 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
6371 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
6372 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
6373 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
6374 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
6375 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
6376 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
6377 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
6378 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
6379 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
6380 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
6381 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
6382 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
6383
6384 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
6385 Use atomic_compare_and_exchange_val_acq directly rather than
6386 lll_robust_trylock.
6387 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
6388 (__lll_robust_trylock, lll_robust_trylock): Removed.
6389 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
6390 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
6391 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
6392 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
6393 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
6394 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
6395 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
6396 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
6397 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
6398 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
6399 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
6400 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
6401 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
6402 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
6403
6404 2014-07-02 Florian Weimer <fweimer@redhat.com>
6405
6406 * manual/locale.texi (Locale Names): New section documenting
6407 locale name syntax. Adjust menu and node chaining accordingly.
6408 (Choosing Locale): Reference Locale Names, Locale Categories.
6409 Mention setting LC_ALL=C. Reflect that name syntax is now
6410 documented.
6411 (Locale Categories): New section title. Reference Locale Names.
6412 LC_ALL is an environment variable, but not a category.
6413 (Setting the Locale): Remove "locale -a" invocation and LOCPATH
6414 description, now in Locale Name. Reference that section. Locale
6415 name syntax is now documented.
6416
6417 2014-07-02 Florian Weimer <fweimer@redhat.com>
6418
6419 [BZ #17137]
6420 * locale/findlocale.c (name_present, valid_locale_name): New
6421 functions.
6422 (_nl_find_locale): Use the loc_name variable to store name
6423 candidates. Call name_present and valid_locale_name to check and
6424 validate locale names. Return an error if the locale is invalid.
6425
6426 2014-07-02 Florian Weimer <fweimer@redhat.com>
6427
6428 * locale/setlocale.c (setlocale): Use strdup for allocating
6429 composite name copy.
6430
6431 2014-07-10 Siddhesh Poyarekar <siddhesh@redhat.com>
6432
6433 Sync up with gnulib.
6434 * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
6435 [!_LIBC && ENABLE_NLS]: Include gettext.h.
6436 [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
6437 and _GL_ARG_NONNULL.
6438 [USE_UNLOCKED_IO]: Include unlocked-io.h.
6439 [!_LIBC]: Include code for Windows and Cygwin.
6440 [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
6441 Include prototype for int strerror_r.
6442 [!_LIBC] (is_open): New function.
6443 (flush_stdout): New function.
6444 (print_errno_message): Use it.
6445 (error): Likewise.
6446 (error_at_line): Likewise.
6447 (error_tail) Add function attribute macros. Use
6448 __builtin_expect.
6449
6450 * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
6451
6452 * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
6453
6454 * io/ftw.c: Include sys/param.h unconditionally.
6455
6456 * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
6457
6458 [BZ #17125]
6459 * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
6460 libc_freeres_ptr.
6461 (freecache): New function to free CACHE on exit.
6462
6463 * sunrpc/xdr.c (xdr_string): Add comment about SIZE
6464 initialization.
6465
6466 2014-07-09 David S. Miller <davem@davemloft.net>
6467
6468 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6469
6470 * sysdeps/sparc/nptl/internaltypes.h: Delete.
6471 * sysdeps/sparc/nptl/sparc-nptl.h: New file.
6472 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
6473 * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
6474 * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
6475 * sysdeps/sparc/nptl/sem_init.c: Likewise.
6476 * sysdeps/sparc/nptl/sem_post.c: Likewise.
6477 * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
6478 * sysdeps/sparc/nptl/sem_wait.c: Likewise.
6479 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
6480 * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
6481 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
6482 * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
6483
6484 2014-07-09 Andreas Schwab <schwab@suse.de>
6485
6486 * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
6487 output.
6488 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
6489 (do_test): Likewise.
6490
6491 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
6492
6493 2014-07-09 Will Newton <will.newton@linaro.org>
6494
6495 * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
6496 * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
6497 * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
6498 * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
6499 * sysdeps/hppa/start.S (_start): Likewise.
6500
6501 2014-07-09 Siddhesh Poyarekar <siddhesh@redhat.com>
6502
6503 * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
6504
6505 * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
6506 defined.
6507
6508 2014-07-08 Siddhesh Poyarekar <siddhesh@redhat.com>
6509
6510 * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
6511 after checking that it is non-NULL.
6512
6513 * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
6514
6515 2014-07-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6516
6517 * sysdeps/powerpc/memmove.c: Remove file.
6518 * sysdeps/powerpc/powerpc32/power4/memcopy.h
6519 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
6520 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
6521 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
6522 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
6523 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
6524 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
6525 string memmove instead of removed powerpc one.
6526
6527 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
6528 [weak_alias]: Fix compiler warning due trailing data.
6529 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
6530 [weak_alias]: Likewise.
6531 * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
6532 warnigs due missing definition of __strcpy_power7 and __strlen_power7.
6533
6534 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
6535 (__libc_ifunc_impl_list): Add memmove functions.
6536
6537 2014-07-08 Siddhesh Poyarekar <siddhesh@redhat.com>
6538
6539 * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
6540 Remove code.
6541 * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
6542 Likewise
6543 * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
6544 Likewise
6545 * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
6546 Likewise
6547 * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
6548 Likewise
6549 * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
6550 Likewise
6551 * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
6552 Likewise
6553 * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
6554 Likewise
6555 * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
6556 Likewise
6557 * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
6558 Likewise
6559 * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
6560 Likewise
6561 * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
6562 Likewise
6563 * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
6564 Likewise
6565 * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
6566 Likewise
6567 * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
6568 Likewise
6569 * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
6570 Likewise
6571 * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
6572 Likewise
6573
6574 2014-07-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6575
6576 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
6577 to avoid alignment traps in non-cacheable memory.
6578 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
6579
6580 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
6581 multiarch objects.
6582 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
6583 file: multiarch power7 memmove.
6584 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
6585 multiarch default memmove.
6586 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
6587 multiarch memove for powerpc32/power4.
6588
6589 * string/bcopy.c: Use full path to include memmove.c.
6590 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
6591 multiarch objects.
6592 * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
6593 bcopy for powerpc64.
6594 * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
6595 bcopy for powerpc64.
6596 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
6597 and memmove implementations.
6598 * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
6599 optimized multiarch memmove for POWER7/powerpc64.
6600 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
6601 default multiarch memmove for powerpc64.
6602 * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
6603 multiarch for powerpc64.
6604 * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
6605 for POWER7/powerpc64.
6606 * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
6607 memmove for POWER7/powerpc64.
6608
6609 * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
6610 glibc default one.
6611
6612 * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
6613 __ELF_NATIVE_CLASS equal to 64.
6614
6615 2014-07-07 Roland McGrath <roland@hack.frob.com>
6616
6617 * sysdeps/nptl/lowlevellock.h: File removed.
6618
6619 * NEWS: NPTL is no longer an add-on!
6620 * nptl/internaltypes.h: Moved ...
6621 * sysdeps/nptl/internaltypes.h: ... here.
6622 * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
6623 * sysdeps/nptl/fork.c: Likewise.
6624 * sysdeps/nptl/gai_misc.h: Likewise.
6625 * sysdeps/nptl/librt-cancellation.c: Likewise.
6626 * sysdeps/nptl/jmp-unwind.c: Likewise.
6627 * sysdeps/nptl/setxid.h: Likewise.
6628 * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
6629 * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
6630 * sysdeps/unix/sysv/linux/arm/Implies: New file.
6631 * sysdeps/unix/sysv/linux/hppa/Implies: New file.
6632 * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
6633 * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
6634 * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
6635 * sysdeps/unix/sysv/linux/m68k/Implies: New file.
6636 * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
6637 * sysdeps/unix/sysv/linux/mips/Implies: New file.
6638 * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
6639 * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
6640 * sysdeps/unix/sysv/linux/sh/Implies: New file.
6641 * sysdeps/unix/sysv/linux/sparc/Implies: New file.
6642 * sysdeps/unix/sysv/linux/tile/Implies: New file.
6643 * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
6644 * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
6645 * nptl/Makeconfig: Moved ...
6646 * sysdeps/nptl/Makeconfig: ... here.
6647 * nptl/configure: File removed.
6648 * nptl/ANNOUNCE: File removed.
6649 * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
6650 * sysdeps/unix/sysv/linux/configure: Regenerated.
6651
6652 * nptl/Makefile (routines): Add libc_pthread_init,
6653 libc_multiple_threads, register-atfork and unregister-atfork.
6654 (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
6655 (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
6656 lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
6657 pthread-pi-defines.sym, structsem.sym.
6658 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
6659 (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
6660 [$(subdir) = nptl] (tests): Add tst-setgetname.
6661 * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
6662 * sysdeps/unix/sysv/linux/sigaction.c: Just include
6663 <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
6664 [!LIBC_SIGACTION]: Remove aliases.
6665 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
6666 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
6667 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
6668 * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
6669 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
6670 * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
6671 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
6672 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
6673 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
6674 * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
6675 (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
6676 __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
6677 __libc_allocate_rtsig_private.
6678 * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
6679 * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
6680 * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
6681 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
6682 * sysdeps/unix/sysv/linux/sleep.c: Likewise.
6683 * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
6684 * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
6685 * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
6686 * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
6687 * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
6688 * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
6689 * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
6690 * nptl/internaltypes.h: ... here.
6691 * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
6692 * sysdeps/nptl/jmp-unwind.c: ... here.
6693 * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
6694 * nptl/libc-lowlevellock.c: ... here.
6695 * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
6696 * nptl/libc_multiple_threads.c: ... here.
6697 * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
6698 * nptl/libc_pthread_init.c: ... here.
6699 * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
6700 * nptl/lowlevelbarrier.sym: ... here.
6701 * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
6702 * nptl/lowlevelcond.sym: ... here.
6703 * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
6704 * nptl/lowlevellock.c: ... here.
6705 * nptl/lowlevellock.h: Moved ...
6706 * sysdeps/nptl/lowlevellock.h: ... here.
6707 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
6708 * nptl/lowlevelrobustlock.c: ... here.
6709 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
6710 * nptl/lowlevelrobustlock.sym: ... here.
6711 * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
6712 * nptl/lowlevelrwlock.sym: ... here.
6713 * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
6714 * nptl/pt-fork.c: ... here.
6715 * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
6716 * nptl/pthread-pi-defines.sym: ... here.
6717 * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
6718 * nptl/pthread_attr_getaffinity.c: ... here.
6719 * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
6720 * nptl/pthread_attr_setaffinity.c: ... here.
6721 * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
6722 * nptl/pthread_mutex_cond_lock.c: ... here.
6723 * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
6724 Update #include.
6725 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
6726 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
6727 * nptl/pthread_once.c: ... here, replacing old file.
6728 * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
6729 * nptl/pthread_yield.c: ... here.
6730 * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
6731 * nptl/register-atfork.c: ... here.
6732 * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
6733 * nptl/sem_post.c: ... here.
6734 * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
6735 * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
6736 * nptl/sem_timedwait.c: ... here.
6737 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
6738 * nptl/sem_trywait.c: ... here.
6739 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
6740 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
6741 * nptl/sem_wait.c: ... here.
6742 * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
6743 * nptl/structsem.sym: ... here.
6744 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
6745 * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
6746 * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
6747 * nptl/unregister-atfork.c: ... here.
6748 * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
6749 * nptl/unwindbuf.sym: ... here.
6750 * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
6751 * sysdeps/nptl/fork.c: ... here.
6752 * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
6753 * sysdeps/nptl/fork.h: ... here.
6754 * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
6755 * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
6756 * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
6757 * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
6758 * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
6759 * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
6760 * sysdeps/unix/sysv/linux/getpid.c: ... here.
6761 * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
6762 * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
6763 * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
6764 * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
6765 * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
6766 * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
6767 * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
6768 * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
6769 * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
6770 * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
6771 * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
6772 * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
6773 * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
6774 * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
6775 * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
6776 * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
6777 * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
6778 * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
6779 * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
6780 * sysdeps/unix/sysv/linux/raise.c: ... here.
6781 * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
6782 * sysdeps/unix/sysv/linux/timer_create.c: ... here.
6783 * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
6784 * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
6785 * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
6786 * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
6787 * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
6788 * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
6789 * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
6790 * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
6791 * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
6792 * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
6793 * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
6794 * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
6795 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
6796
6797 2014-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
6798
6799 * sysdeps/generic/memcopy.h: Add comment for
6800 MEMCPY_OK_FOR_FWD_MEMMOVE.
6801
6802 2014-07-04 Will Newton <will.newton@linaro.org>
6803
6804 * string/memchr.c: Merge from gnulib.
6805 [_LIBC]: Remove conditionals.
6806 (__ptr_t): Remove define.
6807 (LONG_MAX_32_BITS): Likewise.
6808 (LONG_MAX): Likewise.
6809 (MEMCHR): Use ANSI prototype and optimize algorithm.
6810
6811 * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
6812
6813 2014-07-03 Roland McGrath <roland@hack.frob.com>
6814
6815 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
6816 (lll_futex_timed_wait_bitset): Fix syscall argument count.
6817
6818 * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
6819 Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
6820 in a bare environment with no <stdlib.h> installed.
6821 * sysdeps/nptl/configure: Regenerated.
6822
6823 * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
6824
6825 * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
6826 AC_EGREP_CPP for kernel header checks, so they only succeed if
6827 including <linux/version.h> actually works right.
6828 * sysdeps/unix/sysv/linux/configure: Regenerated.
6829
6830 * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
6831 value so it's not diagnosed as unused.
6832
6833 * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
6834 thing) with "ifeq ($(subdir),rt)".
6835
6836 2014-07-03 Richard Henderson <rth@redhat.com>
6837
6838 * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
6839 * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
6840 include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
6841
6842 * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
6843 (math_force_eval): New.
6844
6845 * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
6846 * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
6847
6848 * sysdeps/alpha/fpu/s_round.c: Remove file.
6849 * sysdeps/alpha/fpu/s_roundf.c: Remove file.
6850
6851 * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
6852 (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
6853 * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
6854 (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
6855 (_dl_start, print_statistics): Likewise.
6856 * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
6857 HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
6858
6859 * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
6860 * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
6861 * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
6862 * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
6863 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
6864 (HP_SMALL_TIMING_AVAIL): Define.
6865 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
6866 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
6867 (HP_SMALL_TIMING_AVAIL): Define.
6868 * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
6869 * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
6870
6871 * sysdeps/aarch64/hp-timing.h: New file.
6872
6873 * sysdeps/generic/hp-timing.h: Remove dead comment.
6874 * sysdeps/generic/hp-timing-common.h: New file.
6875 * sysdeps/alpha/hp-timing.h: Include it.
6876 (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
6877 * sysdeps/i386/i686/hp-timing.h: Likewise.
6878 * sysdeps/ia64/hp-timing.h: Likewise.
6879 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
6880 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
6881 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
6882 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
6883 * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
6884 (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
6885 (hp_timing_t): New.
6886
6887 * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
6888 * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
6889 (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
6890 * elf/rtld.c (_dl_start_final): Likewise.
6891 * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
6892 * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
6893 * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
6894 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
6895 * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
6896 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
6897 (HP_TIMING_DIFF_INIT): Remove.
6898 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
6899 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
6900 (HP_TIMING_DIFF_INIT): Remove.
6901 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
6902 * sysdeps/i386/i686/hp-timing.c: Remove file.
6903 * sysdeps/x86_64/hp-timing.c: Remove file.
6904 * sysdeps/ia64/hp-timing.c: Remove file.
6905 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
6906 * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
6907 * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
6908 * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
6909
6910 * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
6911 * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
6912 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
6913 * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
6914 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
6915 (HP_TIMING_ACCUM): Remove.
6916 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
6917 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
6918 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
6919
6920 * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
6921 * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
6922 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
6923 * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
6924 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
6925 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
6926 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
6927 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
6928
6929 * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
6930
6931 2014-07-03 Maciej W. Rozycki <macro@codesourcery.com>
6932
6933 * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
6934
6935 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
6936
6937 Sync up with gettext.
6938 * intl/loadmsgcat.c: Define O_BINARY if not defined.
6939 [_MSC_VER]: Include malloc.h
6940 [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
6941 (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
6942 (_nl_load_domain): Open DOMAIN_FILE in binary mode. Don't use
6943 TEMP_FAILURE_RETRY. Cast return of alloca.
6944 [!_LIBC] Call gl_rwlock_init.
6945 [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
6946
6947 2014-07-02 Roland McGrath <roland@hack.frob.com>
6948
6949 * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
6950 before checking its value.
6951
6952 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
6953
6954 * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
6955
6956 * debug/memcpy_chk.c: Don't include pagecopy.h.
6957 * debug/mempcpy_chk.c: Likewise.
6958 * string/memcpy.c: Likewise.
6959 * string/memmove.c: Likewise.
6960 * sysdeps/powerpc/memmove.c: Likewise.
6961 * sysdeps/generic/memcopy.h: Include pagecopy.h. Move
6962 definition of PAGE_COPY_FWD_MAYBE here...
6963 * sysdeps/generic/pagecopy.h: ... from here.
6964 * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
6965
6966 2014-07-02 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
6967 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6968
6969 * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
6970 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
6971 optimizations.
6972 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
6973 (__libc_ifunc_impl_list): Likewise.
6974 * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
6975 multiarch strcat for PPC64.
6976 * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
6977 * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
6978
6979 2014-07-02 Roland McGrath <roland@hack.frob.com>
6980
6981 * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
6982
6983 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
6984
6985 * intl/loadmsgcat.c: Remove declaration of
6986 get_sysdep_segment_value.
6987 (get_sysdep_segment_value): Use ISO C style.
6988 (_nl_load_domain): Use ISO C style. Get rid of redundant
6989 semicolon. Fix typo and formatting in comment.
6990 (_nl_unload_domain): Use ISO C style.
6991
6992 * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
6993
6994 2014-07-02 Will Newton <will.newton@linaro.org>
6995
6996 * malloc/obstack.c: Merge from gnulib master.
6997 [HAVE_CONFIG_H]: Remove conditional code.
6998 [!_LIBC]: Include config.h.
6999 [!ELIDE_CODE]: Don't include inttypes.h, include
7000 stdint.h unconditionally.
7001 (print_and_abort): Mark as _Noreturn.
7002 (_obstack_allocated_p): Mark as __attribute_pure__.
7003 (obstack_free): Rename to __obstack_free.
7004 [!__attribute__]: Remove conditional code.
7005 * malloc/obstack.h: Merge from gnulib master.
7006 [__cplusplus]: Move conditional down.
7007 [!__attribute_pure__]: Define __attribute_pure__ here
7008 if it is not already defined.
7009 (_obstack_memory_used): Mark as __attribute_pure__.
7010 [!__obstack_free]: Define as obstack_free.
7011 [__GNUC__]: Remove check for ancient NeXT gcc.
7012
7013 2014-07-02 Will Newton <will.newton@linaro.org>
7014 Paul Eggert <eggert@cs.ucla.edu>
7015
7016 * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
7017
7018 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
7019
7020 * resolv/gethnamaddr.c: Add comment warning that the file is
7021 not maintained.
7022
7023 2014-07-01 Carlos O'Donell <carlos@redhat.com>
7024
7025 * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
7026 entries.
7027
7028 * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
7029 entry for aio_cancel and aio_cancel64.
7030 * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
7031 * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
7032 * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
7033 * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
7034 * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
7035 * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
7036 * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
7037 * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
7038 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
7039 * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
7040 * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
7041 * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
7042 * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
7043
7044 2014-07-01 Roland McGrath <roland@hack.frob.com>
7045
7046 * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
7047 * nptl/pthread_mutex_lock.c: Likewise.
7048 * nptl/pthread_mutex_timedlock.c: Likewise.
7049 * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
7050
7051 2014-07-01 Richard henderson <rth@redhat.com>
7052
7053 * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
7054 (__isnan, __isnanl): Remove.
7055 * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
7056
7057 * sysdeps/alpha/fpu/libm-test-ulps: Update.
7058
7059 2014-07-01 Stefan Liebler <stli@linux.vnet.ibm.com>
7060
7061 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
7062
7063 2014-07-01 Siddhesh Poyarekar <siddhesh@redhat.com>
7064
7065 * resolv/nss_dns/dns-host.c (getanswer_r)
7066 [MULTI_PTRS_ARE_ALIASES]: Remove code.
7067
7068 2014-07-01 Joseph Myers <joseph@codesourcery.com>
7069
7070 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
7071 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
7072 undefine.
7073 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
7074 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
7075
7076 2014-07-01 Roland McGrath <roland@hack.frob.com>
7077
7078 * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
7079 * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
7080
7081 * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
7082 * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
7083
7084 * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
7085 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
7086 ... here.
7087 * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
7088 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
7089
7090 * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
7091 * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
7092 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
7093 * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
7094
7095 * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
7096 * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
7097 * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
7098 * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
7099 * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
7100 Moved ...
7101 * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
7102 ... here.
7103 * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
7104 * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
7105 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
7106 * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
7107 * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
7108 * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
7109 * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
7110 * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
7111 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
7112 * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
7113 * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
7114 * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
7115 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
7116 * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
7117 * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
7118 * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
7119 * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
7120 * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
7121 * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
7122 * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
7123 ... here.
7124 * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
7125 * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
7126 * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
7127 * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
7128 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
7129 * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
7130 * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
7131 * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
7132
7133 2014-07-01 David Holsgrove <david.holsgrove@xilinx.com>
7134
7135 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
7136 * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
7137 * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
7138 Add sysdep.
7139
7140 2014-06-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7141
7142 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7143
7144 2014-06-30 Joseph Myers <joseph@codesourcery.com>
7145
7146 * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
7147 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
7148
7149 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
7150
7151 * sysdeps/arm/libm-test-ulps: Regenerated.
7152
7153 2014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
7154 Roland McGrath <roland@hack.frob.com>
7155
7156 * test-skeleton.c (signal_handler): Kill the whole process group
7157 before killing the child individually.
7158 (main): Report any failure on `setpgid'.
7159
7160 2014-06-30 Roland McGrath <roland@hack.frob.com>
7161
7162 * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
7163 from _TLS_H to _ARM_NPTL_TLS_H.
7164 (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
7165 * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
7166
7167 2014-06-30 Joseph Myers <joseph@codesourcery.com>
7168
7169 [BZ #16539]
7170 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
7171 (__expm1l): Return argument unchanged when small but not
7172 subnormal.
7173
7174 * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
7175 include macro name.
7176 (_FP_UNPACK_RAW_1_P): Likewise.
7177 (_FP_PACK_RAW_1): Likewise.
7178 (_FP_PACK_RAW_1_P): Likewise.
7179 (_FP_MUL_MEAT_1_wide): Likewise.
7180 (_FP_MUL_MEAT_DW_1_hard): Likewise.
7181 (_FP_MUL_MEAT_1_hard): Likewise.
7182 (_FP_DIV_MEAT_1_imm): Likewise.
7183 (_FP_DIV_MEAT_1_udiv_norm): Likewise.
7184 (_FP_DIV_MEAT_1_udiv): Likewise.
7185 * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
7186 (_FP_UNPACK_RAW_2): Likewise.
7187 (_FP_UNPACK_RAW_2_P): Likewise.
7188 (_FP_PACK_RAW_2): Likewise.
7189 (_FP_PACK_RAW_2_P): Likewise.
7190 (_FP_MUL_MEAT_DW_2_wide): Likewise.
7191 (_FP_MUL_MEAT_2_wide): Likewise.
7192 (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
7193 (_FP_MUL_MEAT_2_wide_3mul): Likewise.
7194 (_FP_MUL_MEAT_DW_2_gmp): Likewise.
7195 (_FP_MUL_MEAT_2_gmp): Likewise.
7196 (_FP_DIV_MEAT_2_udiv): Likewise.
7197 * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
7198 (_FP_FRAC_SRL_4): Likewise.
7199 (_FP_FRAC_SRST_4): Likewise.
7200 (_FP_FRAC_SRS_4): Likewise.
7201 (_FP_UNPACK_RAW_4): Likewise.
7202 (_FP_UNPACK_RAW_4_P): Likewise.
7203 (_FP_PACK_RAW_4): Likewise.
7204 (_FP_PACK_RAW_4_P): Likewise.
7205 (_FP_MUL_MEAT_DW_4_wide): Likewise.
7206 (_FP_MUL_MEAT_4_wide): Likewise.
7207 (_FP_MUL_MEAT_4_gmp): Likewise.
7208 (umul_ppppmnnn): Likewise.
7209 (_FP_DIV_MEAT_4_udiv): Likewise.
7210 (__FP_FRAC_ADD_4): Likewise.
7211 (__FP_FRAC_SUB_3): Likewise.
7212 (__FP_FRAC_SUB_4): Likewise.
7213 (__FP_FRAC_DEC_3): Likewise.
7214 (__FP_FRAC_DEC_4): Likewise.
7215 (__FP_FRAC_ADDI_4): Likewise.
7216 * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
7217 (_FP_FRAC_SRL_8): Likewise.
7218 (_FP_FRAC_SRS_8): Likewise.
7219
7220 * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
7221 include macro name.
7222 (FP_UNPACK_RAW_EP): Likewise.
7223 (FP_PACK_RAW_E): Likewise.
7224 (FP_PACK_RAW_EP): Likewise.
7225 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
7226 (_FP_ISSIGNAN): Likewise.
7227 (_FP_ADD_INTERNAL): Likewise.
7228 (_FP_FMA): Likewise.
7229 (_FP_CMP): Likewise.
7230 (_FP_SQRT): Likewise.
7231 (_FP_TO_INT): Likewise.
7232 (_FP_FROM_INT): Likewise.
7233 (FP_EXTEND): Likewise.
7234 (_FP_DIV_MEAT_N_loop): Likewise.
7235
7236 2014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
7237
7238 * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
7239 throughout.
7240
7241 2014-06-29 Joseph Myers <joseph@codesourcery.com>
7242
7243 [BZ #17097]
7244 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
7245 result with correct sign in case of exponents that produce
7246 overflow except for X very close to 1.
7247
7248 2014-06-28 Paul Eggert <eggert@cs.ucla.edu>
7249
7250 mktime: merge #if/#ifdef usage from glibc
7251 * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
7252 as that works with both Glibc's and Gnulib's style.
7253 See thread starting at Siddhesh Poyarekar's bug report at:
7254 http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
7255
7256 2014-06-28 Siddhesh Poyarekar <siddhesh@redhat.com>
7257
7258 * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
7259 * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
7260 * sysdeps/tile/tilegx/memmove.c: Remove file.
7261
7262 2014-06-27 Joseph Myers <joseph@codesourcery.com>
7263
7264 * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
7265 abi-name definition.
7266 * scripts/soversions.awk: Do not handle or generate ABI lines.
7267 * shlib-versions: Remove ABI entries.
7268 * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
7269 * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
7270
7271 2014-06-27 Roland McGrath <roland@hack.frob.com>
7272
7273 * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
7274 * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
7275 * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
7276 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
7277 * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
7278 * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
7279 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
7280 Moved ...
7281 * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
7282 ... here.
7283 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
7284 * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
7285 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
7286 * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
7287 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
7288 * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
7289 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
7290 * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
7291 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
7292 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
7293 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
7294 * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
7295 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
7296 Moved ...
7297 * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
7298 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
7299 * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
7300 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
7301 * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
7302 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
7303 Moved ...
7304 * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
7305 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
7306 Moved ...
7307 * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
7308 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
7309 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
7310 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
7311 Moved ...
7312 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
7313 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
7314 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
7315 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
7316 * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
7317 * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
7318 * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
7319 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
7320 Moved ...
7321 * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
7322 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
7323 * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
7324 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
7325 Moved ...
7326 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
7327 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
7328 Moved ...
7329 * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
7330 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
7331 * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
7332 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
7333 Moved ...
7334 * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
7335 ... here.
7336 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
7337 Identical file removed.
7338 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
7339 Moved ...
7340 * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
7341 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
7342 Identical file removed.
7343 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
7344 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
7345 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
7346 Moved ...
7347 * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
7348 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
7349 Identical file removed.
7350 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
7351 * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
7352 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
7353 Identical file removed.
7354 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
7355 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
7356 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
7357 Identical file removed.
7358 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
7359 * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
7360 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
7361 Identical file removed.
7362 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
7363 Moved ...
7364 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
7365 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
7366 Identical file removed.
7367 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
7368 Moved ...
7369 * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
7370 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
7371 * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
7372 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
7373 Identical file removed.
7374 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
7375 Moved ...
7376 * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
7377 ... here.
7378 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
7379 Identical file removed.
7380 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
7381 Moved ...
7382 * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
7383 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
7384 Identical file removed.
7385 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
7386 Moved ...
7387 * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
7388 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
7389 * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
7390 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
7391 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
7392 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
7393 Moved ...
7394 * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
7395 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
7396 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
7397
7398 * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
7399 SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
7400 * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
7401 * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
7402 * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
7403
7404 2014-06-27 Arjun Shankar <arjun.is@lostca.se>
7405
7406 [BZ #17092]
7407 * nscd/nscd.c (monitor_child): Return exit status of child
7408 instead of return value from wait syscall.
7409
7410 2014-06-27 Joseph Myers <joseph@codesourcery.com>
7411
7412 * configure.ac (libc_commonpagesize): Remove variable.
7413 (libc_relro_required): Likewise.
7414 (libc_cv_z_relro): Remove configure test.
7415 * configure: Regenerated.
7416 * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
7417 variable.
7418 (libc_relro_required): Likewise.
7419 * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
7420 (libc_relro_required): Likewise.
7421 * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
7422 (libc_relro_required): Likewise.
7423 * sysdeps/arm/preconfigure: Regenerated.
7424 * sysdeps/ia64/preconfigure: Remove file.
7425 * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
7426 variable.
7427 (libc_relro_required): Likewise.
7428
7429 [BZ #16561]
7430 [BZ #16562]
7431 * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
7432 (__ieee754_yn): Set FE_TONEAREST mode internally and then
7433 recompute overflowing results in original rounding mode.
7434 * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
7435 (__ieee754_ynf): Set FE_TONEAREST mode internally and then
7436 recompute overflowing results in original rounding mode.
7437 * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
7438 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
7439 recompute overflowing results in original rounding mode.
7440 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
7441 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
7442 recompute overflowing results in original rounding mode.
7443 * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
7444 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
7445 recompute overflowing results in original rounding mode.
7446 * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
7447 (libc_feholdsetround_ctx): New macro.
7448 * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
7449 * sysdeps/i386/fpu/libm-test-ulps: Update.
7450 * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
7451
7452 2014-06-26 Joseph Myers <joseph@codesourcery.com>
7453
7454 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
7455 [__PIC__] (PSEUDO): Use name of _nocancel entry point in
7456 corresponding .cpsetup call.
7457
7458 2014-06-26 Roland McGrath <roland@hack.frob.com>
7459
7460 * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
7461 * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
7462 * sysdeps/arm/Makefile [$(subdir) = csu]
7463 (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
7464 (static-only-routines): Add aeabi_read_tp here.
7465 (shared-only-routines): Add libc-aeabi_read_tp here.
7466 (CFLAGS-libc-start.c): Add -fexceptions here.
7467 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
7468 (sysdep_routines, static-only-routines, shared-only-routines):
7469 Don't add to these here.
7470 (CFLAGS-libc-start.c): Likewise.
7471
7472 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
7473 * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
7474 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
7475 * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
7476 * sysdeps/arm/Makefile [$(subdir) = rt]
7477 (librt-sysdep_routines, librt-shared-only-routines):
7478 Append rt-aeabi_unwind_cpp_pr1 here.
7479 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
7480 (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
7481 * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
7482 (libpthread-sysdep_routines, libpthread-shared-only-routines):
7483 Append nptl-aeabi_unwind_cpp_pr1 here.
7484 (tests): Filter out tst-cleanupx4 here.
7485 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
7486 (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
7487 Don't do those here.
7488
7489 2014-06-26 Joseph Myers <joseph@codesourcery.com>
7490
7491 * scripts/list-sources.sh: Do not handle ports specially.
7492
7493 2014-06-26 Roland McGrath <roland@hack.frob.com>
7494
7495 * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
7496 * sysdeps/arm/feupdateenv.c: Likewise.
7497
7498 * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
7499
7500 2014-06-26 Joseph Myers <joseph@codesourcery.com>
7501
7502 * manual/texinfo.tex: Update to version 2014-05-05.10 with
7503 trailing whitespace removed.
7504 * scripts/config.guess: Update to version 2014-03-23.
7505 * scripts/config.sub: Update to version 2014-05-01
7506 * scripts/install-sh: Update to version 2013-12-25.23.
7507 * scripts/move-if-change: Update from gnulib.
7508
7509 2014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
7510
7511 * debug/memmove_chk.c: Remove pagecopy.h include.
7512
7513 2014-06-26 Paul Eggert <eggert@cs.ucla.edu>
7514
7515 * time/mktime.c (leapyear): Remove inline keyword. The code is now
7516 identical to gnulib mktime.
7517
7518 2014-06-26 Joseph Myers <joseph@codesourcery.com>
7519
7520 * configure.ac: Do not test for machine being rs6000. Do not test
7521 for powerpc*-*soft.
7522 * configure: Regenerated.
7523
7524 * configure.ac (libc_cv_asm_cfi_directives): Remove configure
7525 test.
7526 * configure: Regenerated.
7527 * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
7528 * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
7529 Remove configure test.
7530 * sysdeps/arm/configure: Regenerated.
7531 * sysdeps/nptl/configure.ac: Do not check
7532 libc_cv_asm_cfi_directives.
7533 * sysdeps/nptl/configure: Regenerated.
7534 * sysdeps/x86_64/nptl/configure.ac: Remove file.
7535 * sysdeps/x86_64/nptl/configure: Remove generated file.
7536 * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
7537 unconditional.
7538 [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
7539
7540 2014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
7541
7542 * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
7543 * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
7544 (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
7545 it is defined.
7546
7547 * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
7548 instead of whether it is defined.
7549 * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
7550 * sysdeps/hppa/dl-machine.h: Likewise.
7551 * sysdeps/ia64/dl-machine.h: Likewise.
7552 * sysdeps/m68k/dl-machine.h: Likewise.
7553 * sysdeps/microblaze/dl-machine.h: Likewise.
7554 * sysdeps/mips/dl-machine.: Likewise.
7555 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
7556 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
7557 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
7558 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
7559 * sysdeps/sh/dl-machine.h: Likewise.
7560 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
7561 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
7562 * sysdeps/tile/dl-machine.h: Likewise.
7563 * sysdeps/x86_64/dl-machine.h: Likewise.
7564
7565 * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
7566 code.
7567 (verify_persistent_db): Likewise.
7568
7569 2014-06-26 Roland McGrath <roland@hack.frob.com>
7570
7571 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
7572 * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
7573 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
7574 * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
7575 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
7576 Moved ...
7577 * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
7578 ... here.
7579 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
7580 * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
7581 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
7582 Identical file removed.
7583 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
7584 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
7585 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
7586 * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
7587 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
7588 * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
7589 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
7590 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
7591 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
7592 * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
7593 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
7594 Moved ...
7595 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
7596 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
7597 * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
7598 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
7599 * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
7600 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
7601 Moved ...
7602 * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
7603 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
7604 * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
7605 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
7606 * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
7607 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
7608 Identical file removed.
7609 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
7610 * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
7611 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
7612 * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
7613 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
7614 Moved ...
7615 * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
7616 ... here.
7617 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
7618 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
7619 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
7620 * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
7621 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
7622 * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
7623 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
7624 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
7625 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
7626 * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
7627 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
7628 Moved ...
7629 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
7630 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
7631 Moved ...
7632 * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
7633 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
7634 * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
7635 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
7636 Moved ...
7637 * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
7638 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
7639 * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
7640
7641 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
7642 folded into ...
7643 * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
7644 * sysdeps/unix/sysv/linux/s390/Versions
7645 (libpthread: GLIBC_2.19): New version set.
7646 * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
7647 * sysdeps/unix/sysv/linux/s390/s390-64/Versions
7648 (librt: GLIBC_2.3.3): New version set.
7649 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
7650 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
7651 * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
7652 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
7653 * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
7654 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
7655 * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
7656 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
7657 * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
7658 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
7659 * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
7660 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
7661 * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
7662 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
7663 * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
7664 * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
7665 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
7666 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
7667 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
7668 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
7669 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
7670 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
7671 * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
7672 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
7673 * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
7674 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
7675 * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
7676 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
7677 * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
7678 * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
7679 * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
7680 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
7681 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
7682 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
7683 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
7684 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
7685 * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
7686 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
7687 * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
7688 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
7689 * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
7690 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
7691 * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
7692 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
7693 * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
7694
7695 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
7696 * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
7697 (__libc_vfork): Define the function under this name.
7698 [!NOT_IN_libc] (__vfork): Make this an alias.
7699 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
7700 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
7701 * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
7702 (__libc_vfork): Define the function under this name.
7703 [!NOT_IN_libc] (__vfork): Make this an alias.
7704 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
7705 * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
7706 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
7707 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
7708 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
7709 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
7710
7711 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
7712 code that was previously under [RESET_PID].
7713 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
7714 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
7715 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
7716
7717 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
7718 * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
7719 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
7720 * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
7721 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
7722 * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
7723 * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
7724 * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
7725 * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
7726 * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
7727 * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
7728 Moved ...
7729 * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
7730 * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
7731 * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
7732 * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
7733 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
7734 * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
7735 * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
7736 * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
7737 * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
7738 * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
7739 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
7740 * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
7741 * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
7742 * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
7743 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
7744 * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
7745 * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
7746 * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
7747 * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
7748 * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
7749 * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
7750 * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
7751 * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
7752 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
7753 * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
7754 * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
7755 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
7756 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
7757 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
7758
7759 2014-06-25 Roland McGrath <roland@hack.frob.com>
7760
7761 * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
7762 that was previously under [RESET_PID].
7763 * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
7764
7765 2014-06-25 Joseph Myers <joseph@codesourcery.com>
7766
7767 * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
7768 not undefine and redefine.
7769 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
7770 [O_CLOEXEC]: Make code unconditional.
7771 (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
7772 * sysdeps/unix/sysv/linux/shm_open.c: Do not include
7773 <kernel-features.h>.
7774 [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
7775 conditional variable definition.
7776 (shm_open) [O_CLOEXEC]: Make code unconditional.
7777 (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
7778 code.
7779
7780 * configure.ac (USE_REGPARMS): Don't define here.
7781 * configure: Regenerated.
7782 * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
7783 * sysdeps/i386/configure: Regenerated.
7784
7785 * nptl/createthread.c: Don't include kernel-features.h.
7786 * nptl/pthread_cancel.c: Likewise.
7787 * nptl/pthread_condattr_setclock.c: Likewise.
7788 * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
7789 * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
7790 * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
7791 * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
7792 * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
7793 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
7794 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
7795 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
7796 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
7797 * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
7798 * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
7799 * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
7800 * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
7801 * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
7802 * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
7803 * nscd/gai.c: Likewise.
7804 * nss/nss_db/db-open.c: Likewise.
7805 * sysdeps/generic/ldsodefs.h: Likewise.
7806 * sysdeps/sh/nptl/tls.h: Likewise.
7807 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
7808 * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
7809 * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
7810 * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
7811 * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
7812 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
7813 * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
7814 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
7815 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
7816 * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
7817 * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
7818 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
7819 * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
7820 * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
7821 * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
7822 * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
7823 * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
7824 * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
7825 * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
7826 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
7827 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
7828 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
7829 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
7830 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
7831 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
7832 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
7833 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
7834 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
7835 * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
7836 * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
7837 * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
7838 * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
7839 * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
7840 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
7841 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
7842 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
7843 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
7844 * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
7845 * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
7846 * sysdeps/unix/sysv/linux/if_index.c: Likewise.
7847 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
7848 * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
7849 * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
7850 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
7851 * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
7852 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
7853 * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
7854 * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
7855 * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
7856 * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
7857 * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
7858 * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
7859 * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
7860 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
7861 * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
7862 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
7863 * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
7864 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
7865 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
7866 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
7867 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
7868 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
7869 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
7870 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
7871 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
7872 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
7873 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
7874 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
7875 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
7876 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
7877 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
7878 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
7879 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
7880 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
7881 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
7882 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
7883 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
7884 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
7885 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
7886 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
7887 * sysdeps/unix/sysv/linux/pread.c: Likewise.
7888 * sysdeps/unix/sysv/linux/pread64.c: Likewise.
7889 * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
7890 * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
7891 * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
7892 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
7893 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
7894 * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
7895 * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
7896 * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
7897 * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
7898 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
7899 * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
7900 * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
7901 * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
7902 * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
7903 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
7904 * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
7905 * sysdeps/unix/sysv/linux/syslog.c: Likewise.
7906 * sysdeps/unix/sysv/linux/system.c: Likewise.
7907 * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
7908 * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
7909 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
7910 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
7911 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
7912 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
7913 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
7914
7915 * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
7916 * configure: Regenerated.
7917 * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
7918
7919 * configure.ac (base_machine): Do not set specially for particular
7920 machines here.
7921 * configure: Regenerated.
7922 * sysdeps/powerpc/preconfigure: Move machine and base_machine
7923 settings from configure.ac.
7924 * sysdeps/i386/preconfigure: New file.
7925 * sysdeps/s390/preconfigure: Likewise.
7926 * sysdeps/sh/preconfigure: Likewise.
7927 * sysdeps/sparc/preconfigure: Likewise.
7928
7929 2014-06-25 Roland McGrath <roland@hack.frob.com>
7930
7931 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
7932 * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
7933 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
7934 * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
7935 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
7936 * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
7937 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
7938 * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
7939 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
7940 * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
7941 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
7942 * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
7943 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
7944 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
7945 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
7946 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
7947 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
7948 * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
7949 * sysdeps/sparc/sparc64/Makefile: ... appended here.
7950
7951 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
7952 * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
7953 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
7954 * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
7955 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
7956 * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
7957 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
7958 * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
7959 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
7960 * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
7961 * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
7962 * sysdeps/sparc/sparc32/sem_post.c: ... here.
7963 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
7964 * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
7965 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
7966 * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
7967 * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
7968 * sysdeps/sparc/sparc32/sem_wait.c: ... here.
7969 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
7970 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
7971 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
7972 * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
7973 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
7974 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
7975 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
7976 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
7977 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
7978 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
7979 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
7980 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
7981 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
7982 * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
7983 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
7984 * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
7985 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
7986 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
7987 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
7988 * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
7989
7990 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
7991 * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
7992 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
7993 * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
7994 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
7995 Moved ...
7996 * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
7997 ... here.
7998 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
7999 * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
8000 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
8001 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
8002 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
8003 Moved ...
8004 * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
8005 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
8006 * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
8007 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
8008 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
8009 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
8010 * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
8011 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
8012 Moved ...
8013 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
8014 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
8015 Moved ...
8016 * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
8017 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
8018 * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
8019 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
8020 Moved ...
8021 * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
8022 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
8023 * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
8024 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
8025 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
8026 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
8027 * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
8028 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
8029 * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
8030 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
8031 Moved ...
8032 * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
8033 ... here.
8034 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
8035 * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
8036 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
8037 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
8038 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
8039 Moved ...
8040 * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
8041 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
8042 * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
8043 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
8044 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
8045 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
8046 * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
8047 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
8048 Moved ...
8049 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
8050 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
8051 Moved ...
8052 * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
8053 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
8054 * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
8055 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
8056 Moved ...
8057 * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
8058 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
8059 * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
8060 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
8061 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
8062
8063 2014-06-25 Joseph Myers <joseph@codesourcery.com>
8064
8065 * timezone/checktab.awk: Update from tzcode 2014e.
8066 * timezone/private.h: Likewise.
8067 * timezone/tzfile.h: Likewise.
8068 * timezone/zdump.c: Likewise.
8069 * timezone/zic.c: Likewise.
8070
8071 * sysdeps/unix/sysv/linux/kernel-features.h
8072 (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
8073 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
8074 [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
8075 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
8076 Remove conditional code.
8077
8078 2014-06-25 Will Newton <will.newton@linaro.org>
8079
8080 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
8081 (_dl_arm_cap_flags): Add HWCAP2 values.
8082 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
8083 (_DL_HWCAP_COUNT): Increase to 37.
8084 (_DL_HWCAP_LAST): New define.
8085 (_DL_HWCAP2_LAST): New define.
8086 (_dl_procinfo): Add support for printing
8087 AT_HWCAP2 entries.
8088 (_dl_string_hwcap): Use _dl_hwcap_string.
8089
8090 2014-06-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8091
8092 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8093
8094 2014-06-25 Joseph Myers <joseph@codesourcery.com>
8095
8096 * README: Do not mention ports directory.
8097
8098 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
8099 Remove macro.
8100 * sysdeps/unix/sysv/linux/futimes.c: Do not include
8101 <kernel-features.h>.
8102 [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
8103 conditional variable definition.
8104 (__futimes): Update comment.
8105 (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
8106 (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
8107
8108 [BZ #16560]
8109 * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
8110 arguments close to 0.
8111 * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
8112 Likewise.
8113 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
8114 Likewise.
8115 * math/auto-libm-test-in: Add more tests of exp10.
8116 * math/auto-libm-test-out: Regenerated.
8117 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8118
8119 * sysdeps/unix/sysv/linux/kernel-features.h
8120 (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
8121 * sysdeps/unix/sysv/linux/readv.c: Do not include
8122 <kernel-features.h>.
8123 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
8124 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
8125 (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
8126 unconditional.
8127 (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
8128 conditional code.
8129 * sysdeps/unix/sysv/linux/writev.c: Do not include
8130 <kernel-features.h>.
8131 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
8132 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
8133 (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
8134 unconditional.
8135 (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
8136 conditional code.
8137
8138 2014-06-25 Will Newton <will.newton@linaro.org>
8139
8140 * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
8141 comment changes throughout the file. Remove checks
8142 for HAVE_*_H definitions that are not required.
8143 (__gen_tempname): Call abort if an unknown kind value is
8144 passed.
8145
8146 2014-06-25 Andreas Schwab <schwab@suse.de>
8147
8148 [BZ #17086]
8149 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
8150 scalbln, scalblnf, scalblnl in libc.
8151
8152 2014-06-25 Siddhesh Poyarekar <siddhesh@redhat.com>
8153
8154 [BZ #17086]
8155 * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
8156 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
8157 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
8158
8159 2014-06-24 Roland McGrath <roland@hack.frob.com>
8160
8161 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
8162 * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
8163 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
8164 * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
8165 Update #include.
8166 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
8167 * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
8168 Update #include.
8169 * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
8170 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
8171 * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
8172 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
8173 * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
8174 * sysdeps/x86/bits/pthreadtypes.h: ... here.
8175 * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
8176 * sysdeps/x86/bits/semaphore.h: ... here.
8177 * sysdeps/x86/nptl/elide.h: Moved ...
8178 * sysdeps/x86/elide.h: ... here.
8179 * sysdeps/x86_64/nptl/Implies: File removed.
8180 * sysdeps/i386/nptl/Implies: File removed.
8181
8182 2014-06-24 Joseph Myers <joseph@codesourcery.com>
8183
8184 [BZ #16539]
8185 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
8186 return the argument for normal arguments with exponent below -64.
8187 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
8188 Likewise.
8189 * math/auto-libm-test-in: Add another test of expm1.
8190 * math/auto-libm-test-out: Regenerated.
8191
8192 [BZ #16287]
8193 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
8194 calling __erfcl for arguments at least 16.
8195 * math/auto-libm-test-in: Add more tests of erf.
8196 * math/auto-libm-test-out: Regenerated.
8197
8198 * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
8199 individual architectures.
8200 * sysdeps/unix/sysv/linux/configure: Regenerated.
8201 * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
8202 * sysdeps/unix/sysv/linux/i386/configure: New generated file.
8203 * sysdeps/unix/sysv/linux/powerpc/configure.ac
8204 (ldd_rewrite_script): Define variable.
8205 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
8206 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
8207 file.
8208 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
8209 generated file.
8210 * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
8211 * sysdeps/unix/sysv/linux/s390/configure: New generated file.
8212 * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
8213 * sysdeps/unix/sysv/linux/sh/configure: New generated file.
8214 * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
8215 * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
8216 * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
8217 * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
8218
8219 2014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
8220
8221 [BZ #17084]
8222 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
8223 Rename member __data.d to __data.__elision_data.
8224
8225 2014-06-24 Wilco <wdijkstr@arm.com>
8226
8227 * NEWS: Add 16918 to fixed bug list.
8228
8229 2014-06-24 Wilco <wdijkstr@arm.com>
8230
8231 * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
8232
8233 2014-06-24 Wilco <wdijkstr@arm.com>
8234
8235 * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
8236 * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
8237 (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
8238 (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
8239 (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
8240 * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
8241 * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
8242 Use _FPU_MASK_RM.
8243
8244 2014-06-24 Wilco <wdijkstr@arm.com>
8245
8246 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
8247
8248 2014-06-24 Wilco <wdijkstr@arm.com>
8249
8250 * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
8251 * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
8252 * sysdeps/arm/fesetround.c (fesetround): Remove space.
8253 * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
8254
8255 2014-06-24 Wilco <wdijkstr@arm.com>
8256
8257 [BZ #16918]
8258 * sysdeps/arm/feupdateenv.c (feupdateenv):
8259 Rewrite to reduce FPSCR accesses and fix return value.
8260
8261 2014-06-24 Wilco <wdijkstr@arm.com>
8262
8263 * sysdeps/arm/fclrexcpt.c (feclearexcept):
8264 Optimize to avoid unnecessary FPSCR writes.
8265 * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
8266 * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
8267 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
8268 * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
8269
8270 2014-06-24 Wilco <wdijkstr@arm.com>
8271
8272 * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
8273 * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
8274 * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
8275 * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
8276 Call libc_fetestexcept_vfp.
8277 * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
8278 * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
8279 __SOFTFP__ ifdef so that they can be built for softfp.
8280
8281 2014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
8282
8283 * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
8284 argument type signed char.
8285
8286 * Makerules (check-abi): Dump diff of symlist if the test
8287 fails.
8288
8289 2014-06-23 Roland McGrath <roland@hack.frob.com>
8290
8291 * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
8292 using abort.
8293
8294 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
8295 Remove unused variable ST.
8296
8297 2014-06-23 Joseph Myers <joseph@codesourcery.com>
8298
8299 [BZ #16354]
8300 [BZ #17061]
8301 * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
8302 small arguments before calling __expm1.
8303 * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
8304 small arguments before calling __expm1f.
8305 * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
8306 small arguments before calling __expm1l.
8307 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
8308 Likewise.
8309 * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
8310 * math/auto-libm-test-in: Add more cosh tests. Do not allow
8311 spurious underflow for some cosh tests.
8312 * math/auto-libm-test-out: Regenerated.
8313 * sysdeps/i386/fpu/libm-test-ulps: Update.
8314
8315 [BZ #17050]
8316 * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
8317 (__ieee754_y1): Set errno if return value overflows.
8318 * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
8319 (__ieee754_y1f): Set errno if return value overflows.
8320 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
8321 (__ieee754_y1l): Set errno if return value overflows.
8322 * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
8323 (__ieee754_y1l): Set errno if return value overflows.
8324 * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
8325 * math/auto-libm-test-out: Regenerated.
8326
8327 * math/gen-auto-libm-tests.c: Document use of
8328 ignore-zero-inf-sign.
8329 (input_flag_type): Add value flag_ignore_zero_inf_sign.
8330 (input_flags): Add ignore-zero-inf-sign.
8331 (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
8332 * math/gen-libm-test.pl (generate_testfile): Handle
8333 ignore-zero-inf-sign.
8334 * math/auto-libm-test-in: Mark some cpow tests with
8335 ignore-zero-inf-sign and some with xfail-rounding.
8336 * math/auto-libm-test-out: Regenerated.
8337 * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
8338 * sysdeps/i386/fpu/libm-test-ulps: Update.
8339 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8340
8341 [BZ #16315]
8342 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
8343 overflowing or underflowing operations take place with sign of
8344 result.
8345 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
8346 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
8347 * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
8348 (__ieee754_pow): Recompute overflowing and underflowing results in
8349 original rounding mode.
8350 * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
8351 (__powl_helper): Allow negative argument X and scale negated value
8352 as needed. Avoid passing value outside [-1, 1] to f2xm1.
8353 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
8354 overflowing or underflowing operations take place with sign of
8355 result.
8356 * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
8357 Include <math.h>.
8358 * math/auto-libm-test-in: Add more tests of pow.
8359 * math/auto-libm-test-out: Regenerated.
8360 * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
8361 (pow_tonearest_test_data): Remove.
8362 (pow_test_tonearest): Likewise.
8363 (pow_towardzero_test_data): Likewise.
8364 (pow_test_towardzero): Likewise.
8365 (pow_downward_test_data): Likewise.
8366 (pow_test_downward): Likewise.
8367 (pow_upward_test_data): Likewise.
8368 (pow_test_upward): Likewise.
8369 (main): Don't call removed functions.
8370 * sysdeps/i386/fpu/libm-test-ulps: Update.
8371 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8372
8373 2014-06-23 Roland McGrath <roland@hack.frob.com>
8374
8375 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
8376 Moved ...
8377 * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
8378 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
8379 Moved ...
8380 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
8381 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
8382 Moved ...
8383 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
8384 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
8385 Moved ...
8386 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
8387 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
8388 File removed.
8389 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
8390 File removed.
8391 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
8392 File removed.
8393 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
8394 File removed.
8395 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
8396 File removed.
8397 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
8398 File removed.
8399 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
8400 File removed.
8401 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
8402 File removed.
8403 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
8404 File removed.
8405 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
8406 File removed.
8407 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
8408 File removed.
8409 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
8410 File removed.
8411 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
8412 Moved ...
8413 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
8414 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
8415 Moved ...
8416 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
8417 ... here.
8418 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
8419 Moved ...
8420 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
8421 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
8422 Moved ...
8423 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
8424 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
8425 Moved ...
8426 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
8427 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
8428 Moved ...
8429 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
8430 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
8431 Moved ...
8432 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
8433 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
8434 Moved ...
8435 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
8436 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
8437 Moved ...
8438 * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
8439 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
8440 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
8441 ... here.
8442 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
8443 Moved ...
8444 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
8445 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
8446 Moved ...
8447 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
8448 ... here.
8449 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
8450 Moved ...
8451 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
8452 ... here.
8453 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
8454 Moved ...
8455 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
8456 ... here.
8457 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
8458 Moved ...
8459 * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
8460 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
8461 Moved ...
8462 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
8463 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
8464 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
8465 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
8466 Moved ...
8467 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
8468 ... here.
8469 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
8470 Moved ...
8471 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
8472 ... here.
8473 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
8474 Moved ...
8475 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
8476 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
8477 Moved ...
8478 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
8479 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
8480 Moved ...
8481 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
8482 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
8483 Moved ...
8484 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
8485 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
8486 Moved ...
8487 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
8488 ... here.
8489 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
8490 Moved ...
8491 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
8492 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
8493 Moved ...
8494 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
8495 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
8496 Moved ...
8497 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
8498 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
8499 Moved ...
8500 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
8501 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
8502 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
8503 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
8504 Moved ...
8505 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
8506 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
8507 Moved ...
8508 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
8509 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
8510 Moved ...
8511 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
8512 ... here.
8513 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
8514 Moved ...
8515 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
8516 ... here.
8517 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
8518 Moved ...
8519 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
8520 ... here.
8521 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
8522 Moved ...
8523 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
8524 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
8525 Moved ...
8526 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
8527 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
8528 Moved ...
8529 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
8530 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
8531 Moved ...
8532 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
8533 ... here.
8534 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
8535 Moved ...
8536 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
8537 ... here.
8538 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
8539 Moved ...
8540 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
8541 ... here.
8542 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
8543 Moved ...
8544 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
8545 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
8546 Moved ...
8547 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
8548
8549 2014-06-23 Will Newton <will.newton@linaro.org>
8550 Wilco <wdijkstr@arm.com>
8551
8552 * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
8553 implementation. Include get-rounding-mode.h.
8554 [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
8555 [!libc_feholdsetround_noex_ctx]: Define
8556 libc_feholdsetround_noex_ctx.
8557 [!libc_feholdsetround_noexf_ctx]: Define
8558 libc_feholdsetround_noexf_ctx.
8559 [!libc_feholdsetround_noexl_ctx]: Define
8560 libc_feholdsetround_noexl_ctx.
8561 (libc_feholdsetround_ctx): New function.
8562 (libc_feresetround_ctx): New function.
8563 (libc_feholdsetround_noex_ctx): New function.
8564 (libc_feresetround_noex_ctx): New function.
8565
8566 2014-06-23 Roland McGrath <roland@hack.frob.com>
8567
8568 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
8569 * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
8570 * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
8571 * sysdeps/mips/nptl/bits/semaphore.h: ... here.
8572 * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
8573 * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
8574
8575 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
8576 * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
8577 * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
8578 * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
8579 * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
8580 * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
8581 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
8582 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
8583 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
8584 * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
8585 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
8586 Moved ...
8587 * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
8588 ... here.
8589 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
8590 * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
8591 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
8592 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
8593 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
8594 Moved ...
8595 * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
8596 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
8597 * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
8598 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
8599 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
8600 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
8601 * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
8602 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
8603 Moved ...
8604 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
8605 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
8606 Moved ...
8607 * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
8608 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
8609 * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
8610 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
8611 Moved ...
8612 * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
8613 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
8614 * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
8615 * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
8616 * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
8617 * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
8618 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
8619 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
8620 * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
8621 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
8622 Moved ...
8623 * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
8624 ... here.
8625 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
8626 * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
8627 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
8628 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
8629 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
8630 * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
8631 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
8632 * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
8633 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
8634 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
8635 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
8636 * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
8637 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
8638 Moved ...
8639 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
8640 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
8641 * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
8642 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
8643 * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
8644 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
8645 Moved ...
8646 * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
8647 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
8648 * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
8649 * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
8650 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
8651
8652 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
8653 * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
8654 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
8655 * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
8656 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
8657 * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
8658 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
8659 * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
8660 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
8661 * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
8662 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
8663 * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
8664 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
8665 * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
8666 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
8667 * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
8668 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
8669 * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
8670 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
8671 * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
8672 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
8673 * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
8674 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
8675 * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
8676 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
8677 * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
8678 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
8679 * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
8680
8681 2014-06-23 Joseph Myers <joseph@codesourcery.com>
8682
8683 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
8684 (FALLOC_FL_COLLAPSE_RANGE): New macro.
8685 [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
8686 * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
8687 (IPV6_PMTUDISC_INTERFACE): Likewise.
8688 (IPV6_PMTUDISC_OMIT): Likewise.
8689
8690 2014-06-23 Andreas Schwab <schwab@suse.de>
8691
8692 * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
8693 Remove unused errout label.
8694
8695 2014-06-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8696
8697 * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
8698 macro: hardware supports Vector Crypto instructions.
8699
8700 2014-06-23 Will Newton <will.newton@linaro.org>
8701
8702 * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
8703 rather than __builtin_expect.
8704
8705 * elf/dl-lookup.c (undefined_msg): Remove variable.
8706 (_dl_lookup_symbol_x): Replace undefined_msg with string
8707 literal.
8708
8709 * elf/dl-lookup.c (do_lookup_unique): New function.
8710 (do_lookup_x): Move STB_GNU_UNIQUE handling code
8711 to a separate function.
8712
8713 2014-06-23 Andreas Schwab <schwab@suse.de>
8714
8715 [BZ #17079]
8716 * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
8717 before reading the next line.
8718
8719 2014-06-23 Will Newton <will.newton@linaro.org>
8720
8721 * test-skeleton.c (signal_handler): Use printf and %m
8722 rather than perror. Use printf rather than fprintf to
8723 stderr. Use puts rather than fputs to stderr.
8724 (main): Likewise.
8725
8726 2014-06-22 Ludovic Courtès <ludo@gnu.org>
8727
8728 * nscd/nscd.c (thread_info_t): Remove typedef.
8729 (thread_info): Remove variable.
8730
8731 2014-06-21 Allan McRae <allan@archlinux.org>
8732
8733 * NEWS: Mention CVE-2014-4043.
8734
8735 2014-06-20 Roland McGrath <roland@hack.frob.com>
8736
8737 * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
8738 * nptl/smp.h: ... here.
8739
8740 * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
8741
8742 * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
8743 * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
8744 * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
8745 * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
8746
8747 * nptl/allocatestack.c: Include <stack-aliasing.h>.
8748 * nptl/stack-aliasing.h: New file.
8749 * sysdeps/i386/i686/stack-aliasing.h: New file.
8750 * sysdeps/i386/i686/nptl/Makefile: File removed.
8751 * sysdeps/x86_64/stack-aliasing.h: New file.
8752 * sysdeps/x86_64/nptl/Makefile
8753 (CFLAGS-pthread_create.c): Variable removed.
8754
8755 * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
8756 * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
8757 old file.
8758 * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
8759 * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
8760 old file.
8761
8762 2014-06-21 Joseph Myers <joseph@codesourcery.com>
8763
8764 * sysdeps/unix/sysv/linux/arm/kernel-features.h
8765 (__ASSUME_SIGFRAME_V2): Remove macro.
8766 * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
8767 [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
8768 (__default_sa_restorer_v2): Rename to __default_sa_restorer.
8769 (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
8770 * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
8771 Declare as function. Remove conditional macro definitions.
8772 (__default_rt_sa_restorer): Likewise.
8773 (__default_sa_restorer_v1): Remove declaration.
8774 (__default_sa_restorer_v2): Likewise.
8775 (__default_rt_sa_restorer_v1): Likewise.
8776 (__default_rt_sa_restorer_v2): Likewise.
8777 * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
8778 __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
8779 __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
8780
8781 2014-06-20 Roland McGrath <roland@hack.frob.com>
8782
8783 * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
8784 (libpthread-routines): Add sysdep.
8785 * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
8786 * sysdeps/unix/sysv/linux/sparc/Versions
8787 (libpthread: GLIBC_2.3.3): New version set.
8788 * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
8789 * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
8790 * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
8791 * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
8792 * sysdeps/sparc/nptl/internaltypes.h: ... here. Use #include_next.
8793 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
8794 Moved ...
8795 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
8796 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
8797 * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
8798 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
8799 * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
8800 * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
8801 * sysdeps/sparc/nptl/sem_init.c: ... here.
8802 * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
8803 * sysdeps/sparc/nptl/sem_post.c: ... here.
8804 * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
8805 * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
8806 * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
8807 * sysdeps/sparc/nptl/sem_wait.c: ... here.
8808 * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
8809 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
8810 * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
8811 (libpthread-routines): Add cpu_relax.
8812 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
8813 File removed.
8814 * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
8815 (librt: GLIBC_2.3.3): New version set.
8816 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
8817 * sysdeps/sparc/sparc64/nptl/Makefile: New file.
8818 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
8819 (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
8820 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
8821 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
8822 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
8823 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
8824 Moved ...
8825 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
8826 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
8827 * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
8828 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
8829 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
8830 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
8831 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
8832 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
8833 * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
8834 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
8835 Moved ...
8836 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
8837 Update #include.
8838 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
8839 Moved ...
8840 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
8841 Update #include.
8842 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
8843 Moved ...
8844 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
8845 Update #include.
8846 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
8847 Moved ...
8848 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
8849 Update #include.
8850 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
8851 Moved ...
8852 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
8853 Update #include.
8854 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
8855 Moved ...
8856 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
8857 Update #include.
8858 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
8859 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
8860 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
8861 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
8862 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
8863 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
8864 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
8865 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
8866 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
8867 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
8868 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
8869 Moved ...
8870 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
8871 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
8872 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
8873 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
8874 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
8875
8876 2014-06-20 Joseph Myers <joseph@codesourcery.com>
8877
8878 * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
8879 * nptl/pthread_rwlock_timedrdlock.c: Likewise.
8880 * nptl/pthread_rwlock_timedwrlock.c: Likewise.
8881 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
8882 * nscd/nscd.c: Likewise.
8883 * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
8884 * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
8885 * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
8886 * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
8887
8888 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
8889 <kernel-features.h>.
8890 (init_mq_netlink): Remove conditional have_sock_cloexec
8891 definitions. Remove code conditional on have_sock_cloexec < 0.
8892 (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
8893 (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
8894 * sysdeps/unix/sysv/linux/opensock.c: Do not include
8895 <kernel-features.h>.
8896 (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
8897 (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
8898
8899 2014-06-20 H.J. Lu <hongjiu.lu@intel.com>
8900
8901 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
8902 Add tests for memset_chk and memset.
8903
8904 * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
8905 with AVX2_Usable.
8906
8907 2014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
8908
8909 [BZ #16046]
8910 * elf/tst-dl-iter-static.c: New file.
8911 * elf/Makefile (tests-static): Add tst-dl-iter-static.
8912
8913 * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
8914 error.
8915
8916 2014-06-20 Joseph Myers <joseph@codesourcery.com>
8917
8918 * sysdeps/unix/sysv/linux/kernel-features.h
8919 (__ASSUME_F_GETOWN_EX): Remove macro.
8920 * sysdeps/unix/sysv/linux/fcntl.c: Do not include
8921 <kernel-features.h>.
8922 (miss_F_GETOWN_EX): Remove variable or macro.
8923 (do_fcntl): Do not check miss_F_GETOWN_EX.
8924 (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
8925
8926 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
8927 Remove macro.
8928 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
8929 [!__ASSUME_AT_RANDOM]: Remove conditional code.
8930 (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
8931
8932 * sysdeps/unix/sysv/linux/kernel-features.h
8933 (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
8934 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
8935 [ADJ_OFFSET_SS_READ]: Make code unconditional.
8936 (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
8937
8938 2014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
8939
8940 [BZ #17075]
8941 * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
8942 Fix calculation of the symbol's value.
8943 * sysdeps/arm/tst-armtlsdescloc.c: New file.
8944 * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
8945 * sysdeps/arm/tst-armtlsdescextnow.c: New file.
8946 * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
8947 * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
8948 * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
8949 * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
8950 `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
8951 (modules-names): Add `tst-armtlsdescmod',
8952 `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
8953 (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
8954 (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
8955 (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
8956 (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
8957 (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
8958 (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
8959 ($(objpfx)tst-armtlsdescloc): New dependency.
8960 ($(objpfx)tst-armtlsdescextnow): Likewise.
8961 ($(objpfx)tst-armtlsdescextlazy): Likewise.
8962 * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
8963 TLS scheme support.
8964 * sysdeps/arm/configure: Regenerate.
8965
8966 2014-06-20 Joseph Myers <joseph@codesourcery.com>
8967
8968 * include/fcntl.h (__atfct_seterrno): Remove prototype.
8969 (__atfct_seterrno_2): Likewise.
8970 * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
8971 <kernel-features.h>.
8972 (__ASSUME_ATFCTS): Do not undefine and redefine.
8973 * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
8974 (__have_atfcts): Remove conditional definition.
8975 (__fxstatat([__NR_fstatat64]: Make code unconditional.
8976 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
8977 unreachable if [__ASSUME_ATFCTS].
8978 * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
8979 not undefine and redefine.
8980 * sysdeps/unix/sysv/linux/faccessat.c: Do not include
8981 <kernel-features.h>.
8982 (faccessat) [__NR_faccessat]: Make code unconditional.
8983 (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
8984 * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
8985 <kernel-features.h>.
8986 (fchmodat) [__NR_fchmodat]: Make code unconditional.
8987 (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
8988 * sysdeps/unix/sysv/linux/fchownat.c: Do not include
8989 <kernel-features.h>.
8990 (fchownat) [__NR_fchownat]: Make code unconditional.
8991 (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
8992 * sysdeps/unix/sysv/linux/futimesat.c: Do not include
8993 <kernel-features.h>.
8994 (futimesat) [__NR_futimesat]: Make code unconditional.
8995 (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
8996 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
8997 <kernel-features.h>.
8998 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
8999 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
9000 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
9001 <kernel-features.h>.
9002 (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
9003 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
9004 * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
9005 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
9006 <kernel-features.h>.
9007 (__fxstatat) [__NR_fstatat64]: Make code unconditional.
9008 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
9009 * sysdeps/unix/sysv/linux/linkat.c: Do not include
9010 <kernel-features.h>.
9011 (linkat) [__NR_linkat]: Make code unconditional.
9012 (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
9013 * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
9014 * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
9015 <kernel-features.h>.
9016 (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
9017 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
9018 * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
9019 <kernel-features.h>.
9020 (mkdirat) [__NR_mkdirat]: Make code unconditional.
9021 (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
9022 * sysdeps/unix/sysv/linux/openat.c: Do not include
9023 <kernel-features.h>.
9024 [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
9025 [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
9026 (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
9027 (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
9028 * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
9029 * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
9030 <kernel-features.h>.
9031 (readlinkat) [__NR_readlinkat]: Make code unconditional.
9032 (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code. Return
9033 result of INLINE_SYSCALL directly, not via int variable.
9034 * sysdeps/unix/sysv/linux/renameat.c: Do not include
9035 <kernel-features.h>.
9036 [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
9037 (renameat) [__NR_renameat]: Make code unconditional.
9038 (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
9039 * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
9040 * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
9041 * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
9042 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
9043 (__ASSUME_ATFCTS): Do not undefine and redefine.
9044 * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
9045 <kernel-features.h>.
9046 (symlinkat) [__NR_symlinkat]: Make code unconditional.
9047 (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
9048 * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
9049 <kernel-features.h>.
9050 (unlinkat) [__NR_unlinkat]: Make code unconditional.
9051 (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
9052 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
9053 (__ASSUME_ATFCTS): Do not undefine and redefine.
9054 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
9055 <kernel-features.h>.
9056 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
9057 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
9058 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
9059 <kernel-features.h>.
9060 (__xmknodat) [__NR_mknodat]: Make code unconditional.
9061 (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
9062
9063 2014-06-20 H.J. Lu <hongjiu.lu@intel.com>
9064
9065 * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
9066
9067 2014-06-20 Andreas Schwab <schwab@linux-m68k.org>
9068
9069 [BZ #17069]
9070 * posix/regcomp.c (parse_reg_exp): Deallocate partially
9071 constructed tree before returning error.
9072 * posix/bug-regexp36.c: Expand test case.
9073
9074 2014-06-20 Stefan Liebler <stli@linux.vnet.ibm.com>
9075
9076 [BZ #6803]
9077 * math/libm-test.inc (scalbln_test_date):
9078 Add errno expectations.
9079 * math/w_scalblnf.c: New File.
9080 Add wrapper which checks for setting errno to ERANGE.
9081 Add weak_alias for corresponding scalbln function.
9082 * math/w_scalbln.c: Likewise.
9083 * math/w_scalblnl.c: Likewise.
9084 * math/Makefile (libm-calls): Add w_scalbln.
9085 * sysdeps/ieee754/flt-32/s_scalblnf.c:
9086 Remove weak_alias for corresponding scalbln function.
9087 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
9088 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
9089 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
9090 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
9091 * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
9092 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
9093 * sysdeps/i386/fpu/s_scalbn.S: Likewise.
9094 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
9095 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
9096 * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
9097 Remove long_double_symbol for scalblnl function in libm, libc.
9098 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
9099 Add wrapper which checks for setting errno to ERANGE.
9100 Add long_double_symbol for scalblnl function in libm, libc.
9101 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
9102 Remove long_double_symbol for scalblnl in libm.
9103 * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
9104 Add wrapper which checks for setting errno to ERANGE.
9105 Add long_double_symbol for scalblnl function in libm.
9106 * sysdeps/ia64/fpu/w_scalblnf.c: New File.
9107 Do not use wrapper because of own implementation.
9108
9109 2014-06-19 H.J. Lu <hongjiu.lu@intel.com>
9110
9111 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
9112 3 bytes for __pad1 for x32.
9113 (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
9114
9115 2014-06-19 Ling Ma <ling.ml@alibaba-inc.com>
9116 H.J. Lu <hongjiu.lu@intel.com>
9117
9118 * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
9119 * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
9120 * sysdeps/x86_64/multiarch/memset.S: Likewise.
9121 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
9122 * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
9123
9124 2014-06-19 Andreas Schwab <schwab@linux-m68k.org>
9125
9126 [BZ #17069]
9127 * posix/regcomp.c (parse_expression): Deallocate partially
9128 constructed tree before returning error.
9129 * posix/Makefile.c (tests): Add bug-regex36.
9130 (generated): Add bug-regex36.mtrace.
9131 (tests-special): Add $(objpfx)bug-regex36-mem.out
9132 (bug-regex36-ENV): New variable.
9133 ($(objpfx)bug-regex36-mem.out): New rule.
9134 * posix/bug-regex36.c: New file.
9135
9136 2014-06-19 Will Newton <will.newton@linaro.org>
9137
9138 * malloc/malloc.c (systrim): If extra is zero then return
9139 early.
9140
9141 2014-06-19 Siddhesh Poyarekar <siddhesh@redhat.com>
9142
9143 * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
9144
9145 2014-06-19 Richard Earnshaw <rearnsha@arm.com>
9146
9147 * sysdeps/aarch64/strchr.S: New file.
9148
9149 2014-06-18 Joseph Myers <joseph@codesourcery.com>
9150
9151 [BZ #17022]
9152 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
9153 from arguments -2 or below.
9154 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
9155 * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
9156
9157 2014-06-18 Andreas Schwab <schwab@suse.de>
9158
9159 [BZ #17062]
9160 * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
9161 of a bracket expr not to run off the end of the string.
9162 * posix/Makefile (tests): Add tst-fnmatch3.
9163 * posix/tst-fnmatch3.c: New file.
9164
9165 2014-06-18 Joseph Myers <joseph@codesourcery.com>
9166
9167 * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
9168 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
9169 [$(cross-compiling) = no]: Likewise.
9170 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
9171 [$(cross-compiling) = no]: Likewise.
9172
9173 2014-16-17 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
9174
9175 [BZ #17031]
9176 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
9177 double, adjusted for any remainder from the high double.
9178 * math/libm-test.inc (nearbyint): Add tests.
9179 (rint): Likewise.
9180
9181 2014-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9182
9183 * nptl/sysdeps/powerpc/Makefile: Moved ...
9184 * sysdeps/powerpc/nptl/Makefile: ... here.
9185 * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
9186 * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
9187 * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
9188 * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
9189 * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
9190 * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
9191 * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
9192 * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
9193 * nptl/sysdeps/powerpc/tls.h: Moved ...
9194 * sysdeps/powerpc/nptl/tls.h: ... here.
9195
9196 2014-06-16 Joseph Myers <joseph@codesourcery.com>
9197
9198 [BZ #16681]
9199 * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
9200 * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
9201 * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
9202 * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
9203 * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
9204 * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
9205 * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
9206 * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
9207 * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
9208
9209 2014-06-17 Andreas Schwab <schwab@linux-m68k.org>
9210
9211 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
9212
9213 2014-06-16 Andreas Schwab <schwab@linux-m68k.org>
9214
9215 * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
9216 defined operator.
9217
9218 * scripts/cross-test-ssh.sh (timeoutfactor): Default to
9219 $TIMEOUTFACTOR.
9220
9221 2014-06-16 Florian Weimer <fweimer@redhat.com>
9222
9223 [BZ #17058]
9224 * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
9225 non-executed part of the test.
9226
9227 2014-06-16 Andreas Schwab <schwab@suse.de>
9228
9229 * string/bits/string2.h (strdup, strndup): Update feature guard.
9230
9231 2014-06-14 David S. Miller <davem@davemloft.net>
9232
9233 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9234
9235 2014-06-14 Andreas Schwab <schwab@linux-m68k.org>
9236
9237 * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
9238 that was previously under [RESET_PID].
9239 * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
9240
9241 * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
9242 * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
9243 * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
9244 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
9245 (__libc_vfork): New strong alias.
9246 * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
9247
9248 2014-06-14 Andi Kleen <ak@linux.intel.com>
9249
9250 * sysdeps/generic/elide.h: New file.
9251
9252 2014-06-13 Stefan Liebler <stli@linux.vnet.ibm.com>
9253
9254 * Makefile (installed-headers): Adjust path of pthread.h header.
9255
9256 2014-06-13 Roland McGrath <roland@hack.frob.com>
9257
9258 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
9259 * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
9260 * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
9261 * sysdeps/s390/nptl/bits/semaphore.h: ... here.
9262
9263 * nptl/sysdeps/s390/Makefile: Moved ...
9264 * sysdeps/s390/nptl/Makefile: ... here.
9265 * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
9266 * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
9267 * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
9268 * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
9269 * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
9270 * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
9271 * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
9272 * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
9273 * nptl/sysdeps/s390/pthreaddef.h: Moved ...
9274 * sysdeps/s390/nptl/pthreaddef.h: ... here.
9275 * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
9276 * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
9277 * nptl/sysdeps/s390/tls.h: Moved ...
9278 * sysdeps/s390/nptl/tls.h: ... here.
9279
9280 * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
9281 * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
9282
9283 2014-06-13 David S. Miller <davem@davemloft.net>
9284
9285 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
9286 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
9287 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
9288 * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
9289 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
9290 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
9291 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
9292 * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
9293 * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
9294 * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
9295 * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
9296 Remove RESET_PID cpp guards.
9297 * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
9298 Remove RESET_PID cpp guards.
9299 * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
9300
9301 2014-06-13 Andreas Schwab <schwab@linux-m68k.org>
9302
9303 * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
9304 __sp to uintptr_t.
9305
9306 2014-06-13 Andi Kleen <ak@linux.intel.com>
9307
9308 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
9309 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
9310 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
9311 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
9312 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
9313 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
9314 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
9315 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
9316 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
9317 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
9318 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
9319 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
9320 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
9321 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
9322 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
9323 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
9324 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
9325 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
9326 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
9327 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
9328
9329 * nptl/pthread_rwlock_rdlock.c: Include elide.h.
9330 (pthread_rwlock_rdlock): Add elision.
9331 * nptl/pthread_rwlock_wrlock.c: Include elide.h.
9332 (pthread_rwlock_wrlock): Add elision.
9333 * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
9334 (pthread_rwlock_trywrlock): Add elision.
9335 * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
9336 (pthread_rwlock_tryrdlock): Add elision.
9337 * nptl/pthread_rwlock_unlock.c: Include elide.h.
9338 (pthread_rwlock_tryrdlock): Add elision unlock.
9339 * nptl/sysdeps/pthread/pthread.h:
9340 (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
9341 (PTHREAD_RWLOCK_INITIALIZER,
9342 PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
9343 Handle new elision field.
9344 * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
9345 * sysdeps/arm/nptl/bits/pthreadtypes.h
9346 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
9347 * sysdeps/sh/nptl/bits/pthreadtypes.h
9348 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
9349 * sysdeps/tile/nptl/bits/pthreadtypes.h
9350 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
9351 * sysdeps/a/nptl/bits/pthreadtypes.h
9352 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
9353 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
9354 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
9355 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
9356 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
9357 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
9358 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
9359 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
9360 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
9361 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
9362 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
9363 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
9364 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
9365 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
9366 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
9367 * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
9368 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
9369 * sysdeps/unix/sysv/linux/x86/elision-conf.c:
9370 (elision_init): Set try_xbegin to zero when no RTM.
9371 * sysdeps/x86/nptl/bits/pthreadtypes.h
9372 (pthread_rwlock_t): Change __pad1 to __rwelision.
9373 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
9374
9375 2014-06-13 Andi Kleen <ak@linux.intel.com>
9376
9377 * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
9378 Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
9379 * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
9380 Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
9381
9382 2014-06-13 Meador Inge <meadori@codesourcery.com>
9383
9384 [BZ #16996]
9385 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
9386 that the cached result has been set before returning it.
9387
9388 2014-06-12 Roland McGrath <roland@hack.frob.com>
9389
9390 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
9391 * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
9392 * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
9393 * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
9394 * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
9395 * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
9396
9397 * nptl/sysdeps/sparc/Makefile: Moved ...
9398 * sysdeps/sparc/nptl/Makefile: ... here.
9399 * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
9400 * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
9401 * nptl/sysdeps/sparc/tls.h: Moved ...
9402 * sysdeps/sparc/nptl/tls.h: ... here.
9403 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
9404 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
9405 * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
9406 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
9407 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
9408 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
9409 * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
9410 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
9411 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
9412 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
9413 * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
9414 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
9415 * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
9416 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
9417 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
9418 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
9419 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
9420 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
9421 Update #include.
9422 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
9423 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
9424 Update #include.
9425 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
9426 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
9427 Update #include.
9428 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
9429 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
9430 Update #include.
9431
9432 * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
9433
9434 * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
9435 * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
9436
9437 * sysdeps/pthread/posix-timer.h: Include <list.h>.
9438 (struct list_links): Type removed.
9439 (struct thread_node, struct timer_node): Replace struct list_links
9440 with struct list_head.
9441 (list_unlink_ip): Likewise.
9442 * sysdeps/pthread/timer_routines.c
9443 (timer_free_list, thread_free_list, thread_active_list): Likewise.
9444 (list_append, list_insbefore): Likewise.
9445 (list_init): Function removed.
9446 (thread_init, init_module): Use INIT_LIST_HEAD instead.
9447 * sysdeps/nptl/Makefile: Move tst-timer bits to ...
9448 * sysdeps/pthread/Makefile: ... here, new file.
9449
9450 * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
9451 * sysdeps/nptl/Implies: ... here.
9452 * sysdeps/unix/sysv/linux/Implies: Add nptl.
9453 * nptl/sysdeps/pthread/list.h: Moved ...
9454 * include/list.h: ... here.
9455 * nptl/sysdeps/pthread/createthread.c: Moved ...
9456 * nptl/createthread.c: ... here.
9457 * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
9458 * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
9459 * nptl/pt-longjmp.c: ... here.
9460 * nptl/sysdeps/pthread/Makefile: Moved ...
9461 * sysdeps/nptl/Makefile: ... here.
9462 * nptl/sysdeps/pthread/Subdirs: Moved ...
9463 * sysdeps/nptl/Subdirs: ... here.
9464 * nptl/sysdeps/pthread/aio_misc.h: Moved ...
9465 * sysdeps/nptl/aio_misc.h: ... here.
9466 * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
9467 * sysdeps/nptl/bits/libc-lock.h: ... here.
9468 * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
9469 * sysdeps/nptl/bits/libc-lockP.h: ... here.
9470 * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
9471 * sysdeps/nptl/bits/stdio-lock.h: ... here.
9472 * nptl/sysdeps/pthread/configure: Moved ...
9473 * sysdeps/nptl/configure: ... here.
9474 * nptl/sysdeps/pthread/configure.ac: Moved ...
9475 * sysdeps/nptl/configure.ac: ... here.
9476 * nptl/sysdeps/pthread/gai_misc.h: Moved ...
9477 * sysdeps/nptl/gai_misc.h: ... here.
9478 * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
9479 * sysdeps/nptl/librt-cancellation.c: ... here.
9480 * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
9481 * sysdeps/nptl/malloc-machine.h: ... here.
9482 * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
9483 * sysdeps/nptl/pthread-functions.h: ... here.
9484 * nptl/sysdeps/pthread/pthread.h: Moved ...
9485 * sysdeps/nptl/pthread.h: ... here.
9486 * nptl/sysdeps/pthread/setxid.h: Moved ...
9487 * sysdeps/nptl/setxid.h: ... here.
9488 * nptl/sysdeps/pthread/sigfillset.c: Moved ...
9489 * sysdeps/nptl/sigfillset.c: ... here.
9490 * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
9491 * sysdeps/nptl/tcb-offsets.h: ... here.
9492 * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
9493 * sysdeps/nptl/tst-mqueue8x.c: ... here.
9494 * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
9495 * sysdeps/nptl/unwind-forcedunwind.c: ... here.
9496 * nptl/sysdeps/pthread/allocalim.h: Moved ...
9497 * sysdeps/pthread/allocalim.h: ... here.
9498 * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
9499 * sysdeps/pthread/bits/sigthread.h: ... here.
9500 * nptl/sysdeps/pthread/flockfile.c: Moved ...
9501 * sysdeps/pthread/flockfile.c: ... here.
9502 * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
9503 * sysdeps/pthread/ftrylockfile.c: ... here.
9504 * nptl/sysdeps/pthread/funlockfile.c: Moved ...
9505 * sysdeps/pthread/funlockfile.c: ... here.
9506 * nptl/sysdeps/pthread/posix-timer.h: Moved ...
9507 * sysdeps/pthread/posix-timer.h: ... here.
9508 * nptl/sysdeps/pthread/timer_create.c: Moved ...
9509 * sysdeps/pthread/timer_create.c: ... here.
9510 * nptl/sysdeps/pthread/timer_delete.c: Moved ...
9511 * sysdeps/pthread/timer_delete.c: ... here.
9512 * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
9513 * sysdeps/pthread/timer_getoverr.c: ... here.
9514 * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
9515 * sysdeps/pthread/timer_gettime.c: ... here.
9516 * nptl/sysdeps/pthread/timer_routines.c: Moved ...
9517 * sysdeps/pthread/timer_routines.c: ... here.
9518 * nptl/sysdeps/pthread/timer_settime.c: Moved ...
9519 * sysdeps/pthread/timer_settime.c: ... here.
9520 * nptl/sysdeps/pthread/tst-timer.c: Moved ...
9521 * sysdeps/pthread/tst-timer.c: ... here.
9522 * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
9523 * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
9524
9525 * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
9526 * nptl/sysdeps/pthread/sigprocmask.c: File removed.
9527
9528 * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
9529 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
9530 * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
9531 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
9532 Update #include target.
9533 * nptl/sysdeps/i386/i686/Makefile: Moved ...
9534 * sysdeps/i386/i686/nptl/Makefile: ... here.
9535 * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
9536 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
9537 Update #include target.
9538 * nptl/sysdeps/i386/i686/tls.h: Moved ...
9539 * sysdeps/i386/i686/nptl/tls.h: ... here. Use #include_next.
9540 * nptl/sysdeps/i386/Makefile: Moved ...
9541 * sysdeps/i386/nptl/Makefile: ... here.
9542 * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
9543 * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
9544 * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
9545 * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
9546 * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
9547 * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
9548 * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
9549 * nptl/sysdeps/i386/pthreaddef.h: Moved ...
9550 * sysdeps/i386/nptl/pthreaddef.h: ... here.
9551 * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
9552 * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
9553 * nptl/sysdeps/i386/tls.h: Moved ...
9554 * sysdeps/i386/nptl/tls.h: ... here.
9555
9556 * sysdeps/sh/Makefile [$(subdir) = csu]
9557 (gen-as-const-headers): Add tcb-offsets.sym.
9558 * nptl/sysdeps/sh/Makefile: File removed.
9559 * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
9560 * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
9561 * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
9562 * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
9563 * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
9564 * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
9565 * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
9566 * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
9567 * nptl/sysdeps/sh/pthreaddef.h: Moved ...
9568 * sysdeps/sh/nptl/pthreaddef.h: ... here.
9569 * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
9570 * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
9571 * nptl/sysdeps/sh/tls.h: Moved ...
9572 * sysdeps/sh/nptl/tls.h: ... here.
9573 * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
9574 * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
9575 * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
9576 * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
9577 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
9578 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
9579 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
9580 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
9581 * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
9582 * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
9583 * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
9584 * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
9585 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
9586 * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
9587 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
9588 * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
9589 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
9590 * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
9591 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
9592 * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
9593 * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
9594 * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
9595 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
9596 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
9597 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
9598 Moved ...
9599 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
9600 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
9601 Moved ...
9602 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
9603 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
9604 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
9605 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
9606 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
9607 * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
9608 * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
9609 * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
9610 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
9611 * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
9612 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
9613 * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
9614 * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
9615 * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
9616 * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
9617 * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
9618 * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
9619 * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
9620 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
9621
9622 2014-06-12 Stefan Liebler <stli@linux.vnet.ibm.com>
9623
9624 * posix/spawn_faction_addopen.c: Include string.h.
9625
9626 2014-06-11 Roland McGrath <roland@hack.frob.com>
9627
9628 * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
9629 * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
9630 * nptl/sysdeps/x86_64/Makefile: Moved ...
9631 * sysdeps/x86_64/nptl/Makefile: ... here.
9632 * nptl/sysdeps/x86_64/configure: Moved ...
9633 * sysdeps/x86_64/nptl/configure: ... here.
9634 * nptl/sysdeps/x86_64/configure.ac: Moved ...
9635 * sysdeps/x86_64/nptl/configure.ac: ... here.
9636 * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
9637 * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
9638 * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
9639 * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
9640 * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
9641 * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
9642 * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
9643 * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
9644 * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
9645 * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
9646 * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
9647 * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
9648 * nptl/sysdeps/x86_64/tls.h: Moved ...
9649 * sysdeps/x86_64/nptl/tls.h: ... here.
9650 * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
9651 * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
9652 * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
9653 * sysdeps/x86_64/x32/nptl/tls.h: ... here.
9654
9655 * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
9656
9657 2014-06-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9658
9659 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9660
9661 2014-06-11 Joseph Myers <joseph@codesourcery.com>
9662
9663 * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
9664 type.
9665 [POSIX] (off_t): Likewise.
9666 * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
9667 [POSIX] (S_ISBLK): Require macro.
9668 [POSIX] (S_ISCHR): Likewise.
9669 [POSIX] (S_ISDIR): Likewise.
9670 [POSIX] (S_ISFIFO): Likewise.
9671 [POSIX] (S_ISREG): Likewise.
9672 [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
9673 optional-macro.
9674 * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
9675 type.
9676 [POSIX] (time_t): Likewise.
9677 [POSIX] (timer_t): Likewise.
9678
9679 2014-06-11 Florian Weimer <fweimer@redhat.com>
9680
9681 [BZ #17048]
9682 * posix/spawn_int.h (struct __spawn_action): Make the path string
9683 non-const to support deallocation.
9684 * posix/spawn_faction_addopen.c
9685 (posix_spawn_file_actions_addopen): Make a copy of the pathname.
9686 * posix/spawn_faction_destroy.c
9687 (posix_spawn_file_actions_destroy): Adjust comment. Deallocate
9688 path in all spawn_do_open actions.
9689 * posix/tst-spawn.c (do_test): Exercise the copy operation in
9690 posix_spawn_file_actions_addopen.
9691
9692 2014-06-11 Chris Metcalf <cmetcalf@tilera.com>
9693
9694 * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
9695 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
9696 * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
9697 conditional code always true.
9698 (__libc_vfork): New alias.
9699
9700 2014-06-11 Roland McGrath <roland@hack.frob.com>
9701
9702 * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
9703 * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
9704
9705 * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
9706
9707 * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
9708 * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
9709
9710 * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
9711 * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
9712
9713 * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
9714 * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
9715
9716 2014-06-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
9717
9718 * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
9719 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
9720 multiarch strcmp for PPC64.
9721 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
9722 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
9723 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
9724 multiarch optimizations.
9725 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
9726 (__libc_ifunc_impl_list): Likewise.
9727
9728 2014-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
9729
9730 * benchtests/scripts/validate_benchout.py: New script.
9731 * benchtests/Makefile (bench-func): Call it.
9732 * benchtests/scripts/benchout.schema.json: New file.
9733
9734 2014-06-10 Chris Metcalf <cmetcalf@tilera.com>
9735
9736 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
9737 * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
9738 * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
9739 * sysdeps/tile/nptl/bits/semaphore.h: ... here.
9740 * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
9741 * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
9742 * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
9743 * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
9744 * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
9745 * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
9746 * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
9747 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
9748 * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
9749 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
9750 * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
9751 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
9752 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
9753 Moved ...
9754 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
9755 ... here.
9756 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
9757 Moved ...
9758 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
9759 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
9760 Moved ...
9761 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
9762 ... here.
9763 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
9764 Moved ...
9765 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
9766 ... here.
9767 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
9768 Moved ...
9769 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
9770 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
9771 Moved ...
9772 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
9773 ... here.
9774 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
9775 Moved ...
9776 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
9777 ... here.
9778 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
9779 Moved ...
9780 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
9781 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
9782 Moved ...
9783 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
9784 ... here.
9785 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
9786 Moved ...
9787 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
9788 ... here.
9789 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
9790 Moved ...
9791 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
9792 ... here.
9793 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
9794 Moved ...
9795 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
9796 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
9797 Moved ...
9798 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
9799 ... here.
9800 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
9801 Moved ...
9802 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
9803 ... here.
9804 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
9805 Moved ...
9806 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
9807 ... here.
9808 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
9809 Moved ...
9810 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
9811 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
9812 Moved ...
9813 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
9814 ... here.
9815 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
9816 Moved ...
9817 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
9818 ... here.
9819 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
9820 Moved ...
9821 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
9822 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
9823 Moved ...
9824 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
9825 ... here.
9826 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
9827 Moved ...
9828 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
9829 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
9830 Moved ...
9831 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
9832 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
9833 Moved ...
9834 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
9835 ... here.
9836 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
9837 Moved ...
9838 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
9839 ... here.
9840 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
9841 Moved ...
9842 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
9843 ... here.
9844 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
9845 Moved ...
9846 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
9847 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
9848 Moved ...
9849 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
9850 ... here.
9851 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
9852 Moved ...
9853 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
9854 ... here.
9855 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
9856 * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
9857 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
9858 * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
9859 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
9860 Moved ...
9861 * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
9862 ... here.
9863 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
9864 * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
9865 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
9866 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
9867 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
9868 * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
9869 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
9870 * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
9871 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
9872 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
9873 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
9874 * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
9875 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
9876 Moved ...
9877 * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
9878 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
9879 Moved ...
9880 * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
9881 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
9882 * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
9883 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
9884 Moved ...
9885 * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
9886 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
9887 * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
9888 * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
9889 * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
9890 * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
9891 * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
9892
9893 2014-06-10 Wilco <wdijkstr@arm.com>
9894
9895 * math/test-fenv-return.c: New file.
9896 * math/Makefile: Add new test test-fenv-return.
9897
9898 2014-06-10 Joseph Myers <joseph@codesourcery.com>
9899
9900 [BZ #17042]
9901 * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
9902 when x - 1 is zero.
9903 * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
9904 * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
9905 * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
9906 0.0L for an argument of 1.0L.
9907 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
9908 Likewise.
9909 * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
9910 value when x - 1 is zero.
9911 * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
9912 * sysdeps/i386/fpu/libm-test-ulps: Update.
9913 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9914
9915 2014-06-09 Bernard Ogden <bernie.ogden@linaro.org>
9916
9917 [BZ #15119]
9918 * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
9919
9920 2014-06-09 Roland McGrath <roland@hack.frob.com>
9921
9922 * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
9923 * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
9924
9925 2014-06-09 Roland McGrath <roland@hack.frob.com>
9926
9927 * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
9928 * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
9929
9930 * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
9931 * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
9932
9933 * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
9934 * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
9935
9936 * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
9937 * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
9938
9939 * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
9940 if not already defined.
9941 (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
9942 * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
9943 * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
9944 (TLS_INIT_TP): Use it.
9945 (TLS_DEFINE_INIT_TP): New macro.
9946 * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
9947
9948 2014-06-09 Joseph Myers <joseph@codesourcery.com>
9949
9950 * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
9951 constant.
9952 [POSIX] (IXANY): Likewise.
9953 [POSIX] (OLCUC): Likewise.
9954 [POSIX || POSIX2008] (CBAUD): Do not allow.
9955 [POSIX || POSIX2008] (DEFECHO): Likewise.
9956 [POSIX || POSIX2008] (ECHOCTL): Likewise.
9957 [POSIX || POSIX2008] (ECHOKE): Likewise.
9958 [POSIX || POSIX2008] (ECHOPRT): Likewise.
9959 [POSIX || POSIX2008] (EXTA): Likewise.
9960 [POSIX || POSIX2008] (EXTB): Likewise.
9961 [POSIX || POSIX2008] (FLUSHO): Likewise.
9962 [POSIX || POSIX2008] (LOBLK): Likewise.
9963 [POSIX || POSIX2008] (PENDIN): Likewise.
9964 [POSIX || POSIX2008] (SWTCH): Likewise.
9965 [POSIX || POSIX2008] (VDISCARD): Likewise.
9966 [POSIX || POSIX2008] (VDSUSP): Likewise.
9967 [POSIX || POSIX2008] (VLNEXT): Likewise.
9968 [POSIX || POSIX2008] (VREPRINT): Likewise.
9969 [POSIX || POSIX2008] (VSTATUS): Likewise.
9970 [POSIX || POSIX2008] (VWERASE): Likewise.
9971 (B*): Change to B[0123456789]*.
9972 * conform/data/time.h-data [POSIX || UNIX98]
9973 (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
9974 [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
9975 [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
9976 [POSIX] (tm_*): Do not allow.
9977
9978 2014-06-07 Joseph Myers <joseph@codesourcery.com>
9979
9980 * Makefile (install): Don't set LANGUAGE.
9981 * Makefile.in (install): Likewise.
9982 * assert/Makefile (test-assert-ENV): Remove variable.
9983 (test-assert-perr-ENV): Likewise.
9984 * elf/Makefile (neededtest4-ENV): Likewise.
9985 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
9986 [$(cross-compiling) = no]: Don't set LANGUAGE.
9987 * io/ftwtest-sh (LANG): Remove variable.
9988 * libio/Makefile (tst-widetext-ENV): Likewise.
9989 * manual/install.texi (Running make install): Don't refer to
9990 environment settings for make install.
9991 * INSTALL: Regenerated.
9992 * nptl/tst-tls6.sh: Don't set LANG.
9993 * posix/globtest.sh (LANG): Remove variable.
9994 * string/Makefile (tester-ENV): Likewise.
9995 (inl-tester-ENV): Likewise.
9996 (noinl-tester-ENV): Likewise.
9997 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
9998 [$(cross-compiling) = no]: Don't set LANGUAGE.
9999 * timezone/Makefile (build-testdata): Use $(built-program-cmd)
10000 without explicit environment settings.
10001
10002 2014-06-06 Roland McGrath <roland@hack.frob.com>
10003
10004 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
10005 * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
10006 * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
10007 * sysdeps/sh/nptl/bits/semaphore.h: ... here.
10008
10009 2014-06-06 Chris Metcalf <cmetcalf@tilera.com>
10010
10011 * crypt/crypt-private.h [DOS]: Add some includes taken from the
10012 other files in the crypt directory.
10013 * crypt/crypt.c: Remove duplicate includes.
10014 * crypt/crypt-entry.c: Likewise.
10015 * crypt/crypt_util.c: Likewise.
10016
10017 2014-06-06 Joseph Myers <joseph@codesourcery.com>
10018
10019 * Makeconfig (run-program-env): New variable.
10020 (run-program-prefix-before-env): Likewise.
10021 (run-program-prefix-after-env): Likewise.
10022 (run-program-prefix): Define in terms of new variables.
10023 (built-program-cmd-before-env): New variable.
10024 (built-program-cmd-after-env): Likewise.
10025 (built-program-cmd): Define in terms of new variables.
10026 (test-program-prefix-before-env): New variable.
10027 (test-program-prefix-after-env): Likewise.
10028 (test-program-prefix): Define in terms of new variables.
10029 (test-program-cmd-before-env): New variable.
10030 (test-program-cmd-after-env): Likewise.
10031 (test-program-cmd): Define in terms of new variables.
10032 * Rules (make-test-out): Use $(run-program-env).
10033 * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
10034 (help): Do not mention environment variables. Mention
10035 --timeoutfactor option.
10036 (timeoutfactor): New variable.
10037 (blacklist_exports): Remove function.
10038 (exports): Remove variable.
10039 (command): Do not include ${exports}.
10040 * manual/install.texi (Configuring and compiling): Do not mention
10041 test wrappers preserving environment variables. Mention that last
10042 assignment to a variable must take precedence.
10043 * INSTALL: Regenerated.
10044 * benchtests/Makefile (run-bench): Use $(run-program-env).
10045 * catgets/Makefile ($(objpfx)test1.cat): Use
10046 $(built-program-cmd-before-env), $(run-program-env) and
10047 $(built-program-cmd-after-env).
10048 ($(objpfx)test2.cat): Do not specify environment variables
10049 explicitly.
10050 ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
10051 $(run-program-env) and $(built-program-cmd-after-env).
10052 ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
10053 $(run-program-env) and $(test-program-cmd-after-env).
10054 ($(objpfx)sample.SJIS.cat): Do not specify environment variables
10055 explicitly.
10056 * catgets/test-gencat.sh: Use test_program_cmd_before_env,
10057 run_program_env and test_program_cmd_after_env arguments.
10058 * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
10059 * elf/tst-pathopt.sh: Use run_program_env argument.
10060 * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
10061 $(test-wrapper-env) and $(run-program-env).
10062 * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
10063 run_program_env arguments.
10064 * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
10065 * intl/Makefile ($(objpfx)tst-gettext.out): Use
10066 $(test-program-prefix-before-env), $(run-program-env) and
10067 $(test-program-prefix-after-env).
10068 ($(objpfx)tst-gettext2.out): Likewise.
10069 * intl/tst-gettext.sh: Use test_program_prefix_before_env,
10070 run_program_env and test_program_prefix_after_env arguments.
10071 * intl/tst-gettext2.sh: Likewise.
10072 * intl/tst-gettext4.sh: Do not set environment variables
10073 explicitly.
10074 * intl/tst-gettext6.sh: Likewise.
10075 * intl/tst-translit.sh: Likewise.
10076 * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
10077 $(test-program-prefix-before-env), $(run-program-env) and
10078 $(test-program-prefix-after-env).
10079 * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
10080 run_program_env and test_program_prefix_after_env arguments.
10081 * math/Makefile (run-regen-ulps): Use $(run-program-env).
10082 * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
10083 * nptl/tst-tls6.sh: Use run_program_env argument. Set LANG=C
10084 explicitly with each use of ${test_wrapper_env}.
10085 * posix/Makefile ($(objpfx)wordexp-tst.out): Use
10086 $(test-program-prefix-before-env), $(run-program-env) and
10087 $(test-program-prefix-after-env).
10088 * posix/tst-getconf.sh: Do not set environment variables
10089 explicitly.
10090 * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
10091 run_program_env and test_program_prefix_after_env arguments.
10092 * stdio-common/tst-printf.sh: Do not set environment variables
10093 explicitly.
10094 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
10095 $(test-program-prefix-before-env), $(run-program-env) and
10096 $(test-program-prefix-after-env).
10097 * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
10098 run_program_env and test_program_prefix_after_env arguments.
10099 Split $test calls into $test_pre and $test.
10100 * timezone/Makefile (build-testdata): Use
10101 $(built-program-cmd-before-env), $(run-program-env) and
10102 $(built-program-cmd-after-env).
10103
10104 2014-06-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10105
10106 * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
10107 strlen for non SHARED builds.
10108
10109 2014-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
10110
10111 * nptl/allocatestack.c (check_list): Inlined function...
10112 (__reclaim_stacks): ... here.
10113
10114 2014-06-05 Ondřej Bílka <neleai@seznam.cz>
10115
10116 [BZ #15698]
10117 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
10118 memory overrun.
10119
10120 2014-06-05 Joseph Myers <joseph@codesourcery.com>
10121
10122 * Rules (make-test-out): Include
10123 LOCPATH=$(common-objpfx)localedata in default environment.
10124 * debug/Makefile (tst-chk1-ENV): Remove variable.
10125 (tst-chk2-ENV): Likewise.
10126 (tst-chk3-ENV): Likewise.
10127 (tst-chk4-ENV): Likewise.
10128 (tst-chk5-ENV): Likewise.
10129 (tst-chk6-ENV): Likewise.
10130 (tst-lfschk1-ENV): Likewise.
10131 (tst-lfschk2-ENV): Likewise.
10132 (tst-lfschk3-ENV): Likewise.
10133 (tst-lfschk4-ENV): Likewise.
10134 (tst-lfschk5-ENV): Likewise.
10135 (tst-lfschk6-ENV): Likewise.
10136 * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
10137 (tst-iconv7-ENV): Likewise.
10138 * intl/Makefile (LOCPATH-ENV): Likewise.
10139 (tst-codeset-ENV): Likewise.
10140 (tst-gettext3-ENV): Likewise.
10141 (tst-gettext5-ENV): Likewise.
10142 * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
10143 (tst-fopenloc-ENV): Likewise.
10144 (tst-fgetws-ENV): Remove variable.
10145 (tst-ungetwc1-ENV): Likewise.
10146 (tst-ungetwc2-ENV): Likewise.
10147 (bug-ungetwc2-ENV): Likewise.
10148 (tst-swscanf-ENV): Likewise.
10149 (bug-ftell-ENV): Likewise.
10150 (tst-fgetwc-ENV): Likewise.
10151 (tst-fseek-ENV): Likewise.
10152 (tst-ftell-partial-wide-ENV): Likewise.
10153 (tst-ftell-active-handler-ENV): Likewise.
10154 (tst-ftell-append-ENV): Likewise.
10155 * posix/Makefile (tst-fnmatch-ENV): Likewise.
10156 (tst-regexloc-ENV): Likewise.
10157 (bug-regex1-ENV): Likewise.
10158 (tst-regex-ENV): Likewise.
10159 (tst-regex2-ENV): Likewise.
10160 (bug-regex5-ENV): Likewise.
10161 (bug-regex6-ENV): Likewise.
10162 (bug-regex17-ENV): Likewise.
10163 (bug-regex18-ENV): Likewise.
10164 (bug-regex19-ENV): Likewise.
10165 (bug-regex20-ENV): Likewise.
10166 (bug-regex22-ENV): Likewise.
10167 (bug-regex23-ENV): Likewise.
10168 (bug-regex25-ENV): Likewise.
10169 (bug-regex26-ENV): Likewise.
10170 (bug-regex30-ENV): Likewise.
10171 (bug-regex32-ENV): Likewise.
10172 (bug-regex33-ENV): Likewise.
10173 (bug-regex34-ENV): Likewise.
10174 (bug-regex35-ENV): Likewise.
10175 (tst-rxspencer-ENV): Likewise.
10176 (tst-rxspencer-no-utf8-ENV): Likewise.
10177 * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
10178 (tst-sscanf-ENV): Likewise.
10179 (tst-swprintf-ENV): Likewise.
10180 (tst-swscanf-ENV): Likewise.
10181 (test-vfprintf-ENV): Likewise.
10182 (scanf13-ENV): Likewise.
10183 (bug14-ENV): Likewise.
10184 (tst-grouping-ENV): Likewise.
10185 * stdlib/Makefile (tst-strtod-ENV): Likewise.
10186 (tst-strtod3-ENV): Likewise.
10187 (tst-strtod4-ENV): Likewise.
10188 (tst-strtod5-ENV): Likewise.
10189 (testmb2-ENV): Likewise./
10190 * string/Makefile (tst-strxfrm-ENV): Likewise.
10191 (tst-strxfrm2-ENV): Likewise.
10192 (bug-strcoll1-ENV): Likewise.
10193 (test-strcasecmp-ENV): Likewise.
10194 (test-strncasecmp-ENV): Likewise.
10195 * time/Makefile (tst-strptime-ENV): Likewise.
10196 (tst-ftime_l-ENV): Likewise.
10197 * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
10198 (tst-mbrtowc-ENV): Likewise.
10199 (tst-wcrtomb-ENV): Likewise.
10200 (tst-mbrtowc2-ENV): Likewise.
10201 (tst-c16c32-1-ENV): Likewise.
10202 (tst-mbsnrtowcs-ENV): Likewise.
10203
10204 2014-06-05 Ondřej Bílka <neleai@seznam.cz>
10205
10206 * manual/resource.texi (How to get information about the memory
10207 subsystem?): Fix typo.
10208 Reported by Peon de la Parra Ivan <peon@keba.com>
10209
10210 2014-06-03 Guo Yixuan <culu.gyx@gmail.com>
10211
10212 [BZ #16882]
10213 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
10214 (pthread_spin_lock): Branch out of spin loop to proper location.
10215 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
10216 (pthread_spin_lock): Likewise.
10217
10218 * nptl/tst-spin4.c: New test.
10219 * nptl/Makefile (tests): Add tst-spin4.
10220
10221 2014-06-03 Andreas Schwab <schwab@suse.de>
10222
10223 [BZ #15946]
10224 * resolv/res_send.c (send_dg): Reload file descriptor after
10225 calling reopen.
10226
10227 2014-06-03 Stefan Liebler <stli@linux.vnet.ibm.com>
10228
10229 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
10230
10231 2014-06-03 Richard Henderson <rth@redhat.com>
10232
10233 * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
10234 * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
10235 * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
10236 SAVE_PID and RESTORE_PID blocks from pt-vfork.S. Map 0 to INT_MIN
10237 in the SAVE_PID block.
10238 (__libc_vfork): New alias.
10239 * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
10240
10241 * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
10242 child in registers, not on the stack. Remove RESET_PID conditionals.
10243 * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
10244
10245 2014-06-03 Marcus Shawcroft <marcus.shawcroft@arm.com>
10246
10247 * sysdeps/aarch64/libm-test-ulps: Regenerate.
10248
10249 2014-06-03 Wilco <wdijkstr@arm.com>
10250
10251 * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
10252 (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
10253 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
10254 Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
10255 * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
10256 Likewise.
10257
10258 2014-06-03 Wilco <wdijkstr@arm.com>
10259
10260 * sysdeps/aarch64/fpu/math_private.h
10261 (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
10262 (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
10263 (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
10264 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
10265 Fix declarations.
10266
10267 2014-06-03 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
10268
10269 * crypt/crypt-private.h: Include ufc-crypt.h.
10270 (__b64_from_24bit): Declare extern.
10271 * crypt/crypt_util.c(__b64_from_24bit): New function.
10272 (b64t): New static const variable.
10273 * crypt/md5-crypt.c (b64_from_24bit): Remove function.
10274 (b64t): Remove variable.
10275 (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
10276 * crypt/sha256-crypt.c: Include crypt-private.h.
10277 (b64t): Remove variable.
10278 (__sha256_crypt_r): Remove b64_from_24bit and replace
10279 with __b64_from_24bit.
10280 * crypt/sha512-crypt.c: Likewise.
10281
10282 2014-06-02 Roland McGrath <roland@hack.frob.com>
10283
10284 * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
10285 * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
10286 Label the code __libc_vfork rather than __vfork.
10287 [!NOT_IN_libc] (vfork): Define as weak alias.
10288 [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
10289 * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
10290 * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
10291
10292 2014-06-02 Siddhesh Poyarekar <siddhesh@redhat.com>
10293
10294 * malloc/malloc.c (malloc_info): Fix format specifier for
10295 n_mmaps.
10296
10297 2014-06-02 Wilco <wdijkstr@arm.com>
10298
10299 * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
10300 FPCR write.
10301
10302 2014-06-02 Wilco <wdijkstr@arm.com>
10303
10304 [BZ #17009]
10305 * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
10306 Rewrite to reduce FPCR/FPSR accesses.
10307
10308 2014-06-01 David S. Miller <davem@davemloft.net>
10309
10310 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10311
10312 2014-05-31 David S. Miller <davem@davemloft.net>
10313
10314 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
10315 to occur in round to nearest mode when |x| >= 2.0
10316
10317 2014-05-30 Richard Henderson <rth@twiddle.net>
10318
10319 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
10320 (PSEUDO_RET_NOERRNO): Remove.
10321 (ret): Don't redefine.
10322 (ret_NOERRNO): Define in terms of ret.
10323 (ret_ERRVAL): Likewise.
10324
10325 * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
10326 use of PSEUDO_RET; perform the error check directly.
10327
10328 2014-05-30 Marko Myllynen <myllynen@redhat.com>
10329
10330 * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
10331 with __int128_t.
10332
10333 2014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
10334
10335 * malloc/malloc (malloc_info): Fix formatting.
10336
10337 2014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
10338 Roland McGrath <roland@hack.frob.com>
10339
10340 * malloc/malloc (malloc_info): Also print mmapped statistics.
10341
10342 2014-05-30 Roland McGrath <roland@hack.frob.com>
10343
10344 * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
10345 * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
10346
10347 2014-05-30 Ondřej Bílka <neleai@seznam.cz>
10348
10349 * malloc/malloc.c (malloc_info): Inline mi_arena.
10350
10351 2014-05-29 Richard Henderson <rth@twiddle.net>
10352
10353 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
10354 Remove comma before expanding ASM_ARGS_##nr.
10355 (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
10356 Make _x0 a strict output; make _x8 a strict input; adjust expansion
10357 of ASM_ARGS_##nr.
10358 (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
10359 (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
10360 (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
10361 (ASM_ARGS_1): Add leading comma.
10362
10363 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
10364 (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
10365 to __errno_location.
10366 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
10367 Remove the expected plt for __errno_location.
10368
10369 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
10370 [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
10371 call to __read_tp.
10372
10373 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
10374 Always allocate 64 bytes of stack frame. Use ldp/stp to create
10375 it and break it down.
10376 (DOCARGS_0, DOCARGS_1): Do nothing.
10377 (DOCARGS_2): Update to store into the new stack frame.
10378 (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
10379 (UNDOCARGS_1): Update to restore from the new stack frame.
10380 (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
10381 (UNDOCARGS_5, UNDOCARGS_6): Likewise.
10382
10383 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
10384 (SINGLE_THREAD_P): New parameter for result regno.
10385 (PSEUDO): Update to match; use cbz instead of beq.
10386
10387 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
10388 Use ENTRY to define the _nocancel entry point. Share the syscall
10389 and syscall error check paths with the cancel path.
10390 (PSEUDO_END): New.
10391
10392 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
10393 whitespace; tabs before and after asm mnemonics.
10394
10395 2014-05-29 Eric Wong <normalperson@yhbt.net>
10396
10397 [BZ #15132]
10398 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
10399 Call fstat64 or stat64 internally, depending on arguments passed.
10400 Replace stat buffer argument with file descriptor argument.
10401 (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
10402 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
10403 Pass fd to __internal_statvfs instead of calling fstat64.
10404 * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
10405 Pass fd to __internal_statvfs64 instead of calling fstat64.
10406 * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
10407 Pass -1 to __internal_statvfs instead of calling stat64.
10408 * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
10409 Pass -1 to __internal_statvfs64 instead of calling stat64.
10410
10411 2014-05-28 Roland McGrath <roland@hack.frob.com>
10412
10413 * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
10414 that was previously under [RESET_PID].
10415 * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
10416
10417 * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
10418 * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
10419
10420 2014-05-27 Roland McGrath <roland@hack.frob.com>
10421
10422 * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
10423
10424 * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
10425 * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
10426
10427 2014-05-27 Ondřej Bílka <neleai@seznam.cz>
10428
10429 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
10430
10431 2014-05-27 Andreas Schwab <schwab@suse.de>
10432
10433 * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
10434 TLS_INIT_TP macro.
10435 * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
10436 * elf/rtld.c (init_tls, dl_main): Likewise.
10437 * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
10438 * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
10439 * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
10440 * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
10441 * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
10442 * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
10443 * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
10444 * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
10445 * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
10446 * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
10447 * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
10448 * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
10449 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
10450 * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
10451 * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
10452 * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
10453 * sysdeps/generic/tls.h: Update description.
10454
10455 2014-05-27 Will Newton <will.newton@linaro.org>
10456
10457 [BZ #16990]
10458 * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
10459 and restore r2 rather than just restoring.
10460
10461 2014-05-27 Siddhesh Poyarekar <siddhesh@redhat.com>
10462
10463 [BZ #16724]
10464 * libio/tst-ftell-append.c: New test case.
10465 * libio/Makefile (tests): Add test case.
10466 * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
10467 append mode.
10468 * libio/wfileops.c (do_ftell_wide): Likewise.
10469
10470 2014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10471
10472 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10473
10474 * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
10475 ...
10476 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
10477 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
10478 * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
10479 * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
10480 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
10481 * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
10482 * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
10483 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
10484 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
10485 Moved ...
10486 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
10487 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
10488 Moved ...
10489 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
10490 * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
10491 * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
10492 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
10493 * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
10494 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
10495 ...
10496 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
10497 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
10498 Moved ...
10499 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
10500 here.
10501 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
10502 ...
10503 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
10504 * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
10505 * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
10506
10507 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
10508 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
10509 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
10510 * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
10511
10512 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
10513 merge into ...
10514 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
10515 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
10516 ...
10517 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
10518 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
10519 ...
10520 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
10521 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
10522 Moved ...
10523 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
10524 here.
10525 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
10526 Moved ...
10527 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
10528 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
10529 Moved ...
10530 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
10531
10532 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
10533 conditional [RESET_PID].
10534 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
10535 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
10536 removed.
10537 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
10538 removed.
10539
10540 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
10541 <tcb-offsets.h>.
10542 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
10543 (__libc_vfork): New strong alias.
10544 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
10545 removed.
10546 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
10547 Removed.
10548
10549 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
10550 <tcb-offsets.h>.
10551 (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
10552 (__libc_vfork): New strong alias.
10553 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
10554 removed.
10555 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
10556 removed.
10557
10558 2014-05-26 Carlos O'Donell <carlos@redhat.com>
10559
10560 * malloc/malloc.c (mi_arena): New function.
10561 (malloc_info): Remove nested function mi_arena. Call non-nosted
10562 function mi_arena.
10563
10564 2014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10565
10566 * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
10567 by insrwi.
10568 * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
10569 * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
10570 * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
10571 * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
10572 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
10573 * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
10574 * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
10575
10576 2014-05-26 Andreas Schwab <schwab@suse.de>
10577
10578 [BZ #16984]
10579 * locale/programs/repertoire.c (repertoire_read): Add slash
10580 between I18NPATH element and file name.
10581 * locale/programs/locfile.c (locfile_read): Likewise.
10582
10583 2014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
10584
10585 * nptl/pthread_mutexattr_settype.c
10586 (__pthread_mutexattr_settype):
10587 Disable lock elision for PTHREAD_MUTEX_NORMAL.
10588
10589 2014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
10590
10591 * nptl/tst-mutex5 (do_test):
10592 Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
10593
10594 2014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
10595
10596 * benchtests/README: Document 'init' directive.
10597 * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
10598 BENCH_INIT.
10599 * scripts/bench.py (gen_source): Define BENCH_INIT macro.
10600 (parse_file): Recognize 'init' directive.
10601
10602 2014-05-26 Kyle McMartin <kyle@redhat.com>
10603
10604 [BZ #16796]
10605 * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
10606 alignment of struct pthread.
10607
10608 2014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
10609
10610 [BZ #16878]
10611 * nscd/netgroupcache.c (addgetnetgrentX): Look for
10612 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
10613 * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
10614 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
10615
10616 2014-05-25 Richard Henderson <rth@twiddle.net>
10617
10618 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
10619 (SINGLE_THREAD_P_PIC): Remove.
10620 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
10621 (SINGLE_THREAD_P_PIC): Remove.
10622
10623 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
10624 branch to syscall error ...
10625 (PSEUDO): ... here.
10626 [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
10627 from __local_syscall_error to .Lsyscall_error.
10628 [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
10629 (SYSCALL_ERROR): Update label name.
10630
10631 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
10632 Do not use DOARGS/UNDOARGS.
10633 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
10634 (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
10635 (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
10636 (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
10637 (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
10638
10639 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
10640 block comment.
10641
10642 * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
10643 define if !NOT_IN_libc.
10644 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
10645 define with non-default symbol versions.
10646
10647 2014-05-23 Richard Henderson <rth@twiddle.net>
10648
10649 * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
10650 (vfork, __vfork): Define via compat_symbol.
10651
10652 * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
10653 [!HAVE_IFUNC] (vfork_compat): Remove.
10654 [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
10655
10656 2014-05-23 Joseph Myers <joseph@codesourcery.com>
10657
10658 [BZ #16978]
10659 * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
10660 * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
10661 variable.
10662
10663 2014-05-23 Richard Henderson <rth@twiddle.net>
10664
10665 * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
10666 * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
10667 * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
10668 * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
10669
10670 * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
10671 * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
10672 * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
10673 * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
10674 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
10675 * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
10676 * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
10677 * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
10678 * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
10679 * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
10680 * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
10681 * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
10682 * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
10683 * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
10684 * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
10685 * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
10686 * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
10687 * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
10688 * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
10689 * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
10690 * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
10691 * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
10692 * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
10693 * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
10694 * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
10695 * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
10696 * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
10697 * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
10698 * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
10699 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
10700 * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
10701 * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
10702 * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
10703 * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
10704 * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
10705 * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
10706 * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
10707 * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
10708 * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
10709 * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
10710 * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
10711 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
10712 * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
10713 * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
10714 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
10715 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
10716 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
10717 * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
10718 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
10719 * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
10720 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
10721 * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
10722 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
10723 * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
10724 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
10725 * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
10726
10727 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
10728 * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
10729 * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here. Restore PID
10730 before exiting on error.
10731 (__libc_vfork): New strong alias.
10732 * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
10733 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
10734
10735 * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
10736 that was previously under [RESET_PID].
10737 * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
10738
10739 * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
10740
10741 2014-05-23 Joseph Myers <joseph@codesourcery.com>
10742
10743 [BZ #16977]
10744 * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
10745 value when x - 1 is zero.
10746 * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
10747 * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
10748 * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
10749 0.0L for an argument of 1.0L.
10750 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
10751 Likewise.
10752 * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
10753 value when x - 1 is zero.
10754 * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
10755 * sysdeps/i386/fpu/libm-test-ulps: Update.
10756 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10757
10758 2014-05-23 Rasmus Villemoes <rv@rasmusvillemoes.dk>
10759
10760 * manual/filesys.texi (Scanning Directory Content): Fix prototype of
10761 alphasort and versionsort.
10762
10763 2014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10764
10765 * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
10766 macro.
10767 [copysignf]: Likewise.
10768
10769 2014-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
10770
10771 * crypt/md5-crypt.c: Fix formatting.
10772
10773 2014-05-22 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
10774
10775 * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
10776 (b64_from_24bit): New function.
10777
10778 2014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10779
10780 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
10781 libc_hidden_builtin_def to ifunc.
10782 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
10783 [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
10784
10785 2014-05-21 Roland McGrath <roland@hack.frob.com>
10786
10787 * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
10788 * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
10789
10790 2014-05-21 Joseph Myers <joseph@codesourcery.com>
10791
10792 * nscd/Depend (linuxthreads): Remove.
10793 (nptl): Add.
10794 * resolv/Depend (linuxthreads): Remove.
10795 * rt/Depend (linuxthreads): Remove.
10796
10797 * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
10798 (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
10799 $(common-objpfx)elf/.
10800 (link-libc-before-gnulib): Likewise.
10801 (elfobjdir): Remove variable.
10802 * Makefile (install): Use $(elf-objpfx) instead of
10803 $(common-objpfx)elf/.
10804 * Makerules (link-libc-args): Use $(elf-objpfx) instead of
10805 $(elfobjdir)/.
10806 (link-libc-deps): Likewise.
10807 ($(common-objpfx)libc.so): Likewise.
10808 ($(common-objpfx)linkobj/libc.so): Likewise.
10809 [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
10810 instead of $(common-objpfx)elf/.
10811 (symbolic-link-list): Likewise.
10812 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
10813 [$(cross-compiling) = no]: Likewise.
10814 * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
10815 $(elfobjdir)/.
10816 (static-gnulib-arch): Likewise.
10817 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
10818 [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
10819 $(common-objpfx)elf/.
10820
10821 2014-05-21 Richard Henderson <rth@redhat.com>
10822
10823 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
10824 (SINGLE_THREAD_P): Use the correct width load. Fold
10825 into the ldr offset.
10826
10827 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
10828 (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
10829
10830 2014-05-20 Joseph Myers <joseph@codesourcery.com>
10831
10832 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
10833 (libgcc_s_resume): Use __attribute_used__.
10834 * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
10835 Likewise.
10836
10837 2014-05-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10838
10839 * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
10840 optimization when used with float constants.
10841
10842 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10843
10844 2014-05-20 Aurelien Jarno <aurelien@aurel32.net>
10845
10846 [BZ #16915]
10847 * locale/nl_langinfo_l.c: Make direct reference to every
10848 _nl_current_CATEGORY symbol.
10849 * localedata/Makefile (test-srcs): Add tst-langinfo-static.
10850 (tests-static): Add tst-langinfo-static.
10851 (tests-special): Add tst-langinfo-static.out.
10852 ($(objpfx)tst-langinfo.out): Redirect output.
10853 ($(objpfx)tst-langinfo-static.out): New.
10854 * localedata/tst-langinfo.sh: Send output to stdout.
10855 * localedata/tst-langinfo-static.c: New file.
10856
10857 [BZ #16965]
10858 * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
10859 when the shift amount is modulo the limb size.
10860
10861 2014-05-20 Richard Henderson <rth@redhat.com>
10862
10863 [BZ #16967]
10864 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
10865 Change type of sa_flags from unsigned int to int.
10866
10867 [BZ #16966]
10868 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
10869
10870 * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
10871
10872 2014-05-20 Will Newton <will.newton@linaro.org>
10873
10874 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
10875 Test the return value of the system call in the nocancel case.
10876
10877 2014-05-20 Will Newton <will.newton@linaro.org>
10878 Yvan Roux <yvan.roux@linaro.org>
10879
10880 * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
10881 #include of asm/ptrace.h.
10882 (PTRACE_GET_THREAD_AREA): Remove #undef.
10883 (PTRACE_GETHBPREGS): Likewise.
10884 (PTRACE_SETHBPREGS): Likewise.
10885 (struct user_regs_struct): New structure.
10886 (struct user_fpsimd_struct): New structure.
10887 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
10888 #include of asm/ptrace.h and second #include of sys/user.h.
10889 (PTRACE_GET_THREAD_AREA): Remove #undef.
10890 (PTRACE_GETHBPREGS): Likewise.
10891 (PTRACE_SETHBPREGS): Likewise.
10892 (ELF_NGREG): Use new struct user_regs_struct.
10893 (elf_fpregset_t): Use new struct user_fpsimd_struct.
10894
10895 2014-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10896
10897 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
10898 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
10899
10900 2014-05-17 Jose E. Marchesi <jose.marchesi@oracle.com>
10901
10902 [BZ #16958]
10903 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
10904 membar to avoid block loads/stores to overlap previous stores.
10905
10906 2014-05-17 Richard Henderson <rth@redhat.com>
10907
10908 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
10909 Create the __##syscall_name##_nocancel entry point.
10910 * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
10911 Remove; let the sysdep-cancel.h code create it.
10912
10913 2014-05-17 David S. Miller <davem@davemloft.net>
10914
10915 * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
10916 Protect with __USE_GNU.
10917 (TIOCSET_TEMPT): Likewise.
10918 (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
10919 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
10920 these are already provided in bits/ioctl-types.h
10921
10922 2014-05-16 Roland McGrath <roland@hack.frob.com>
10923
10924 * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
10925 * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
10926
10927 * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
10928 Use wait4 regardless of [__NR_waitpid].
10929
10930 2014-05-16 Maciej W. Rozycki <macro@codesourcery.com>
10931
10932 PR libgcc/60166
10933 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
10934 (_FP_NANSIGN_Q): Set the quiet bit.
10935
10936 2014-05-16 Joseph Myers <joseph@codesourcery.com>
10937
10938 * benchtests/Makefile
10939 ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
10940 not $(common-objpfx)math/libm.so.
10941 ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
10942 $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
10943 * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
10944 $(common-objpfx)dlfcn/libdl.so.
10945 ($(objpfx)tst-audit8): Depend on $(libm), not
10946 $(common-objpfx)math/libm.so.
10947 * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
10948 not $(common-objpfx)dlfcn/libdl.so.
10949 * math/Makefile
10950 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
10951 Depend on $(libm), not $(objpfx)libm.so. Do not condition on
10952 [$(build-shared) = yes].
10953 ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
10954 $(common-objpfx)nptl/libpthread.so.
10955 * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
10956 $(common-objpfx)math/libm.so$(libm.so-version) or
10957 $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
10958 * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
10959 $(common-objpfx)dlfcn/libdl.so.
10960 * setjmp/Makefile (link-libm): Remove variable.
10961 ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
10962 * stdio-common/Makefile (link-libm): Remove variable.
10963 ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
10964 * stdlib/Makefile (link-libm): Remove variable.
10965 ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
10966 ($(objpfx)tst-strtod-round): Likewise.
10967 ($(objpfx)tst-tininess): Likewise.
10968 ($(objpfx)tst-strtod-underflow): Likewise.
10969 ($(objpfx)tst-strtod6): Likewise.
10970 ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
10971 $(libdl), not $(common-objpfx)nptl/libpthread.so and
10972 $(common-objpfx)dlfcn/libdl.so.
10973
10974 2014-05-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10975
10976 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
10977 BSD terminal modes definitions.
10978
10979 2014-05-16 Roland McGrath <roland@hack.frob.com>
10980
10981 * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
10982 * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
10983
10984 * sysdeps/unix/sysv/linux/arch-fork.h: New file.
10985 * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
10986 * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
10987 Don't do #include_next.
10988 * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
10989 * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
10990 Don't do #include_next.
10991 * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
10992 * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
10993 * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
10994 * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
10995
10996 2014-05-16 Allan McRae <allan@archlinux.org>
10997
10998 * po/sv.po: Update Swedish translation from translation project.
10999
11000 * timezone/Makefile ($(objpfx)tzselect): Use correct variable
11001 in sed expression.
11002
11003 2014-05-16 Aurelien Jarno <aurelien@aurel32.net>
11004
11005 [BZ #16917]
11006 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
11007 errno if the TIOCGPTN ioctl fails with an error different than
11008 EINVAL.
11009 * login/tst-ptsname.c: New file.
11010 * login/Makefile (tests): Add tst-ptsname.
11011
11012 [BZ #16943]
11013 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
11014 and prlimit64.
11015
11016 2014-05-15 Siddhesh Poyarekar <siddhesh@redhat.com>
11017
11018 [BZ #16849]
11019 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
11020 herrno to return EAI_AGAIN.
11021
11022 2014-05-14 Roland McGrath <roland@hack.frob.com>
11023
11024 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
11025 * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
11026 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
11027 * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
11028 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
11029 * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
11030 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
11031 * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
11032 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
11033 * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
11034 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
11035 * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
11036 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
11037 * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
11038 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
11039 * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
11040 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
11041 * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
11042 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
11043 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
11044 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
11045 * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
11046 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
11047 * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
11048 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
11049 * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
11050 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
11051 * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
11052 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
11053 * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
11054 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
11055 * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
11056 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
11057 * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
11058 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
11059 Moved ...
11060 * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
11061 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
11062 * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
11063 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
11064 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
11065 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
11066 * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
11067 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
11068 * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
11069 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
11070 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
11071 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
11072 * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
11073 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
11074 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
11075 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
11076 * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
11077 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
11078 * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
11079 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
11080 * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
11081 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
11082 * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
11083 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
11084 * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
11085 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
11086 * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
11087 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
11088 Moved ...
11089 * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
11090 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
11091 * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
11092 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
11093 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
11094 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
11095 * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
11096 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
11097 * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
11098 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
11099 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
11100 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
11101 * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
11102 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
11103 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
11104 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
11105 * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
11106 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
11107 * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
11108 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
11109 Moved ...
11110 * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
11111 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
11112 * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
11113
11114 * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
11115 * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
11116 (libpthread-sysdep_routines): Add elision-related stuff here instead.
11117 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
11118 * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
11119 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
11120 * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
11121 * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
11122 * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
11123 * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
11124 * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
11125 * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
11126 * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
11127 * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
11128 * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
11129 * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
11130 * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
11131 * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
11132 * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
11133 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
11134 * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
11135 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
11136 * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
11137 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
11138 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
11139 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
11140 * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
11141 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
11142 * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
11143 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
11144 * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
11145
11146 * sysdeps/unix/sysv/linux/mips/fork.h: New file.
11147 * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
11148
11149 * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
11150 * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
11151 * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
11152 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
11153 * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
11154 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
11155 Moved ...
11156 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
11157 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
11158 Moved ...
11159 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
11160 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
11161 Moved ...
11162 * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
11163 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
11164 Moved ...
11165 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
11166 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
11167 * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
11168 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
11169 Moved ...
11170 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
11171 * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
11172 * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
11173 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
11174 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
11175 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
11176 * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
11177 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
11178 Moved ...
11179 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
11180 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
11181 Moved ...
11182 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
11183 ... here.
11184 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
11185 * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
11186 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
11187 * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
11188 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
11189 Moved ...
11190 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
11191 ... here.
11192 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
11193 Moved ...
11194 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
11195 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
11196 * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
11197 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
11198 * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
11199 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
11200 Moved ...
11201 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
11202 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
11203 Moved ...
11204 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
11205 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
11206 Moved ...
11207 * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
11208 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
11209 Moved ...
11210 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
11211 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
11212 * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
11213 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
11214 Moved ...
11215 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
11216 * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
11217 * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
11218 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
11219 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
11220 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
11221 * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
11222 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
11223 Moved ...
11224 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
11225 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
11226 Moved ...
11227 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
11228 ... here.
11229 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
11230 * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
11231 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
11232 * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
11233 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
11234 Moved ...
11235 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
11236 ... here.
11237 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
11238 Moved ...
11239 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
11240 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
11241 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
11242 * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
11243 * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
11244 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
11245 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
11246 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
11247 * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
11248 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
11249 Moved ...
11250 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
11251 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
11252 Moved ...
11253 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
11254 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
11255 Moved ...
11256 * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
11257 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
11258 Moved ...
11259 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
11260 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
11261 * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
11262 * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
11263 * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
11264 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
11265 Moved ...
11266 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
11267 * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
11268 * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
11269 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
11270 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
11271 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
11272 * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
11273 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
11274 Moved ...
11275 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
11276 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
11277 Moved ...
11278 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
11279 ... here.
11280 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
11281 * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
11282 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
11283 * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
11284 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
11285 Moved ...
11286 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
11287 ... here.
11288 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
11289 Moved ...
11290 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
11291 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
11292 * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
11293 * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
11294 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
11295 * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
11296 * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
11297 * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
11298 * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
11299 * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
11300 * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
11301
11302 * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
11303 * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
11304
11305 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
11306 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
11307
11308 * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
11309 * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
11310 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
11311 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
11312 * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
11313 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
11314 * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
11315 * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
11316 * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
11317 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
11318 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
11319 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
11320 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
11321 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
11322 * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
11323 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
11324 * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
11325 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
11326 Moved ...
11327 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
11328 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
11329 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
11330 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
11331 Moved ...
11332 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
11333 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
11334 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
11335 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
11336 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
11337 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
11338 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
11339 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
11340 Moved ...
11341 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
11342 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
11343 Moved ...
11344 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
11345 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
11346 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
11347 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
11348 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
11349 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
11350 * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
11351 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
11352 * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
11353 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
11354 * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
11355 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
11356 * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
11357 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
11358 * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
11359 * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
11360 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
11361
11362 * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
11363 * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
11364 * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
11365 * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
11366 * sysdeps/unix/sysv/linux/i386/fork.h: New file.
11367
11368 * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
11369 * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
11370 * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
11371 * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
11372 * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
11373 * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
11374 * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
11375 * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
11376 * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
11377 * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
11378
11379 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
11380 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
11381
11382 * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
11383 * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
11384 * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
11385 * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
11386 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
11387 * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
11388 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
11389 * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
11390 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
11391 * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
11392 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
11393 * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
11394 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
11395 * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
11396 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
11397 Update #include.
11398 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
11399 Likewise.
11400 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
11401 Likewise.
11402 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
11403 Likewise.
11404 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
11405 Likewise.
11406 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
11407 Likewise.
11408 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
11409 Likewise.
11410 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
11411 Likewise.
11412 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
11413 Likewise.
11414 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
11415 Likewise.
11416 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
11417 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
11418 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
11419 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
11420 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
11421 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
11422 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
11423 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
11424 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
11425 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
11426 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
11427 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
11428 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
11429 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Likewise.
11430 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Likewise.
11431
11432 * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
11433 that was previously under [RESET_PID].
11434 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
11435 * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
11436 * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
11437
11438 * sysdeps/i386/nptl/Implies: New file.
11439 * sysdeps/x86_64/nptl/Implies: New file.
11440 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
11441 * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
11442 * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
11443 * sysdeps/x86/nptl/bits/semaphore.h: ... here.
11444
11445 * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
11446 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
11447 (__libc_vfork): New strong alias.
11448 * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
11449 * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
11450
11451 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
11452 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
11453 (__libc_vfork): New strong alias.
11454 * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
11455 * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
11456
11457 * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
11458 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
11459 (__libc_vfork): New strong alias.
11460 * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
11461 * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
11462 * nptl/pt-vfork.c: New file.
11463 * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
11464 (libpthread: GLIBC_2.20): New version set (empty).
11465
11466 2014-05-14 Will Newton <will.newton@linaro.org>
11467
11468 * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
11469 rather than #if.
11470
11471 2014-05-14 Joseph Myers <joseph@codesourcery.com>
11472
11473 [BZ #16564]
11474 * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
11475 arguments with exponent 65 or above.
11476 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
11477 arguments 0x1p113L or above.
11478 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
11479 to arguments 0x1p107L or above.
11480 * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
11481 positive arguments with exponent 65 or above.
11482 * math/auto-libm-test-in: Add more tests of log1p.
11483 * math/auto-libm-test-out: Regenerated.
11484
11485 [BZ #16928]
11486 * math/s_cacos.c (__cacos): Ensure zero real part of result from
11487 non-finite arguments is +0.
11488 * math/s_cacosf.c (__cacosf): Likewise.
11489 * math/s_cacosl.c (__cacosl): Likewise.
11490 * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
11491 * sysdeps/i386/fpu/libm-test-ulps: Update.
11492 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11493
11494 [BZ #16927]
11495 * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
11496 value.
11497 * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
11498 * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
11499 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
11500 for explicit high bit of mantissa when testing for argument equal
11501 to 1.
11502 * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
11503 * sysdeps/i386/fpu/libm-test-ulps: Update.
11504 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11505
11506 [BZ #16516]
11507 * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
11508 (__erf): Scale by 16 instead of 8 in potentially underflowing
11509 case. Ensure exception if result actually underflows.
11510 * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
11511 (__erff): Scale by 16 instead of 8 in potentially underflowing
11512 case. Ensure exception if result actually underflows.
11513 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
11514 (efx8): Remove variable.
11515 (__erfl): Scale by 16 instead of 8 in potentially underflowing
11516 case. Ensure exception if result actually underflows.
11517 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
11518 (efx8): Remove variable.
11519 (__erfl): Scale by 16 instead of 8 in potentially underflowing
11520 case. Ensure exception if result actually underflows.
11521 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
11522 (efx8): Remove variable.
11523 (__erfl): Scale by 16 instead of 8 in potentially underflowing
11524 case. Ensure exception if result actually underflows.
11525 * math/auto-libm-test-in: Add more tests of erf.
11526 * math/auto-libm-test-out: Regenerated.
11527
11528 2014-05-14 Andreas Schwab <schwab@suse.de>
11529
11530 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
11531 Remove code conditionalized on USE___THREAD.
11532
11533 * config.h.in (HAVE_PT_CHOWN): Define as 0.
11534 * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
11535 not definedness.
11536
11537 2014-05-14 Joseph Myers <joseph@codesourcery.com>
11538
11539 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
11540 Define unconditionally.
11541 (__ASSUME_O_CLOEXEC): Likewise.
11542 (__ASSUME_SOCK_CLOEXEC): Likewise.
11543 (__ASSUME_IN_NONBLOCK): Likewise.
11544 (__ASSUME_PIPE2): Likewise.
11545 (__ASSUME_EVENTFD2): Likewise.
11546 (__ASSUME_SIGNALFD4): Likewise.
11547 (__ASSUME_DUP3): Likewise.
11548 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
11549 (__ASSUME_DUP3): Do not define.
11550 (__ASSUME_EVENTFD2): Likewise.
11551 (__ASSUME_IN_NONBLOCK): Likewise.
11552 (__ASSUME_O_CLOEXEC): Likewise.
11553 (__ASSUME_PIPE2): Likewise.
11554 (__ASSUME_SIGNALFD4): Likewise.
11555 (__ASSUME_SOCK_CLOEXEC): Likewise.
11556 (__ASSUME_UTIMES): Undefine.
11557 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
11558 (__ASSUME_UTIMES): Do not define.
11559 (__ASSUME_O_CLOEXEC): Likewise.
11560 (__ASSUME_SOCK_CLOEXEC): Likewise.
11561 (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
11562 0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
11563 0x020621].
11564 (__ASSUME_PIPE2): Likewise.
11565 (__ASSUME_EVENTFD2): Likewise.
11566 (__ASSUME_SIGNALFD4): Likewise.
11567 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
11568 * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
11569 Do not define.
11570 (__ASSUME_EVENTFD2): Likewise.
11571 (__ASSUME_SIGNALFD4): Likewise.
11572 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
11573 (__ASSUME_32BITUIDS): Likewise.
11574 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
11575 (__ASSUME_IPC64): Likewise.
11576 (__ASSUME_ST_INO_64_BIT): Likewise.
11577 (__ASSUME_GETDENTS64_SYSCALL): Likewise.
11578 [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
11579 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
11580 (__ASSUME_UTIMES): Do not define.
11581 (__ASSUME_PSELECT): Likewise.
11582 (__ASSUME_PPOLL): Likewise.
11583 (__ASSUME_O_CLOEXEC): Likewise.
11584 (__ASSUME_SOCK_CLOEXEC): Likewise.
11585 (__ASSUME_IN_NONBLOCK): Likewise.
11586 (__ASSUME_PIPE2): Likewise.
11587 (__ASSUME_EVENTFD2): Likewise.
11588 (__ASSUME_SIGNALFD4): Likewise.
11589 (__ASSUME_DUP3): Likewise.
11590 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
11591 (__ASSUME_UTIMES): Likewise.
11592 (__ASSUME_O_CLOEXEC): Likewise.
11593 (__ASSUME_SOCK_CLOEXEC): Likewise.
11594 (__ASSUME_IN_NONBLOCK): Likewise.
11595 (__ASSUME_PIPE2): Likewise.
11596 (__ASSUME_EVENTFD2): Likewise.
11597 (__ASSUME_SIGNALFD4): Likewise.
11598 (__ASSUME_DUP3): Likewise.
11599 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
11600 (__ASSUME_UTIMES): Likewise.
11601 (__ASSUME_O_CLOEXEC): Likewise.
11602 (__ASSUME_SOCK_CLOEXEC): Likewise.
11603 (__ASSUME_IN_NONBLOCK): Likewise.
11604 (__ASSUME_PIPE2): Likewise.
11605 (__ASSUME_EVENTFD2): Likewise.
11606 (__ASSUME_SIGNALFD4): Likewise.
11607 (__ASSUME_DUP3): Likewise.
11608 * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
11609 Likewise.
11610 (__ASSUME_UTIMES): Likewise.
11611 (__ASSUME_EVENTFD2): Likewise.
11612 (__ASSUME_SIGNALFD4): Likewise.
11613 * sysdeps/unix/sysv/linux/tile/kernel-features.h
11614 (__ASSUME_O_CLOEXEC): Likewise.
11615 (__ASSUME_SOCK_CLOEXEC): Likewise.
11616 (__ASSUME_IN_NONBLOCK): Likewise.
11617 (__ASSUME_PIPE2): Likewise.
11618 (__ASSUME_EVENTFD2): Likewise.
11619 (__ASSUME_SIGNALFD4): Likewise.
11620 (__ASSUME_DUP3): Likewise.
11621 (__ASSUME_UTIMES): Undefine.
11622
11623 * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
11624 feclearexcept. Remove symbol versioning code.
11625 * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv. Remove
11626 symbol versioning code.
11627 * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv. Remove
11628 symbol versioning code.
11629 * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
11630 feupdateenv. Remove symbol versioning code.
11631 * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
11632 fegetexceptflag. Remove symbol versioning code.
11633 * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
11634 fesetexceptflag. Remove symbol versioning code.
11635 * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
11636 GLIBC_2.2 and GLIBC_2.3.3 entries. Change GLIBC_2.1 to GLIBC_2.4.
11637 * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
11638 (__posix_fadvise64_l32): Remove prototype.
11639 [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
11640 code.
11641
11642 2014-05-13 Roland McGrath <roland@hack.frob.com>
11643
11644 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
11645 * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
11646 * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
11647 * sysdeps/arm/nptl/bits/semaphore.h: ... here.
11648
11649 2014-05-13 Sami Kerola <kerolasa@iki.fi>
11650
11651 * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
11652 current working directory
11653
11654 2014-05-13 Roland McGrath <roland@hack.frob.com>
11655
11656 * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
11657 * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
11658 * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
11659 * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
11660 * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
11661 * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
11662 * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
11663 * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
11664 * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
11665 * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
11666 * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
11667 * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
11668 * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
11669 * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
11670 * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
11671 * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
11672 * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
11673 * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
11674 * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
11675 * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
11676 * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
11677 * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
11678 * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
11679 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
11680 * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
11681 * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
11682 * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
11683 * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
11684 * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
11685 * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
11686 * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
11687 * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
11688 * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
11689 * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
11690 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
11691 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
11692 * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
11693 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
11694 * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
11695 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
11696 * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
11697 * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
11698
11699 * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
11700 * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
11701
11702 * sysdeps/unix/sysv/linux/arm/Makefile
11703 [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
11704 Add rt-aeabi_unwind_cpp_pr1.
11705 [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
11706 Add nptl-aeabi_unwind_cpp_pr1.
11707 [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
11708 * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
11709 * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
11710 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
11711 * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
11712 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
11713
11714 * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
11715 * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
11716 * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
11717 * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
11718
11719 * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
11720 Deconditionalize the code that was previously under [RESET_PID].
11721 * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
11722
11723 * sysdeps/generic/exit-thread.h: New file.
11724 * sysdeps/unix/sysv/linux/exit-thread.h: New file.
11725 * include/unistd.h (__exit_thread): Remove declaration.
11726 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
11727 * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
11728 * csu/libc-start.c: Include <exit-thread.h>.
11729 (LIBC_START_MAIN): Pass no argument to __exit_thread.
11730 * nptl/pthread_create.c: Include <exit-thread.h>.
11731 (start_thread): Call __exit_thread in place of __exit_thread_inline.
11732 * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
11733 * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
11734 * nptl/sysdeps/s390/pthreaddef.h: Likewise.
11735 * nptl/sysdeps/sh/pthreaddef.h: Likewise.
11736 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
11737 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
11738 * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
11739 * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
11740 * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
11741 * sysdeps/arm/nptl/pthreaddef.h: Likewise.
11742 * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
11743 * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
11744 * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
11745 * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
11746 * sysdeps/mips/nptl/pthreaddef.h: Likewise.
11747 * sysdeps/tile/nptl/pthreaddef.h: Likewise.
11748
11749 2014-05-13 Andreas Schwab <schwab@suse.de>
11750
11751 * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
11752
11753 2014-05-12 Joseph Myers <joseph@codesourcery.com>
11754
11755 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
11756 (__ASSUME_UTIMES): Do not condition on kernel version.
11757 (__ASSUME_PSELECT): Define unconditionally.
11758 (__ASSUME_PPOLL): Likewise.
11759 (__ASSUME_ATFCTS): Likewise.
11760 (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
11761 (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
11762 (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
11763 (__ASSUME_UTIMENSAT): Define unconditionally.
11764 (__ASSUME_PRIVATE_FUTEX): Likewise.
11765 (__ASSUME_FALLOCATE): Likewise.
11766 (__ASSUME_O_CLOEXEC): Likewise.
11767 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
11768 (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
11769 (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
11770 (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
11771 (__ASSUME_IN_NONBLOCK): Likewise.
11772 (__ASSUME_PIPE2): Likewise.
11773 (__ASSUME_EVENTFD2): Likewise.
11774 (__ASSUME_SIGNALFD4): Likewise.
11775 (__ASSUME_DUP3): Likewise.
11776 [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
11777 (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
11778 (__ASSUME_AT_RANDOM): Likewise.
11779 (__ASSUME_PREADV): Likewise.
11780 (__ASSUME_PWRITEV): Likewise.
11781 (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
11782 (__ASSUME_F_GETOWN_EX): Define unconditionally.
11783 (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
11784 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
11785 [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
11786 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
11787 (__ASSUME_O_CLOEXEC): Define unconditionally.
11788 (__ASSUME_PSELECT): Do not undefine conditionally.
11789 (__ASSUME_PPOLL): Likewise.
11790 (__ASSUME_ATFCTS): Likewise.
11791 (__ASSUME_SET_ROBUST_LIST): Likewise.
11792 (__ASSUME_UTIMENSAT): Likewise.
11793 (__ASSUME_FDATASYNC): Define unconditionally.
11794 * sysdeps/unix/sysv/linux/arm/kernel-features.h
11795 (__ASSUME_SIGFRAME_V2): Likewise.
11796 )__ASSUME_EVENTFD2): Likewise.
11797 (__ASSUME_SIGNALFD4): Likewise.
11798 (__ASSUME_PSELECT): Do not undefine conditionally.
11799 (__ASSUME_PPOLL): Likewise.
11800 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
11801 (__ASSUME_PSELECT): Define unconditionally.
11802 (__ASSUME_PPOLL): Likewise.
11803 (__ASSUME_O_CLOEXEC): Likewise.
11804 (__ASSUME_SOCK_CLOEXEC): Likewise.
11805 (__ASSUME_IN_NONBLOCK): Likewise.
11806 (__ASSUME_PIPE2): Likewise.
11807 (__ASSUME_EVENTFD2): Likewise.
11808 (__ASSUME_SIGNALFD4): Likewise.
11809 (__ASSUME_DUP3): Likewise.
11810 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
11811 (__ASSUME_O_CLOEXEC): Likewise.
11812 (__ASSUME_SOCK_CLOEXEC): Likewise.
11813 (__ASSUME_IN_NONBLOCK): Likewise.
11814 (__ASSUME_PIPE2): Likewise.
11815 (__ASSUME_EVENTFD2): Likewise.
11816 (__ASSUME_SIGNALFD4): Likewise.
11817 (__ASSUME_DUP3): Likewise.
11818 * sysdeps/unix/sysv/linux/mips/kernel-features.h
11819 (__ASSUME_EVENTFD2): Likewise.
11820 (__ASSUME_SIGNALFD4): Likewise.
11821 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
11822
11823 2014-05-12 Andreas Schwab <schwab@suse.de>
11824
11825 [BZ #16932]
11826 * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
11827 (_nss_nis_gethostbyname4_r): Return error if item length is larger
11828 than maximum RPC packet size.
11829 * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
11830 * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
11831 * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
11832 (_nss_nis_getservbyport_r): Likewise.
11833
11834 2014-05-12 Will Newton <will.newton@linaro.org>
11835
11836 * malloc/Makefile (tests): Add tst-mallopt.
11837 * malloc/tst-mallopt.c: New file.
11838
11839 2014-05-09 Roland McGrath <roland@hack.frob.com>
11840
11841 * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
11842 [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
11843
11844 2014-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11845
11846 * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
11847 (tst-tlsmod6.so): Likewise.
11848
11849 2014-05-09 Roland McGrath <roland@hack.frob.com>
11850
11851 * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
11852
11853 2014-05-09 Joseph Myers <joseph@codesourcery.com>
11854
11855 [BZ #16064]
11856 * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
11857 and <dl-procinfo.h>.
11858 (__fegetenv): Save SSE state in envp->__eip if supported.
11859 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
11860 envp->__eip if supported.
11861 * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
11862 and <dl-procinfo.h>.
11863 (__fesetenv): Always set __eip, __cs_selector, __opcode,
11864 __data_offset and __data_selector in environment to 0. Set SSE
11865 state if supported.
11866 * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
11867 test-fenv-sse.
11868 [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
11869 -mfpmath=sse.
11870 * sysdeps/x86/fpu/test-fenv-sse.c: New file.
11871
11872 2014-05-09 Will Newton <will.newton@linaro.org>
11873
11874 * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
11875 and libc_relro_required for ARM.
11876 * sysdeps/arm/preconfigure: Regenerate.
11877
11878 2014-05-09 Dominik Vogt <vogt@linux.vnet.ibm.com>
11879 Stefan Liebler <stli@linux.vnet.ibm.com>
11880
11881 * config.make.in (enable-lock-elision): New Makefile variable.
11882 * configure.ac: Likewise.
11883 * configure: Regenerate.
11884 * sysdeps/s390/configure.ac:
11885 Add check for gcc transactions support.
11886 * sysdeps/s390/configure: Regenerate.
11887 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
11888 Build elision files if enabled.
11889 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
11890 Add lock elision support for s390.
11891 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
11892 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
11893 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
11894 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
11895 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
11896 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
11897 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
11898 Likewise.
11899 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
11900 Likewise.
11901 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
11902 Likewise.
11903 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
11904 Likewise.
11905 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
11906 (__lll_timedlock_elision, __lll_lock_elision)
11907 (__lll_unlock_elision, __lll_trylock_elision)
11908 (lll_timedlock_elision, lll_lock_elision)
11909 (lll_unlock_elision, lll_trylock_elision): Add.
11910 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
11911 (pthread_mutex_t): Add lock elision support for s390.
11912
11913 2014-05-14 Wilco <wdijkstr@arm.com>
11914
11915 * sysdeps/arm/fclrexcpt.c: Cleanup.
11916 * sysdeps/arm/fedisblxcpt.c: Cleanup.
11917 * sysdeps/arm/feenablxcpt.c: Cleanup.
11918 * sysdeps/arm/fegetenv.c: Cleanup.
11919 * sysdeps/arm/fegetexcept.c: Cleanup.
11920 * sysdeps/arm/fegetround.c: Cleanup.
11921 * sysdeps/arm/feholdexcpt.c: Cleanup.
11922 * sysdeps/arm/fesetenv.c: Cleanup.
11923 * sysdeps/arm/fesetround.c: Cleanup.
11924 * sysdeps/arm/feupdateenv.c: Cleanup.
11925 * sysdeps/arm/fgetexcptflg.c: Cleanup.
11926 * sysdeps/arm/fraiseexcpt.c: Cleanup.
11927 * sysdeps/arm/fsetexcptflg.c: Cleanup.
11928 * sysdeps/arm/ftestexcept.c: Cleanup.
11929 * sysdeps/arm/get-rounding-mode.h: Cleanup.
11930 * sysdeps/arm/setfpucw.c: Cleanup.
11931
11932 2014-05-09 Will Newton <will.newton@linaro.org>
11933
11934 * sysdeps/arm/armv7/strcmp.S: New file.
11935 * NEWS: Mention addition of ARMv7 optimized strcmp.
11936
11937 2014-05-08 Roland McGrath <roland@hack.frob.com>
11938
11939 * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
11940 look for %.ac rather than %.in.
11941
11942 * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
11943 * sysdeps/unix/sysv/linux/configure.ac: Likewise.
11944 * sysdeps/mach/hurd/configure: Regenerated.
11945 * sysdeps/unix/sysv/linux/configure: Regenerated.
11946
11947 * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
11948
11949 2014-05-07 Steve Ellcey <sellcey@mips.com>
11950
11951 [BZ# 16922]
11952 * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
11953 (LONG_SUB): Ditto.
11954 (PTR_SUB): Ditto.
11955
11956 2014-05-07 Andreas Schwab <schwab@suse.de>
11957
11958 * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
11959 when skipping over non-matching result from nscd.
11960
11961 2014-05-07 Ondřej Bílka <neleai@seznam.cz>
11962
11963 [BZ #16876]
11964 * nptl/sockperf.c (client): Check socket return value.
11965
11966 [BZ #16877]
11967 * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
11968 nscd security class.
11969
11970 2014-05-06 Roland McGrath <roland@hack.frob.com>
11971
11972 * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
11973 * sysdeps/arm/unwind.h: ... here.
11974
11975 2014-05-06 Aurelien Jarno <aurelien@aurel32.net>
11976
11977 [BZ# 16916]
11978 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
11979 Define.
11980
11981 2014-05-06 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
11982
11983 * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
11984 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
11985 multiarch strncpy for PPC64.
11986 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
11987 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
11988 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
11989 multiarch optimizations.
11990 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
11991 (__libc_ifunc_impl_list): Likewise.
11992 * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
11993 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
11994 multiarch stpncpy for PPC64.
11995 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
11996 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
11997
11998 2014-05-06 Andreas Schwab <schwab@suse.de>
11999
12000 [BZ #16912]
12001 * gmon/mcount.c (_MCOUNT_DECL): Use
12002 atomic_compare_and_exchange_bool_acq instead of
12003 catomic_compare_and_exchange_bool_acq.
12004
12005 2014-05-05 Roland McGrath <roland@hack.frob.com>
12006
12007 * elf/Makefile (others, install-bin): Remove pldd.
12008 (pldd-modules): Variable removed.
12009 ($(objpfx)pldd): Target removed.
12010 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
12011 (others, install-bin): Append pldd here.
12012 ($(objpfx)pldd): New target.
12013
12014 * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
12015 to 0, so the first #if test emitted later doesn't see it undefined.
12016 (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
12017 * sysdeps/gnu/errlist.c: Regenerated.
12018
12019 2014-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12020
12021 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
12022 [libc_hidden_builtin_def]: Define to empty value.
12023 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
12024 [libc_hidden_builtin_def]: Likewise.
12025 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
12026 [libc_hidden_builtin_def]: Likewise.
12027 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
12028 [libc_hidden_builtin_def]: Likewise.
12029 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
12030 __redirect_memcpy and define ifunc as default hidden symbol.
12031 * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
12032 * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
12033
12034 2014-05-04 Adam Conrad <adconrad@0c3.net>
12035
12036 * locale/iso-4217.def: Reintroduce XDR currency.
12037
12038 2014-05-04 Allan McRae <allan@archlinux.org>
12039
12040 * po/eo.po: Update Esperanto translation from translation project.
12041
12042 2014-05-02 Carlos O'Donell <carlos@redhat.com>
12043
12044 * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
12045 and FEATURE_INDEX_MAX to 1.
12046 [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
12047
12048 2014-05-01 Steve Ellcey <sellcey@mips.com>
12049
12050 * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
12051 * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
12052 * iconvdata/big5.c (ONE_DIRECTION): Define.
12053 * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
12054 * iconvdata/cp1255.c (ONE_DIRECTION): Define.
12055 * iconvdata/cp1258.c (ONE_DIRECTION): Define.
12056 * iconvdata/cp932.c (ONE_DIRECTION): Define.
12057 * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
12058 * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
12059 * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
12060 * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
12061 * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
12062 * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
12063 * iconvdata/gb18030.c (ONE_DIRECTION): Define.
12064 * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
12065 * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
12066 * iconvdata/gbk.c (ONE_DIRECTION): Define.
12067 * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
12068 * iconvdata/ibm930.c (ONE_DIRECTION): Define.
12069 * iconvdata/ibm932.c (ONE_DIRECTION): Define.
12070 * iconvdata/ibm933.c (ONE_DIRECTION): Define.
12071 * iconvdata/ibm935.c (ONE_DIRECTION): Define.
12072 * iconvdata/ibm937.c (ONE_DIRECTION): Define.
12073 * iconvdata/ibm939.c (ONE_DIRECTION): Define.
12074 * iconvdata/ibm943.c (ONE_DIRECTION): Define.
12075 * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
12076 * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
12077 * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
12078 * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
12079 * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
12080 * iconvdata/iso646.c (ONE_DIRECTION): Define.
12081 * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
12082 * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
12083 * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
12084 * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
12085 * iconvdata/johab.c (ONE_DIRECTION): Define.
12086 * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
12087 * iconvdata/sjis.c (ONE_DIRECTION): Define.
12088 * iconvdata/t.61.c (ONE_DIRECTION): Define.
12089 * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
12090 * iconvdata/tscii.c (ONE_DIRECTION): Define.
12091 * iconvdata/uhc.c (ONE_DIRECTION): Define.
12092 * iconvdata/unicode.c (ONE_DIRECTION): Define.
12093 * iconvdata/utf-16.c (ONE_DIRECTION): Define.
12094 * iconvdata/utf-32.c (ONE_DIRECTION): Define.
12095 * iconvdata/utf-7.c (ONE_DIRECTION): Define.
12096
12097 2014-05-01 Roland McGrath <roland@hack.frob.com>
12098
12099 * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
12100 (_IO_JUMPS_OFFSET): Define to 0.
12101
12102 * nptl/sysdeps/pthread/bits/libc-lock.h
12103 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
12104 (__libc_lock_define_initialized_recursive): Always define using
12105 initializer. Modern compilers treat uninitialized (implicit zero) and
12106 explicit zero initializers the same (i.e. put the datum in bss).
12107
12108 2014-05-01 Andreas Schwab <schwab@linux-m68k.org>
12109
12110 * nscd/nscd-client.h: Include <string.h>.
12111
12112 2014-05-01 David S. Miller <davem@davemloft.net>
12113
12114 [BZ #16885]
12115 * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
12116 multiple zero bytes exist at the end of a string.
12117 Reported by Aurelien Jarno <aurelien@aurel32.net>
12118
12119 * string/test-strcmp.c (check): Add explicit test for situations where
12120 there are multiple zero bytes after the first.
12121
12122 2014-05-01 Andreas Schwab <schwab@linux-m68k.org>
12123
12124 [BZ #16890]
12125 * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
12126 when compiling wprintf.
12127 * stdio-common/tstdiomisc.c (t3): New function.
12128 (main): Call it.
12129
12130 2014-05-01 Steve Ellcey <sellcey@mips.com>
12131
12132 * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
12133 * iconv/gconv_simple.c (ONE_DIRECTION): Define.
12134 * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
12135 * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
12136
12137 2014-05-01 Steve Ellcey <sellcey@mips.com>
12138
12139 * stdlib/longlong.h: Updated from GCC.
12140
12141 2014-05-01 Will Newton <will.newton@linaro.org>
12142 Bernard Ogden <bernie.ogden@linaro.org>
12143
12144 * NEWS: Update fixed bug list.
12145
12146 [BZ #15119]
12147 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
12148
12149 2014-04-30 David S. Miller <davem@davemloft.net>
12150
12151 * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
12152 (libc_feholdexcept_setround_sparc_ctx): New function.
12153 (libc_fesetenv_sparc_ctx): Likewise.
12154 (libc_feupdateenv_sparc_ctx): Likewise.
12155 (libc_feholdsetround_sparc_ctx): Likewise.
12156 (libc_feholdexcept_setround_ctx): Define.
12157 (libc_feholdexcept_setroundf_ctx): Likewise.
12158 (libc_feholdexcept_setroundl_ctx): Likewise.
12159 (libc_fesetenv_ctx): Likewise.
12160 (libc_fesetenvf_ctx): Likewise.
12161 (libc_fesetenvl_ctx): Likewise.
12162 (libc_feupdateenv_ctx): Likewise.
12163 (libc_feupdateenvf_ctx): Likewise.
12164 (libc_feupdateenvl_ctx): Likewise.
12165 (libc_feresetround_ctx): Likewise.
12166 (libc_feresetroundf_ctx): Likewise.
12167 (libc_feresetroundl_ctx): Likewise.
12168 (libc_feholdsetround_ctx): Likewise.
12169 (libc_feholdsetroundf_ctx): Likewise.
12170 (libc_feholdsetroundl_ctx): Likewise.
12171
12172 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
12173 with __USE_GNU instead of XOPEN cpp guards.
12174
12175 * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
12176 0.
12177
12178 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
12179 with XOPEN cpp guards.
12180
12181 2014-04-30 Julian Brown <julian@codesourcery.com>
12182
12183 [BZ #16888]
12184 * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
12185 handling.
12186
12187 2014-04-30 Joseph Myers <joseph@codesourcery.com>
12188
12189 [BZ #9894]
12190 * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
12191 Change to 2.6.32.
12192 (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
12193 * sysdeps/unix/sysv/linux/configure: Regenerated.
12194 * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
12195 * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
12196 * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
12197 * sysdeps/unix/sysv/linux/tile/configure: Likewise.
12198 * README: Update reference to required Linux kernel version.
12199 * manual/install.texi (Linux): Update reference to required Linux
12200 kernel headers version.
12201 * INSTALL: Regenerated.
12202
12203 * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
12204 header inclusion.
12205 [POSIX] (limits.h): Likewise.
12206 [POSIX] (math.h): Likewise.
12207 [POSIX] (sys/wait.h): Likewise.
12208 * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
12209 function.
12210 [POSIX] (stddef.h): Do not allow header inclusion.
12211
12212 2014-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12213
12214 * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
12215
12216 2014-04-30 Yang Yingliang <yangyingliang@huawei.com>
12217
12218 * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
12219 Return immediately after lll_futex_wake.
12220
12221 2014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
12222
12223 [BZ #16791]
12224 * nscd/nscd-client.h (datahead_init_common): Initialize entire
12225 structure.
12226 (datahead_init_pos): Call datahead_init_common early.
12227 (datahead_init_neg): Likewise.
12228
12229 * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
12230 datahead_init_neg): New functions.
12231 * nscd/aicache.c (addhstaiX): Use them.
12232 * nscd/grpcache.c (cache_addgr): Likewise.
12233 * nscd/hstcache.c (cache_addhst): Likewise.
12234 * nscd/initgrcache.c (addinitgroupsX): Likewise.
12235 * nscd/netgroupcache.c (do_notfound): Likewise.
12236 (addgetnetgrentX): Likewise.
12237 (addinnetgrX): Likewise.
12238 * nscd/pwdcache.c (cache_addpw): Likewise.
12239 * nscd/servicescache.c (cache_addserv): Likewise.
12240
12241 2014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
12242 Atsushi Onoe <atsushi@onoe.org>
12243
12244 [BZ #14308]
12245 [BZ #12994]
12246 [BZ #13651]
12247 * resolv/res_query.c (__libc_res_nsearch): Return if at least
12248 one response is valid.
12249 * resolv/res_send.c (send_dg): Check for validity of other
12250 response if the current response is a referral.
12251
12252 2014-04-29 Steve Ellcey <sellcey@mips.com>
12253
12254 * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
12255
12256 2014-04-29 Stefan Liebler <stli@linux.vnet.ibm.com>
12257
12258 [BZ #16823]
12259 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
12260 Always divide by positive zero when computing -Inf result.
12261 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
12262 * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
12263
12264 2014-04-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12265
12266 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
12267 FPSCR if value do not change.
12268 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
12269 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
12270 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
12271 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
12272 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
12273 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
12274 function.
12275
12276 2014-05-29 Carlos O'Donell <carlos@systemhalted.org>
12277
12278 * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
12279 * sysdeps/unix/sysv/linux/hppa: Move directory from
12280 ports/systeps/unix/sysv/linux/hppa.
12281 * README: Update listing for hppa-*-linux-gnu.
12282
12283 2014-04-28 Ondřej Bílka <neleai@seznam.cz>
12284
12285 [BZ #16754]
12286 * manual/stdio.texi (Hook functions): Fix types of stream hook
12287 functions.
12288 [BZ #16854]
12289 * socket/sys/socket.h: Fix typo in comment.
12290
12291 2014-04-28 Wilco <wdijkstr@arm.com>
12292
12293 * sysdeps/arm/fenv_private.h: New file.
12294 * sysdeps/arm/math_private.h: New file.
12295 * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
12296
12297 2014-04-25 H.J. Lu <hongjiu.lu@intel.com>
12298
12299 * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
12300 with __int128_t.
12301 (La_x86_64_retval): Likewise.
12302
12303 2014-04-24 Ian Bolton <ian.bolton@arm.com>
12304
12305 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
12306 fpsr if value didn't change.
12307 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
12308 to fpcr if value didn't change.
12309 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
12310 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
12311 fpsr or fpcr if value didn't change.
12312 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
12313 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
12314 fpcr if value didn't change.
12315 * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
12316 to fpsr if value didn't change.
12317
12318 2014-02-23 Siddhesh Poyarekar <siddhesh@redhat.com>
12319
12320 * nptl/tst-sem3.c: Use test-skeleton.c
12321 (main): Rename to do_test. Use return instead of
12322 exit.
12323 * nptl/tst-sem4.c: Use test-skeleton.c
12324 (main): Rename to do_test.
12325
12326 2014-04-22 David S. Miller <davem@davemloft.net>
12327
12328 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
12329 (struct sigaction): New struct member __glibc_reserved0, change
12330 type of sa_flags to int.
12331
12332 2014-04-22 Yufeng Zhang <yufeng.zhang@arm.com>
12333
12334 * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
12335 (COUNT_LEADING_ZEROS_0): Define for AArch64.
12336
12337 2014-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
12338
12339 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
12340 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
12341
12342 2014-04-22 Will Newton <will.newton@linaro.org>
12343 Venkataramanan Kumar <venkataramanan.kumar@linaro.org>
12344
12345 * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
12346 (__longjmp): Add longjmp and longjmp_target SystemTap
12347 probes.
12348 * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
12349 (__sigsetjmp): Add setjmp SystemTap probe.
12350
12351 2014-04-17 Carlos O'Donell <carlos@redhat.com>
12352
12353 * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
12354 match manual order.
12355
12356 2014-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12357
12358 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
12359
12360 * sysdeps/powerpc/fpu/fenv_private.h
12361 (libc_feholdexcept_setroundl_ctx): Define to
12362 libc_feholdexcept_setround_ppc_ctx.
12363 (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
12364 (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
12365 (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
12366 (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
12367
12368 2014-04-17 Ian Bolton <ian.bolton@arm.com>
12369
12370 * sysdeps/aarch64/math-tests.h: New file.
12371
12372 2014-04-17 Sihai Yao <sihai.ysh@alibaba-inc.com>
12373
12374 * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
12375 New.
12376 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
12377 Check and set bit_AVX2_Usable.
12378 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
12379 macro.
12380 (bit_AVX2): Likewise.
12381 (index_AVX2_Usable): Likewise.
12382 (CPUID_AVX2): Likewise.
12383 (HAS_AVX2): Likewise.
12384
12385 2014-04-17 Will Newton <will.newton@linaro.org>
12386
12387 * manual/setjmp.texi (System V contexts): Add note that
12388 calling setcontext on a context created by a call to a
12389 signal handler is undefined. Update text to note that
12390 setcontext from a signal handler is possible but not
12391 recommended.
12392
12393 [BZ #16629]
12394 * stdlib/tst-setcontext.c: Include signal.h.
12395 (main): Check that the signal stack before and
12396 after swapcontext is the same.
12397
12398 * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
12399 Re-implement to restore registers in user code and avoid
12400 rt_sigreturn system call.
12401
12402 2014-04-17 Wilco <wdijkstr@arm.com>
12403
12404 * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
12405 * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
12406 * math/test-fenv.c: Skip exception trap tests on targets which only
12407 support non-stop mode.
12408
12409 2014-04-17 Ian Bolton <ian.bolton@arm.com>
12410 Wilco Dijkstra <wilco.dijkstra@arm.com>
12411
12412 * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
12413 (libc_feholdsetround_aarch64_ctx)
12414 (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
12415 (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
12416 (libc_feresetround_ctx, libc_feresetroundf_ctx)
12417 (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
12418 (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
12419 (libc_feresetround_noexl_ctx): Define.
12420
12421 2014-04-16 Richard Henderson <rth@redhat.com>
12422
12423 * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
12424
12425 * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
12426 unwind tables.
12427
12428 * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
12429 const from the non-libc, non-ldso copy.
12430
12431 * sysdeps/alpha/libm-test-ulps: Regenerate.
12432
12433 2014-04-16 Ian Bolton <ian.bolton@arm.com>
12434 Wilco Dijkstra <wilco.dijkstra@arm.com>
12435
12436 * sysdeps/aarch64/fpu/math_private.h: New file.
12437
12438 2014-04-16 Marcus Shawcroft <marcus.shawcroft@arm.com>
12439
12440 * sysdeps/aarch64/libm-test-ulps: Regenerate.
12441
12442 2014-04-16 Igor Zamyatin <igor.zamyatin@intel.com>
12443
12444 [BZ #16275]
12445 * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
12446 (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
12447 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
12448 Intel MPX bound registers before _dl_profile_fixup.
12449 * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
12450 registers after _dl_profile_fixup. Save and restore bound
12451 registers bnd0/bnd1 when calling _dl_call_pltexit.
12452 * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
12453 (LR_BND_OFFSET): Likewise.
12454 (LRV_BND0_OFFSET): Likewise.
12455 (LRV_BND1_OFFSET): Likewise.
12456
12457 2014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
12458
12459 * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
12460 to...
12461 * sysdeps/mach/hurd/i386/tls.h: ... here.
12462 (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
12463 pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
12464 fields.
12465
12466 2014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
12467
12468 * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
12469
12470 2014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
12471
12472 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
12473
12474 2014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
12475
12476 [BZ #14770]
12477 * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
12478 * sysdeps/s390/configure: Regenerate.
12479
12480 [BZ #16824]
12481 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
12482 Set round-to-nearest internally to reduce error accumulation.
12483
12484 2014-04-16 Alan Modra <amodra@gmail.com>
12485
12486 [BZ #16740]
12487 [BZ #16619]
12488 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
12489 * math/libm-test.inc (frexp_test_data): Add tests.
12490 * NEWS: Update fixed bug list.
12491
12492 2014-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
12493
12494 * benchtests/Makefile: Depend on libraries in build directory.
12495 (bench-math): Separate out math tests.
12496 (bench-pthread): Separate out pthread tests.
12497 (bench): Include math and pthread tests.
12498
12499 2014-04-14 Carlos O'Donell <carlos@redhat.com>
12500
12501 [BZ #16831]
12502 * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
12503 _dl_debug_initialize.
12504
12505 * configure.ac: Remove SELinux header check.
12506 * configure: Regenerate.
12507 * nscd/selinux.c (perms): Array of const char* to permission names.
12508 (nscd_request_avc_has_perm): Call security_deny_unknown to find
12509 default policy. Call string_to_security_class and string_to_av_perm to
12510 translate strings. Enforce default policy and call avs_has_perm with
12511 results of translated strings.
12512
12513 2014-04-13 David S. Miller <davem@davemloft.net>
12514
12515 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12516
12517 2014-04-12 Allan McRae <allan@archlinux.org>
12518
12519 [BZ #16838]
12520 * manual/string.texi (Collation Functions): Fix qsort argument
12521 order in example.
12522 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
12523
12524 2014-04-11 Chris Metcalf <cmetcalf@tilera.com>
12525
12526 * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
12527 Make the test a no-op if there are no exceptions defined.
12528
12529 2014-04-11 Paul Pluzhnikov <ppluzhnikov@google.com>
12530
12531 * elf/Makefile (tests): make tst-dlopen-aout conditional on
12532 enable-hardcoded-path-in-tests
12533
12534 2014-04-11 Will Newton <will.newton@linaro.org>
12535
12536 * benchtests/Makefile (extra-objs): Add json-lib.o.
12537 (bench-func): Tidy up JSON output.
12538 * benchtests/bench-skeleton.c: Include json-lib.h.
12539 (main): Use JSON library functions to do output of
12540 benchmark results.
12541 * benchtests/bench-timing-type.c (main): Output the
12542 timing type simply, leaving formatting to the user.
12543 * benchtests/json-lib.c: New file.
12544 * benchtests/json-lib.h: Likewise.
12545
12546 2014-04-11 Torvald Riegel <triegel@redhat.com>
12547
12548 [BZ #15215]
12549 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
12550 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here. Add missing
12551 memory barriers. Add comments.
12552 * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
12553 * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
12554 * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
12555 * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
12556 * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
12557 * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
12558
12559 2014-04-11 Stefan Liebler <stli@linux.vnet.ibm.com>
12560
12561 * sysdeps/s390/s390-32/configure.ac: Unify file with ...
12562 * sysdeps/s390/s390-64/configure.ac: ... this ...
12563 * sysdeps/s390/configure.ac: ... to here.
12564 * sysdeps/s390/s390-32/configure: Delete file.
12565 * sysdeps/s390/s390-64/configure: Delete file.
12566 * sysdeps/s390/configure: Regenerate.
12567
12568 2014-04-11 Joseph Anthony Pasquale Holsten <joseph@josephholsten.com>
12569
12570 * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
12571
12572 2014-04-11 Will Newton <will.newton@linaro.org>
12573
12574 * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
12575 to zero if it is not defined elsewhere. (mtrim): Test
12576 the value of MALLOC_DEBUG with #if rather than #ifdef.
12577
12578 2014-04-10 Torvald Riegel <triegel@redhat.com>
12579
12580 * benchtests/pthread_once-inputs: New file.
12581 * benchtests/pthread_once-source.c: New file.
12582 * benchtests/README: Update documentation.
12583
12584 2014-04-09 Igor Zamyatin <igor.zamyatin@intel.com>
12585 H.J. Lu <hongjiu.lu@intel.com>
12586
12587 [BZ #16275]
12588 * config.h.in (HAVE_MPX_SUPPORT): New #undef.
12589 * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
12590 * sysdeps/x86_64/configure: Regenerated.
12591 * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
12592 macro.
12593 (REGISTER_SAVE_RAX): Likewise.
12594 (REGISTER_SAVE_RCX): Likewise.
12595 (REGISTER_SAVE_RDX): Likewise.
12596 (REGISTER_SAVE_RSI): Likewise.
12597 (REGISTER_SAVE_RDI): Likewise.
12598 (REGISTER_SAVE_R8): Likewise.
12599 (REGISTER_SAVE_R9): Likewise.
12600 (REGISTER_SAVE_BND0): Likewise.
12601 (REGISTER_SAVE_BND1): Likewise.
12602 (REGISTER_SAVE_BND2): Likewise.
12603 (_dl_runtime_resolve): Use them. Save and restore Intel MPX
12604 bound registers when calling _dl_fixup.
12605
12606 2014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12607
12608 * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
12609 * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
12610 of its definition.
12611 * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
12612 * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
12613 * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
12614 * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
12615 * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
12616 * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
12617 * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
12618
12619 2014-04-09 Peter Brett <peter@peter-b.co.uk>
12620
12621 [BZ #15514]
12622 * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
12623 pathconf(_PC_NAME_MAX).
12624
12625 2014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12626
12627 * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
12628 Remove macro usage.
12629 (__PTHREAD_SPINS): Move definition to ...
12630 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
12631 (__PTHREAD_SPINS): ... here.
12632 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
12633 (__PTHREAD_SPIN): Likewise.
12634 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
12635 (__PTHREAD_SPIN): Likewise.
12636 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
12637 (__PTHREAD_SPIN): Likewise.
12638 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
12639 (__PTHREAD_SPIN): Likewise.
12640 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
12641 (__PTHREAD_SPIN): Likewise.
12642 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
12643 (__PTHREAD_SPIN): Likewise.
12644 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
12645 (__PTHREAD_SPIN): Likewise.
12646 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
12647 (__PTHREAD_SPIN): Likewise.
12648 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
12649 (__PTHREAD_SPIN): Likewise.
12650 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
12651 (__PTHREAD_SPIN): Likewise.
12652 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
12653 (__PTHREAD_SPIN): Likewise.
12654 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
12655 (__PTHREAD_SPIN): Likewise.
12656
12657 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
12658 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
12659 * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
12660 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
12661 imply folder.
12662 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
12663 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
12664 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
12665 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
12666 correct imply path.
12667 * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
12668 strlen symbol for non multi-arch builds.
12669 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
12670 missing hidden_def and weak_alias.
12671
12672 2014-04-08 Carlos O'Donell <carlos@redhat.com>
12673
12674 * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
12675
12676 2014-04-07 Will Newton <will.newton@linaro.org>
12677
12678 * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
12679 and contents. [!_LIBC] Remove #ifndef and contents.
12680 (basename): Use ANSI prototype. [_LIBC] Remove #idef.
12681 * string/memccpy.c (__memccpy): Use ANSI prototype.
12682 * string/memfrob.c (memfrob): Likewise.
12683 * string/strcoll.c (STRCOLL): Likewise.
12684 * string/strlen.c (strlen): Likewise.
12685 * string/strtok.c (STRTOK): Likewise.
12686 * string/strcat.c: Remove unused #include of memcopy.h.
12687 (strcat): Use ANSI prototype.
12688 * string/strchr.c: Remove unused #include of memcopy.h.
12689 (strchr): Use ANSI prototype.
12690 * string/strcmp.c: Remove unused #include of memcopy.h.
12691 (strcmp): Use ANSI prototype.
12692 * string/strcpy.c: Remove unused #include of memcopy.h.
12693 (strcpy): Use ANSI prototype.
12694
12695 2014-04-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12696
12697 * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
12698 * config.make.in (config-extra-cppflags): Set it from
12699 libc_extra_cppflags.
12700 * configure.ac (libc_extra_cflags): Make it accumulate over
12701 configure fragments.
12702 (libc_extra_cppflags): New flag.
12703 * configure. Regenerate.
12704 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
12705 (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
12706 not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
12707 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
12708
12709 [BZ #16815]
12710 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
12711 result for FE_DOWNWARD rounding mode.
12712 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
12713 Likewise.
12714 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12715
12716 2014-04-04 Chris Metcalf <cmetcalf@tilera.com>
12717
12718 * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
12719 in function argument name.
12720
12721 2014-04-03 David Svoboda <svoboda@cert.org>
12722
12723 [BZ #5666]
12724 * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
12725 explicitly.
12726
12727 2014-04-03 Roland McGrath <roland@hack.frob.com>
12728
12729 * elf/dl-unmap-segments.h: New file.
12730 * sysdeps/generic/ldsodefs.h
12731 (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
12732 * elf/dl-close.c: Include <dl-unmap-segments.h>.
12733 * elf/dl-fptr.c: Likewise.
12734 (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
12735 * sysdeps/aarch64/tlsdesc.c: Likewise.
12736 * sysdeps/arm/tlsdesc.c: Likewise.
12737 * sysdeps/i386/tlsdesc.c: Likewise.
12738 * sysdeps/tile/dl-runtime.c: Likewise.
12739 * sysdeps/x86_64/tlsdesc.c: Likewise.
12740 * elf/dl-load.h: New file.
12741 * elf/dl-load.c: Include it.
12742 (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
12743 Macros moved to dl-load.h.
12744 (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
12745 (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
12746 Use _dl_unmap_segments in place of __munmap.
12747 Break out segment-mapping loop into ...
12748 * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
12749
12750 2014-04-03 Will Newton <will.newton@linaro.org>
12751
12752 * elf/dl-lookup.c (do_lookup_x): Remove comment
12753 referring to nested function and move variable
12754 declarations down to before first use.
12755
12756 2014-04-02 Joseph Myers <joseph@codesourcery.com>
12757
12758 [BZ #16799]
12759 [BZ #16800]
12760 * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
12761 with 0 numerator.
12762 * math/s_catanf.c (__catanf): Likewise.
12763 * math/s_catanh.c (__catanh): Likewise.
12764 * math/s_catanhf.c (__catanhf): Likewise.
12765 * math/s_catanhl.c (__catanhl): Likewise.
12766 * math/s_catanl.c (__catanl): Likewise.
12767 * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
12768 by positive zero when computing -Inf result.
12769 * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
12770 (catanh_test): Likewise.
12771 * sysdeps/i386/fpu/libm-test-ulps: Update.
12772 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12773
12774 [BZ #16789]
12775 * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
12776 instead of using underflowing value in computing result.
12777 * math/s_clog10.c (__clog10): Likewise.
12778 * math/s_clog10f.c (__clog10f): Likewise.
12779 * math/s_clog10l.c (__clog10l): Likewise.
12780 * math/s_clogf.c (__clogf): Likewise.
12781 * math/s_clogl.c (__clogl): Likewise.
12782 * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
12783 (clog10_test): Likewise.
12784 * sysdeps/i386/fpu/libm-test-ulps: Update.
12785 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12786
12787 2014-04-02 Alan Modra <amodra@gmail.com>
12788
12789 [BZ #16739]
12790 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
12791 output when value is near a power of two. Use int64_t for lx and
12792 remove casts. Use decimal rather than hex exponent constants.
12793 Don't use long double multiplication when double will suffice.
12794 * math/libm-test.inc (nextafter_test_data): Add tests.
12795 * NEWS: Add 16739 and 16786 to bug list.
12796
12797 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
12798
12799 * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
12800
12801 2014-04-01 Will Newton <will.newton@linaro.org>
12802
12803 * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
12804 -fno-builtin. (CFLAGS-bench-ffsll.c): Likewise.
12805
12806 2014-04-01 Florian Weimer <fweimer@redhat.com>
12807
12808 [BZ #13347]
12809 * nptl/nptl-init.c (sighandler_setxid): Check system call result.
12810 * nptl/tst-setuid2.c: New file.
12811 * nptl/Makefile (xtests): Add tst-setuid2.
12812
12813 2014-04-01 Alan Modra <amodra@gmail.com>
12814
12815 [BZ #16786]
12816 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
12817
12818 2014-03-31 Joseph Myers <joseph@codesourcery.com>
12819
12820 [BZ #6803]
12821 [BZ #6804]
12822 * math/w_scalb.c (__scalb): For non-SVID mode, check result and
12823 set errno as appropriate.
12824 * math/w_scalbf.c (__scalbf): Likewise.
12825 * math/w_scalbl.c (__scalbl): Likewise.
12826 * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
12827 ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
12828 * math/libm-test.inc (scalb_test_data): Add errno expectations.
12829 Add more NaN tests.
12830
12831 [BZ #16349]
12832 * math/w_atan2.c: Include <errno.h>.
12833 (__atan2): Set errno for result underflowing to zero.
12834 * math/w_atan2f.c: Include <errno.h>.
12835 (__atan2f): Set errno for result underflowing to zero.
12836 * math/w_atan2l.c: Include <errno.h>.
12837 (__atan2l): Set errno for result underflowing to zero.
12838 * math/auto-libm-test-in: Don't allow missing errno for some atan2
12839 tests.
12840 * math/auto-libm-test-out: Regenerated.
12841
12842 2014-03-31 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12843
12844 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
12845 Encode instruction correctly in little endian.
12846 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
12847 Likewise.
12848 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
12849 Likewise.
12850 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
12851 Likewise.
12852 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
12853 Likewise.
12854
12855 2014-03-31 Joseph Myers <joseph@codesourcery.com>
12856
12857 [BZ #9894]
12858 * sysdeps/unix/sysv/linux/kernel-features.h
12859 [__sparc__ && !__arch64__ && !__sparc_v9__]
12860 (__ASSUME_SET_ROBUST_LIST): Do not define.
12861 [__sparc__ && !__arch64__ && !__sparc_v9__]
12862 (__ASSUME_FUTEX_LOCK_PI): Likewise.
12863 [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
12864 Likewise.
12865 * sysdeps/unix/sysv/linux/arm/kernel-features.h
12866 (__ASSUME_FUTEX_LOCK_PI): Undefine.
12867 (__ASSUME_REQUEUE_PI): Likewise.
12868 (__ASSUME_SET_ROBUST_LIST): Likewise.
12869 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
12870 [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
12871 Undefine.
12872 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
12873 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
12874 Likewise.
12875 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
12876 Likewise.
12877 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
12878 Likewise.
12879 * sysdeps/unix/sysv/linux/mips/kernel-features.h
12880 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
12881 Undefine.
12882 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
12883 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
12884 Likewise.
12885
12886 [BZ #16648]
12887 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
12888 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
12889 * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
12890
12891 2014-03-31 Will Newton <will.newton@linaro.org>
12892
12893 * benchtests/Makefile (bench): Add ffs and ffsll to list
12894 of tests.
12895 * benchtests/ffs-inputs: New file.
12896 * benchtests/ffsll-inputs: Likewise.
12897
12898 2014-03-29 Joseph Myers <joseph@codesourcery.com>
12899
12900 [BZ #16770]
12901 * math/e_scalb.c (__ieee754_scalb): Check second argument is not
12902 too large before casting to int.
12903 * math/e_scalbf.c (__ieee754_scalbf): Likewise.
12904 * math/e_scalbl.c (__ieee754_scalbl): Likewise.
12905 * math/libm-test.inc (scalb_test_data): Add more tests.
12906
12907 2014-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
12908
12909 * benchtests/Makefile (DETAILED_OPT): New make option.
12910 (bench-func): Run benchmark program with -d if DETAILED_OPT is
12911 set.
12912 * benchtests/bench-skeleton.c: Include stdbool.h.
12913 (main): Store and print timings per input.
12914 * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
12915 member to each argument value.
12916 (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
12917 (_print_arg_data): Initialize per-input timing to 0.
12918
12919 * benchtests/Makefile (timing-type): New binary.
12920 (bench-clean): Also remove bench-timing-type.
12921 (bench): New target for timing-type.
12922 (bench-func): Print output in JSON format.
12923 * benchtests/bench-skeleton.c (main): Print output in JSON
12924 format.
12925 * benchtests/bench-timing-type.c: New file.
12926 * benchtests/bench-timing.h (TIMING_TYPE): New macro.
12927 (TIMING_PRINT_STATS): Remove.
12928 * benchtests/scripts/bench.py (_print_arg_data): Store variant
12929 name separately.
12930
12931 * benchtests/bench-modf.c: Remove.
12932 * benchtests/modf-inputs: New inputs file.
12933
12934 2014-03-28 Joseph Myers <joseph@codesourcery.com>
12935
12936 [BZ #16362]
12937 * math/s_clog10.c (M_PI_LOG10E): New macro.
12938 (__clog10): Use M_PI_LOG10E instead of M_PI when real and
12939 imaginary parts are 0.
12940 * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
12941 (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
12942 imaginary parts are 0.
12943 * math/s_clog10l.c (M_PI_LOG10El): New macro.
12944 (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
12945 imaginary parts are 0.
12946 * math/libm-test.inc (clog10_test_data): Update expected results
12947 for when real and imaginary parts are 0.
12948
12949 2014-03-27 Paul Pluzhnikov <ppluzhnikov@google.com>
12950
12951 * elf/dl-load.c: Finish conversion of __builtin_expect into
12952 __glibc_{un}likely.
12953
12954 2014-03-27 Joseph Myers <joseph@codesourcery.com>
12955
12956 [BZ #16348]
12957 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
12958 1+x for argument with exponent below -67.
12959 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
12960 Likewise.
12961 * math/auto-libm-test-in: Add more tests of exp.
12962 * math/auto-libm-test-out: Regenerated.
12963
12964 2014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
12965
12966 [BZ #16759]
12967 * inet/getnetgrent_r.c (get_nonempty_val): New function.
12968 (nscd_getnetgrent): Use it.
12969
12970 [BZ #16760]
12971 * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
12972 of stpcpy.
12973
12974 2014-03-27 Andi Kleen <ak@linux.intel.com>
12975
12976 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
12977 (lll_robust_lock, lll_cond_lock, lll_timedlock)
12978 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
12979 (lll_robust_unlock): Remove out of line section. Use cfi
12980 intrinsics.
12981 (LLL_STUB_UNWIND_INFO*): Remove.
12982 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
12983 (lll_robust_lock, lll_cond_lock, lll_timedlock)
12984 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
12985 (lll_robust_unlock): Remove out of line section. Use cfi
12986 intrinsics.
12987 (LLL_STUB_UNWIND_INFO*): Remove.
12988
12989 2014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
12990
12991 [BZ #16758]
12992 * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
12993 blank values.
12994
12995 2014-03-26 Paul Pluzhnikov <ppluzhnikov@google.com>
12996
12997 * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
12998
12999 2014-03-26 Joseph Myers <joseph@codesourcery.com>
13000
13001 [BZ #16198]
13002 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
13003 fnstenv.
13004 * math/test-fenv-preserve.c: New file.
13005 * math/Makefile (tests): Add test-fenv-preserve.
13006
13007 2014-03-26 Will Newton <will.newton@linaro.org>
13008
13009 * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
13010
13011 2014-03-25 Roland McGrath <roland@hack.frob.com>
13012
13013 * scripts/versionlist.awk: Partition the version sets and emit all
13014 GLIBC_* (sorted) before all others (sorted).
13015
13016 2014-03-25 Joseph Myers <joseph@codesourcery.com>
13017
13018 * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
13019 GLIBC_2.2.5 version.
13020
13021 2014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13022
13023 * scripts/localplt.awk: Check for PLT generated by internal IFUNC
13024 calls.
13025
13026 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
13027 previous change.
13028
13029 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13030
13031 2014-03-25 Andreas Schwab <schwab@suse.de>
13032
13033 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
13034 label to be used after in6ailist is initialized.
13035
13036 2014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13037
13038 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
13039 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
13040
13041 2014-03-25 Joseph Myers <joseph@codesourcery.com>
13042
13043 [BZ #16357]
13044 [BZ #16599]
13045 * math/gen-auto-libm-tests.c (fp_format_desc): Add field
13046 min_plus_half.
13047 (fp_formats): Update initializers.
13048 (init_fp_formats): Initialize new field.
13049 (output_for_one_input_case): Allow underflow for results up to
13050 min_plus_half.
13051 * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
13052 * math/auto-libm-test-in: Don't mark some underflows from asin and
13053 atanh as spurious.
13054 * math/auto-libm-test-out: Regenerated.
13055 * sysdeps/i386/fpu/libm-test-ulps: Update.
13056 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13057
13058 2014-03-25 Andreas Schwab <schwab@suse.de>
13059
13060 * libio/Makefile (tst-ftell-partial-wide-ENV)
13061 (tst-ftell-active-handler-ENV): Define.
13062
13063 2014-03-25 Stefan Liebler <stli@linux.vnet.ibm.com>
13064
13065 * NEWS: Add 16712, 16713, 16714 to fixed bug list.
13066
13067 2014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
13068
13069 * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
13070
13071 2014-03-24 Joseph Myers <joseph@codesourcery.com>
13072
13073 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
13074 * sysdeps/x86_64/fpu/multiarch/e_exp.c
13075 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
13076
13077 2014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
13078
13079 [BZ #16634]
13080 * elf/dl-load.c (open_verify): Add mode parameter.
13081 Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
13082 (open_path): Change from boolean 'secure' to complete flag 'mode'
13083 (_dl_map_object): Adjust.
13084 * elf/Makefile (tests): Add tst-dlopen-aout.
13085 * elf/tst-dlopen-aout.c: New test.
13086
13087 2014-03-24 Stefan Liebler <stli@linux.vnet.ibm.com>
13088
13089 [BZ #16714]
13090 * sysdeps/unix/sysv/linux/s390/bits/stat.h
13091 (struct stat): Rename member pad0 to __glibc_reserved0.
13092
13093 [BZ #16712]
13094 * sysdeps/s390/s390-32/bits/wordsize.h
13095 (__WORDSIZE32_SIZE_ULONG): New define.
13096 * sysdeps/s390/s390-64/bits/wordsize.h
13097 (__WORDSIZE32_SIZE_ULONG): Likewise.
13098 * sysdeps/generic/stdint.h (SIZE_MAX):
13099 Define as UL if __WORDSIZE32_SIZE_ULONG.
13100
13101 [BZ #16713]
13102 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
13103 (__glibc_reserved0): New variable.
13104 (sa_flags): Change type to int.
13105
13106 * posix/Makefile (before-compile): Use += before-compile instead
13107 of a :=.
13108
13109 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
13110 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
13111
13112 2014-03-20 Andreas Schwab <schwab@suse.de>
13113
13114 [BZ #16743]
13115 * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
13116 non-matching result from nscd.
13117
13118 2014-03-24 Siddhesh Poyarekar <siddhesh@redhat.com>
13119
13120 * scripts/bench.py: Moved to ...
13121 * benchtests/scripts/bench.py: ... here.
13122 * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
13123
13124 2014-03-24 Andreas Schwab <schwab@suse.de>
13125
13126 [BZ #16002]
13127 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
13128 alloca_account and account alloca use for struct in6ailist.
13129
13130 2014-03-24 Joseph Myers <joseph@codesourcery.com>
13131
13132 [BZ #16284]
13133 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
13134 rounding mode to recompute results that overflow to infinity or
13135 underflow to zero.
13136 * math/auto-libm-test-in: Don't mark tests as expected to fail for
13137 bug 16284.
13138 * math/auto-libm-test-out: Regenerated.
13139 * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
13140 (ccosh_test): Likewise.
13141 (csin_test_data): Use plus_oflow.
13142 (csin_test): Use ALL_RM_TEST.
13143 (csinh_test_data): Use plus_oflow.
13144 (csinh_test): Use ALL_RM_TEST.
13145 * sysdeps/i386/fpu/libm-test-ulps: Update.
13146 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13147
13148 2014-03-21 Joseph Myers <joseph@codesourcery.com>
13149
13150 * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
13151 * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
13152 * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
13153
13154 [BZ #16731]
13155 * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
13156 when x - 1 is zero.
13157 * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
13158 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
13159 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
13160 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
13161 argument is 1.
13162 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
13163 * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
13164 zero.
13165 * math/libm-test.inc (log_test): Use ALL_RM_TEST.
13166 * sysdeps/i386/fpu/libm-test-ulps: Update.
13167 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13168
13169 2014-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
13170
13171 * scripts/bench.pl: Remove file.
13172 * scripts/bench.py: New benchmark script.
13173 * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
13174 * benchtests/README: Mention python dependency.
13175 * scripts/pylintrc: New file.
13176 * scripts/pylint: New file.
13177
13178 * bits/mathdef.h: Use #ifdef instead of #if.
13179 * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
13180 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
13181 * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
13182 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
13183 * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
13184 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
13185
13186 2014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13187 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
13188
13189 * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
13190 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
13191 and strpbrk-ppc64 objects.
13192 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13193 (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
13194 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
13195 multiarch strpbrk for POWER7.
13196 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
13197 multiarch strpbrk for PPC64.
13198 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
13199 ifunc selector.
13200 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
13201 strpbrk for POWER7.
13202
13203 2014-03-20 Joseph Myers <joseph@codesourcery.com>
13204
13205 * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
13206 (atan_test): Likewise.
13207 (atanh_test_data): Use NO_TEST_INLINE for two tests.
13208 (atanh_test): Use ALL_RM_TEST.
13209 (atan2_test_data): Likewise.
13210 (cabs_test): Likewise.
13211 (cacosh_test): Likewise.
13212 (carg_test): Likewise.
13213 (casin_test): Likewise.
13214 (casinh_test): Likewise.
13215 (cbrt_test): Likewise.
13216 (csqrt_test): Likewise.
13217 (erf_test): Likewise.
13218 (erfc_test): Likewise.
13219 (pow10_test): Likewise.
13220 (exp2_test): Likewise.
13221 (hypot_test): Likewise.
13222 (j0_test): Likewise.
13223 (j1_test): Likewise.
13224 (lgamma_test): Likewise.
13225 (gamma_test): Likewise.
13226 (sincos_test): Likewise.
13227 (tanh_test): Likewise.
13228 (y0_test): Likewise.
13229 (y1_test): Likewise.
13230 * sysdeps/i386/fpu/libm-test-ulps: Update.
13231 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13232
13233 2014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13234
13235 * string/strcspn.c (strcspn): Using macro to redefine symbol name.
13236 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
13237 and strcspn-ppc64 objects.
13238 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13239 (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
13240 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
13241 multiarch strcspn for POWER7.
13242 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
13243 multiarch strcspn for PPC64.
13244 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
13245 ifunc selector.
13246 * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
13247 strcspn for POWER7.
13248
13249 2014-03-20 Joseph Myers <joseph@codesourcery.com>
13250
13251 * math/gen-libm-test.pl (generate_testfile): Expect only function
13252 name as argument to AUTO_TESTS_* and pass results for all rounding
13253 modes to parse_args.
13254 (parse_auto_input): Separate inputs of automatic tests from
13255 outputs before storing in %auto_tests.
13256 * math/libm-test.inc (acos_test_data): Update call to
13257 AUTO_TESTS_f_f.
13258 (acos_test): Use ALL_RM_TEST.
13259 (acos_tonearest_test_data): Remove.
13260 (acos_test_tonearest): Likewise.
13261 (acos_towardzero_test_data): Likewise.
13262 (acos_test_towardzero): Likewise.
13263 (acos_downward_test_data): Likewise.
13264 (acos_test_downward): Likewise.
13265 (acos_upward_test_data): Likewise.
13266 (acos_test_upward): Likewise.
13267 (acosh_test_data): Update call to AUTO_TESTS_f_f.
13268 (asin_test_data): Likewise.
13269 (asin_test): Use ALL_RM_TEST.
13270 (asin_tonearest_test_data): Remove.
13271 (asin_test_tonearest): Likewise.
13272 (asin_towardzero_test_data): Likewise.
13273 (asin_test_towardzero): Likewise.
13274 (asin_downward_test_data): Likewise.
13275 (asin_test_downward): Likewise.
13276 (asin_upward_test_data): Likewise.
13277 (asin_test_upward): Likewise.
13278 (asinh_test_data): Update call to AUTO_TESTS_f_f.
13279 (atan_test_data): Likewise.
13280 (atanh_test_data): Likewise.
13281 (atan2_test_data): Update call to AUTO_TESTS_ff_f.
13282 (cabs_test_data): Update call to AUTO_TESTS_c_f.
13283 (carg_test_data): Likewise.
13284 (cbrt_test_data): Update call to AUTO_TESTS_f_f.
13285 (ccos_test_data): Update call to AUTO_TESTS_c_c.
13286 (ccosh_test_data): Likewise.
13287 (cexp_test_data): Likewise.
13288 (clog_test_data): Likewise.
13289 (clog10_test_data): Likewise.
13290 (cos_test_data): Update call to AUTO_TESTS_f_f.
13291 (cos_test): Use ALL_RM_TEST.
13292 (cos_tonearest_test_data): Remove.
13293 (cos_test_tonearest): Likewise.
13294 (cos_towardzero_test_data): Likewise.
13295 (cos_test_towardzero): Likewise.
13296 (cos_downward_test_data): Likewise.
13297 (cos_test_downward): Likewise.
13298 (cos_upward_test_data): Likewise.
13299 (cos_test_upward): Likewise.
13300 (cosh_test_data): Update call to AUTO_TESTS_f_f.
13301 (cosh_test): Use ALL_RM_TEST.
13302 (cosh_tonearest_test_data): Remove.
13303 (cosh_test_tonearest): Likewise.
13304 (cosh_towardzero_test_data): Likewise.
13305 (cosh_test_towardzero): Likewise.
13306 (cosh_downward_test_data): Likewise.
13307 (cosh_test_downward): Likewise.
13308 (cosh_upward_test_data): Likewise.
13309 (cosh_test_upward): Likewise.
13310 (cpow_test_data): Update call to AUTO_TESTS_cc_c.
13311 (csqrt_test_data): Update call to AUTO_TESTS_c_c.
13312 (ctan_test_data): Likewise.
13313 (ctan_test): Use ALL_RM_TEST.
13314 (ctan_tonearest_test_data): Remove.
13315 (ctan_test_tonearest): Likewise.
13316 (ctan_towardzero_test_data): Likewise.
13317 (ctan_test_towardzero): Likewise.
13318 (ctan_downward_test_data): Likewise.
13319 (ctan_test_downward): Likewise.
13320 (ctan_upward_test_data): Likewise.
13321 (ctan_test_upward): Likewise.
13322 (ctanh_test_data): Update call to AUTO_TESTS_c_c.
13323 (ctanh_test): Use ALL_RM_TEST.
13324 (ctanh_tonearest_test_data): Remove.
13325 (ctanh_test_tonearest): Likewise.
13326 (ctanh_towardzero_test_data): Likewise.
13327 (ctanh_test_towardzero): Likewise.
13328 (ctanh_downward_test_data): Likewise.
13329 (ctanh_test_downward): Likewise.
13330 (ctanh_upward_test_data): Likewise.
13331 (ctanh_test_upward): Likewise.
13332 (erf_test_data): Update call to AUTO_TESTS_f_f.
13333 (erfc_test_data): Likewise.
13334 (exp_test_data): Likewise.
13335 (exp_test): Use ALL_RM_TEST.
13336 (exp_tonearest_test_data): Remove.
13337 (exp_test_tonearest): Likewise.
13338 (exp_towardzero_test_data): Likewise.
13339 (exp_test_towardzero): Likewise.
13340 (exp_downward_test_data): Likewise.
13341 (exp_test_downward): Likewise.
13342 (exp_upward_test_data): Likewise.
13343 (exp_test_upward): Likewise.
13344 (exp10_test_data): Update call to AUTO_TESTS_f_f.
13345 (exp10_test): Use ALL_RM_TEST.
13346 (exp10_tonearest_test_data): Remove.
13347 (exp10_test_tonearest): Likewise.
13348 (exp10_towardzero_test_data): Likewise.
13349 (exp10_test_towardzero): Likewise.
13350 (exp10_downward_test_data): Likewise.
13351 (exp10_test_downward): Likewise.
13352 (exp10_upward_test_data): Likewise.
13353 (exp10_test_upward): Likewise.
13354 (exp2_test_data): Update call to AUTO_TESTS_f_f.
13355 (expm1_test_data): Likewise.
13356 (expm1_test): Use ALL_RM_TEST.
13357 (expm1_tonearest_test_data): Remove.
13358 (expm1_test_tonearest): Likewise.
13359 (expm1_towardzero_test_data): Likewise.
13360 (expm1_test_towardzero): Likewise.
13361 (expm1_downward_test_data): Likewise.
13362 (expm1_test_downward): Likewise.
13363 (expm1_upward_test_data): Likewise.
13364 (expm1_test_upward): Likewise.
13365 (fma_test_data): Update call to AUTO_TESTS_fff_f.
13366 (fma_test): Use ALL_RM_TEST.
13367 (fma_towardzero_test_data): Remove.
13368 (fma_test_towardzero): Likewise.
13369 (fma_downward_test_data): Likewise.
13370 (fma_test_downward): Likewise.
13371 (fma_upward_test_data): Likewise.
13372 (fma_test_upward): Likewise.
13373 (hypot_test_data): Update call to AUTO_TESTS_ff_f.
13374 (j0_test_data): Update call to AUTO_TESTS_f_f.
13375 (j1_test_data): Likewise.
13376 (jn_test_data): Update call to AUTO_TESTS_if_f.
13377 (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
13378 (log_test_data): Update call to AUTO_TESTS_f_f.
13379 (log10_test_data): Likewise.
13380 (log1p_test_data): Likewise.
13381 (log2_test_data): Likewise.
13382 (pow_test_data): Update call to AUTO_TESTS_ff_f.
13383 (pow_tonearest_test_data): Likewise.
13384 (sin_test_data): Update call to AUTO_TESTS_f_f.
13385 (sin_test): Use ALL_RM_TEST.
13386 (sin_tonearest_test_data): Remove.
13387 (sin_test_tonearest): Likewise.
13388 (sin_towardzero_test_data): Likewise.
13389 (sin_test_towardzero): Likewise.
13390 (sin_downward_test_data): Likewise.
13391 (sin_test_downward): Likewise.
13392 (sin_upward_test_data): Likewise.
13393 (sin_test_upward): Likewise.
13394 (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
13395 (sinh_test_data): Update call to AUTO_TESTS_f_f.
13396 (sinh_test): Use ALL_RM_TEST.
13397 (sinh_tonearest_test_data): Remove.
13398 (sinh_test_tonearest): Likewise.
13399 (sinh_towardzero_test_data): Likewise.
13400 (sinh_test_towardzero): Likewise.
13401 (sinh_downward_test_data): Likewise.
13402 (sinh_test_downward): Likewise.
13403 (sinh_upward_test_data): Likewise.
13404 (sinh_test_upward): Likewise.
13405 (sqrt_test_data): Update call to AUTO_TESTS_f_f.
13406 (sqrt_test): Use ALL_RM_TEST.
13407 (sqrt_tonearest_test_data): Remove.
13408 (sqrt_test_tonearest): Likewise.
13409 (sqrt_towardzero_test_data): Likewise.
13410 (sqrt_test_towardzero): Likewise.
13411 (sqrt_downward_test_data): Likewise.
13412 (sqrt_test_downward): Likewise.
13413 (sqrt_upward_test_data): Likewise.
13414 (sqrt_test_upward): Likewise.
13415 (tan_test_data): Update call to AUTO_TESTS_f_f.
13416 (tan_test): Use ALL_RM_TEST.
13417 (tan_tonearest_test_data): Remove.
13418 (tan_test_tonearest): Likewise.
13419 (tan_towardzero_test_data): Likewise.
13420 (tan_test_towardzero): Likewise.
13421 (tan_downward_test_data): Likewise.
13422 (tan_test_downward): Likewise.
13423 (tan_upward_test_data): Likewise.
13424 (tan_test_upward): Likewise.
13425 (tanh_test_data): Update call to AUTO_TESTS_f_f.
13426 (tgamma_test_data): Likewise.
13427 (y0_test_data): Likewise.
13428 (y1_test_data): Likewise.
13429 (yn_test_data): Update call to AUTO_TESTS_if_f.
13430 (main): Do not call removed functions.
13431
13432 2014-03-19 Joseph Myers <joseph@codesourcery.com>
13433
13434 * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
13435 (ldexp_test_data): Remove.
13436 (ldexp_test): Move to after scalbn_test. Use ALL_RM_TEST with
13437 scalbn_test_data.
13438 (scalb_test): Use ALL_RM_TEST.
13439
13440 2014-03-19 Andreas Schwab <schwab@suse.de>
13441
13442 * nscd/nscd.service: Also invalidate netgroup cache on reload.
13443
13444 2014-03-19 Joseph Myers <joseph@codesourcery.com>
13445
13446 [BZ #16649]
13447 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
13448 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
13449 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
13450 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
13451 (__ASSUME_PREADV): Undefine.
13452 (__ASSUME_PWRITEV): Likewise.
13453
13454 2014-03-18 Roland McGrath <roland@hack.frob.com>
13455
13456 * bits/mman-linux.h: Add comment about non-Linux use.
13457 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
13458 bits/mman-linux.h resting place.
13459
13460 * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
13461 * bits/mman-linux.h: ... here.
13462
13463 2014-03-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13464
13465 * conform/conformtest.pl: Add standard definition when calling C
13466 preprocessor on data files.
13467 (checknamespace): Remove unused variable.
13468
13469 2014-03-18 Joseph Myers <joseph@codesourcery.com>
13470
13471 * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
13472 minus_oflow, plus_uflow and minus_uflow in expected results.
13473 * math/libm-test.inc (scalbn_test_data): Add more tests of
13474 negative arguments. Use plus_oflow, minus_oflow, plus_uflow and
13475 minus_uflow.
13476 (scalbn_test): Use ALL_RM_TEST.
13477 (scalbln_test_data): Add more tests of negative arguments. Use
13478 plus_oflow, minus_oflow, plus_uflow and minus_uflow.
13479 (scalbln_test): Use ALL_RM_TEST.
13480
13481 2014-03-18 Roland McGrath <roland@hack.frob.com>
13482
13483 * scripts/abilist.awk: Ignore symbols marked with .hidden.
13484
13485 2014-03-18 Will Newton <will.newton@linaro.org>
13486
13487 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
13488 inaccurate comment.
13489
13490 2014-03-18 Joseph Myers <joseph@codesourcery.com>
13491
13492 * Makerules [!subdir] (check-abi): Exit with error status if a
13493 test failed.
13494
13495 2014-03-17 Joseph Myers <joseph@codesourcery.com>
13496
13497 * math/libm-test.inc (nearbyint_test_data): Include all tests used
13498 for rint. Include results for all rounding modes.
13499 (nearbyint_test): Use ALL_RM_TEST.
13500 (rint_test_data): Include all tests used for nearbyint.
13501
13502 2014-03-17 Will Newton <will.newton@linaro.org>
13503
13504 * nptl/sysdeps/pthread/pthread.h: Revert previous
13505 change.
13506
13507 * sysdeps/generic/ldsodefs.h: Revert previous
13508 change.
13509
13510 * libio/genops.c: Revert previous change.
13511 * libio/libioP.h: Likewise.
13512 * stdio-common/vfprintf.c: Likewise.
13513
13514 * sysdeps/generic/math_private.h: Revert previous
13515 change.
13516
13517 * sysdeps/generic/math_private.h: Check whether
13518 HAVE_RM_CTX is defined with #ifdef rather
13519 than #if.
13520
13521 * argp/argp-fmtstream.h: Check whether
13522 __STRICT_ANSI__ is defined with #ifdef rather
13523 than #if.
13524 * argp/argp.h: Likewise.
13525
13526 * libio/genops.c: Check whether
13527 _IO_JUMPS_OFFSET is defined with #ifdef rather
13528 than #if.
13529 * libio/libioP.h: Likewise.
13530 * stdio-common/vfprintf.c: Likewise.
13531
13532 * sysdeps/generic/ldsodefs.h: Check whether
13533 HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
13534 than #if.
13535
13536 * nptl/sysdeps/pthread/pthread.h: Check
13537 __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
13538 its value.
13539
13540 2014-03-17 Siddhesh Poyarekar <siddhesh@redhat.com>
13541
13542 * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
13543 setting O_APPEND.
13544 * libio/tst-ftell-active-handler.c (do_append_test): Add a
13545 test case.
13546
13547 [BZ #16680]
13548 * libio/fileops.c (_IO_file_open): Seek to end of file but
13549 don't cache the offset.
13550 (get_file_offset): Remove function.
13551 (do_ftell): Use cached offset when available.
13552 * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
13553 don't cache the offset.
13554 * libio/tst-ftell-active-handler.c (do_rewind_test): New test
13555 case.
13556 (do_one_test): Call it.
13557 (do_ftell_test): Fix up expected old offset for a+ mode.
13558 * libio/wfileops.c (do_ftell_wide): Used cached offset when
13559 available.
13560
13561 * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
13562 up test status with function return status.
13563 (do_write_test): Likewise.
13564 (do_append_test): Likewise.
13565
13566 * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
13567 && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
13568 Remove.
13569
13570 2014-03-17 Joseph Myers <joseph@codesourcery.com>
13571
13572 * math/gen-libm-test.pl (parse_args): Handle results specified for
13573 each rounding mode separately.
13574 * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
13575 tests and results from lrint_tonearest_test_data,
13576 lrint_towardzero_test_data, lrint_downward_test_data and
13577 lrint_upward_test_data.
13578 (lrint_test): Use ALL_RM_TEST.
13579 (lrint_tonearest_test_data): Remove.
13580 (lrint_test_tonearest): Likewise.
13581 (lrint_towardzero_test_data): Likewise.
13582 (lrint_test_towardzero): Likewise.
13583 (lrint_downward_test_data): Likewise.
13584 (lrint_test_downward): Likewise.
13585 (lrint_upward_test_data): Likewise.
13586 (lrint_test_upward): Likewise.
13587 (llrint_test_data): Merge in per-rounding-mode tests and results
13588 from llrint_tonearest_test_data, llrint_towardzero_test_data,
13589 llrint_downward_test_data and llrint_upward_test_data.
13590 (llrint_test): Use ALL_RM_TEST.
13591 (llrint_tonearest_test_data): Remove.
13592 (llrint_test_tonearest): Likewise.
13593 (llrint_towardzero_test_data): Likewise.
13594 (llrint_test_towardzero): Likewise.
13595 (llrint_downward_test_data): Likewise.
13596 (llrint_test_downward): Likewise.
13597 (llrint_upward_test_data): Likewise.
13598 (llrint_test_upward): Likewise.
13599 (rint_test_data): Merge in per-rounding-mode tests and results
13600 from rint_tonearest_test_data, rint_towardzero_test_data,
13601 rint_downward_test_data and rint_upward_test_data. Add
13602 per-rounding-mode results for tests not in those arrays.
13603 (rint_test): Use ALL_RM_TEST.
13604 (rint_tonearest_test_data): Remove.
13605 (rint_test_tonearest): Likewise.
13606 (rint_towardzero_test_data): Likewise.
13607 (rint_test_towardzero): Likewise.
13608 (rint_downward_test_data): Likewise.
13609 (rint_test_downward): Likewise.
13610 (rint_upward_test_data): Likewise.
13611 (rint_test_upward): Likewise.
13612 (main): Don't call removed functions.
13613
13614 2014-03-14 Roland McGrath <roland@hack.frob.com>
13615
13616 * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
13617 "Compiled on ..." crapola. It is anti-useful.
13618
13619 2014-03-14 Joseph Myers <joseph@codesourcery.com>
13620
13621 * scripts/evaluate-test.sh: Handle fourth argument to determine
13622 whether test run should stop on failure.
13623 * Makeconfig (stop-on-test-failure): New variable.
13624 (evaluate-test): Pass fourth argument to evaluate-test.sh based on
13625 $(stop-on-test-failure).
13626 * Makefile (tests): Give a summary of results from testing and
13627 exit with failure status if they include an ERROR or FAIL.
13628 (xtests): Likewise.
13629 * manual/install.texi (Configuring and compiling): Mention
13630 stop-on-test-failure=y.
13631 * INSTALL: Regenerated.
13632
13633 2014-03-14 Roland McGrath <roland@hack.frob.com>
13634
13635 * scripts/versionlist.awk: New file.
13636 * Makerules [$(build-shared) = yes]
13637 (postclean-generated): Add Versions.def, not Versions.def.v and
13638 Versions.def.v.i.
13639 ($(common-objpfx)Versions.def.v.i): Target removed.
13640 ($(common-objpfx)Versions.def): New target.
13641 ($(common-objpfx)Versions.all): Depend on that rather that
13642 $(common-objpfx)Versions.def.v.
13643 * Versions.def: File removed.
13644
13645 * Makeconfig (+gccwarn): Add -Wundef.
13646 * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
13647 a dl-sysdep.h breaking its contract.
13648 [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
13649 * include/stackinfo.h: New file.
13650 * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
13651 * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
13652 * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
13653 * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
13654 * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
13655 * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
13656 * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
13657 * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
13658 * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
13659 * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
13660 * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
13661 * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
13662 * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
13663 * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
13664 * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
13665
13666 2014-03-14 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13667
13668 [BZ #16707]
13669 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
13670 implementation.
13671 * math/libm-test.inc (round_test_data): Add more tests.
13672
13673 [BZ #16706]
13674 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
13675 implementation.
13676 * math/libm-test.inc (nearbyint_test_data): Add more tests.
13677
13678 [BZ #16701]
13679 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
13680 implementation.
13681 * math/libm-test.inc (ceil_test_data): Add more tests.
13682
13683 * math/libm-test.inc (trunc_test_data): Add more tests related to
13684 BZ#16414.
13685
13686 2014-03-14 Roland McGrath <roland@hack.frob.com>
13687
13688 * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
13689 with #if rather than #ifdef.
13690 * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
13691
13692 2014-03-14 H.J. Lu <hongjiu.lu@intel.com>
13693
13694 * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
13695 first. Disable AVX-512 GCC support if assembler doesn't support
13696 it.
13697 * sysdeps/x86_64/configure: Regenerated.
13698
13699 2014-03-13 Carlos O'Donell <carlos@redhat.com>
13700
13701 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
13702 [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
13703 (__old_pthread_attr_setstack): Likewise.
13704 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
13705 [!_STACK_GROWS_DOWN]: Likewise.
13706
13707 2014-03-13 Mike Frysinger <vapier@gentoo.org>
13708
13709 * config.make.in (have-bash2): Delete.
13710 * configure.ac (libc_cv_have_bash2): Delete.
13711 * configure: Regenerate.
13712 * elf/Makefile (common-ldd-rewrite): Rename to ...
13713 (ldd-rewrite): ... this. Move bash-ldd-rewrite content to end.
13714 (sh-ldd-rewrite): Delete.
13715 (bash-ldd-rewrite): Delete.
13716 (have-bash2): Delete checks.
13717 [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
13718 ldd-rewrite.
13719
13720 * config.make.in (have-ksh): Delete.
13721 (KSH): Delete.
13722 * configure.ac (libc_cv_have_ksh): Delete.
13723 * configure: Regenerate.
13724
13725 * elf/Makefile: Delete $(have-ksh) check.
13726 ($(objpfx)sotruss): Change KSH to BASH.
13727 * elf/sotruss.ksh: Rename to ...
13728 * elf/sotruss.sh: ... this. Change @KSH@ to @BASH@. Change
13729 function style to match POSIX. Drop ksh vim mode setting.
13730
13731 * manual/time.texi (Specifying the Time Zone with TZ): Change
13732 Tuesday to Thursday.
13733
13734 * debug/tst-longjmp_chk2.c: Update header comment.
13735 (stackoverflow_handler): Add comment. Call assert on pass value.
13736
13737 2014-03-13 Igor Zamyatin <igor.zamyatin@intel.com>
13738
13739 [BZ #16194]
13740 * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
13741 (HAVE_AVX512_ASM_SUPPORT): Likewise.
13742 * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
13743 (La_x86_64_vector): Add zmm.
13744 * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
13745 (modules-names): Add tst-auditmod10a and tst-auditmod10b.
13746 ($(objpfx)tst-audit10): New target.
13747 ($(objpfx)tst-audit10.out): Likewise.
13748 (tst-audit10-ENV): New.
13749 (AVX512-CFLAGS): Likewise.
13750 (CFLAGS-tst-audit10.c): Likewise.
13751 (CFLAGS-tst-auditmod10a.c): Likewise.
13752 (CFLAGS-tst-auditmod10b.c): Likewise.
13753 * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
13754 HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
13755 * sysdeps/x86_64/configure: Regenerated.
13756 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
13757 AVX-512 zmm register support.
13758 (_dl_x86_64_save_sse): Likewise.
13759 (_dl_x86_64_restore_sse): Likewise.
13760 * sysdeps/x86_64/dl-trampoline.h: Updated to support different
13761 size vector registers.
13762 * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
13763 (ZMM_SIZE): Likewise.
13764 * sysdeps/x86_64/tst-audit10.c: New file.
13765 * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
13766 * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
13767
13768 2014-03-13 Roland McGrath <roland@hack.frob.com>
13769
13770 * configure.ac (HAVE_EHDR_START): New check.
13771 * configure: Regenerated.
13772 * config.h.in (HAVE_EHDR_START): New #undef.
13773 * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
13774 assuming the lowest-addressed segment maps the start of the file.
13775
13776 2014-03-13 Joseph Myers <joseph@codesourcery.com>
13777
13778 * INSTALL: Regenerated.
13779
13780 2014-03-13 Will Newton <will.newton@linaro.org>
13781
13782 * manual/setjmp.texi (System V contexts): Improve
13783 clarity and grammar of documentation.
13784
13785 2014-03-12 Paul Pluzhnikov <ppluzhnikov@google.com>
13786
13787 [BZ #16381]
13788 * elf/Makefile (tests): Add tst-pie2.
13789 (tests-pie): Add tst-pie2.
13790 * elf/tst-pie2.c: New file.
13791 * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
13792 for ET_EXEC.
13793 * elf/rtld.c (map_doit): Load executable as lt_executable.
13794 (dl_main): Likewise.
13795
13796 2014-03-12 Joseph Myers <joseph@codesourcery.com>
13797
13798 [BZ #16642]
13799 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
13800 (__ASSUME_PSELECT): Undefine.
13801
13802 2014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13803
13804 [BZ #16689]
13805 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
13806 (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
13807 static build.
13808 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
13809 selector for static builds.
13810
13811 2014-03-12 Siddhesh Poyarekar <siddhesh@redhat.com>
13812
13813 [BZ #16695]
13814 * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
13815 key in the buffer.
13816
13817 2014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13818
13819 * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
13820 IFUNC selector for static builds.
13821
13822 2014-03-11 Joseph Myers <joseph@codesourcery.com>
13823
13824 * sysdeps/mips/math_private.h [__mips_hard_float]
13825 (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
13826 libc_feresetround_mips_ctx.
13827 [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
13828 [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
13829 [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
13830
13831 [BZ #16677]
13832 * math/s_nextafter.c (__nextafter): Do not return value from
13833 overflowing computation.
13834 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
13835 * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
13836 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
13837 Likewise.
13838 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
13839 Likewise.
13840 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
13841 * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
13842
13843 2014-03-11 Roland McGrath <roland@hack.frob.com>
13844
13845 * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
13846 * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
13847 Move sfi_sp use from the load-multiple (that no longer sets sp) to
13848 the new mov targetting sp.
13849
13850 2014-03-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13851
13852 [BZ #16683]
13853 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
13854 Define it for static builds as well.
13855 (NO_BZERO_IMPL): Likewise.
13856
13857 2014-03-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
13858
13859 * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
13860 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
13861 multiarch strspn for PPC64.
13862 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
13863 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
13864 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
13865 (__libc_ifunc_impl_list): Likewise.
13866 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
13867 multiarch optimizations
13868 * string/strspn.c (strspn): Using macro to redefine symbol name.
13869
13870 2014-03-10 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
13871 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13872
13873 * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
13874 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
13875 multiarch strncat for PPC64.
13876 * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
13877 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
13878 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
13879 (__libc_ifunc_impl_list): Likewise.
13880 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
13881 multiarch optimizations
13882
13883 2014-03-10 Siddhesh Poyarekar <siddhesh@redhat.com>
13884
13885 [BZ #16639]
13886 * nscd/nscd.service: Make service type forking.
13887
13888 2014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13889
13890 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
13891 sign in non default rounding modes.
13892 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
13893
13894 2014-03-08 Joseph Myers <joseph@codesourcery.com>
13895
13896 * math/libm-test.inc (ALL_RM_TEST): New macro.
13897 (ceil_test): Use ALL_RM_TEST.
13898 (cimag_test): Likewise.
13899 (conj_test): Likewise.
13900 (copysign_test): Likewise.
13901 (cproj_test): Likewise.
13902 (creal_test): Likewise.
13903 (fabs_test): Likewise.
13904 (floor_test): Likewise.
13905 (fmax_test): Likewise.
13906 (fmin_test): Likewise.
13907 (fmod_test): Likewise.
13908 (fpclassify_test): Likewise.
13909 (frexp_test): Likewise.
13910 (ilogb_test): Likewise.
13911 (isfinite_test): Likewise.
13912 (finite_test): Likewise.
13913 (isgreater_test): Likewise.
13914 (isgreaterequal_test): Likewise.
13915 (isinf_test): Likewise.
13916 (isless_test): Likewise.
13917 (islessequal_test): Likewise.
13918 (islessgreater_test): Likewise.
13919 (isnan_test): Likewise.
13920 (isnormal_test): Likewise.
13921 (issignaling_test): Likewise.
13922 (isunordered_test): Likewise.
13923 (logb_test): Likewise.
13924 (logb_downward_test_data): Remove.
13925 (logb_test_downward): Likewise.
13926 (lround_test): Use ALL_RM_TEST.
13927 (llround_test): Likewise.
13928 (modf_test): Likewise.
13929 (nexttoward_test): Likewise.
13930 (remainder_test): Likewise.
13931 (drem_test): Likewise.
13932 (remainder_tonearest_test_data): Likewise.
13933 (remainder_test_tonearest): Likewise.
13934 (drem_test_tonearest): Likewise.
13935 (remainder_towardzero_test_data): Likewise.
13936 (remainder_test_towardzero): Likewise.
13937 (drem_test_towardzero): Likewise.
13938 (remainder_downward_test_data): Likewise.
13939 (remainder_test_downward): Likewise.
13940 (drem_test_downward): Likewise.
13941 (remainder_upward_test_data): Likewise.
13942 (remainder_test_upward): Likewise.
13943 (drem_test_upward): Likewise.
13944 (remquo_test): Use ALL_RM_TEST. Remove comment about x.
13945 (round_test): Use ALL_RM_TEST.
13946 (signbit_test): Likewise.
13947 (trunc_test): Likewise.
13948 (significand_test): Likewise.
13949 (main): Don't call removed functions.
13950
13951 2014-03-07 Joseph Myers <joseph@codesourcery.com>
13952
13953 [BZ #16674]
13954 * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
13955 || __USE_XOPEN2K8].
13956 (ILL_ILLOPN): Likewise.
13957 (ILL_ILLADR): Likewise.
13958 (ILL_ILLTRP): Likewise.
13959 (ILL_PRVOPC): Likewise.
13960 (ILL_PRVREG): Likewise.
13961 (ILL_COPROC): Likewise.
13962 (ILL_BADSTK): Likewise.
13963 (FPE_INTDIV): Likewise.
13964 (FPE_INTOVF): Likewise.
13965 (FPE_FLTDIV): Likewise.
13966 (FPE_FLTOVF): Likewise.
13967 (FPE_FLTUND): Likewise.
13968 (FPE_FLTRES): Likewise.
13969 (FPE_FLTINV): Likewise.
13970 (FPE_FLTSUB): Likewise.
13971 (SEGV_MAPERR): Likewise.
13972 (SEGV_ACCERR): Likewise.
13973 (BUS_ADRALN): Likewise.
13974 (BUS_ADRERR): Likewise.
13975 (BUS_OBJERR): Likewise.
13976 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
13977 (TRAP_TRACE): Likewise.
13978 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
13979 __USE_XOPEN2K8].
13980 (CLD_KILLED): Likewise.
13981 (CLD_DUMPED): Likewise.
13982 (CLD_TRAPPED): Likewise.
13983 (CLD_STOPPED): Likewise.
13984 (CLD_CONTINUED): Likewise.
13985 (POLL_IN): Likewise.
13986 (POLL_OUT): Likewise.
13987 (POLL_MSG): Likewise.
13988 (POLL_ERR): Likewise.
13989 (POLL_PRI): Likewise.
13990 (POLL_HUP): Likewise.
13991 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
13992 Likewise.
13993 (ILL_ILLOPN): Likewise.
13994 (ILL_ILLADR): Likewise.
13995 (ILL_ILLTRP): Likewise.
13996 (ILL_PRVOPC): Likewise.
13997 (ILL_PRVREG): Likewise.
13998 (ILL_COPROC): Likewise.
13999 (ILL_BADSTK): Likewise.
14000 (FPE_INTDIV): Likewise.
14001 (FPE_INTOVF): Likewise.
14002 (FPE_FLTDIV): Likewise.
14003 (FPE_FLTOVF): Likewise.
14004 (FPE_FLTUND): Likewise.
14005 (FPE_FLTRES): Likewise.
14006 (FPE_FLTINV): Likewise.
14007 (FPE_FLTSUB): Likewise.
14008 (SEGV_MAPERR): Likewise.
14009 (SEGV_ACCERR): Likewise.
14010 (BUS_ADRALN): Likewise.
14011 (BUS_ADRERR): Likewise.
14012 (BUS_OBJERR): Likewise.
14013 (BUS_MCEERR_AR): Likewise.
14014 (BUS_MCEERR_AO): Likewise.
14015 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
14016 (TRAP_TRACE): Likewise.
14017 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
14018 __USE_XOPEN2K8].
14019 (CLD_KILLED): Likewise.
14020 (CLD_DUMPED): Likewise.
14021 (CLD_TRAPPED): Likewise.
14022 (CLD_STOPPED): Likewise.
14023 (CLD_CONTINUED): Likewise.
14024 (POLL_IN): Likewise.
14025 (POLL_OUT): Likewise.
14026 (POLL_MSG): Likewise.
14027 (POLL_ERR): Likewise.
14028 (POLL_PRI): Likewise.
14029 (POLL_HUP): Likewise.
14030 * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
14031 (ILL_ILLOPN): Likewise.
14032 (ILL_ILLADR): Likewise.
14033 (ILL_ILLTRP): Likewise.
14034 (ILL_PRVOPC): Likewise.
14035 (ILL_PRVREG): Likewise.
14036 (ILL_COPROC): Likewise.
14037 (ILL_BADSTK): Likewise.
14038 (FPE_INTDIV): Likewise.
14039 (FPE_INTOVF): Likewise.
14040 (FPE_FLTDIV): Likewise.
14041 (FPE_FLTOVF): Likewise.
14042 (FPE_FLTUND): Likewise.
14043 (FPE_FLTRES): Likewise.
14044 (FPE_FLTINV): Likewise.
14045 (FPE_FLTSUB): Likewise.
14046 (SEGV_MAPERR): Likewise.
14047 (SEGV_ACCERR): Likewise.
14048 (BUS_ADRALN): Likewise.
14049 (BUS_ADRERR): Likewise.
14050 (BUS_OBJERR): Likewise.
14051 (BUS_MCEERR_AR): Likewise.
14052 (BUS_MCEERR_AO): Likewise.
14053 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
14054 (TRAP_TRACE): Likewise.
14055 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
14056 __USE_XOPEN2K8].
14057 (CLD_KILLED): Likewise.
14058 (CLD_DUMPED): Likewise.
14059 (CLD_TRAPPED): Likewise.
14060 (CLD_STOPPED): Likewise.
14061 (CLD_CONTINUED): Likewise.
14062 (POLL_IN): Likewise.
14063 (POLL_OUT): Likewise.
14064 (POLL_MSG): Likewise.
14065 (POLL_ERR): Likewise.
14066 (POLL_PRI): Likewise.
14067 (POLL_HUP): Likewise.
14068 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
14069 Likewise.
14070 (ILL_ILLOPN): Likewise.
14071 (ILL_ILLADR): Likewise.
14072 (ILL_ILLTRP): Likewise.
14073 (ILL_PRVOPC): Likewise.
14074 (ILL_PRVREG): Likewise.
14075 (ILL_COPROC): Likewise.
14076 (ILL_BADSTK): Likewise.
14077 (ILL_BADIADDR): Likewise.
14078 (ILL_BREAK): Likewise.
14079 (FPE_INTDIV): Likewise.
14080 (FPE_INTOVF): Likewise.
14081 (FPE_FLTDIV): Likewise.
14082 (FPE_FLTOVF): Likewise.
14083 (FPE_FLTUND): Likewise.
14084 (FPE_FLTRES): Likewise.
14085 (FPE_FLTINV): Likewise.
14086 (FPE_FLTSUB): Likewise.
14087 (FPE_DECOVF): Likewise.
14088 (FPE_DECDIV): Likewise.
14089 (FPE_DECERR): Likewise.
14090 (FPE_INVASC): Likewise.
14091 (FPE_INVDEC): Likewise.
14092 (SEGV_MAPERR): Likewise.
14093 (SEGV_ACCERR): Likewise.
14094 (SEGV_PSTKOVF): Likewise.
14095 (BUS_ADRALN): Likewise.
14096 (BUS_ADRERR): Likewise.
14097 (BUS_OBJERR): Likewise.
14098 (BUS_MCEERR_AR): Likewise.
14099 (BUS_MCEERR_AO): Likewise.
14100 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
14101 (TRAP_TRACE): Likewise.
14102 (TRAP_BRANCH): Likewise.
14103 (TRAP_HWBKPT): Likewise.
14104 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
14105 __USE_XOPEN2K8].
14106 (CLD_KILLED): Likewise.
14107 (CLD_DUMPED): Likewise.
14108 (CLD_TRAPPED): Likewise.
14109 (CLD_STOPPED): Likewise.
14110 (CLD_CONTINUED): Likewise.
14111 (POLL_IN): Likewise.
14112 (POLL_OUT): Likewise.
14113 (POLL_MSG): Likewise.
14114 (POLL_ERR): Likewise.
14115 (POLL_PRI): Likewise.
14116 (POLL_HUP): Likewise.
14117 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
14118 (ILL_ILLOPN): Likewise.
14119 (ILL_ILLADR): Likewise.
14120 (ILL_ILLTRP): Likewise.
14121 (ILL_PRVOPC): Likewise.
14122 (ILL_PRVREG): Likewise.
14123 (ILL_COPROC): Likewise.
14124 (ILL_BADSTK): Likewise.
14125 (FPE_INTDIV): Likewise.
14126 (FPE_INTOVF): Likewise.
14127 (FPE_FLTDIV): Likewise.
14128 (FPE_FLTOVF): Likewise.
14129 (FPE_FLTUND): Likewise.
14130 (FPE_FLTRES): Likewise.
14131 (FPE_FLTINV): Likewise.
14132 (FPE_FLTSUB): Likewise.
14133 (SEGV_MAPERR): Likewise.
14134 (SEGV_ACCERR): Likewise.
14135 (BUS_ADRALN): Likewise.
14136 (BUS_ADRERR): Likewise.
14137 (BUS_OBJERR): Likewise.
14138 (BUS_MCEERR_AR): Likewise.
14139 (BUS_MCEERR_AO): Likewise.
14140 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
14141 (TRAP_TRACE): Likewise.
14142 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
14143 __USE_XOPEN2K8].
14144 (CLD_KILLED): Likewise.
14145 (CLD_DUMPED): Likewise.
14146 (CLD_TRAPPED): Likewise.
14147 (CLD_STOPPED): Likewise.
14148 (CLD_CONTINUED): Likewise.
14149 (POLL_IN): Likewise.
14150 (POLL_OUT): Likewise.
14151 (POLL_MSG): Likewise.
14152 (POLL_ERR): Likewise.
14153 (POLL_PRI): Likewise.
14154 (POLL_HUP): Likewise.
14155 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
14156 (ILL_ILLOPN): Likewise.
14157 (ILL_ILLADR): Likewise.
14158 (ILL_ILLTRP): Likewise.
14159 (ILL_PRVOPC): Likewise.
14160 (ILL_PRVREG): Likewise.
14161 (ILL_COPROC): Likewise.
14162 (ILL_BADSTK): Likewise.
14163 (FPE_INTDIV): Likewise.
14164 (FPE_INTOVF): Likewise.
14165 (FPE_FLTDIV): Likewise.
14166 (FPE_FLTOVF): Likewise.
14167 (FPE_FLTUND): Likewise.
14168 (FPE_FLTRES): Likewise.
14169 (FPE_FLTINV): Likewise.
14170 (FPE_FLTSUB): Likewise.
14171 (SEGV_MAPERR): Likewise.
14172 (SEGV_ACCERR): Likewise.
14173 (BUS_ADRALN): Likewise.
14174 (BUS_ADRERR): Likewise.
14175 (BUS_OBJERR): Likewise.
14176 (BUS_MCEERR_AR): Likewise.
14177 (BUS_MCEERR_AO): Likewise.
14178 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
14179 (TRAP_TRACE): Likewise.
14180 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
14181 __USE_XOPEN2K8].
14182 (CLD_KILLED): Likewise.
14183 (CLD_DUMPED): Likewise.
14184 (CLD_TRAPPED): Likewise.
14185 (CLD_STOPPED): Likewise.
14186 (CLD_CONTINUED): Likewise.
14187 (POLL_IN): Likewise.
14188 (POLL_OUT): Likewise.
14189 (POLL_MSG): Likewise.
14190 (POLL_ERR): Likewise.
14191 (POLL_PRI): Likewise.
14192 (POLL_HUP): Likewise.
14193 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
14194 (ILL_ILLOPN): Likewise.
14195 (ILL_ILLADR): Likewise.
14196 (ILL_ILLTRP): Likewise.
14197 (ILL_PRVOPC): Likewise.
14198 (ILL_PRVREG): Likewise.
14199 (ILL_COPROC): Likewise.
14200 (ILL_BADSTK): Likewise.
14201 (FPE_INTDIV): Likewise.
14202 (FPE_INTOVF): Likewise.
14203 (FPE_FLTDIV): Likewise.
14204 (FPE_FLTOVF): Likewise.
14205 (FPE_FLTUND): Likewise.
14206 (FPE_FLTRES): Likewise.
14207 (FPE_FLTINV): Likewise.
14208 (FPE_FLTSUB): Likewise.
14209 (SEGV_MAPERR): Likewise.
14210 (SEGV_ACCERR): Likewise.
14211 (BUS_ADRALN): Likewise.
14212 (BUS_ADRERR): Likewise.
14213 (BUS_OBJERR): Likewise.
14214 (BUS_MCEERR_AR): Likewise.
14215 (BUS_MCEERR_AO): Likewise.
14216 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
14217 (TRAP_TRACE): Likewise.
14218 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
14219 __USE_XOPEN2K8].
14220 (CLD_KILLED): Likewise.
14221 (CLD_DUMPED): Likewise.
14222 (CLD_TRAPPED): Likewise.
14223 (CLD_STOPPED): Likewise.
14224 (CLD_CONTINUED): Likewise.
14225 (POLL_IN): Likewise.
14226 (POLL_OUT): Likewise.
14227 (POLL_MSG): Likewise.
14228 (POLL_ERR): Likewise.
14229 (POLL_PRI): Likewise.
14230 (POLL_HUP): Likewise.
14231 * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
14232 (ILL_ILLOPN): Likewise.
14233 (ILL_ILLADR): Likewise.
14234 (ILL_ILLTRP): Likewise.
14235 (ILL_PRVOPC): Likewise.
14236 (ILL_PRVREG): Likewise.
14237 (ILL_COPROC): Likewise.
14238 (ILL_BADSTK): Likewise.
14239 (ILL_DBLFLT): Likewise.
14240 (ILL_HARDWALL): Likewise.
14241 (FPE_INTDIV): Likewise.
14242 (FPE_INTOVF): Likewise.
14243 (FPE_FLTDIV): Likewise.
14244 (FPE_FLTOVF): Likewise.
14245 (FPE_FLTUND): Likewise.
14246 (FPE_FLTRES): Likewise.
14247 (FPE_FLTINV): Likewise.
14248 (FPE_FLTSUB): Likewise.
14249 (SEGV_MAPERR): Likewise.
14250 (SEGV_ACCERR): Likewise.
14251 (BUS_ADRALN): Likewise.
14252 (BUS_ADRERR): Likewise.
14253 (BUS_OBJERR): Likewise.
14254 (BUS_MCEERR_AR): Likewise.
14255 (BUS_MCEERR_AO): Likewise.
14256 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
14257 (TRAP_TRACE): Likewise.
14258 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
14259 __USE_XOPEN2K8].
14260 (CLD_KILLED): Likewise.
14261 (CLD_DUMPED): Likewise.
14262 (CLD_TRAPPED): Likewise.
14263 (CLD_STOPPED): Likewise.
14264 (CLD_CONTINUED): Likewise.
14265 (POLL_IN): Likewise.
14266 (POLL_OUT): Likewise.
14267 (POLL_MSG): Likewise.
14268 (POLL_ERR): Likewise.
14269 (POLL_PRI): Likewise.
14270 (POLL_HUP): Likewise.
14271 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
14272 (ILL_ILLOPN): Likewise.
14273 (ILL_ILLADR): Likewise.
14274 (ILL_ILLTRP): Likewise.
14275 (ILL_PRVOPC): Likewise.
14276 (ILL_PRVREG): Likewise.
14277 (ILL_COPROC): Likewise.
14278 (ILL_BADSTK): Likewise.
14279 (FPE_INTDIV): Likewise.
14280 (FPE_INTOVF): Likewise.
14281 (FPE_FLTDIV): Likewise.
14282 (FPE_FLTOVF): Likewise.
14283 (FPE_FLTUND): Likewise.
14284 (FPE_FLTRES): Likewise.
14285 (FPE_FLTINV): Likewise.
14286 (FPE_FLTSUB): Likewise.
14287 (SEGV_MAPERR): Likewise.
14288 (SEGV_ACCERR): Likewise.
14289 (BUS_ADRALN): Likewise.
14290 (BUS_ADRERR): Likewise.
14291 (BUS_OBJERR): Likewise.
14292 (BUS_MCEERR_AR): Likewise.
14293 (BUS_MCEERR_AO): Likewise.
14294 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
14295 (TRAP_TRACE): Likewise.
14296 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
14297 __USE_XOPEN2K8].
14298 (CLD_KILLED): Likewise.
14299 (CLD_DUMPED): Likewise.
14300 (CLD_TRAPPED): Likewise.
14301 (CLD_STOPPED): Likewise.
14302 (CLD_CONTINUED): Likewise.
14303 (POLL_IN): Likewise.
14304 (POLL_OUT): Likewise.
14305 (POLL_MSG): Likewise.
14306 (POLL_ERR): Likewise.
14307 (POLL_PRI): Likewise.
14308 (POLL_HUP): Likewise.
14309 * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
14310 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
14311
14312 [BZ #16670]
14313 * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
14314 before #include of <time.h>.
14315 [!__USE_XOPEN2K] (__need_timespec): Likewise.
14316 * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
14317 (test-xfail-UNIX98/sched.h/conform): Likewise.
14318
14319 2014-03-07 Marcus Shawcroft <marcus.shawcroft@arm.com>
14320
14321 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
14322 error absence of trapping exception support.
14323 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
14324
14325 2014-03-07 Joseph Myers <joseph@codesourcery.com>
14326
14327 * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
14328 ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
14329 * timezone/Makefile (testdata): Move definition above include of
14330 Rules.
14331 (test-zones): New variable.
14332 (tests-special): Add zone files.
14333 (build-testdata): Use $(evaluate-test).
14334
14335 * elf/Makefile (tests-special): Rename tests to end with .out.
14336 ($(objpfx)noload-mem): Likewise.
14337 ($(objpfx)tst-leaks1-mem): Likewise.
14338 ($(objpfx)tst-leaks1-static-mem.out): Likewise.
14339 * iconv/Makefile (xtests-special): Change test-iconvconfig to
14340 $(objpfx)test-iconvconfig.out.
14341 (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out. Use
14342 set -e inside subshell and redirect output to file.
14343 * iconvdata/Makefile (generated): Rename tests to end with .out.
14344 Correct type.
14345 (tests-special): Rename tests to end with .out.
14346 ($(objpfx)mtrace-tst-loading): Likewise.
14347 * intl/Makefile (generated): Likewise.
14348 (tests-special): Likewise.
14349 ($(objpfx)mtrace-tst-gettext): Likewise.
14350 * misc/Makefile (generated): Likewise.
14351 (tests-special): Likewise.
14352 ($(objpfx)tst-error1-mem): Likewise.
14353 * nptl/Makefile (tests-special): Likewise.
14354 ($(objpfx)tst-stack3-mem): Likewise.
14355 (generated): Likewise.
14356 * posix/Makefile (generated): Likewise.
14357 (tests-special): Likewise.
14358 (xtests-special): Likewise.
14359 ($(objpfx)tst-fnmatch-mem): Likewise.
14360 ($(objpfx)bug-regex2-mem): Likewise.
14361 ($(objpfx)bug-regex14-mem): Likewise.
14362 ($(objpfx)bug-regex21-mem): Likewise.
14363 ($(objpfx)bug-regex31-mem): Likewise.
14364 ($(objpfx)tst-vfork3-mem): Likewise.
14365 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
14366 ($(objpfx)tst-pcre-mem): Likewise.
14367 ($(objpfx)tst-boost-mem): Likewise.
14368 ($(objpfx)bug-ga2-mem): Likewise.
14369 ($(objpfx)bug-glob2-mem): Likewise.
14370 * resolv/Makefile (generate): Likewise.
14371 (tests-special): Likewise.
14372 (xtests-special): Likewise.
14373 (generated): Likewise.
14374 ($(objpfx)mtrace-tst-leaks): Likewise.
14375 ($(objpfx)mtrace-tst-leaks2): Likewise.
14376
14377 * scripts/merge-test-results.sh: New file.
14378 * Makefile (tests-special-notdir): New variable.
14379 (tests): Run merge-test-results.sh.
14380 (xtests): Likewise.
14381 * Rules (tests-special-notdir): New variable.
14382 (xtests-special-notdir): Likewise.
14383 (tests): Run merge-test-results.sh
14384 (xtests): Likewise.
14385
14386 * Makeconfig (test-xfail-name): New variable.
14387 (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
14388 compute variable name for expected failures.
14389 * conform/Makefile (conformtest-headers-data): New variable.
14390 (conformtest-standards): Likewise.
14391 (conformtest-headers-ISO): Likewise.
14392 (conformtest-headers-ISO99): Likewise.
14393 (conformtest-headers-ISO11): Likewise.
14394 (conformtest-headers-POSIX): Likewise.
14395 (conformtest-headers-XPG3): Likewise.
14396 (conformtest-headers-XPG4): Likewise.
14397 (conformtest-headers-UNIX98): Likewise.
14398 (conformtest-headers-XOPEN2K): Likewise.
14399 (conformtest-headers-POSIX2008): Likewise.
14400 (conformtest-headers-XOPEN2K8): Likewise.
14401 (conformtest-header-list-base): Likewise.
14402 (conformtest-header-list-tests): Likewise.
14403 (conformtest-header-base): Likewise.
14404 (conformtest-header-tests): Likewise.
14405 (tests-special): Add $(conformtest-header-list-tests). If
14406 [$(fast-check) && !$(cross-compiling)], add
14407 $(conformtest-header-tests) instead of
14408 $(objpfx)run-conformtest.out.
14409 (generated): Add $(conformtest-header-list-base). If
14410 [$(fast-check) && !$(cross-compiling)], add
14411 $(conformtest-header-base). Remove previous setting.
14412 ($(conformtest-header-list-tests)): New target.
14413 (test-xfail-run-conformtest): Remove variable.
14414 ($(objpfx)run-conformtest.out): Remove target.
14415 (test-xfail-ISO11/complex.h/conform): New variable.
14416 (test-xfail-ISO11/stdalign.h/conform): Likewise.
14417 (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
14418 (test-xfail-XPG3/varargs.h/conform): Likewise.
14419 (test-xfail-XPG4/varargs.h/conform): Likewise.
14420 (test-xfail-UNIX98/varargs.h/conform): Likewise.
14421 (test-xfail-XPG4/ndbm.h/conform): Likewise.
14422 (test-xfail-UNIX98/ndbm.h/conform): Likewise.
14423 (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
14424 (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
14425 (test-xfail-XPG3/fcntl.h/conform): Likewise.
14426 (test-xfail-XPG3/ftw.h/conform): Likewise.
14427 (test-xfail-XPG3/grp.h/conform): Likewise.
14428 (test-xfail-XPG3/langinfo.h/conform): Likewise.
14429 (test-xfail-XPG3/limits.h/conform): Likewise.
14430 (test-xfail-XPG3/pwd.h/conform): Likewise.
14431 (test-xfail-XPG3/search.h/conform): Likewise.
14432 (test-xfail-XPG3/signal.h/conform): Likewise.
14433 (test-xfail-XPG3/stdio.h/conform): Likewise.
14434 (test-xfail-XPG3/stdlib.h/conform): Likewise.
14435 (test-xfail-XPG3/string.h/conform): Likewise.
14436 (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
14437 (test-xfail-XPG3/sys/msg.h/conform): Likewise.
14438 (test-xfail-XPG3/sys/sem.h/conform): Likewise.
14439 (test-xfail-XPG3/sys/shm.h/conform): Likewise.
14440 (test-xfail-XPG3/sys/stat.h/conform): Likewise.
14441 (test-xfail-XPG3/sys/types.h/conform): Likewise.
14442 (test-xfail-XPG3/sys/wait.h/conform): Likewise.
14443 (test-xfail-XPG3/termios.h/conform): Likewise.
14444 (test-xfail-XPG3/time.h/conform): Likewise.
14445 (test-xfail-XPG3/unistd.h/conform): Likewise.
14446 (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
14447 (test-xfail-XPG4/fcntl.h/conform): Likewise.
14448 (test-xfail-XPG4/langinfo.h/conform): Likewise.
14449 (test-xfail-XPG4/netdb.h/conform): Likewise.
14450 (test-xfail-XPG4/netinet/in.h/conform): Likewise.
14451 (test-xfail-XPG4/signal.h/conform): Likewise.
14452 (test-xfail-XPG4/stdio.h/conform): Likewise.
14453 (test-xfail-XPG4/stdlib.h/conform): Likewise.
14454 (test-xfail-XPG4/stropts.h/conform): Likewise.
14455 (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
14456 (test-xfail-XPG4/sys/msg.h/conform): Likewise.
14457 (test-xfail-XPG4/sys/sem.h/conform): Likewise.
14458 (test-xfail-XPG4/sys/shm.h/conform): Likewise.
14459 (test-xfail-XPG4/sys/socket.h/conform): Likewise.
14460 (test-xfail-XPG4/sys/stat.h/conform): Likewise.
14461 (test-xfail-XPG4/sys/time.h/conform): Likewise.
14462 (test-xfail-XPG4/sys/types.h/conform): Likewise.
14463 (test-xfail-XPG4/sys/wait.h/conform): Likewise.
14464 (test-xfail-XPG4/termios.h/conform): Likewise.
14465 (test-xfail-XPG4/ucontext.h/conform): Likewise.
14466 (test-xfail-XPG4/unistd.h/conform): Likewise.
14467 (test-xfail-XPG4/utmpx.h/conform): Likewise.
14468 (test-xfail-POSIX/sched.h/conform): Likewise.
14469 (test-xfail-POSIX/signal.h/conform): Likewise.
14470 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
14471 (test-xfail-POSIX/tar.h/conform): Likewise.
14472 (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
14473 (test-xfail-UNIX98/fcntl.h/conform): Likewise.
14474 (test-xfail-UNIX98/langinfo.h/conform): Likewise.
14475 (test-xfail-UNIX98/netdb.h/conform): Likewise.
14476 (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
14477 (test-xfail-UNIX98/sched.h/conform): Likewise.
14478 (test-xfail-UNIX98/signal.h/conform): Likewise.
14479 (test-xfail-UNIX98/stdio.h/conform): Likewise.
14480 (test-xfail-UNIX98/stdlib.h/conform): Likewise.
14481 (test-xfail-UNIX98/stropts.h/conform): Likewise.
14482 (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
14483 (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
14484 (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
14485 (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
14486 (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
14487 (test-xfail-UNIX98/sys/time.h/conform): Likewise.
14488 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
14489 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
14490 (test-xfail-UNIX98/unistd.h/conform): Likewise.
14491 (test-xfail-UNIX98/utmpx.h/conform): Likewise.
14492 (test-xfail-XOPEN2K/aio.h/conform): Likewise.
14493 (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
14494 (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
14495 (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
14496 (test-xfail-XOPEN2K/math.h/conform): Likewise.
14497 (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
14498 (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
14499 (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
14500 (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
14501 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
14502 (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
14503 (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
14504 (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
14505 (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
14506 (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
14507 (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
14508 (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
14509 (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
14510 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
14511 (test-xfail-XOPEN2K/termios.h/conform): Likewise.
14512 (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
14513 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
14514 (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
14515 (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
14516 (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
14517 (test-xfail-POSIX2008/netdb.h/conform): Likewise.
14518 (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
14519 (test-xfail-POSIX2008/signal.h/conform): Likewise.
14520 (test-xfail-POSIX2008/stropts.h/conform): Likewise.
14521 (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
14522 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
14523 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
14524 (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
14525 (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
14526 (test-xfail-XOPEN2K8/math.h/conform): Likewise.
14527 (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
14528 (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
14529 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
14530 (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
14531 (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
14532 (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
14533 (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
14534 (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
14535 (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
14536 (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
14537 (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
14538 (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
14539 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
14540 (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
14541 (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
14542 (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
14543 (conformtest-cc-flags): Likewise.
14544 ($(conformtest-header-tests): New target.
14545 * conform/check-header-lists.sh: New file.
14546 * conform/run-conformtest.sh: Remove.
14547
14548 * conform/conformtest.pl: Allow ' and \ in values given for
14549 constants.
14550 * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
14551 inclusion.
14552 [POSIX] (sys/types.h): Likewise.
14553 [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
14554 inclusion.
14555 [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
14556 inclusion.
14557 * conform/data/signal.h-data (SIGIO): Remove expectation.
14558 [XPG3] (SIGBUS): Do not expect.
14559 [POSIX || XPG3] (SIGPOLL): Likewise.
14560 [POSIX || XPG3] (SIGPROF): Likewise.
14561 [POSIX || XPG3] (SIGSYS): Likewise.
14562 [XPG3] (SIGTRAP): Likewise.
14563 [POSIX || XPG3] (SIGURG): Likewise.
14564 [POSIX || XPG3] (SIGVTALRM): Likewise.
14565 [POSIX || XPG3] (SIGXCPU): Likewise.
14566 [POSIX || XPG3] (SIGXFSZ): Likewise.
14567 [POSIX] (SA_SIGINFO): Expect.
14568 [XPG3] (siginfo_t): Do not expect type or contents.
14569 [POSIX] (si_pid): Do not expect element.
14570 [POSIX] (si_uid): Likewise.
14571 [POSIX] (si_addr): Likewise.
14572 [POSIX] (si_status): Likewise.
14573 [POSIX] (si_band): Likewise.
14574 [XPG4] (si_value): Likewise.
14575 [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
14576 [POSIX || XPG3] (ILL_ILLOPN): Likewise.
14577 [POSIX || XPG3] (ILL_ILLADR): Likewise.
14578 [POSIX || XPG3] (ILL_ILLTRP): Likewise.
14579 [POSIX || XPG3] (ILL_PRVOPC): Likewise.
14580 [POSIX || XPG3] (ILL_PRVREG): Likewise.
14581 [POSIX || XPG3] (ILL_COPROC): Likewise.
14582 [POSIX || XPG3] (ILL_BADSTK): Likewise.
14583 [POSIX || XPG3] (FPE_INTDIV): Likewise.
14584 [POSIX || XPG3] (FPE_INTOVF): Likewise.
14585 [POSIX || XPG3] (FPE_FLTDIV): Likewise.
14586 [POSIX || XPG3] (FPE_FLTOVF): Likewise.
14587 [POSIX || XPG3] (FPE_FLTUND): Likewise.
14588 [POSIX || XPG3] (FPE_FLTRES): Likewise.
14589 [POSIX || XPG3] (FPE_FLTINV): Likewise.
14590 [POSIX || XPG3] (FPE_FLTSUB): Likewise.
14591 [POSIX || XPG3] (SEGV_MAPERR): Likewise.
14592 [POSIX || XPG3] (SEGV_ACCERR): Likewise.
14593 [POSIX || XPG3] (BUS_ADRALN): Likewise.
14594 [POSIX || XPG3] (BUS_ADRERR): Likewise.
14595 [POSIX || XPG3] (BUS_OBJERR): Likewise.
14596 [POSIX || XPG3] (CLD_EXITED): Likewise.
14597 [POSIX || XPG3] (CLD_KILLED): Likewise.
14598 [POSIX || XPG3] (CLD_DUMPED): Likewise.
14599 [POSIX || XPG3] (CLD_TRAPPED): Likewise.
14600 [POSIX || XPG3] (CLD_STOPPED): Likewise.
14601 [POSIX || XPG3] (CLD_CONTINUED): Likewise.
14602 [POSIX || XPG3] (POLL_IN): Likewise.
14603 [POSIX || XPG3] (POLL_OUT): Likewise.
14604 [POSIX || XPG3] (POLL_MSG): Likewise.
14605 [POSIX || XPG3] (POLL_ERR): Likewise.
14606 [POSIX || XPG3] (POLL_PRI): Likewise.
14607 [POSIX || XPG3] (POLL_HUP): Likewise.
14608 [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
14609 [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
14610 (SIG*): Do not allow.
14611 [XPG3] (si_*): Likewise.
14612 [XPG3] (SI_*): Likewise.
14613 [XPG3 || XPG4] (sigev_*): Likewise.
14614 [XPG3 || XPG4] (SIGEV_*): Likewise.
14615 [XPG3 || XPG4] (sival_*): Likewise.
14616 [POSIX || XPG3 || XPG4] (uc_*): Likewise.
14617 [POSIX || XPG3] (BUS_*): Likewise.
14618 [POSIX || XPG3] (CLD_*): Likewise.
14619 [POSIX || XPG3] (FPE_*): Likewise.
14620 [POSIX || XPG3] (ILL_*): Likewise.
14621 [POSIX || XPG3] (POLL_*): Likewise.
14622 [POSIX || XPG3] (SEGV_*): Likewise.
14623 [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
14624 [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
14625 [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
14626 [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
14627 [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
14628 * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
14629 Specify type and value.
14630 (TVERSLEN): Likewise.
14631 (REGTYPE): Likewise.
14632 (AREGTYPE): Likewise.
14633 (LNKTYPE): Likewise.
14634 (SYMTYPE): Likewise.
14635 (CHRTYPE): Likewise.
14636 (BLKTYPE): Likewise.
14637 (DIRTYPE): Likewise.
14638 (FIFOTYPE): Likewise.
14639 (CONTTYPE): Likewise.
14640 (TSUID): Likewise.
14641 (TSGID): Likewise.
14642 (TSVTX): Likewise.
14643 (TUREAD): Likewise.
14644 (TUWRITE): Likewise.
14645 (TUEXEC): Likewise.
14646 (TGREAD): Likewise.
14647 (TGWRITE): Likewise.
14648 (TGEXEC): Likewise.
14649 (TOREAD): Likewise.
14650 (TOWRITE): Likewise.
14651 (TOEXEC): Likewise.
14652 [POSIX] (TSVTX): Expect constant.
14653
14654 2014-03-06 Joseph Myers <joseph@codesourcery.com>
14655
14656 * Makefile (tests): Change dependencies to ....
14657 (tests-special): ... additions to this variable.
14658 (tests): Depend on $(tests-special).
14659 * Makerules (check-abi-list): New variable.
14660 (check-abi): Depend on $(check-abi-list).
14661 [$(subdir) = elf] (tests-special): Add
14662 $(objpfx)check-abi-libc.out.
14663 [$(build-shared) = yes && subdir] (tests-special): Add
14664 $(check-abi-list).
14665 [$(build-shared) = yes && subdir] (tests): Do not depend on
14666 check-abi.
14667 * Rules (tests): Depend on $(tests-special).
14668 (xtests): Depend on $(xtests-special).
14669 * catgets/Makefile (tests): Change dependencies to ....
14670 (tests-special): ... additions to this variable.
14671 * conform/Makefile (tests): Change dependencies to ....
14672 (tests-special): ... additions to this variable.
14673 * elf/Makefile (tests): Change dependencies to ....
14674 (tests-special): ... additions to this variable.
14675 * grp/Makefile (tests): Change dependencies to ....
14676 (tests-special): ... additions to this variable.
14677 * iconv/Makefile (xtests): Change dependencies to ....
14678 (xtests-special): ... additions to this variable.
14679 * iconvdata/Makefile (tests): Change dependencies to ....
14680 (tests-special): ... additions to this variable.
14681 * intl/Makefile (tests): Change dependencies to ....
14682 (tests-special): ... additions to this variable. Also add
14683 $(objpfx)tst-gettext.out.
14684 * io/Makefile (tests): Change dependencies to ....
14685 (tests-special): ... additions to this variable.
14686 * libio/Makefile (tests): Change dependencies to ....
14687 (tests-special): ... additions to this variable.
14688 * malloc/Makefile (tests): Change dependencies to ....
14689 (tests-special): ... additions to this variable.
14690 * misc/Makefile (tests): Change dependencies to ....
14691 (tests-special): ... additions to this variable.
14692 * nptl/Makefile (tests): Change dependencies to ....
14693 (tests-special): ... additions to this variable.
14694 * nptl_db/Makefile (tests): Change dependencies to ....
14695 (tests-special): ... additions to this variable.
14696 * posix/Makefile (tests): Change dependencies to ....
14697 (tests-special): ... additions to this variable.
14698 (xtests): Change dependencies to ....
14699 (xtests-special): ... additions to this variable.
14700 * resolv/Makefile (tests): Change dependencies to ....
14701 (tests-special): ... additions to this variable.
14702 (xtests): Change dependencies to ....
14703 (xtests-special): ... additions to this variable.
14704 * stdio-common/Makefile (tests): Change dependencies to ....
14705 (tests-special): ... additions to this variable.
14706 (do-tst-unbputc): Remove target.
14707 (do-tst-printf): Likewise.
14708 * stdlib/Makefile (tests): Change dependencies to ....
14709 (tests-special): ... additions to this variable.
14710 * string/Makefile (tests): Change dependencies to ....
14711 (tests-special): ... additions to this variable.
14712 * sysdeps/x86/Makefile (tests): Change dependencies to ....
14713 (tests-special): ... additions to this variable.
14714
14715 * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
14716 whole file.
14717 * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
14718 whole file.
14719 * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
14720 * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
14721
14722 * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
14723 * conform/data/arpa/inet.h-data [XPG3]: Likewise.
14724 * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
14725 * conform/data/fmtmsg.h-data [XPG3]: Likewise.
14726 * conform/data/libgen.h-data [XPG3]: Likewise.
14727 * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
14728 * conform/data/ndbm.h-data [XPG3]: Likewise.
14729 * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
14730 * conform/data/netdb.h-data [XPG3]: Likewise.
14731 * conform/data/netinet/in.h-data [XPG3]: Likewise.
14732 * conform/data/poll.h-data [XPG3]: Likewise.
14733 * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
14734 * conform/data/strings.h-data [XPG3]: Likewise.
14735 * conform/data/stropts.h-data [XPG3]: Likewise.
14736 * conform/data/sys/mman.h-data [XPG3]: Likewise.
14737 * conform/data/sys/resource.h-data [XPG3]: Likewise.
14738 * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
14739 Likewise.
14740 * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
14741 * conform/data/sys/time.h-data [XPG3]: Likewise.
14742 * conform/data/sys/timeb.h-data [XPG3]: Likewise.
14743 * conform/data/sys/uio.h-data [XPG3]: Likewise.
14744 * conform/data/sys/un.h-data [XPG3]: Likewise.
14745 * conform/data/syslog.h-data [XPG3]: Likewise.
14746 * conform/data/ucontext.h-data [XPG3]: Likewise.
14747 * conform/data/utmpx.h-data [XPG3]: Likewise.
14748 * conform/data/varargs.h-data [UNIX98]: Enable file.
14749
14750 * manual/Makefile (INSTALL_INFO): Remove variable setting.
14751
14752 * math/libm-test.inc (struct test_f_f_data): Move expected results
14753 into structure for each rounding mode.
14754 (struct test_ff_f_data): Likewise.
14755 (struct test_ff_f_data_nexttoward): Likewise.
14756 (struct test_fi_f_data): Likewise.
14757 (struct test_fl_f_data): Likewise.
14758 (struct test_if_f_data): Likewise.
14759 (struct test_fff_f_data): Likewise.
14760 (struct test_c_f_data): Likewise.
14761 (struct test_f_f1_data): Likewise.
14762 (struct test_fF_f1_data): Likewise.
14763 (struct test_ffI_f1_data): Likewise.
14764 (struct test_c_c_data): Likewise.
14765 (struct test_cc_c_data): Likewise.
14766 (struct test_f_i_data): Likewise.
14767 (struct test_ff_i_data): Likewise.
14768 (struct test_f_l_data): Likewise.
14769 (struct test_f_L_data): Likewise.
14770 (struct test_fFF_11_data): Likewise.
14771 (RM_): New macro.
14772 (RM_FE_DOWNWARD): Likewise.
14773 (RM_FE_TONEAREST): Likewise.
14774 (RM_FE_TOWARDZERO): Likewise.
14775 (RM_FE_UPWARD): Likewise.
14776 (RUN_TEST_LOOP_f_f): Update references to expected results.
14777 (RUN_TEST_LOOP_2_f): Likewise.
14778 (RUN_TEST_LOOP_fff_f): Likewise.
14779 (RUN_TEST_LOOP_c_f): Likewise.
14780 (RUN_TEST_LOOP_f_f1): Likewise.
14781 (RUN_TEST_LOOP_fF_f1): Likewise.
14782 (RUN_TEST_LOOP_fI_f1): Likewise.
14783 (RUN_TEST_LOOP_ffI_f1): Likewise.
14784 (RUN_TEST_LOOP_c_c): Likewise.
14785 (RUN_TEST_LOOP_cc_c): Likewise.
14786 (RUN_TEST_LOOP_f_i): Likewise.
14787 (RUN_TEST_LOOP_f_i_tg): Likewise.
14788 (RUN_TEST_LOOP_ff_i_tg): Likewise.
14789 (RUN_TEST_LOOP_f_b): Likewise.
14790 (RUN_TEST_LOOP_f_b_tg): Likewise.
14791 (RUN_TEST_LOOP_f_l): Likewise.
14792 (RUN_TEST_LOOP_f_L): Likewise.
14793 (RUN_TEST_LOOP_fFF_11): Likewise.
14794 * math/gen-libm-test.pl (parse_args): Output four copies of
14795 expected results for each test.
14796
14797 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
14798 (__ASSUME_UTIMES): Remove.
14799 * sysdeps/unix/sysv/linux/tile/kernel-features.h
14800 (__ASSUME_UTIMES): Likewise.
14801
14802 * math/gen-auto-libm-tests.c: Update comment on output format.
14803 (output_for_one_input_case): Generate before-rounding and
14804 after-rounding information as conditions on output flags not
14805 floating-point format.
14806 * math/auto-libm-test-out: Regenerated.
14807 * math/gen-libm-test.pl (cond_value): New function.
14808 (or_cond_value): Use cond_value.
14809 (generate_testfile): Handle conditional exceptions.
14810
14811 2014-03-05 Joseph Myers <joseph@codesourcery.com>
14812
14813 * math/libm-test.inc (max_valid_error): New variable.
14814 (init_max_error): Take new argument specifying whether function
14815 results are exactly determined. Set max_valid_error and bound
14816 other variables for errors based on this argument.
14817 (set_max_error): Do not record results above max_valid_error.
14818 (check_float_internal): Only accept errors of up to 0.5ulps if
14819 also at most max_valid_error.
14820 (START): Take new argument EXACT and pass it to init_max_error.
14821 (acos_test): Update call to START.
14822 (acos_test_tonearest): Likewise.
14823 (acos_test_towardzero): Likewise.
14824 (acos_test_downward): Likewise.
14825 (acos_test_upward): Likewise.
14826 (acosh_test): Likewise.
14827 (asin_test): Likewise.
14828 (asin_test_tonearest): Likewise.
14829 (asin_test_towardzero): Likewise.
14830 (asin_test_downward): Likewise.
14831 (asin_test_upward): Likewise.
14832 (asinh_test): Likewise.
14833 (atan_test): Likewise.
14834 (atanh_test): Likewise.
14835 (atan2_test): Likewise.
14836 (cabs_test): Likewise.
14837 (cacos_test): Likewise.
14838 (cacosh_test): Likewise.
14839 (carg_test): Likewise.
14840 (casin_test): Likewise.
14841 (casinh_test): Likewise.
14842 (catan_test): Likewise.
14843 (catanh_test): Likewise.
14844 (cbrt_test): Likewise.
14845 (ccos_test): Likewise.
14846 (ccosh_test): Likewise.
14847 (ceil_test): Likewise.
14848 (cexp_test): Likewise.
14849 (cimag_test): Likewise.
14850 (clog_test): Likewise.
14851 (clog10_test): Likewise.
14852 (conj_test): Likewise.
14853 (copysign_test): Likewise.
14854 (cos_test): Likewise.
14855 (cos_test_tonearest): Likewise.
14856 (cos_test_towardzero): Likewise.
14857 (cos_test_downward): Likewise.
14858 (cos_test_upward): Likewise.
14859 (cosh_test): Likewise.
14860 (cosh_test_tonearest): Likewise.
14861 (cosh_test_towardzero): Likewise.
14862 (cosh_test_downward): Likewise.
14863 (cosh_test_upward): Likewise.
14864 (cpow_test): Likewise.
14865 (cproj_test): Likewise.
14866 (creal_test): Likewise.
14867 (csin_test): Likewise.
14868 (csinh_test): Likewise.
14869 (csqrt_test): Likewise.
14870 (ctan_test): Likewise.
14871 (ctan_test_tonearest): Likewise.
14872 (ctan_test_towardzero): Likewise.
14873 (ctan_test_downward): Likewise.
14874 (ctan_test_upward): Likewise.
14875 (ctanh_test): Likewise.
14876 (ctanh_test_tonearest): Likewise.
14877 (ctanh_test_towardzero): Likewise.
14878 (ctanh_test_downward): Likewise.
14879 (ctanh_test_upward): Likewise.
14880 (erf_test): Likewise.
14881 (erfc_test): Likewise.
14882 (exp_test): Likewise.
14883 (exp_test_tonearest): Likewise.
14884 (exp_test_towardzero): Likewise.
14885 (exp_test_downward): Likewise.
14886 (exp_test_upward): Likewise.
14887 (exp10_test): Likewise.
14888 (exp10_test_tonearest): Likewise.
14889 (exp10_test_towardzero): Likewise.
14890 (exp10_test_downward): Likewise.
14891 (exp10_test_upward): Likewise.
14892 (pow10_test): Likewise.
14893 (exp2_test): Likewise.
14894 (expm1_test): Likewise.
14895 (expm1_test_tonearest): Likewise.
14896 (expm1_test_towardzero): Likewise.
14897 (expm1_test_downward): Likewise.
14898 (expm1_test_upward): Likewise.
14899 (fabs_test): Likewise.
14900 (fdim_test): Likewise.
14901 (floor_test): Likewise.
14902 (fma_test): Likewise.
14903 (fma_test_towardzero): Likewise.
14904 (fma_test_downward): Likewise.
14905 (fma_test_upward): Likewise.
14906 (fmax_test): Likewise.
14907 (fmin_test): Likewise.
14908 (fmod_test): Likewise.
14909 (fpclassify_test): Likewise.
14910 (frexp_test): Likewise.
14911 (hypot_test): Likewise.
14912 (ilogb_test): Likewise.
14913 (isfinite_test): Likewise.
14914 (finite_test): Likewise.
14915 (isgreater_test): Likewise.
14916 (isgreaterequal_test): Likewise.
14917 (isinf_test): Likewise.
14918 (isless_test): Likewise.
14919 (islessequal_test): Likewise.
14920 (islessgreater_test): Likewise.
14921 (isnan_test): Likewise.
14922 (isnormal_test): Likewise.
14923 (issignaling_test): Likewise.
14924 (isunordered_test): Likewise.
14925 (j0_test): Likewise.
14926 (j1_test): Likewise.
14927 (jn_test): Likewise.
14928 (ldexp_test): Likewise.
14929 (lgamma_test): Likewise.
14930 (gamma_test): Likewise.
14931 (lrint_test): Likewise.
14932 (lrint_test_tonearest): Likewise.
14933 (lrint_test_towardzero): Likewise.
14934 (lrint_test_downward): Likewise.
14935 (lrint_test_upward): Likewise.
14936 (llrint_test): Likewise.
14937 (llrint_test_tonearest): Likewise.
14938 (llrint_test_towardzero): Likewise.
14939 (llrint_test_downward): Likewise.
14940 (llrint_test_upward): Likewise.
14941 (log_test): Likewise.
14942 (log10_test): Likewise.
14943 (log1p_test): Likewise.
14944 (log2_test): Likewise.
14945 (logb_test): Likewise.
14946 (logb_test_downward): Likewise.
14947 (lround_test): Likewise.
14948 (llround_test): Likewise.
14949 (modf_test): Likewise.
14950 (nearbyint_test): Likewise.
14951 (nextafter_test): Likewise.
14952 (nexttoward_test): Likewise.
14953 (pow_test): Likewise.
14954 (pow_test_tonearest): Likewise.
14955 (pow_test_towardzero): Likewise.
14956 (pow_test_downward): Likewise.
14957 (pow_test_upward): Likewise.
14958 (remainder_test): Likewise.
14959 (drem_test): Likewise.
14960 (remainder_test_tonearest): Likewise.
14961 (drem_test_tonearest): Likewise.
14962 (remainder_test_towardzero): Likewise.
14963 (drem_test_towardzero): Likewise.
14964 (remainder_test_downward): Likewise.
14965 (drem_test_downward): Likewise.
14966 (remainder_test_upward): Likewise.
14967 (drem_test_upward): Likewise.
14968 (remquo_test): Likewise.
14969 (rint_test): Likewise.
14970 (rint_test_tonearest): Likewise.
14971 (rint_test_towardzero): Likewise.
14972 (rint_test_downward): Likewise.
14973 (rint_test_upward): Likewise.
14974 (round_test): Likewise.
14975 (scalb_test): Likewise.
14976 (scalbn_test): Likewise.
14977 (scalbln_test): Likewise.
14978 (signbit_test): Likewise.
14979 (sin_test): Likewise.
14980 (sin_test_tonearest): Likewise.
14981 (sin_test_towardzero): Likewise.
14982 (sin_test_downward): Likewise.
14983 (sin_test_upward): Likewise.
14984 (sincos_test): Likewise.
14985 (sinh_test): Likewise.
14986 (sinh_test_tonearest): Likewise.
14987 (sinh_test_towardzero): Likewise.
14988 (sinh_test_downward): Likewise.
14989 (sinh_test_upward): Likewise.
14990 (sqrt_test): Likewise.
14991 (sqrt_test_tonearest): Likewise.
14992 (sqrt_test_towardzero): Likewise.
14993 (sqrt_test_downward): Likewise.
14994 (sqrt_test_upward): Likewise.
14995 (tan_test): Likewise.
14996 (tan_test_tonearest): Likewise.
14997 (tan_test_towardzero): Likewise.
14998 (tan_test_downward): Likewise.
14999 (tan_test_upward): Likewise.
15000 (tanh_test): Likewise.
15001 (tgamma_test): Likewise.
15002 (trunc_test): Likewise.
15003 (y0_test): Likewise.
15004 (y1_test): Likewise.
15005 (yn_test): Likewise.
15006 (significand_test): Likewise.
15007
15008 * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
15009 individual tests in comment.
15010 (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
15011 (prev_max_error): New variable.
15012 (prev_real_max_error): Likewise.
15013 (prev_imag_max_error): Likewise.
15014 (compare_ulp_data): Don't refer to test names in comment.
15015 (find_test_ulps): Remove function.
15016 (find_function_ulps): Likewise.
15017 (find_complex_function_ulps): Likewise.
15018 (init_max_error): Take function name as argument. Look up ulps
15019 for that function.
15020 (print_ulps): Remove function.
15021 (print_max_error): Use prev_max_error instead of calling
15022 find_function_ulps.
15023 (print_complex_max_error): Use prev_real_max_error and
15024 prev_imag_max_error instead of calling find_complex_function_ulps.
15025 (check_float_internal): Take max_ulp parameter instead of calling
15026 find_test_ulps. Don't call print_ulps.
15027 (check_float): Update call to check_float_internal.
15028 (check_complex): Update calls to check_float_internal.
15029 (START): Pass argument to init_max_error.
15030 * math/gen-libm-test.pl (%results): Don't include "kind"
15031 information.
15032 (parse_ulps): Don't handle ulps of individual tests.
15033 (print_ulps_file): Likewise.
15034 (output_ulps): Likewise.
15035 * math/README.libm-test: Update.
15036 * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
15037 individual tests.
15038 * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
15039 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
15040 * sysdeps/arm/libm-test-ulps: Likewise.
15041 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
15042 * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
15043 * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
15044 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
15045 * sysdeps/microblaze/libm-test-ulps: Likewise.
15046 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
15047 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
15048 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
15049 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
15050 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
15051 * sysdeps/sh/libm-test-ulps: Likewise.
15052 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
15053 * sysdeps/tile/libm-test-ulps: Likewise.
15054 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15055
15056 2014-03-04 Joseph Myers <joseph@codesourcery.com>
15057
15058 * math/libm-test.inc (print_complex_max_error): Check separately
15059 whether real and imaginary errors are within allowed range and
15060 pass 0 to print_complex_function_ulps instead of value within
15061 allowed range.
15062
15063 2014-03-04 Siddhesh Poyarekar <siddhesh@redhat.com>
15064
15065 * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
15066 formatting.
15067 (get_handles_fopen): Likewise.
15068 (do_write_test): Likewise.
15069
15070 * libio/wfileops.c (do_ftell_wide): Fix up formatting.
15071
15072 * libio/fileops.c (do_ftell): Use cached offset when
15073 available.
15074 * libio/iofwide.c (do_ftell_wide): Likewise.
15075 * libio/iofdopen.c (_IO_new_fdopen): Don't use
15076 _IO_file_attach.
15077 * libio/wfileops.c (_IO_fwide): Don't cache offset.
15078
15079 [BZ #16532]
15080 * libio/libioP.h (get_file_offset): New function.
15081 * libio/fileops.c (get_file_offset): Likewise.
15082 (do_ftell): Likewise.
15083 (_IO_new_file_seekoff): Split out ftell logic.
15084 * libio/wfileops.c (do_ftell_wide): Likewise.
15085 (_IO_wfile_seekoff): Split out ftell logic.
15086 * libio/tst-ftell-active-handler.c: New test case.
15087 * libio/Makefile (tests): Add it.
15088
15089 2014-03-03 Roland McGrath <roland@hack.frob.com>
15090
15091 * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
15092 * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
15093
15094 2014-03-03 Siddhesh Poyarekar <siddhesh@redhat.com>
15095
15096 [BZ #16639]
15097 * nscd/connections.c (nscd_init): Call do_exit.
15098 (start_threads): Call do_exit and notify_parent.
15099 (begin_drop_privileges): Call do_exit.
15100 (finish_drop_privileges): Likewise.
15101 * nscd/selinux.c (preserve_capabilities): Likewise.
15102 (install_real_capabilities): Likewise.
15103 (nscd_selinux_enabled): Likewise.
15104 (avc_create_thread): Likewise.
15105 (avc_alloc_lock): Likewise.
15106 (nscd_avc_init): Likewise.
15107 * nscd/nscd.c (parent_fd): New static variable.
15108 (main): Create a pipe between parent and child processes.
15109 Skip closing parent_fd.
15110 (monitor_child): New function.
15111 (do_exit): Likewise.
15112 (notify_parent): Likewise.
15113 * nscd/nscd.h (notify_parent): Likewise.
15114 (do_exit): Likewise.
15115
15116 2014-03-03 Carlos O'Donell <carlos@redhat.com>
15117
15118 * malloc/malloc.c (__libc_calloc): Revert last change.
15119
15120 2014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15121
15122 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15123
15124 2014-03-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
15125
15126 * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
15127 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
15128 implementation.
15129 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
15130 (__libc_ifunc_impl_list): Likewise.
15131 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
15132 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
15133 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
15134 * string/strrchr.c: Define STRRCHR.
15135
15136 2014-02-28 Ondřej Bílka <neleai@seznam.cz>
15137
15138 * benchtest/bench-strtok.c (simple_strtok): Delete.
15139 (strtok_string): Use as benchmark.
15140 * string/strtok (STRTOK): New macro.
15141
15142 2014-02-28 Carlos O'Donell <carlos@redhat.com>
15143
15144 * manual/threads.texi: Add header and standard comments to all
15145 functions.
15146
15147 * elf/dl-lookup.c (check_match): New function.
15148 (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
15149 (do_lookup_x): Remove nested function check_match. Use non-nested
15150 function check_match.
15151
15152 2014-02-28 Roland McGrath <roland@hack.frob.com>
15153
15154 * csu/Makefile (generated, before-compile): Use += rather than =.
15155 * catgets/Makefile (generated, generated-dirs): Likewise.
15156 * debug/Makefile (generated): Likewise.
15157 * dlfcn/Makefile (generated): Likewise.
15158 * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
15159 * iconvdata/Makefile (before-compile, generated): Likewise.
15160 * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
15161 * libio/Makefile (generated): Likewise.
15162 * malloc/Makefile (generated): Likewise.
15163 * manual/Makefile (generated, generated-dirs): Likewise.
15164 * misc/Makefile (generated): Likewise.
15165 * posix/Makefile (generated): Likewise.
15166 * resolv/Makefile (generated): Likewise.
15167 * sunrpc/Makefile (generated, generated-dirs): Likewise.
15168 * timezone/Makefile (generated, generated-dirs): Likewise.
15169
15170 * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
15171
15172 2014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15173
15174 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
15175 power8 implementation.
15176 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
15177 file: POWER8 llround ifunc implementation.
15178 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
15179 (__lllround): Add POWER8 implementation.
15180 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
15181 POWER8 llround implementation.
15182
15183 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
15184 power8 implementation.
15185 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
15186 file: POWER8 llrint ifunc implementation.
15187 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
15188 Add POWER8 implementation.
15189 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
15190 POWER8 llrint implementation.
15191
15192 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
15193 power8 implementation.
15194 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
15195 file: POWER8 finite ifunc implementation.
15196 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
15197 Add POWER8 implementation.
15198 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
15199 Likewise.
15200 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
15201 POWER8 finite implementation.
15202 * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
15203
15204 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
15205 power8 implementation.
15206 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
15207 file: POWER8 isinf ifunc implementation.
15208 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
15209 POWER8 implementation.
15210 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
15211 Likewise.
15212 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
15213 isinf implementation.
15214 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
15215
15216 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
15217 (INIT_ARCH): Add hwcap2 initialization.
15218 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
15219 power8 implementation.
15220 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
15221 file: POWER8 isnan ifunc implementation.
15222 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
15223 POWER8 implementation.
15224 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
15225 Likewise.
15226 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
15227 isnan implementation.
15228 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
15229
15230 2014-02-27 Joey Ye <joey.ye@arm.com>
15231
15232 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
15233 (_FP_NANFRAC_Q): Set to zero.
15234
15235 2014-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
15236
15237 [BZ #16623]
15238 * math/auto-libm-test-in: New test inputs.
15239 * math/auto-libm-test-out: Regenerate.
15240 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
15241 and DA.
15242 (__cos): Likewise.
15243 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
15244
15245 2014-02-27 Joseph Myers <joseph@codesourcery.com>
15246
15247 * scripts/evaluate-test.sh: Take new argument indicating whether
15248 failure is expected.
15249 * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
15250 indicating whether failure is expected.
15251 * conform/Makefile (test-xfail-run-conformtest): New variable.
15252 ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
15253 level.
15254 * posix/Makefile (test-xfail-annexc): New variable.
15255 ($(objpfx)annexc.out): Don't expect to fail at makefile level.
15256
15257 2014-02-26 Joseph Myers <joseph@codesourcery.com>
15258
15259 * argp/Makefile: Include Makeconfig immediately after defining
15260 subdir.
15261 * assert/Makefile: Likewise.
15262 * benchtests/Makefile: Likewise.
15263 * catgets/Makefile: Likewise.
15264 * conform/Makefile: Likewise.
15265 * crypt/Makefile: Likewise.
15266 * csu/Makefile: Likewise.
15267 (all): Remove target.
15268 * ctype/Makefile: Include Makeconfig immediately after defining
15269 subdir.
15270 * debug/Makefile: Likewise.
15271 * dirent/Makefile: Likewise.
15272 * dlfcn/Makefile: Likewise.
15273 * gmon/Makefile: Likewise.
15274 * gnulib/Makefile: Likewise.
15275 * grp/Makefile: Likewise.
15276 * gshadow/Makefile: Likewise.
15277 * hesiod/Makefile: Likewise.
15278 * hurd/Makefile: Likewise.
15279 (all): Remove target.
15280 * iconvdata/Makefile: Include Makeconfig immediately after
15281 defining subdir.
15282 * inet/Makefile: Likewise.
15283 * intl/Makefile: Likewise.
15284 * io/Makefile: Likewise.
15285 * libio/Makefile: Likewise.
15286 (all): Remove target.
15287 * locale/Makefile: Include Makeconfig immediately after defining
15288 subdir.
15289 * login/Makefile: Likewise.
15290 * mach/Makefile: Likewise.
15291 (all): Remove target.
15292 * malloc/Makefile: Include Makeconfig immediately after defining
15293 subdir.
15294 (all): Remove target.
15295 * manual/Makefile: Include Makeconfig immediately after defining
15296 subdir.
15297 * math/Makefile: Likewise.
15298 * misc/Makefile: Likewise.
15299 * nis/Makefile: Likewise.
15300 * nss/Makefile: Likewise.
15301 * po/Makefile: Likewise.
15302 (all): Remove target.
15303 * posix/Makefile: Include Makeconfig immediately after defining
15304 subdir.
15305 * pwd/Makefile: Likewise.
15306 * resolv/Makefile: Likewise.
15307 * resource/Makefile: Likewise.
15308 * rt/Makefile: Likewise.
15309 * setjmp/Makefile: Likewise.
15310 * shadow/Makefile: Likewise.
15311 * signal/Makefile: Likewise.
15312 * socket/Makefile: Likewise.
15313 * soft-fp/Makefile: Likewise.
15314 * stdio-common/Makefile: Likewise.
15315 * stdlib/Makefile: Likewise.
15316 * streams/Makefile: Likewise.
15317 * string/Makefile: Likewise.
15318 * sunrpc/Makefile: Likewise.
15319 (all): Remove target.
15320 * sysvipc/Makefile: Include Makeconfig immediately after defining
15321 subdir.
15322 * termios/Makefile: Likewise.
15323 * time/Makefile: Likewise.
15324 * timezone/Makefile: Likewise.
15325 (all): Remove target.
15326 * wcsmbs/Makefile: Include Makeconfig immediately after defining
15327 subdir.
15328 * wctype/Makefile: Likewise.
15329
15330 2014-02-26 Steve Ellcey <sellcey@mips.com>
15331
15332 * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
15333 (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
15334 (libc_feholdexcept_setround_mips): Ditto.
15335 (libc_feholdsetround): New.
15336 (libc_feholdsetroundf): New.
15337 (libc_feholdsetroundl): New.
15338 (libc_feupdateenv_test_mips): New.
15339 (libc_feupdateenv_test): New.
15340 (libc_feupdateenv_testf): New.
15341 (libc_feupdateenv_testl): New.
15342 (libc_feresetround): New.
15343 (libc_feresetroundf): New.
15344 (libc_feresetroundl): New.
15345 (libc_fetestexcept_mips): New.
15346 (libc_fetestexcept): New.
15347 (libc_fetestexceptf): New.
15348 (libc_fetestexceptl): New.
15349 (HAVE_RM_CTX): New.
15350 (libc_feholdexcept_setround_mips_ctx): New.
15351 (libc_feholdexcept_setround_ctx): New.
15352 (libc_feholdexcept_setroundf_ctx): New.
15353 (libc_feholdexcept_setroundl_ctx): New.
15354 (libc_fesetenv_mips_ctx): New.
15355 (libc_fesetenv_ctx): New.
15356 (libc_fesetenv_ctxf): New.
15357 (libc_fesetenv_ctxl): New.
15358 (libc_feupdateenv_mips_ctx): New.
15359 (libc_feupdateenv_ctx): New.
15360 (libc_feupdateenvf_ctx): New.
15361 (libc_feupdateenvl_ctx): New.
15362 (libc_feholdsetround_mips_ctx): New.
15363 (libc_feholdsetround_ctx): New.
15364 (libc_feholdsetroundf_ctx): New.
15365 (libc_feholdsetroundl_ctx): New.
15366 (libc_feresetround_mips_ctx): New.
15367 (libc_feresetround_ctx): New.
15368 (libc_feresetroundf_ctx): New.
15369 (libc_feresetroundl_ctx): New.
15370
15371 2014-02-26 Carlos O'Donell <carlos@redhat.com>
15372
15373 * manual/ipc.texi (Semaphores): Use @Theglibc{}.
15374
15375 * manual/ipc.texi: New file.
15376 * manual/Makefile (chapters): Add ipc.
15377 * manual/job.texi: Add "Inter-Process Communication" to next.
15378 * manual/process.texi: Add "Inter-Process Communication" to prev.
15379
15380 2014-02-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15381
15382 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15383
15384 2014-02-26 Ondřej Bílka <neleai@seznam.cz>
15385
15386 * malloc/malloc.c (__libc_calloc): Simplify implementation.
15387
15388 * manual/arith.texi: Fix spaces after sentences.
15389 * manual/charset.texi: Likewise.
15390 * manual/errno.texi: Likewise.
15391 * manual/install.texi: Likewise.
15392 * manual/llio.texi: Likewise.
15393 * manual/locale.texi: Likewise.
15394 * manual/maint.texi: Likewise.
15395 * manual/math.texi: Likewise.
15396 * manual/memory.texi: Likewise.
15397 * manual/message.texi: Likewise.
15398 * manual/probes.texi: Likewise.
15399 * manual/resource.texi: Likewise.
15400 * manual/signal.texi: Likewise.
15401 * manual/socket.texi: Likewise.
15402 * manual/stdio.texi: Likewise.
15403 * manual/string.texi: Likewise.
15404 * manual/time.texi: Likewise.
15405 * manual/users.texi: Likewise.
15406
15407 2014-02-25 Carlos O'Donell <carlos@redhat.com>
15408
15409 [BZ #16632]
15410 * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
15411 _DEFAULT_SOURCE is defined.
15412
15413 2014-02-25 Ulrich Drepper <drepper@gmail.com>
15414 Carlos O'Donell <carlos@redhat.com>
15415
15416 [BZ #16613]
15417 * elf/dl-tls.c (_dl_count_modids): New function.
15418 * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
15419 * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
15420 audit library and increment generation counter.
15421 (_dl_allocate_tls_init): Add assertion to check TLS generation count.
15422 * elf/tst-audit9.c: New file.
15423 * elf/tst-auditmod9a.c: New file.
15424 * elf/tst-auditmod9b.c: New file.
15425 * elf/Makefile: Add rules to build and run tst-audit9.
15426
15427 2014-02-25 Florian Weimer <fweimer@redhat.com>
15428
15429 [BZ #15347]
15430 * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
15431
15432 2014-02-25 Will Newton <will.newton@linaro.org>
15433
15434 * sysdeps/arm/__longjmp.S: Include stap-probe.h.
15435 (__longjmp): Restore sp and lr before restoring callee
15436 saved registers. Add longjmp and longjmp_target
15437 SystemTap probe point.
15438 * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
15439 * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
15440 Define to zero to match jmpbuf layout.
15441 * sysdeps/arm/setjmp.S: Include stap-probe.h.
15442 (__sigsetjmp): Save sp and lr before saving callee
15443 saved registers. Add setjmp SystemTap probe point.
15444
15445 2014-02-24 Stefan Liebler <stli@linux.vnet.ibm.com>
15446
15447 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
15448
15449 2014-02-24 Andreas Schwab <schwab@suse.de>
15450
15451 [BZ #15804]
15452 * elf/pldd.c (wait_for_ptrace_stop): New function.
15453 (main): Call it after attaching.
15454
15455 2014-02-22 Roland McGrath <roland@hack.frob.com>
15456
15457 * Makerules ($(common-objpfx)Versions.v.i): No longer depend
15458 on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
15459 Versions files is now verboten.
15460 * hurd/Versions (libc: GLIBC_2.0):
15461 Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
15462 (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
15463 [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
15464 * mach/Versions: Likewise.
15465
15466 * csu/Versions: Remove unused %include.
15467 * resolv/Versions: Likewise.
15468
15469 2014-02-21 Joseph Myers <joseph@codesourcery.com>
15470
15471 * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
15472 ($(objpfx)check-local-headers.out): Likewise.
15473 ($(objpfx)begin-end-check.out): Likewise.
15474 * Makerules (check-abi-%.out): Likewise.
15475 * catgets/Makefile ($(objpfx)test1.cat): Likewise.
15476 ($(objpfx)test2.cat): Likewise.
15477 ($(objpfx)de/libc.cat): Likewise.
15478 ($(objpfx)test-gencat.out): Likewise.
15479 * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
15480 * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
15481 ($(objpfx)noload-mem): Likewise.
15482 ($(objpfx)tst-pathopt.out): Likewise.
15483 ($(objpfx)tst-rtld-load-self.out): Likewise.
15484 ($(objpfx)tst-array1-cmp.out): Likewise.
15485 ($(objpfx)tst-array1-static-cmp.out): Likewise.
15486 ($(objpfx)tst-array2-cmp.out): Likewise.
15487 ($(objpfx)tst-array3-cmp.out): Likewise.
15488 ($(objpfx)tst-array4-cmp.out): Likewise.
15489 ($(objpfx)tst-array5-cmp.out): Likewise.
15490 ($(objpfx)tst-array5-static-cmp.out): Likewise.
15491 ($(objpfx)check-textrel.out): Likewise.
15492 ($(objpfx)check-execstack.out): Likewise.
15493 ($(objpfx)check-localplt.out): Likewise.
15494 ($(objpfx)order2-cmp.out): Likewise.
15495 ($(objpfx)tst-leaks1-mem): Likewise.
15496 ($(objpfx)tst-leaks1-static-mem): Likewise.
15497 ($(objpfx)tst-initorder-cmp.out): Likewise.
15498 ($(objpfx)tst-initorder2-cmp.out): Likewise.
15499 ($(objpfx)tst-unused-dep.out): Likewise.
15500 ($(objpfx)tst-unused-dep-cmp.out): Likewise.
15501 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
15502 * iconv/Makefile (test-iconvconfig): Likewise.
15503 * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
15504 ($(objpfx)iconv-test.out): Likewise.
15505 ($(objpfx)tst-tables.out): Likewise.
15506 * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
15507 ($(objpfx)tst-gettext.out): Likewise.
15508 ($(objpfx)tst-translit.out): Likewise.
15509 ($(objpfx)tst-gettext2.out): Likewise.
15510 ($(objpfx)tst-gettext4.out): Likewise.
15511 ($(objpfx)tst-gettext6.out): Likewise.
15512 * io/Makefile ($(objpfx)ftwtest.out): Likewise.
15513 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
15514 ($(objpfx)tst-fopenloc-cmp.out): Likewise.
15515 ($(objpfx)tst-fopenloc-mem.out): Likewise.
15516 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
15517 * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
15518 * posix/Makefile ($(objpfx)globtest.out): Likewise.
15519 ($(objpfx)wordexp-tst.out): Likewise.
15520 ($(objpfx)annexc.out): Likewise.
15521 ($(objpfx)tst-fnmatch-mem): Likewise.
15522 ($(objpfx)bug-regex2-mem): Likewise.
15523 ($(objpfx)bug-regex14-mem): Likewise.
15524 ($(objpfx)bug-regex21-mem): Likewise.
15525 ($(objpfx)bug-regex31-mem): Likewise.
15526 ($(objpfx)tst-vfork3-mem): Likewise.
15527 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
15528 ($(objpfx)tst-pcre-mem): Likewise.
15529 ($(objpfx)tst-boost-mem): Likewise.
15530 ($(objpfx)tst-getconf.out): Likewise.
15531 ($(objpfx)bug-ga2-mem): Likewise.
15532 ($(objpfx)bug-glob2-mem): Likewise.
15533 * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
15534 ($(objpfx)mtrace-tst-leaks2): Likewise.
15535 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
15536 ($(objpfx)tst-printf.out): Likewise.
15537 ($(objpfx)tst-setvbuf1.out): Likewise.
15538 ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
15539 * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
15540 ($(objpfx)tst-fmtmsg.out): Likewise.
15541 * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
15542 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
15543
15544 * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
15545 * bits/sigaction.h [__USE_MISC]: Likewise.
15546 * bits/waitstatus.h: Update #endif comments.
15547 * ctype/ctype.h: Likewise.
15548 * dirent/dirent.h: Likewise.
15549 [__USE_MISC]: Remove redundant conditionals.
15550 * grp/grp.h: Update #endif comments.
15551 [__USE_GNU]: Remove redundant conditionals.
15552 [__USE_MISC]: Likewise.
15553 * inet/netinet/in.h [__USE_GNU]: Likewise.
15554 * io/sys/stat.h [__USE_MISC]: Likewise.
15555 * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
15556 * libio/bits/stdio.h: Update #endif comments.
15557 [__USE_MISC]: Remove redundant conditionals.
15558 * libio/bits/stdio2.h [__USE_MISC]: Likewise.
15559 * libio/stdio.h: Update #endif comments.
15560 [__USE_MISC]: Remove redundant conditionals.
15561 * math/bits/math-finite.h [__USE_MISC]: Likewise.
15562 * math/bits/mathcalls.h [__USE_MISC]: Likewise.
15563 * math/math.h: Update #else and #endif comments.
15564 [__USE_MISC]: Remove redundant conditionals.
15565 * misc/sys/uio.h: Update #endif comments.
15566 * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
15567 * posix/glob.h [__USE_MISC]: Likewise.
15568 * posix/sys/types.h: Update #endif comments.
15569 [__USE_MISC]: Remove redundant conditionals.
15570 * posix/sys/wait.h: Update #endif comments.
15571 [__USE_MISC]: Remove redundant conditionals.
15572 * posix/unistd.h: Update #endif comments.
15573 [__USE_MISC]: Remove redundant conditionals.
15574 * pwd/pwd.h [__USE_GNU]: Likewise.
15575 [__USE_MISC]: Likewise.
15576 * resolv/netdb.h [__USE_GNU]: Likewise.
15577 * signal/signal.h: Update #endif comments.
15578 [__USE_MISC]: Remove redundant conditionals.
15579 * stdlib/stdlib.h: Update #else and #endif comments.
15580 [__USE_MISC]: Remove redundant conditionals.
15581 [__USE_GNU]: Likewise.
15582 * string/bits/string2.h [__USE_MISC]: Likewise.
15583 * string/string.h: Update #endif comments.
15584 [__USE_MISC]: Remove redundant conditionals.
15585 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
15586 Likewise.
15587 * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
15588 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
15589 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
15590 Likewise.
15591 * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
15592 Likewise.
15593 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
15594 comments.
15595 [__USE_MISC]: Remove redundant conditionals.
15596 * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
15597 * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
15598 * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
15599 * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
15600 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
15601 Likewise.
15602 * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
15603 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
15604 Likewise.
15605 * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
15606 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
15607 Likewise.
15608 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
15609 Likewise.
15610 * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
15611 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
15612 Likewise.
15613 * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
15614 Likewise.
15615 * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
15616 * sysdeps/x86/bits/string.h: Update #endif comments.
15617 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
15618 conditionals.
15619 * time/sys/time.h: Update #endif comments.
15620 * time/time.h: Likewise.
15621 [__USE_MISC]: Remove redundant conditionals.
15622
15623 2014-02-21 Yury Gribov <y.gribov@samsung.com>
15624
15625 [BZ #16600]
15626 * sysdeps/arm/libm-test-ulps: Update for VFPv4.
15627
15628 2014-02-21 Andreas Schwab <schwab@linux-m68k.org>
15629
15630 * Versions.def (librt): Add GLIBC_2.17.
15631
15632 2014-02-21 Adam Conrad <adconrad@0c3.net>
15633
15634 * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
15635 synonym for _SYS_AUXV_H to allow direct inclusion.
15636 * sysdeps/sparc/bits/hwcap.h: Likewise.
15637 * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
15638 _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
15639 * sysdeps/sparc/sysdep.h: Likewise.
15640
15641 2014-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
15642
15643 * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
15644
15645 2014-02-21 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
15646
15647 * benchtests/bench-strrchr.c: Print length instead of position.
15648
15649 2014-02-20 Joseph Myers <joseph@codesourcery.com>
15650
15651 [BZ #16611]
15652 * sysdeps/unix/sysv/linux/kernel-features.h
15653 [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
15654 (__ASSUME_SENDMMSG_SOCKETCALL): Define.
15655 [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
15656 __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
15657 Likewise.
15658 [__i386__ || __powerpc__ || __sh__ || __sparc__]
15659 (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
15660 [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
15661 (__ASSUME_SENDMMSG): Define instead of using previous
15662 [__LINUX_KERNEL_VERSION >= 0x020627] condition.
15663 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
15664 (__ASSUME_SENDMMSG_SYSCALL): Define.
15665 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
15666 [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
15667 Likewise.
15668 * sysdeps/unix/sysv/linux/arm/kernel-features.h
15669 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
15670 Likewise.
15671 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
15672 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
15673 Likewise.
15674 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
15675 && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
15676 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
15677 [__ASSUME_SENDMMSG]: Change conditionals to
15678 [__ASSUME_SENDMMSG_SOCKETCALL].
15679 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
15680 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
15681 Define.
15682 * sysdeps/unix/sysv/linux/mips/kernel-features.h
15683 [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
15684 Likewise.
15685 * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
15686 !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
15687 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
15688 [!__ASSUME_SENDMMSG]: Change conditional to
15689 [!__ASSUME_SENDMMSG_SOCKETCALL].
15690 * sysdeps/unix/sysv/linux/tile/kernel-features.h
15691 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
15692 Define.
15693
15694 [BZ #16610]
15695 * sysdeps/unix/sysv/linux/kernel-features.h
15696 [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
15697 (__ASSUME_RECVMMSG_SOCKETCALL): Define.
15698 [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
15699 __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
15700 || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
15701 [__i386__ || __sparc__]
15702 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
15703 [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
15704 (__ASSUME_RECVMMSG): Define instead of using previous
15705 [__LINUX_KERNEL_VERSION >= 0x020621] condition.
15706 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
15707 (__ASSUME_RECVMMSG_SYSCALL): Define.
15708 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
15709 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
15710 Likewise.
15711 * sysdeps/unix/sysv/linux/arm/kernel-features.h
15712 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
15713 Likewise.
15714 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
15715 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
15716 Likewise.
15717 * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
15718 && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
15719 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
15720 [__ASSUME_RECVMMSG]: Change condition to
15721 [__ASSUME_RECVMMSG_SOCKETCALL].
15722 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
15723 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
15724 Define.
15725 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
15726 * sysdeps/unix/sysv/linux/mips/kernel-features.h
15727 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
15728 Likewise.
15729 * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
15730 !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
15731 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
15732 [!__ASSUME_RECVMMSG]: Change condition to
15733 [!__ASSUME_RECVMMSG_SOCKETCALL].
15734 * sysdeps/unix/sysv/linux/tile/kernel-features.h
15735 (__ASSUME_RECVMMSG_SYSCALL): Define.
15736
15737 [BZ #16609]
15738 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
15739 __powerpc__ || __s390__ || __sh__ || __sparc__]
15740 (__ASSUME_SOCKETCALL): Define.
15741 [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
15742 (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
15743 [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
15744 || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
15745 __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
15746 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
15747 [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
15748 (__ASSUME_ACCEPT4): Define instead of using previous
15749 [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
15750 __powerpc__ || __sparc__ || __s390__)] condition.
15751 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
15752 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
15753 * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
15754 !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
15755 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
15756 [!__ASSUME_ACCEPT4]: Change condition to
15757 [!__ASSUME_ACCEPT4_SOCKETCALL].
15758 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
15759 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL. Correct
15760 condition to [__LINUX_KERNEL_VERSION >= 0x030200].
15761 * sysdeps/unix/sysv/linux/arm/kernel-features.h
15762 [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
15763 __ASSUME_ACCEPT4_SYSCALL.
15764 * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
15765 Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
15766 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
15767 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
15768 __ASSUME_ACCEPT4_SYSCALL.
15769 * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
15770 && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
15771 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
15772 [__ASSUME_ACCEPT4]: Change condition to
15773 [__ASSUME_ACCEPT4_SOCKETCALL].
15774 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
15775 (__ASSUME_SOCKETCALL): Define.
15776 [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
15777 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
15778 (__ASSUME_SOCKETCALL): Define.
15779 (__ASSUME_ACCEPT4): Remove.
15780 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
15781 Define.
15782 * sysdeps/unix/sysv/linux/mips/kernel-features.h
15783 [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
15784 Likewise.
15785 * sysdeps/unix/sysv/linux/tile/kernel-features.h
15786 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
15787
15788 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
15789 macro.
15790 (HWCAP_ARM_LPAE): Likewise.
15791 (HWCAP_ARM_EVTSTRM): Likewise.
15792 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
15793 Add vpfd32, lpae and evtstrm.
15794 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
15795 Increase to 22.
15796
15797 2014-02-19 Joseph Myers <joseph@codesourcery.com>
15798
15799 * math/auto-libm-test-in: Add tests of clog10.
15800 * math/auto-libm-test-out: Regenerated.
15801 * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
15802 * sysdeps/i386/fpu/libm-test-ulps: Update.
15803 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15804
15805 2014-02-18 Andreas Schwab <schwab@suse.de>
15806
15807 [BZ #16574]
15808 * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
15809 Store non-zero if the second buffer was newly allocated.
15810 (send_dg): Likewise.
15811 (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
15812 to send_vc and send_dg.
15813 (res_nsend): Pass NULL for ansp2_malloced.
15814 * resolv/res_query.c (__libc_res_nquery): Add parameter
15815 answerp2_malloced and pass it down to __libc_res_nsend.
15816 (res_nquery): Pass additional NULL to __libc_res_nquery.
15817 (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
15818 down to __libc_res_nquery and __libc_res_nquerydomain. Deallocate
15819 second answer buffer if answerp2_malloced was set.
15820 (res_nsearch): Pass additional NULL to __libc_res_nsearch.
15821 (__libc_res_nquerydomain): Add parameter
15822 answerp2_malloced and pass it down to __libc_res_nquery.
15823 (res_nquerydomain): Pass additional NULL to
15824 __libc_res_nquerydomain.
15825 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
15826 additional NULL to __libc_res_nsend and __libc_res_nquery.
15827 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
15828 additional NULL to __libc_res_nsearch.
15829 (_nss_dns_gethostbyname4_r): Revert last change. Use new
15830 parameter of __libc_res_nsearch to check for separately allocated
15831 second buffer.
15832 (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
15833 __libc_res_nquery.
15834 * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
15835 additional NULL to __libc_res_nquery.
15836 * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
15837 __libc_res_nsearch.
15838 (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
15839 * include/resolv.h: Update prototypes of __libc_res_nquery,
15840 __libc_res_nsearch, __libc_res_nsend.
15841
15842 2014-02-18 Joseph Myers <joseph@codesourcery.com>
15843
15844 * math/auto-libm-test-in: Add tests of fma.
15845 * math/auto-libm-test-out: Regenerated.
15846 * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
15847 (fma_towardzero_test_data): Likewise.
15848 (fma_downward_test_data): Likewise.
15849 (fma_upward_test_data): Likewise.
15850 * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
15851 mpc_mode.
15852 (rounding_modes): Add values for new field.
15853 (func_calc_method): Add value mpfr_fff_f.
15854 (func_calc_desc): Add mpfr_fff_f union field.
15855 (test_function): Add field exact_args.
15856 (FUNC): Add macro argument EXACT_ARGS.
15857 (FUNC_mpfr_f_f): Update call to FUNC.
15858 (FUNC_mpfr_f_f): Likewise.
15859 (FUNC_mpfr_ff_f): Likewise.
15860 (FUNC_mpfr_if_f): Likewise.
15861 (FUNC_mpc_c_f): Likewise.
15862 (FUNC_mpc_c_c): Likewise.
15863 (test_functions): Add fma. Update calls to FUNC.
15864 (handle_input_arg): Add argument exact_args.
15865 (add_test): Update call to handle_input_arg.
15866 (calc_generic_results): Add argument mode. Handle mpfr_fff_f.
15867 (output_for_one_input_case): Update call to calc_generic_results.
15868 Recalculate exact zero results in each rounding mode.
15869
15870 * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
15871 non-negative before setting low bit.
15872 * math/auto-libm-test-in: Mark one asin test possibly having
15873 spurious underflow.
15874 * math/auto-libm-test-out: Regenerated.
15875 * sysdeps/i386/fpu/libm-test-ulps: Update.
15876 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15877
15878 2014-02-17 David Holsgrove <david.holsgrove@xilinx.com>
15879
15880 * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
15881 * sysdeps/unix/sysv/linux/microblaze: Move directory from
15882 ports/sysdeps/unix/sysv/linux/microblaze.
15883 * README: Add missing listing for microblaze*-*-linux-gnu.
15884
15885 2014-02-16 Ondřej Bílka <neleai@seznam.cz>
15886
15887 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
15888 duplicate code
15889
15890 2014-02-16 Mike Frysinger <vapier@gentoo.org>
15891
15892 * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
15893 * sysdeps/unix/sysv/linux/ia64: Move directory from
15894 ports/sysdeps/unix/sysv/linux/ia64.
15895 * README: Update listing for ia64-*-linux-gnu.
15896
15897 2014-02-14 Tomas Dohnalek <tdohnale@redhat.com>
15898 Joseph Myers <joseph@codesourcery.com>
15899
15900 * Makeconfig (test-name): New variable.
15901 (evaluate-test): Likewise.
15902 * Makerules (do-test-clean): Remove .test-result files.
15903 (common-mostlyclean): Likewise.
15904 * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
15905 * scripts/evaluate-test.sh: New file.
15906
15907 2014-02-14 Joseph Myers <joseph@codesourcery.com>
15908
15909 * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
15910 separate $(objpfx)tst-fopenloc-cmp.out and
15911 $(objpfx)tst-fopenloc-mem.out targets.
15912 (tests): Update dependencies.
15913 * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
15914 (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
15915 tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
15916 (tst-rxspencer-no-utf8-ARGS): New variable.
15917 (tst-rxspencer-no-utf8-ENV): Likewise.
15918 (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
15919 instead of $(objpfx)tst-rxspencer-mem.
15920 ($(objpfx)tst-rxspencer-mem): Change target to
15921 $(objpfx)tst-rxspencer-no-utf8-mem. Depend on
15922 $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
15923 * posix/tst-rxspencer-no-utf8.c: New file.
15924
15925 * elf/Makefile ($(objpfx)order.out): Remove rule.
15926 [$(run-built-tests) = yes] (tests): Depend on
15927 $(objpfx)order-cmp.out.
15928 ($(objpfx)order-cmp.out): New rule.
15929 [$(run-built-tests) = yes] (tests): Depend on
15930 $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
15931 $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
15932 $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
15933 $(objpfx)tst-array5-static-cmp.out.
15934 ($(objpfx)tst-array1.out): Remove rule.
15935 ($(objpfx)tst-array1-cmp.out): New rule.
15936 ($(objpfx)tst-array1-static.out): Remove rule.
15937 ($(objpfx)tst-array1-static-cmp.out): New rule.
15938 ($(objpfx)tst-array2.out): Remove rule.
15939 ($(objpfx)tst-array2-cmp.out): New rule.
15940 ($(objpfx)tst-array3.out): Remove rule.
15941 ($(objpfx)tst-array3-cmp.out): New rule.
15942 ($(objpfx)tst-array4.out): Remove rule.
15943 ($(objpfx)tst-array4-cmp.out): New rule.
15944 ($(objpfx)tst-array5.out): Remove rule.
15945 ($(objpfx)tst-array5-cmp.out): New rule.
15946 ($(objpfx)tst-array5-static.out): Remove rule.
15947 ($(objpfx)tst-array5-static-cmp.out): New rule.
15948 [$(run-built-tests) = yes] (tests): Depend on
15949 $(objpfx)order2-cmp.out.
15950 ($(objpfx)order2.out): Remove rule.
15951 ($(objpfx)order2-cmp.out): New rule.
15952 ($(objpfx)tst-initorder.out): Remove rule.
15953 [$(run-built-tests) = yes] (tests): Depend on
15954 $(objpfx)tst-initorder-cmp.out.
15955 ($(objpfx)tst-initorder-cmp.out): New rule.
15956 ($(objpfx)tst-initorder2.out): Remove rule.
15957 [$(run-built-tests) = yes] (tests): Depend on
15958 $(objpfx)tst-initorder2-cmp.out.
15959 ($(objpfx)tst-initorder2-cmp.out): New rule.
15960 [$(run-built-tests) = yes] (tests): Depend on
15961 $(objpfx)tst-unused-dep-cmp.out.
15962 ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
15963 ($(objpfx)tst-unused-dep-cmp.out): New rule.
15964 * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
15965 on $(objpfx)tst-setvbuf1-cmp.out.
15966 ($(objpfx)tst-setvbuf1.out): Do not run cmp.
15967 ($(objpfx)tst-setvbuf1-cmp.out): New rule.
15968 * string/Makefile [$(run-built-tests) = yes] (tests): Depend
15969 $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
15970 ($(objpfx)tst-svc.out): Remove rule.
15971 ($(objpfx)tst-svc-cmp.out): New rule.
15972
15973 2014-02-13 Joseph Myers <joseph@codesourcery.com>
15974
15975 * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
15976 * ctype/ctype.h [__USE_MISC]: Likewise.
15977 * dirent/dirent.h [__USE_MISC]: Likewise.
15978 * grp/grp.h [__USE_MISC]: Likewise.
15979 * io/fcntl.h [__USE_MISC]: Likewise.
15980 * io/sys/stat.h [__USE_MISC]: Likewise.
15981 * libio/stdio.h [__USE_MISC]: Likewise.
15982 * posix/unistd.h [__USE_MISC]: Likewise.
15983 * pwd/pwd.h [__USE_MISC]: Likewise.
15984 * stdlib.h [__USE_MISC]: Likewise.
15985 * string/bits/string2.h [__USE_MISC]: Likewise.
15986 * string/string.h [__USE_MISC]: Likewise.
15987 * time/time.h [__USE_MISC]: Likewise.
15988
15989 2014-02-13 Andreas Schwab <schwab@suse.de>
15990
15991 [BZ #16574]
15992 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
15993 second answer buffer if it was separately allocated.
15994
15995 2014-02-12 Joseph Myers <joseph@codesourcery.com>
15996
15997 * sysdeps/mips/math-tests.h: Include <features.h>.
15998 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
15999 (ROUNDING_TESTS_long_double): Do not define.
16000 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
16001 (EXCEPTION_TESTS_long_double): Likewise.
16002 * sysdeps/mips/mips64/libm-test-ulps: Update.
16003
16004 * include/features.h (__USE_BSD): Remove macro definitions.
16005 (__USE_SVID): Likewise.
16006 (_BSD_SOURCE): Likewise.
16007 (_SVID_SOURCE): Likewise.
16008 [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
16009 from definition of _DEFAULT_SOURCE.
16010 [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
16011 [_DEFAULT_SOURCE].
16012 * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
16013 * bits/mman.h [__USE_BSD]: Likewise.
16014 * bits/termios.h [__USE_BSD]: Likewise.
16015 * bits/waitstatus.h [__USE_BSD]: Likewise.
16016 * ctype/ctype.h [__USE_SVID]: Likewise.
16017 * dirent/dirent.h [__USE_BSD]: Likewise.
16018 * grp/grp.h [__USE_SVID]: Likewise.
16019 [__USE_BSD]: Likewise.
16020 * inet/netinet/igmp.h [__USE_BSD]: Likewise.
16021 * io/fcntl.h [__USE_BSD]: Likewise.
16022 * io/ftw.h [__USE_BSD]: Likewise.
16023 * io/sys/stat.h [__USE_BSD]: Likewise.
16024 * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
16025 * libio/bits/stdio2.h [__USE_BSD]: Likewise.
16026 * libio/stdio.h [__USE_SVID]: Likewise.
16027 [__USE_BSD]: Likewise.
16028 * math/math.h [__USE_SVID]: Likewise.
16029 [__USE_BSD]: Likewise.
16030 * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
16031 * misc/bits/syslog.h [__USE_BSD]: Likewise.
16032 * misc/search.h [__USE_SVID]: Likewise.
16033 * misc/sys/mman.h [__USE_BSD]: Likewise.
16034 * misc/sys/syslog.h [__USE_BSD]: Likewise.
16035 * misc/sys/uio.h [__USE_BSD]: Likewise.
16036 * posix/bits/unistd.h [__USE_BSD]: Likewise.
16037 * posix/glob.h [__USE_BSD]: Likewise.
16038 * posix/regex.h [__USE_BSD]: Likewise.
16039 * posix/sys/types.h [__USE_BSD]: Likewise.
16040 [__USE_SVID]: Likewise.
16041 * posix/sys/utsname.h [__USE_SVID]: Likewise.
16042 * posix/sys/wait.h [__USE_BSD]: Likewise.
16043 [__USE_SVID]: Likewise.
16044 * posix/unistd.h [__USE_BSD]: Likewise.
16045 [__USE_SVID]: Likewise.
16046 * pwd/pwd.h [__USE_SVID]: Likewise.
16047 * resolv/netdb.h [__USE_BSD]: Likewise.
16048 * setjmp/setjmp.h [__USE_BSD]: Likewise.
16049 * signal/signal.h [__USE_BSD]: Likewise.
16050 [__USE_SVID]: Likewise.
16051 * socket/sys/socket.h [__USE_BSD]: Likewise.
16052 * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
16053 * stdlib/stdlib.h [__USE_BSD]: Likewise.
16054 [__USE_SVID]: Likewise.
16055 * string/bits/string2.h [__USE_BSD]: Likewise.
16056 [__USE_SVID]: Likewise.
16057 * string/bits/string3.h [__USE_BSD]: Likewise.
16058 * string/endian.h [__USE_BSD]: Likewise.
16059 * string/string.h [__USE_SVID]: Likewise.
16060 [__USE_BSD]: Likewise.
16061 * string/strings.h [__USE_BSD]: Likewise.
16062 * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
16063 * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
16064 * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
16065 * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
16066 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
16067 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
16068 Likewise.
16069 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
16070 Likewise.
16071 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
16072 * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
16073 Likewise.
16074 * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
16075 * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
16076 Likewise.
16077 * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
16078 Likewise.
16079 * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
16080 * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
16081 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
16082 Likewise.
16083 * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
16084 Likewise.
16085 * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
16086 * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
16087 * termios/termios.h [__USE_BSD]: Likewise.
16088 * time/sys/time.h [__USE_BSD]: Likewise.
16089 * time/time.h [__USE_BSD]: Likewise.
16090 [__USE_SVID]: Likewise.
16091
16092 * Makefile (subdir_targets): Remove subdir_lint.out.
16093
16094 * stdio-common/Makefile (do-tst-unbputc): Remove target.
16095 (do-tst-printf): Likewise.
16096 (tests): Depend directly on $(objpfx)tst-unbputc.out and
16097 $(objpfx)tst-printf.out.
16098
16099 * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
16100
16101 * Makerules (check-abi-%): Change target to
16102 $(objpfx)check-abi-%.out.
16103 (check-abi target): Update dependencies.
16104 (check-abi-pattern variable): Redirect output of diff to $@.
16105 (check-abi variable): Likewise.
16106 * elf/Makefile (check-abi): Update dependencies.
16107
16108 * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
16109 unused.
16110 (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
16111 value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
16112 subnormal range.
16113 (_FP_PACK_CANONICAL): Determine tininess based on rounding to
16114 normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
16115 value has largest subnormal exponent.
16116 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
16117 (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
16118 * sysdeps/aarch64/soft-fp/sfp-machine.h
16119 (_FP_TININESS_AFTER_ROUNDING): New macro.
16120 * sysdeps/alpha/soft-fp/sfp-machine.h
16121 (_FP_TININESS_AFTER_ROUNDING): Likewise.
16122 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
16123 Likewise.
16124 * sysdeps/mips/mips64/soft-fp/sfp-machine.h
16125 (_FP_TININESS_AFTER_ROUNDING): Likewise.
16126 * sysdeps/mips/soft-fp/sfp-machine.h
16127 (_FP_TININESS_AFTER_ROUNDING): Likewise.
16128 * sysdeps/powerpc/soft-fp/sfp-machine.h
16129 (_FP_TININESS_AFTER_ROUNDING): Likewise.
16130 * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
16131 Likewise.
16132 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
16133 (_FP_TININESS_AFTER_ROUNDING): Likewise.
16134 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
16135 (_FP_TININESS_AFTER_ROUNDING): Likewise.
16136 * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
16137 Likewise.
16138
16139 2014-02-12 Dylan Alex Simon <dylan@dylex.net>
16140
16141 [BZ #16545]
16142 * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
16143 model 1.
16144
16145 2014-02-12 Richard Henderson <rth@redhat.com>
16146
16147 * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
16148 * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
16149 * sysdeps/unix/sysv/linux/alpha: Move directory from
16150 ports/sysdeps/unix/sysv/linux/alpha.
16151 * README: Update listing for alpha-*-linux-gnu.
16152
16153 2014-02-11 Joseph Myers <joseph@codesourcery.com>
16154
16155 * include/features.h: Update comment documenting feature test
16156 macros.
16157 [_BSD_SOURCE || _SVID_SOURCE]: Give #warning. Define
16158 _DEFAULT_SOURCE.
16159 * manual/creature.texi (_BSD_SOURCE): Remove documentation.
16160 (_SVID_SOURCE): Likewise.
16161 (_DEFAULT_SOURCE): Update description of default features.
16162 (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
16163 with _GNU_SOURCE.
16164 * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
16165 (S_ISVTX): Likewise.
16166 * manual/math.texi (Mathematical Constants): Likewise.
16167 * manual/signal.texi (Interrupted Primitives): Likewise.
16168 * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
16169 * math/test-matherr.c (_SVID_SOURCE): Do not define.
16170 * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
16171 Don't refer to _SVID_SOURCE in warning text.
16172
16173 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
16174
16175 * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
16176 already defined.
16177 (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
16178 * sysdeps/mips/dl-lookup.c: Remove.
16179 * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
16180
16181 2014-02-11 Stefan Liebler <stli@linux.vnet.ibm.com>
16182
16183 [BZ #16447]
16184 * math/auto-libm-test-in: Add testcase for expl.
16185 * math/auto-libm-test-out: Regenerate.
16186 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
16187 calculation of unsafe.
16188 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
16189
16190 2014-02-11 Marcus Shawcroft <marcus.shawcroft@arm.com>
16191
16192 * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
16193 * sysdeps/unix/sysv/linux/aarch64: Move directory from
16194 ports/sysdeps/unix/sysv/linux/aarch64.
16195 * README: Update listing for aarch64*-*-linux-gnu.
16196
16197 2014-02-11 Will Newton <will.newton@linaro.org>
16198
16199 * manual/probes.texi (Mathematical Function Probes): Use
16200 "triggered" instead of "hit".
16201
16202 * manual/probes.texi (Internal Probes): Add documentation
16203 of setjmp, longjmp and longjmp_target probes.
16204
16205 * include/stap-probe.h: Add comment about probe argument
16206 format.
16207
16208 * malloc/mtrace.c (attribute_hidden): Remove unused macro
16209 definition. (tr_where, tr_freehook, tr_mallochook,
16210 tr_reallochook, tr_memalignhook): Use ANSI protoype.
16211
16212 2014-02-11 David S. Miller <davem@davemloft.net>
16213
16214 * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
16215 processing int_tests.
16216
16217 2014-02-10 Joseph Myers <joseph@codesourcery.com>
16218
16219 * sysdeps/mips: Move directory from ports/sysdeps/mips.
16220 * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
16221 * sysdeps/unix/sysv/linux/mips: Move directory from
16222 ports/sysdeps/unix/sysv/linux/mips.
16223 * README: Update listing for mips-*-linux-gnu and
16224 mips64-*-linux-gnu.
16225
16226 2014-02-10 Andreas Schwab <schwab@linux-m68k.org>
16227
16228 * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
16229 * sysdeps/unix/sysv/linux/m68k: Move directory from
16230 ports/sysdeps/unix/sysv/linux/m68k.
16231 * README: Update listing for m68k-*-linux-gnu.
16232
16233 2014-02-10 Chris Metcalf <cmetcalf@tilera.com>
16234
16235 * sysdeps/tile: Move directory from ports/sysdeps/tile.
16236 * sysdeps/unix/sysv/linux/generic: Move directory from
16237 ports/sysdeps/unix/sysv/linux/generic.
16238 * sysdeps/unix/sysv/linux/tile: Move directory from
16239 ports/sysdeps/unix/sysv/linux/tile.
16240 * README: Update listing for tile*-*-linux-gnu.
16241
16242 2014-02-10 Ondřej Bílka <neleai@seznam.cz>
16243
16244 * assert/assert.c (__assert_fail_base): Use glibc_likely instead
16245 __builtin_expect.
16246 * benchtests/bench-memmem.c (simple_memmem): Likewise.
16247 * catgets/open_catalog.c (__open_catalog): Likewise.
16248 * csu/libc-start.c (LIBC_START_MAIN): Likewise.
16249 * debug/confstr_chk.c: Likewise.
16250 * debug/fread_chk.c (__fread_chk): Likewise.
16251 * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
16252 * debug/getgroups_chk.c: Likewise.
16253 * debug/mbsnrtowcs_chk.c: Likewise.
16254 * debug/mbsrtowcs_chk.c: Likewise.
16255 * debug/mbstowcs_chk.c: Likewise.
16256 * debug/memcpy_chk.c: Likewise.
16257 * debug/memmove_chk.c: Likewise.
16258 * debug/mempcpy_chk.c: Likewise.
16259 * debug/memset_chk.c: Likewise.
16260 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
16261 * debug/strcat_chk.c (__strcat_chk): Likewise.
16262 * debug/strcpy_chk.c (__strcpy_chk): Likewise.
16263 * debug/strncat_chk.c (__strncat_chk): Likewise.
16264 * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
16265 * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
16266 * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
16267 * debug/wcpncpy_chk.c: Likewise.
16268 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
16269 * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
16270 * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
16271 * debug/wcsncpy_chk.c: Likewise.
16272 * debug/wcsnrtombs_chk.c: Likewise.
16273 * debug/wcsrtombs_chk.c: Likewise.
16274 * debug/wcstombs_chk.c: Likewise.
16275 * debug/wmemcpy_chk.c: Likewise.
16276 * debug/wmemmove_chk.c: Likewise.
16277 * debug/wmempcpy_chk.c: Likewise.
16278 * debug/wmemset_chk.c: Likewise.
16279 * dirent/scandirat.c (SCANDIRAT): Likewise.
16280 * dlfcn/dladdr1.c (dladdr1): Likewise.
16281 * dlfcn/dladdr.c (dladdr): Likewise.
16282 * dlfcn/dlclose.c (dlclose_doit): Likewise.
16283 * dlfcn/dlerror.c (__dlerror): Likewise.
16284 * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
16285 * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
16286 * dlfcn/dlopen.c (dlopen_doit): Likewise.
16287 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
16288 * dlfcn/dlsym.c (dlsym_doit): Likewise.
16289 * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
16290 * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
16291 * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
16292 Likewise.
16293 * elf/dl-conflict.c: Likewise.
16294 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
16295 * elf/dl-dst.h: Likewise.
16296 * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
16297 * elf/dl-fptr.c (_dl_make_fptr): Likewise.
16298 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
16299 * elf/dl-init.c (call_init, _dl_init): Likewise.
16300 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
16301 * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
16302 (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
16303 Likewise.
16304 * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
16305 Likewise.
16306 * elf/dl-minimal.c (__libc_memalign): Likewise.
16307 * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
16308 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
16309 * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
16310 * elf/dl-sym.c (do_sym): Likewise.
16311 * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
16312 (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
16313 * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
16314 * elf/dl-writev.h (_dl_writev): Likewise.
16315 * elf/ldconfig.c (search_dir): Likewise.
16316 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
16317 (dl_main): Likewise.
16318 * elf/setup-vdso.h (setup_vdso): Likewise.
16319 * grp/compat-initgroups.c (compat_call): Likewise.
16320 * grp/fgetgrent.c (fgetgrent): Likewise.
16321 * grp/initgroups.c (getgrouplist, initgroups): Likewise.
16322 * grp/putgrent.c (putgrent): Likewise.
16323 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
16324 Likewise.
16325 * hurd/hurdinit.c: Likewise.
16326 * iconvdata/8bit-gap.c (struct): Likewise.
16327 * iconvdata/ansi_x3.110.c : Likewise.
16328 * iconvdata/big5.c : Likewise.
16329 * iconvdata/big5hkscs.c : Likewise.
16330 * iconvdata/cp1255.c: Likewise.
16331 * iconvdata/cp1258.c : Likewise.
16332 * iconvdata/cp932.c : Likewise.
16333 * iconvdata/euc-cn.c: Likewise.
16334 * iconvdata/euc-jisx0213.c : Likewise.
16335 * iconvdata/euc-jp.c: Likewise.
16336 * iconvdata/euc-jp-ms.c : Likewise.
16337 * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
16338 * iconvdata/gb18030.c : Likewise.
16339 * iconvdata/gbbig5.c (const): Likewise.
16340 * iconvdata/gbgbk.c: Likewise.
16341 * iconvdata/gbk.c : Likewise.
16342 * iconvdata/ibm1364.c : Likewise.
16343 * iconvdata/ibm930.c : Likewise.
16344 * iconvdata/ibm932.c: Likewise.
16345 * iconvdata/ibm933.c : Likewise.
16346 * iconvdata/ibm935.c : Likewise.
16347 * iconvdata/ibm937.c : Likewise.
16348 * iconvdata/ibm939.c : Likewise.
16349 * iconvdata/ibm943.c: Likewise.
16350 * iconvdata/iso_11548-1.c: Likewise.
16351 * iconvdata/iso-2022-cn.c : Likewise.
16352 * iconvdata/iso-2022-cn-ext.c : Likewise.
16353 * iconvdata/iso-2022-jp-3.c: Likewise.
16354 * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
16355 * iconvdata/iso-2022-kr.c : Likewise.
16356 * iconvdata/iso646.c (gconv_end): Likewise.
16357 * iconvdata/iso_6937-2.c : Likewise.
16358 * iconvdata/iso_6937.c : Likewise.
16359 * iconvdata/iso8859-1.c: Likewise.
16360 * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
16361 * iconvdata/shift_jisx0213.c : Likewise.
16362 * iconvdata/sjis.c : Likewise.
16363 * iconvdata/t.61.c : Likewise.
16364 * iconvdata/tcvn5712-1.c : Likewise.
16365 * iconvdata/tscii.c: Likewise.
16366 * iconvdata/uhc.c : Likewise.
16367 * iconvdata/unicode.c (gconv_end): Likewise.
16368 * iconvdata/utf-16.c (gconv_end): Likewise.
16369 * iconvdata/utf-32.c (gconv_end): Likewise.
16370 * iconvdata/utf-7.c (base64): Likewise.
16371 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
16372 * iconv/gconv_close.c (__gconv_close): Likewise.
16373 * iconv/gconv_open.c (__gconv_open): Likewise.
16374 * iconv/gconv_simple.c (internal_ucs4_loop_single)
16375 (ucs4_internal_loop, ucs4_internal_loop_unaligned)
16376 (ucs4_internal_loop_single, internal_ucs4le_loop_single)
16377 (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
16378 (ucs4le_internal_loop_single): Likewise.
16379 * iconv/iconv.c (iconv): Likewise.
16380 * iconv/iconv_close.c: Likewise.
16381 * iconv/loop.c (SINGLE): Likewise.
16382 * iconv/skeleton.c (FUNCTION_NAME): Likewise.
16383 * include/atomic.h: Likewise.
16384 * inet/inet6_option.c (option_alloc): Likewise.
16385 * intl/bindtextdom.c (set_binding_values): Likewise.
16386 * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
16387 * intl/loadmsgcat.c (_nl_load_domain): Likewise.
16388 * intl/localealias.c (read_alias_file): Likewise.
16389 * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
16390 * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
16391 (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
16392 * libio/fmemopen.c (fmemopen): Likewise.
16393 * libio/iofgets.c (_IO_fgets): Likewise.
16394 * libio/iofgets_u.c (fgets_unlocked): Likewise.
16395 * libio/iofgetws.c (fgetws): Likewise.
16396 * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
16397 * libio/iogetdelim.c (_IO_getdelim): Likewise.
16398 * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
16399 (adjust_wide_data, _IO_wfile_seekoff): Likewise.
16400 * locale/findlocale.c (_nl_find_locale): Likewise.
16401 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
16402 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
16403 Likewise.
16404 * locale/setlocale.c (setlocale): Likewise.
16405 * login/programs/pt_chown.c (main): Likewise.
16406 * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
16407 * malloc/malloc.c (_int_malloc, _int_free): Likewise.
16408 * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
16409 (mmap, mmap64, mremap, munmap): Likewise.
16410 * math/e_exp2l.c: Likewise.
16411 * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
16412 * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
16413 * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
16414 * math/s_catan.c (__catan): Likewise.
16415 * math/s_catanf.c (__catanf): Likewise.
16416 * math/s_catanh.c (__catanh): Likewise.
16417 * math/s_catanhf.c (__catanhf): Likewise.
16418 * math/s_catanhl.c (__catanhl): Likewise.
16419 * math/s_catanl.c (__catanl): Likewise.
16420 * math/s_ccosh.c (__ccosh): Likewise.
16421 * math/s_ccoshf.c (__ccoshf): Likewise.
16422 * math/s_ccoshl.c (__ccoshl): Likewise.
16423 * math/s_cexp.c (__cexp): Likewise.
16424 * math/s_cexpf.c (__cexpf): Likewise.
16425 * math/s_cexpl.c (__cexpl): Likewise.
16426 * math/s_clog10.c (__clog10): Likewise.
16427 * math/s_clog10f.c (__clog10f): Likewise.
16428 * math/s_clog10l.c (__clog10l): Likewise.
16429 * math/s_clog.c (__clog): Likewise.
16430 * math/s_clogf.c (__clogf): Likewise.
16431 * math/s_clogl.c (__clogl): Likewise.
16432 * math/s_csin.c (__csin): Likewise.
16433 * math/s_csinf.c (__csinf): Likewise.
16434 * math/s_csinh.c (__csinh): Likewise.
16435 * math/s_csinhf.c (__csinhf): Likewise.
16436 * math/s_csinhl.c (__csinhl): Likewise.
16437 * math/s_csinl.c (__csinl): Likewise.
16438 * math/s_csqrt.c (__csqrt): Likewise.
16439 * math/s_csqrtf.c (__csqrtf): Likewise.
16440 * math/s_csqrtl.c (__csqrtl): Likewise.
16441 * math/s_ctan.c (__ctan): Likewise.
16442 * math/s_ctanf.c (__ctanf): Likewise.
16443 * math/s_ctanh.c (__ctanh): Likewise.
16444 * math/s_ctanhf.c (__ctanhf): Likewise.
16445 * math/s_ctanhl.c (__ctanhl): Likewise.
16446 * math/s_ctanl.c (__ctanl): Likewise.
16447 * math/w_pow.c: Likewise.
16448 * math/w_powf.c: Likewise.
16449 * math/w_powl.c: Likewise.
16450 * math/w_scalb.c (sysv_scalb): Likewise.
16451 * math/w_scalbf.c (sysv_scalbf): Likewise.
16452 * math/w_scalbl.c (sysv_scalbl): Likewise.
16453 * misc/error.c (error_tail): Likewise.
16454 * misc/pselect.c (__pselect): Likewise.
16455 * nis/nis_callback.c (__nis_create_callback): Likewise.
16456 * nis/nis_call.c (__nisfind_server): Likewise.
16457 * nis/nis_creategroup.c (nis_creategroup): Likewise.
16458 * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
16459 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
16460 * nis/nis_getservlist.c (nis_getservlist): Likewise.
16461 * nis/nis_lookup.c (nis_lookup): Likewise.
16462 * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
16463 * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
16464 (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
16465 * nis/nis_xdr.c (xdr_endpoint): Likewise.
16466 * nis/nss_compat/compat-grp.c (getgrent_next_file)
16467 (internal_getgrnam_r, internal_getgrgid_r): Likewise.
16468 * nis/nss_compat/compat-initgroups.c (add_group)
16469 (internal_getgrent_r): Likewise.
16470 * nis/nss_compat/compat-pwd.c (getpwent_next_file)
16471 (internal_getpwnam_r, internal_getpwuid_r): Likewise.
16472 * nis/nss_compat/compat-spwd.c (getspent_next_file)
16473 (internal_getspnam_r): Likewise.
16474 * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
16475 (_nss_nis_getaliasbyname_r): Likewise.
16476 * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
16477 (_nss_nis_getntohost_r): Likewise.
16478 * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
16479 (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
16480 (_nss_nis_getgrgid_r): Likewise.
16481 * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
16482 (internal_nis_gethostent_r, internal_gethostbyname2_r)
16483 (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
16484 (_nss_nis_gethostbyname4_r): Likewise.
16485 * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
16486 (initgroups_netid): Likewise.
16487 * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
16488 * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
16489 (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
16490 * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
16491 (_nss_nis_getprotobynumber_r): Likewise.
16492 * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
16493 (_nss_nis_getsecretkey): Likewise.
16494 * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
16495 (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
16496 (_nss_nis_getpwuid_r): Likewise.
16497 * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
16498 (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
16499 * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
16500 (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
16501 * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
16502 (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
16503 * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
16504 Likewise.
16505 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
16506 (_nss_nisplus_getntohost_r): Likewise.
16507 * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
16508 (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
16509 * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
16510 (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
16511 Likewise.
16512 * nis/nss_nisplus/nisplus-initgroups.c
16513 (_nss_nisplus_initgroups_dyn): Likewise.
16514 * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
16515 (_nss_nisplus_getnetbyaddr_r): Likewise.
16516 * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
16517 (_nss_nisplus_getprotobynumber_r): Likewise.
16518 * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
16519 (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
16520 * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
16521 Likewise.
16522 * nis/nss_nisplus/nisplus-service.c
16523 (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
16524 (_nss_nisplus_getservbyport_r): Likewise.
16525 * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
16526 (_nss_nisplus_getspnam_r): Likewise.
16527 * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
16528 Likewise.
16529 * nscd/aicache.c (addhstaiX): Likewise.
16530 * nscd/cache.c (cache_search, prune_cache): Likewise.
16531 * nscd/connections.c (register_traced_file, send_ro_fd)
16532 (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
16533 (main_loop_epoll): Likewise.
16534 * nscd/grpcache.c (addgrbyX): Likewise.
16535 * nscd/hstcache.c (addhstbyX): Likewise.
16536 * nscd/initgrcache.c (addinitgroupsX): Likewise.
16537 * nscd/mem.c (gc, mempool_alloc): Likewise.
16538 * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
16539 (addinnetgrX): Likewise.
16540 * nscd/nscd-client.h (__nscd_acquire_maplock)
16541 (__nscd_drop_map_ref): Likewise.
16542 * nscd/nscd_getai.c (__nscd_getai): Likewise.
16543 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
16544 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
16545 Likewise.
16546 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
16547 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
16548 * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
16549 (__nscd_get_map_ref): Likewise.
16550 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
16551 * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
16552 Likewise.
16553 * nscd/pwdcache.c (addpwbyX): Likewise.
16554 * nscd/selinux.c (preserve_capabilities): Likewise.
16555 * nscd/servicescache.c (addservbyX): Likewise.
16556 * nss/nss_files/files-XXX.c (internal_getent): Likewise.
16557 * posix/fnmatch.c (fnmatch): Likewise.
16558 * posix/getopt.c (_getopt_internal_r): Likewise.
16559 * posix/glob.c (glob, glob_in_dir): Likewise.
16560 * posix/wordexp.c (exec_comm_child): Likewise.
16561 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
16562 (getanswer_r, gaih_getanswer_slice): Likewise.
16563 * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
16564 * resolv/res_init.c: Likewise.
16565 * resolv/res_mkquery.c (res_nmkquery): Likewise.
16566 * resolv/res_query.c (__libc_res_nquery): Likewise.
16567 * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
16568 Likewise.
16569 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
16570 * stdio-common/perror.c (perror): Likewise.
16571 * stdio-common/printf_fp.c (___printf_fp): Likewise.
16572 * stdio-common/tmpnam.c (tmpnam): Likewise.
16573 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
16574 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
16575 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
16576 Likewise.
16577 * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
16578 * stdlib/putenv.c (putenv): Likewise.
16579 * stdlib/setenv.c (__add_to_environ): Likewise.
16580 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
16581 * stdlib/strtol_l.c (INTERNAL): Likewise.
16582 * string/memmem.c (memmem): Likewise.
16583 * string/strerror.c (strerror): Likewise.
16584 * string/strnlen.c (__strnlen): Likewise.
16585 * string/test-memmem.c (simple_memmem): Likewise.
16586 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
16587 * sunrpc/pm_getport.c (__get_socket): Likewise.
16588 * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
16589 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
16590 * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
16591 (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
16592 Likewise.
16593 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
16594 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
16595 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
16596 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
16597 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
16598 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
16599 Likewise.
16600 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
16601 Likewise.
16602 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
16603 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
16604 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
16605 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
16606 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
16607 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
16608 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
16609 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
16610 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
16611 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
16612 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
16613 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
16614 Likewise.
16615 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
16616 Likewise.
16617 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
16618 Likewise.
16619 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
16620 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
16621 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
16622 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
16623 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
16624 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
16625 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
16626 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
16627 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
16628 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
16629 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
16630 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
16631 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
16632 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
16633 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
16634 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
16635 Likewise.
16636 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
16637 Likewise.
16638 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
16639 Likewise.
16640 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
16641 Likewise.
16642 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
16643 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
16644 * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
16645 Likewise.
16646 * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
16647 * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
16648 * sysdeps/posix/opendir.c (__opendirat): Likewise.
16649 * sysdeps/posix/sleep.c: Likewise.
16650 * sysdeps/posix/tempname.c: Likewise.
16651 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
16652 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
16653 Likewise.
16654 * sysdeps/powerpc/powerpc32/dl-machine.h
16655 (elf_machine_runtime_setup, elf_machine_rela): Likewise.
16656 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
16657 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
16658 * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
16659 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
16660 Likewise.
16661 * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
16662 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
16663 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
16664 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
16665 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
16666 * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
16667 * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
16668 * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
16669 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
16670 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
16671 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
16672 (elf_machine_lazy_rel): Likewise.
16673 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
16674 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
16675 (elf_machine_lazy_rel): Likewise.
16676 * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
16677 * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
16678 * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
16679 * sysdeps/unix/grantpt.c (grantpt): Likewise.
16680 * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
16681 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
16682 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
16683 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
16684 Likewise.
16685 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
16686 * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
16687 * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
16688 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
16689 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
16690 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
16691 * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
16692 * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
16693 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
16694 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
16695 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
16696 Likewise.
16697 * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
16698 (__posix_fallocate64_l64): Likewise.
16699 * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
16700 (posix_fallocate): Likewise.
16701 * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
16702 Likewise.
16703 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
16704 * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
16705 (getifaddrs_internal): Likewise.
16706 * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
16707 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
16708 * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
16709 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
16710 * sysdeps/unix/sysv/linux/posix_fallocate64.c
16711 (__posix_fallocate64_l64): Likewise.
16712 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
16713 Likewise.
16714 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
16715 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
16716 (__get_clockfreq): Likewise.
16717 * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
16718 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
16719 * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
16720 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
16721 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
16722 * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
16723 * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
16724 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
16725 Likewise.
16726 * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
16727 * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
16728 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
16729 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
16730 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
16731 * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
16732 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
16733 Likewise.
16734 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
16735 (posix_fallocate): Likewise.
16736 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
16737 * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
16738 * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
16739 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
16740 (elf_machine_rela, elf_machine_rela_relative)
16741 (elf_machine_lazy_rel): Likewise.
16742 * time/asctime.c (asctime_internal): Likewise.
16743 * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
16744 * time/tzset.c (__tzset_parse_tz): Likewise.
16745 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
16746 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
16747 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
16748 * wcsmbs/wcsmbsload.h: Likewise.
16749
16750 [BZ #15894]
16751 * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
16752
16753 * malloc/arena.c (grow_heap, get_free_list, reused_arena)
16754 (arena_get2): Remove THREAD_STATS conditionals.
16755 * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
16756 (__malloc_stats, int): Likewise.
16757
16758 2014-02-08 Mike Frysinger <vapier@gentoo.org>
16759
16760 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
16761 f.f_type to RAMFS_MAGIC too. Compare mp->mnt_type to shm too.
16762
16763 * manual/setjmp.texi: Fix typos/grammar errors.
16764
16765 * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
16766 Only return early when n is <= 0. Delete unused return statement.
16767
16768 * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
16769 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
16770 * debug/tst-longjmp_chk3.c: New file.
16771
16772 * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
16773 (test_main): Replace code with set_fortify_handler call.
16774 * debug/test-strcpy_chk.c: Likewise.
16775 * debug/tst-chk1.c: Likewise.
16776 * debug/tst-longjmp_chk.c: Likewise.
16777 * test-skeleton.c: Include fcntl.h & paths.h
16778 (set_fortify_handler): Define.
16779
16780 * debug/tst-longjmp_chk.c: Add header comment and include
16781 ../test-skeleton.c.
16782 (do_test): Mark static.
16783 (TEST_FUNCTION): Define.
16784
16785 * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
16786 (IP_PMTUDISC_INTERFACE): Likewise.
16787 (IP_MULTICAST_IF): Likewise.
16788 (IP_MULTICAST_TTL): Likewise.
16789 (IP_MULTICAST_LOOP): Likewise.
16790 (IP_ADD_MEMBERSHIP): Likewise.
16791 (IP_DROP_MEMBERSHIP): Likewise.
16792 (IP_UNBLOCK_SOURCE): Likewise.
16793 (IP_BLOCK_SOURCE): Likewise.
16794 (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
16795 (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
16796 (IP_MSFILTER): Likewise.
16797 (MCAST_JOIN_GROUP): Likewise.
16798 (MCAST_BLOCK_SOURCE): Likewise.
16799 (MCAST_UNBLOCK_SOURCE): Likewise.
16800 (MCAST_LEAVE_GROUP): Likewise.
16801 (MCAST_JOIN_SOURCE_GROUP): Likewise.
16802 (MCAST_LEAVE_SOURCE_GROUP): Likewise.
16803 (MCAST_MSFILTER): Likewise.
16804 (IP_MULTICAST_ALL): Likewise.
16805 (IP_UNICAST_IF): Likewise.
16806
16807 * timezone/Makefile: Delete $(have-ksh) check.
16808 ($(objpfx)tzselect): Change $(KSH) to $(BASH).
16809 * timezone/tzselect.ksh: Add +x mode bits.
16810
16811 * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
16812 (ANON_INODE_FS_MAGIC): Likewise.
16813 (BDEVFS_MAGIC): Likewise.
16814 (BINFMTFS_MAGIC): Likewise.
16815 (BTRFS_TEST_MAGIC): Likewise.
16816 (CRAMFS_MAGIC_WEND): Likewise.
16817 (DEBUGFS_MAGIC): Likewise.
16818 (ECRYPTFS_SUPER_MAGIC): Likewise.
16819 (EXT3_SUPER_MAGIC): Likewise.
16820 (EXT4_SUPER_MAGIC): Likewise.
16821 (FUTEXFS_SUPER_MAGIC): Likewise.
16822 (HOSTFS_SUPER_MAGIC): Likewise.
16823 (HUGETLBFS_MAGIC): Likewise.
16824 (MINIX3_SUPER_MAGIC): Likewise.
16825 (MTD_INODE_FS_MAGIC): Likewise.
16826 (NILFS_SUPER_MAGIC): Likewise.
16827 (OPENPROM_SUPER_MAGIC): Likewise.
16828 (PIPEFS_MAGIC): Likewise.
16829 (PSTOREFS_MAGIC): Likewise.
16830 (QNX6_SUPER_MAGIC): Likewise.
16831 (RAMFS_MAGIC): Likewise.
16832 (REISERFS_SUPER_MAGIC_STRING): Likewise.
16833 (REISER2FS_SUPER_MAGIC_STRING): Likewise.
16834 (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
16835 (SECURITYFS_MAGIC): Likewise.
16836 (SELINUX_MAGIC): Likewise.
16837 (SMACK_MAGIC): Likewise.
16838 (SOCKFS_MAGIC): Likewise.
16839 (SQUASHFS_MAGIC): Likewise.
16840 (STACK_END_MAGIC): Likewise.
16841 (TMPFS_MAGIC): Likewise.
16842 (USBDEVICE_SUPER_MAGIC): Likewise.
16843 (V9FS_MAGIC): Likewise.
16844 (XENFS_SUPER_MAGIC): Likewise.
16845 (CRAMFS_MAGIC): Fix typo in comment.
16846 (EXT2_SUPER_MAGIC): Update comment.
16847 (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
16848
16849 2014-02-08 Joseph Myers <joseph@codesourcery.com>
16850
16851 * sysdeps/arm: Move directory from ports/sysdeps/arm.
16852 * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
16853 * sysdeps/unix/sysv/linux/arm: Move directory from
16854 ports/sysdeps/unix/sysv/linux/arm.
16855 * README: Update listing for arm-*-linux-gnueabi.
16856
16857 * README: Remove mention of am33.
16858
16859 2014-02-07 Roland McGrath <roland@hack.frob.com>
16860
16861 * bits/sigset.h (__sigemptyset): Use a statement expression rather
16862 than the comma operator, to avoid "rhs of comma has no effect"
16863 compiler warnings.
16864 (__sigfillset, __sigandset, __sigorset): Likewise.
16865 * include/signal.h (__sigemptyset): Likewise.
16866 * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
16867
16868 2014-02-07 Allan McRae <allan@archlinux.org>
16869
16870 * version.h (RELEASE): Set to "development".
16871 (VERSION): Set to "2.19.90"
16872 * NEWS: Add 2.20 section.
16873
16874 2014-02-06 Carlos O'Donell <carlos@redhat.com>
16875
16876 [BZ #16529]
16877 * inet/netinet/in.h: Remove comma after IPPROTO_MH.
16878
16879 2014-02-06 Siddhesh Poyarekar <siddhesh@redhat.com>
16880
16881 * manual/contrib.texi: Update entry for Carlos O'Donell,
16882 Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
16883
16884 2014-02-05 Carlos O'Donell <carlos@rehdat.com>
16885
16886 * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
16887
16888 * sysdeps/unix/sysv/linux/kernel-features.h
16889 [__LINUX_KERNEL_VERSION >= 0x020621]
16890 (__ASSUME_PROC_PID_TASK_COMM): Define.
16891
16892 2014-02-05 Siddhesh Poyarekar <siddhesh@redhat.com>
16893
16894 [BZ #16398]
16895 * libio/wfileops.c (_IO_wfile_seekoff): Break out form
16896 conversion when destination buffer does not have enough space.
16897 * libio/tst-ftell-partial-wide.c: New test case.
16898 * libio/Makefile (tests): Add tst-ftell-partial-wide.
16899
16900 * manual/contrib.texi: Update entry for Ondrej Bilka, Will
16901 Newton and Alexandre Oliva. Add entries for Steve Ellcey, Chris
16902 Leonard and Allan McRae.
16903
16904 2014-02-04 David S. Miller <davem@davemloft.net>
16905
16906 * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
16907 32-bit.
16908
16909 2014-02-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16910
16911 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
16912 New file
16913 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
16914 New file
16915 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
16916 New file.
16917 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
16918 New file.
16919 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
16920 New file.
16921 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
16922 New file.
16923 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
16924 New file.
16925 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
16926 New file.
16927 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
16928 New file.
16929 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
16930 New file.
16931 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
16932 New file.
16933 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
16934 New file.
16935 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
16936 New file.
16937
16938 2014-02-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16939
16940 * nptl/shlib-versions: Change powerpc*le start to 2.17.
16941 * shlib-versions: Likewise.
16942
16943 2014-02-04 Roland McGrath <roland@hack.frob.com>
16944 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16945
16946 * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
16947 (abilist-pattern): New variable, set to %-le.abilist.
16948
16949 * Makerules (abilist-pattern): New variable.
16950 (vpath): Use $(abilist-pattern) in place of %.abilist.
16951 (check-abi-% pattern rule): Likewise.
16952 (check-abi, update-abi): Likewise.
16953
16954 2014-02-04 Eric Wong <normalperson@yhbt.net>
16955
16956 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
16957
16958 2014-02-03 Carlos O'Donell <carlos@redhat.com>
16959
16960 * manual/startup.texi: Add next, previous, and top entries for
16961 the `Program Arguments' and `Environment Variables' nodes.
16962
16963 2014-02-03 Alexandre Oliva <aoliva@redhat.com>
16964
16965 * manual/macros.texi: Add comments before MTASC-safety macros.
16966
16967 * manual/users.texi: Document MTASC-safety properties.
16968
16969 * manual/threads.texi (pthread_key_create, pthread_key_delete)
16970 (pthread_getspecific, pthread_setspecific): Format with
16971 @deftypefun, and add @safety note.
16972 * manual/signal.texi: Move comments that analyze the above
16973 functions to their home place.
16974
16975 2014-02-03 Allan McRae <allan@archlinux.org>
16976
16977 * po/sl.po: Update Slovenian translation from translation project.
16978
16979 2014-02-02 Alexandre Oliva <aoliva@redhat.com>
16980
16981 * manual/time.texi (timegm): Add missing blank after @c.
16982 Reported by Joseph Myers <joseph@codesourcery.com>.
16983
16984 2014-02-01 Alexandre Oliva <aoliva@redhat.com>
16985
16986 * manual/check-safety.sh: New.
16987 * manual/Makefile ($(objpfx)stamp-summary): Run it.
16988
16989 * manual/terminal.texi: Document MTASC-safety properties.
16990
16991 * manual/filesys.texi: Document MTASC-safety properties.
16992
16993 * manual/errno.texi: Document MTASC-safety properties.
16994
16995 * manual/intro.texi: Document safety identifiers and
16996 conditionals.
16997
16998 * manual/string.texi (wcstok): Fix prototype.
16999 (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
17000
17001 * manual/time.texi: Document MTASC-safety properties.
17002
17003 * manual/string.texi: Document MTASC-safety properties.
17004
17005 * manual/threads.texi: Document MTASC-safety properties.
17006
17007 * manual/stdio.texi: Document MTASC-safety properties.
17008
17009 * manual/syslog.texi: Document MTASC-safety properties.
17010
17011 * manual/sysinfo.texi: Document MTASC-safety properties.
17012
17013 * manual/startup.texi: Document MTASC-safety properties.
17014
17015 * manual/socket.texi: Document MTASC-safety properties.
17016
17017 * manual/signal.texi: Document MTASC-safety properties.
17018
17019 2014-01-31 Alexandre Oliva <aoliva@redhat.com>
17020
17021 * manual/setjmp.texi: Document MTASC-safety properties.
17022
17023 * manual/search.texi: Document MTASC-safety properties.
17024
17025 * manual/resource.texi: Document MTASC-safety properties.
17026
17027 * manual/process.texi: Document MTASC-safety properties.
17028
17029 * manual/platform.texi: Document MTASC-safety properties.
17030
17031 * manual/pipe.texi: Document MTASC-safety properties.
17032
17033 * manual/pattern.texi: Document MTASC-safety properties.
17034
17035 * manual/message.texi: Document MTASC-safety properties.
17036
17037 [BZ #12751]
17038 * manual/memory.texi: Document MTASC-safety properties.
17039
17040 * manual/math.texi: Document MTASC-safety properties.
17041
17042 * manual/locale.texi: Document MTASC-safety properties.
17043
17044 * manual/llio.texi: Document MTASC-safety properties.
17045
17046 * manual/libdl.texi: New.
17047
17048 * manual/lang.texi: Document MTASC-safety properties.
17049
17050 * manual/job.texi: Document MTASC-safety properties.
17051
17052 * manual/getopt.texi: Document MTASC-safety properties.
17053
17054 * manual/ctype.texi: Document MTASC-safety properties.
17055
17056 2014-01-31 Maciej W. Rozycki <macro@codesourcery.com>
17057
17058 [BZ #16046]
17059 * csu/libc-tls.c (static_map): Remove variable.
17060 (__libc_setup_tls): Use main executable's link map for TLS data.
17061 * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
17062 casing for LM_ID_BASE and GL(dl_nns).
17063 * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
17064 function. Alias dl_iterate_phdr to __dl_iterate_phdr.
17065 * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
17066 casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
17067 * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
17068 member.
17069 (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
17070 l_phnum members.
17071
17072 2014-01-30 Alexandre Oliva <aoliva@redhat.com>
17073
17074 * manual/debug.texi: Document MTASC-safety properties.
17075
17076 2014-01-29 H.J. Lu <hongjiu.lu@intel.com>
17077
17078 [BZ #16510]
17079 * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
17080 of __x86_64__ when disabling x87 inline functions.
17081
17082 2014-01-29 Alexandre Oliva <aoliva@redhat.com>
17083
17084 * manual/charset.texi: Document MTASC-safety properties.
17085
17086 * manual/crypt.texi: Document MTASC-safety properties.
17087
17088 * manual/conf.texi: Document MTASC-safety properties.
17089
17090 * manual/arith.texi: Document MTASC-safety properties.
17091
17092 * manual/argp.texi: Document MTASC-safety properties.
17093
17094 * manual/macros.texi: Introduce macros to document multi
17095 thread, asynchronous signal and asynchronous cancellation
17096 safety properties.
17097 * manual/intro.texi: Introduce the properties themselves.
17098
17099 2014-01-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
17100
17101 * sysdeps/sh/sh4/Makefile: New file.
17102
17103 2014-01-27 Andreas Schwab <schwab@linux-m68k.org>
17104
17105 * math/gen-libm-test.pl ($srcdir): New variable.
17106 ($auto_input): Use it.
17107
17108 2014-01-27 Siddhesh Poyarekar <siddhesh@redhat.com>
17109
17110 [BZ #16506]
17111 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
17112 access beyond array bounds when parsing netgroups file.
17113
17114 * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
17115 the old buffer before realloc.
17116
17117 2014-01-27 Allan McRae <allan@archlinux.org>
17118
17119 * po/fr.po: Update French translation from translation project.
17120
17121 2014-01-26 Kaz Kojima <kkojima@rr.iij4u.or.jp>
17122
17123 * sysdeps/sh/libm-test-ulps: Regenerate.
17124
17125 2014-01-24 David S. Miller <davem@davemloft.net>
17126
17127 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
17128
17129 2014-01-25 Kaz Kojima <kkojima@rr.iij4u.or.jp>
17130
17131 * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
17132 * sysdeps/sh/libm-test-ulps: ... here and regenerated.
17133
17134 2013-01-24 Siddhesh Poyarekar <siddhesh@redhat.com>
17135
17136 [BZ #16474]
17137 * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
17138 string pointers after reallocation.
17139
17140 2014-01-24 Kaz Kojima <kkojima@rr.iij4u.or.jp>
17141
17142 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
17143 __SH4A__ instead of __SH_FPU_ANY__.
17144
17145 2014-01-23 Kaz Kojima <kkojima@rr.iij4u.or.jp>
17146
17147 * sysdeps/sh/fpu_control.h: New file.
17148 * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
17149 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
17150 * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
17151 * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
17152 * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
17153 * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
17154 * sysdeps/sh/sys/ucontext.h: Remove.
17155 * sysdeps/sh/sys: Remove directory.
17156
17157 2014-01-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17158
17159 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
17160 s390/sys/ucontext.h.
17161 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
17162 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
17163
17164 2014-01-20 H.J. Lu <hongjiu.lu@intel.com>
17165
17166 [BZ #15605]
17167 * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
17168
17169 2014-01-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17170
17171 [BZ#16431]
17172 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
17173 Adjust the vDSO correctly for internal calls.
17174 * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
17175
17176 2014-01-20 Allan McRae <allan@archlinux.org>
17177
17178 * po/ca.po: Update Catalan translation from translation project.
17179
17180 2014-01-16 Mike Frysinger <vapier@gentoo.org>
17181
17182 * sysdeps/s390/sotruss-lib.c: New file.
17183
17184 2014-01-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17185
17186 [BZ#16430]
17187 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
17188 (__GI___gettimeofday): Alias for a different internal symbol to avoid
17189 local calls issues by not having a PLT stub required for IFUNC calls.
17190 * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
17191
17192 2014-01-16 Joseph Myers <joseph@codesourcery.com>
17193
17194 * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
17195 * math/test-fpucw-static.c: Likewise.
17196
17197 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
17198
17199 [BZ #16453]
17200 * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
17201
17202 2014-01-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17203
17204 * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
17205 implementation for powerpc.
17206
17207 2014-01-15 Ondřej Bílka <neleai@seznam.cz>
17208
17209 [BZ #14782]
17210 * sysdeps/posix/system.c (__libc_system): Do not enable
17211 asynchronous cancellation.
17212
17213 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17214
17215 [BZ #16427]
17216 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
17217 handling only for numbers special also in the IEEE case.
17218
17219 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17220
17221 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
17222
17223 2014-01-11 Allan McRae <allan@archlinux.org>
17224
17225 * po/bg.po: Update Bulgarian translation from translation project.
17226
17227 * po/de.po: Update German translation from translation project.
17228
17229 2014-01-10 Roland McGrath <roland@hack.frob.com>
17230
17231 * sysdeps/generic/gcc-compat.h: New file.
17232
17233 2014-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
17234
17235 * benchtests/asin-inputs: Correct slow inputs.
17236 * benchtests/acos-inputs: Likewise.
17237
17238 2014-01-10 Allan McRae <allan@archlinux.org>
17239
17240 * po:sv.po: Update Swedish translation from translation project.
17241
17242 * po/vi.po: Update Vietnamese translation from translation project.
17243
17244 * po/eo.po: Update Esperanto translation from translation project.
17245
17246 * po/cs.po: Update Czech translation from translation project.
17247
17248 * po/nl.po: Update Dutch translation from translation project.
17249
17250 * po/pl.po: Update Polish translation from translation project.
17251
17252 * po/ru.po: Update Russian translation from translation project.
17253
17254 * po/uk.po: Update Ukrainian translation from translation project.
17255
17256 2014-01-08 Brooks Moses <bmoses@google.com>
17257
17258 * elf/dl-load.c: Fix comment typo.
17259
17260 2014-01-08 Carlos O'Donell <carlos@redhat.com>
17261
17262 * po/header.pot: Rename to...
17263 * po/pot.header: ... this.
17264 * po/Makefile: Use pot.header.
17265
17266 2014-01-08 Yuriy Kaminskiy <yumkam@gmail.com>
17267 Maxim Kuvyrkov <maxim@kugelworks.com>
17268
17269 [BZ #16394]
17270 * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
17271 SRC and DEST against LEN.
17272
17273 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17274
17275 [BZ #16414]
17276 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
17277 implementation.
17278 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
17279
17280 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17281
17282 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17283
17284 2014-01-08 Joseph Myers <joseph@codesourcery.com>
17285
17286 [BZ #16408]
17287 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
17288 for large positive arguments.
17289
17290 2014-01-07 Joseph Myers <joseph@codesourcery.com>
17291
17292 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
17293
17294 * math/auto-libm-test-in: Mark various tests with
17295 xfail-rounding:ldbl-128ibm.
17296 * math/auto-libm-test-out: Regenerated.
17297
17298 [BZ #16407]
17299 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
17300 Increase overflow threshold.
17301
17302 2014-01-07 Ondřej Bílka <neleai@seznam.cz>
17303
17304 [BZ #14286]
17305 * stdio-common/vfprintf.c: Check for integer overflow.
17306
17307 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17308
17309 * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
17310 the first argument and return value of __tls_get_addr_internal.
17311
17312 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17313
17314 * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
17315 also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
17316
17317 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17318
17319 * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
17320 * sysdeps/s390/rtld-global-offsets.sym: New file.
17321 * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
17322 GLIBC_2.19 symbol.
17323 * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
17324 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
17325 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
17326 ... this.
17327 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
17328 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
17329 ... this.
17330 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
17331 Regenerate.
17332 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
17333 Regenerate.
17334 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
17335 halfs of GPRs for high_gprs contexts.
17336 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
17337 restore upper halfs of GPRs for high_gprs contexts. Copy uc_flags
17338 field.
17339 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
17340 uc_flags field.
17341 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
17342 64 bit versions:
17343 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
17344 for high GPRs (uc_high_gprs) and for future extensions
17345 (__reserved).
17346 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
17347 for future extensions (__reserved).
17348 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
17349 64 bit versions:
17350 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
17351 SC_HIGHGPRS offset definition.
17352 * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
17353 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
17354
17355 * Versions.def: Add GLIBC_2.19 for libpthread.
17356 * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
17357 siglongjmp for libpthread with GLIBC_2.19 symver.
17358 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
17359 * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
17360 * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
17361 * sysdeps/s390/__longjmp.c: New file.
17362 * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
17363 * sysdeps/s390/longjmp.c: New file.
17364 * sysdeps/s390/setjmp.S: New file.
17365 * sysdeps/s390/sigjmp.S: New file.
17366 * sysdeps/s390/v1-longjmp.c: New file.
17367 * sysdeps/s390/v1-setjmp.h: New file.
17368 * sysdeps/s390/v1-sigjmp.c: New file.
17369 * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
17370 * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
17371 GLIBC_2.19 version.
17372 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
17373 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
17374 versioned symbols for ____longjmp_chk.
17375 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
17376 Likewise.
17377 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
17378 Regenerate.
17379 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
17380 Regenerate.
17381 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
17382 Regenerate.
17383 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
17384 Regenerate.
17385 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
17386 * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
17387 * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
17388 * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
17389 * sysdeps/s390/s390-32/setjmp-common.S: ... this.
17390 * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
17391 * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
17392 * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
17393 * sysdeps/s390/s390-64/setjmp-common.S: ... this.
17394 * sysdeps/s390/rtld-__longjmp.c: New file.
17395 * sysdeps/s390/rtld-setjmp.S: New file.
17396
17397 2014-01-06 Joseph Myers <joseph@codesourcery.com>
17398
17399 [BZ #16400]
17400 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
17401 Return -__logl (x) for small positive arguments without evaluating
17402 a polynomial.
17403
17404 2014-01-06 Mike Frysinger <vapier@gentoo.org>
17405
17406 * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
17407 Rename to ...
17408 (__ptrace_peeksiginfo_args): ... this.
17409 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
17410 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
17411 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
17412
17413 2014-01-06 Allan McRae <allan@archlinux.org>
17414
17415 * inet/netinet/in.h: Fix typo in comment.
17416
17417 2014-01-05 Andreas Jaeger <aj@suse.de>
17418
17419 * sysdeps/i386/fpu/libm-test-ulps: Update.
17420
17421 2014-01-05 Allan McRae <allan@archlinux.org>
17422
17423 * po/libc.pot: Regenerated.
17424
17425 * malloc/memusagestat.c: Fix gettext call formatting.
17426
17427 2014-01-04 Sami Kerola <kerolasa@iki.fi>
17428
17429 * nscd/nscd.c: Improve usage() output.
17430
17431 2014-01-04 Mike Frysinger <vapier@gentoo.org>
17432
17433 * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
17434 * sysdeps/unix/sysv/linux/configure: Regenerated.
17435 * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
17436 * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
17437
17438 2014-01-03 Joseph Myers <joseph@codesourcery.com>
17439
17440 [BZ #16390]
17441 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
17442 (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
17443
17444 2014-01-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17445
17446 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
17447 extra tokens at end of #undef directive.
17448 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
17449 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
17450 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
17451
17452 2014-01-03 Joseph Myers <joseph@codesourcery.com>
17453
17454 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
17455
17456 * math/auto-libm-test-in: Mark various tests with
17457 xfail-rounding:ldbl-128ibm.
17458 * math/auto-libm-test-out: Regenerated.
17459
17460 2014-01-02 Joseph Myers <joseph@codesourcery.com>
17461
17462 [BZ #16386]
17463 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
17464 numbers with subnormal high part when calculating exponent.
17465
17466 [BZ #16385]
17467 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
17468 fabs.
17469
17470 [BZ #16384]
17471 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
17472 M_LN2l.
17473 (__ieee754_acoshl): Use __log1pl not __log1p.
17474
17475 2013-01-02 Ondřej Bílka <neleai@seznam.cz>
17476
17477 * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
17478 (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
17479 (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
17480 (grow_heap, heap_trim, _int_new_arena, get_free_list)
17481 (reused_arena, arena_get2): Convert to GNU style.
17482 * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
17483 (mem2mem_check, mem2chunk_check, top_check, realloc_check)
17484 (memalign_check, __malloc_set_state): Likewise.
17485 * malloc/mallocbug.c (main): Likewise.
17486 * malloc/malloc.c (__malloc_assert, malloc_init_state)
17487 (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
17488 (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
17489 (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
17490 (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
17491 (__posix_memalign, malloc_info): Likewise.
17492 * malloc/malloc.h: Likewise.
17493 * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
17494 (mallochook, memalignhook, reallochook, mabort): Likewise.
17495 * malloc/mcheck.h: Likewise.
17496 * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
17497 (free, mmap, mmap64, mremap, munmap, dest): Likewise.
17498 * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
17499 * malloc/morecore.c (__default_morecore): Likewise.
17500 * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
17501 * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
17502 (_obstack_allocated_p, obstack_free, _obstack_memory_used)
17503 (print_and_abort): Likewise.
17504 * malloc/obstack.h: Likewise.
17505 * malloc/set-freeres.c (__libc_freeres): Likewise.
17506 * malloc/tst-mallocstate.c (main): Likewise.
17507 * malloc/tst-mtrace.c (main): Likewise.
17508 * malloc/tst-realloc.c (do_test): Likewise.
17509
17510 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
17511
17512 [BZ #16366]
17513 * nscd/netgroupcache.c (do_notfound): New function.
17514 (addgetnetgrentX): Use it.
17515
17516 [BZ # 16365]
17517 * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
17518 NSS_STATUS_NOTFOUND.
17519
17520 2014-01-01 Joseph Myers <joseph@codesourcery.com>
17521
17522 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
17523 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17524
17525 2014-01-01 Allan McRae <allan@archlinux.org>
17526
17527 * scripts/update-copyrights: Update configure input file suffix.
17528
17529 * NEWS: Update copyright year.
17530 * catgets/gencat.c: Likewise.
17531 * csu/version.c: Likewise.
17532 * debug/catchsegv.sh: Likewise.
17533 * debug/pcprofiledump.c: Likewise.
17534 * debug/xtrace.sh: Likewise.
17535 * elf/ldconfig.c: Likewise.
17536 * elf/ldd.bash.in: Likewise.
17537 * elf/pldd.c: Likewise.
17538 * elf/sotruss.ksh: Likewise.
17539 * elf/sprof.c: Likewise.
17540 * iconv/iconv_prog.c: Likewise.
17541 * iconv/iconvconfig.c: Likewise.
17542 * locale/programs/locale.c: Likewise.
17543 * locale/programs/localedef.c: Likewise.
17544 * login/programs/pt_chown.c: Likewise.
17545 * malloc/memusage.sh: Likewise.
17546 * malloc/memusagestat.c: Likewise.
17547 * malloc/mtrace.pl: Likewise.
17548 * manual/libc.texinfo: Likewise.
17549 * nscd/nscd.c: Likewise.
17550 * nss/getent.c: Likewise.
17551 * nss/makedb.c: Likewise.
17552 * posix/getconf.c: Likewise.
17553 * scripts/test-installation.pl: Likewise.
17554
17555 * All files with FSF copyright notices: Update copyright dates
17556 using scripts/update-copyrights.
17557 * intl/plural.c: Regenerated.
17558 * locale/programs/charmap-kw.h: Likewise.
17559 * locale/programs/locfile-kw.h: Likewise.
17560
17561 2013-12-31 Mike Frysinger <vapier@gentoo.org>
17562
17563 * sysdeps/unix/sysv/linux/configure: Regenerated.
17564 * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
17565 the linux/fanotify.h header.
17566 * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
17567 HAVE_LINUX_FANOTIFY_H is defined.
17568
17569 2013-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
17570
17571 * benchtests/cos-inputs: New inputs.
17572 * benchtests/sin-inputs: Likewise.
17573
17574 * benchtests/atan-inputs: New inputs. Fix name of multiple
17575 precision fallback inputs.
17576
17577 * benchtests/atanh-inputs: New inputs.
17578 * benchtests/tanh-inputs: Likewise.
17579
17580 * benchtests/acosh-inputs: New inputs.
17581 * benchtests/asinh-inputs: Likewise.
17582
17583 * benchtests/cosh-inputs: New inputs.
17584 * benchtests/sinh-inputs: Likewise.
17585
17586 * benchtests/acos-inputs: Add more inputs.
17587 * benchtests/asin-inputs: Likewise.
17588
17589 2013-12-30 Ville Skytta <ville.skytta@iki.fi>
17590
17591 [BZ #16375]
17592 * manual/arith.texi: Fix spelling.
17593 * manual/charset.texi: Likewise.
17594 * manual/errno.texi: Likewise.
17595 * manual/filesys.texi: Likewise.
17596 * manual/lang.texi: Likewise.
17597 * manual/llio.texi: Likewise.
17598 * manual/locale.texi: Likewise.
17599 * manual/message.texi: Likewise.
17600 * manual/resource.texi: Likewise.
17601 * manual/search.texi: Likewise.
17602 * manual/setjmp.texi: Likewise.
17603 * manual/stdio.texi: Likewise.
17604 * manual/string.texi: Likewise.
17605 * manual/sysinfo.texi: Likewise.
17606 * manual/time.texi: Likewise.
17607
17608 2013-12-27 Carlos O'Donell <carlos@redhat.com>
17609
17610 * po/sl.po: New file.
17611
17612 2013-12-27 Mike Frysinger <vapier@gentoo.org>
17613
17614 * .gitignore: Add core/.gdbinit/.gdb_history.
17615
17616 2013-12-27 Allan McRae <allan@archlinux.org>
17617
17618 [BZ #16369]
17619 * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
17620 Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
17621
17622 2013-12-24 Brooks Moses <bmoses@google.com>
17623
17624 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
17625 all compilers that claim C++98 compliance, not just GCC.
17626 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
17627 Likewise.
17628
17629 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
17630
17631 * NEWS: Restore accidentally deleted bug-fix entries.
17632
17633 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
17634 Ondřej Bílka <neleai@seznam.cz>
17635
17636 [BZ #15073]
17637 * malloc/malloc.c (_int_free): Perform sanity check only if we
17638 have_lock.
17639
17640 2013-12-23 Ondřej Bílka <neleai@seznam.cz>
17641
17642 [BZ #12986]
17643 * manual/stdio.texi (String Input Conversions): Clarify that character
17644 classes are not supported.
17645
17646 2013-12-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17647
17648 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17649
17650 2013-12-22 Joseph Myers <joseph@codesourcery.com>
17651
17652 [BZ #16337]
17653 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
17654 Calculate results for small negative arguments directly rather
17655 than using reflection formula with special underflow handling.
17656
17657 * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
17658 * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
17659 sysdeps/unix/bsd/bsd4.4/syscalls.list.
17660 (fchflags): Likewise.
17661 (revoke): Likewise.
17662 (setlogin): Likewise.
17663 (sigaltstack): Likewise.
17664 (wait4): Likewise.
17665 (sigblock): Remove.
17666 (sigsetmask): Likewise.
17667 (wait3): Likewise.
17668 (waitpid): Likewise.
17669 * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
17670 * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
17671 file.
17672 * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
17673 * sysdeps/unix/bsd/Makefile: ... here.
17674 * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
17675 * sysdeps/unix/bsd/Versions: ... here.
17676 * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
17677 * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
17678 * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
17679 * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
17680 * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
17681 * sysdeps/unix/bsd/sigblock.c: ... here.
17682 * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
17683 * sysdeps/unix/bsd/sigsetmask.c: ... here.
17684 * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
17685 * sysdeps/unix/bsd/sigvec.c: ... here.
17686 * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
17687 * sysdeps/unix/bsd/tcdrain.c: ... here.
17688 * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
17689 * sysdeps/unix/bsd/tcgetattr.c: ... here.
17690 * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
17691 * sysdeps/unix/bsd/tcsetattr.c: ... here.
17692 * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
17693 * sysdeps/unix/bsd/wait.c: ... here.
17694 * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
17695 * sysdeps/unix/bsd/wait3.c: ... here.
17696 * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
17697 * sysdeps/unix/bsd/waitpid.c: ... here.
17698
17699 2013-12-21 Joseph Myers <joseph@codesourcery.com>
17700
17701 [BZ #16356]
17702 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
17703 round-to-nearest for [!USE_AS_EXPM1L].
17704 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
17705 * math/auto-libm-test-in: Do not expect cosh tests to fail. Add
17706 more tests of exp and exp10. Expect some exp10 tests to miss
17707 exceptions or fail in directed rounding modes.
17708 * math/auto-libm-test-out: Regenerated.
17709 * math/libm-test.inc (exp10_tonearest_test_data): New array.
17710 (exp10_test_tonearest): New function.
17711 (exp10_towardzero_test_data): New array.
17712 (exp10_test_towardzero): New function.
17713 (exp10_downward_test_data): New array.
17714 (exp10_test_downward): New function.
17715 (exp10_upward_test_data): New array.
17716 (exp10_test_upward): New function.
17717 (main): Call the new functions.
17718 * sysdeps/i386/fpu/libm-test-ulps: Update.
17719 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17720
17721 2013-12-20 Joseph Myers <joseph@codesourcery.com>
17722
17723 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
17724 asinh, atan, atan2, atanh, cbrt, cos and cosh.
17725 * math/auto-libm-test-out: Regenerated.
17726 * math/libm-test.inc (acosh_test_data): Add more tests.
17727 (atanh_test_data): Likewise.
17728 (ceil_test_data): Likewise.
17729 (copysign_test_data): Likewise.
17730 * sysdeps/i386/fpu/libm-test-ulps: Update.
17731 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17732
17733 * timezone/checktab.awk: Update from tzcode 2013i.
17734 * timezone/private.h: Likewise.
17735 * timezone/scheck.c: Likewise.
17736 * timezone/tzfile.h: Likewise.
17737 * timezone/tzselect.ksh: Likewise.
17738 * timezone/zdump.c: Likewise.
17739 * timezone/zic.c: Likewise.
17740
17741 * math/auto-libm-test-in: Add tests of cpow.
17742 * math/auto-libm-test-out: Regenerated.
17743 * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
17744 * math/gen-auto-libm-tests.c (func_calc_method): Add value
17745 mpc_cc_c.
17746 (func_calc_desc): Add mpc_cc_c union field.
17747 (test_functions): Add cpow.
17748 (special_fill_2pi): New function.
17749 (special_real_inputs): Add 2pi.
17750 (calc_generic_results): Handle mpc_cc_c.
17751 * sysdeps/i386/fpu/libm-test-ulps: Update.
17752 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17753
17754 * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
17755 csqrt, ctan and ctanh.
17756 * math/auto-libm-test-out: Regenerated.
17757 * math/libm-test.inc (TEST_COND_x86_64): New macro.
17758 (TEST_COND_x86): Likewise.
17759 (ccos_test_data): Use AUTO_TESTS_c_c.
17760 (ccosh_test_data): Likewise.
17761 (cexp_test_data): Likewise.
17762 (clog_test_data): Likewise.
17763 (csqrt_test_data): Likewise.
17764 (ctan_test_data): Likewise.
17765 (ctan_tonearest_test_data): Likewise.
17766 (ctan_towardzero_test_data): Likewise.
17767 (ctan_downward_test_data): Likewise.
17768 (ctan_upward_test_data): Likewise.
17769 (ctanh_test_data): Likewise.
17770 (ctanh_tonearest_test_data): Likewise.
17771 (ctanh_towardzero_test_data): Likewise.
17772 (ctanh_downward_test_data): Likewise.
17773 (ctanh_upward_test_data): Likewise.
17774 * math/gen-auto-libm-tests.c (func_calc_method): Add value
17775 mpc_c_c.
17776 (func_calc_desc): Add mpc_c_c union field.
17777 (FUNC_mpc_c_c): New macro.
17778 (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
17779 ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
17780 ctanh.
17781 (special_fill_min_subnorm_p120): New function.
17782 (special_real_inputs): Add min_subnorm_p120.
17783 (calc_generic_results): Handle mpc_c_c.
17784 * sysdeps/i386/fpu/libm-test-ulps: Update.
17785 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17786
17787 2013-12-20 Siddhesh Poyarekar <siddhesh@redhat.com>
17788
17789 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
17790 (do_sin_slow): New functions.
17791 (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
17792 (cslow2, csloww1, csloww2): Use the new functions.
17793
17794 * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
17795 Use M to change sign of result instead of X. Assume X is
17796 positive.
17797 (csloww1): Likewise.
17798 (__sin): Adjust.
17799 (__cos): Adjust.
17800
17801 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
17802 arguments A and DA.
17803 (__sin): Adjust.
17804 (__cos): Likewise.
17805
17806 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
17807 (__cos): Likewise.
17808 (sloww1): Don't adjust sign of DX.
17809 (csloww1): Likewise.
17810 (sloww2): Use X directly and don't adjust sign of DX.
17811 (csloww2): Likewise.
17812
17813 2013-12-19 Joseph Myers <joseph@codesourcery.com>
17814
17815 * math/auto-libm-test-in: Add tests of cabs and carg.
17816 * math/auto-libm-test-out: Regenerated.
17817 * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
17818 (carg_test_data): Likewise.
17819 * math/gen-auto-libm-tests.c (func_calc_method): Add value
17820 mpc_c_f.
17821 (func_calc_desc): Add mpc_c_f union field.
17822 (test_functions): Add cabs and carg.
17823 (calc_generic_results): Handle mpc_c_f.
17824
17825 * sysdeps/powerpc/powerpc32/libgcc-compat.S
17826 [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
17827 as a macro and a compat symbol.
17828 [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
17829 [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
17830 [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
17831 [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
17832 [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
17833 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
17834 not use .hidden.
17835 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
17836 Likewise.
17837 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
17838 Likewise.
17839 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
17840 Likewise.
17841 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
17842 Likewise.
17843 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
17844 Likewise.
17845 * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
17846 __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
17847 from GLIBC_2.3.2.
17848
17849 2013-12-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17850
17851 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17852
17853 2013-12-19 Joseph Myers <joseph@codesourcery.com>
17854
17855 * manual/texinfo.tex: Update to version 2013-11-26.10 with
17856 trailing whitespace removed.
17857 * scripts/config.guess: Update to version 2013-11-29.
17858 * scripts/config.sub: Update to version 2013-10-01.
17859
17860 * math/auto-libm-test-in: Add tests of sincos.
17861 * math/auto-libm-test-out: Regenerated.
17862 * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
17863 * math/gen-auto-libm-tests.c (func_calc_method): Add value
17864 mpfr_f_11.
17865 (func_calc_desc): Add mpfr_f_11 union field.
17866 (test_functions): Add sincos.
17867 (calc_generic_results): Handle mpfr_f_11.
17868 * sysdeps/i386/fpu/libm-test-ulps: Update.
17869 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17870
17871 2013-12-19 Andreas Schwab <schwab@suse.de>
17872
17873 * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
17874 CALL_MCOUNT.
17875 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
17876 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
17877 [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
17878
17879 2013-12-19 Joseph Myers <joseph@codesourcery.com>
17880
17881 * math/gen-libm-test.pl (%beautify): Remove M_* constants.
17882 * sysdeps/i386/fpu/libm-test-ulps: Update.
17883 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17884
17885 [BZ #16293]
17886 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
17887 round-to-nearest mode when using frndint.
17888 * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
17889 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
17890 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
17891 Likewise.
17892 * math/auto-libm-test-in: Add more tests of expm1. Do not expect
17893 sinh test to fail.
17894 * math/auto-libm-test-out: Regenerated.
17895 * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
17896 (TEST_COND_x86): Likewise.
17897 (expm1_tonearest_test_data): New array.
17898 (expm1_test_tonearest): New function.
17899 (expm1_towardzero_test_data): New array.
17900 (expm1_test_towardzero): New function.
17901 (expm1_downward_test_data): New array.
17902 (expm1_test_downward): New function.
17903 (expm1_upward_test_data): New array.
17904 (expm1_test_upward): New function.
17905 (main): Run the new test functions.
17906 * sysdeps/i386/fpu/libm-test-ulps: Update.
17907 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17908
17909 * include/features.h: Update comment documenting feature test
17910 macros. Mention _DEFAULT_SOURCE in comment.
17911 [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
17912 [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
17913 _BSD_SOURCE and _SVID_SOURCE.
17914 [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
17915 !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
17916 !_SVID_SOURCE]: Likewise.
17917 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
17918 (__USE_POSIX_IMPLICITLY): Define.
17919 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
17920 (_POSIX_SOURCE): Undefine and redefine.
17921 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
17922 (_POSIX_C_SOURCE): Likewise.
17923 * manual/creature.texi (_DEFAULT_SOURCE): Document.
17924 (Feature Test Macros): Update documentation of default features.
17925
17926 2013-12-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
17927
17928 * benchtests/Makefile: Add bench-strtok.
17929 * benchtests/bench-strtok.c: New file: strtok benchtest.
17930
17931 2013-12-19 Allan McRae <allan@archlinux.org>
17932
17933 * manual/install.texi: Suppress menu for plain text output.
17934 * INSTALL: Regenerated.
17935
17936 2013-12-18 Brooks Moses <bmoses@google.com>
17937
17938 [BZ #15846]
17939 * misc/getauxval.c: Include errno.h.
17940 (__getauxval): Set errno to ENOENT if the requested type is not
17941 found.
17942 * misc/sys/auxv.h (getauxval): Document that it may set errno;
17943 don't declare with __attribute_const__.
17944 * elf/tst-auxv.c: Add tests for errno and type-not-found case.
17945 * manual/startup.texi: Document that getauxval sets errno.
17946
17947 2013-12-18 Joseph Myers <joseph@codesourcery.com>
17948
17949 * math/auto-libm-test-in: Add tests of jn and yn.
17950 * math/auto-libm-test-out: Regenerated.
17951 * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
17952 (yn_test_data): Likewise.
17953 * math/gen-auto-libm-tests.c (func_calc_method): Add value
17954 mpfr_if_f.
17955 (func_calc_desc): Add mpfr_if_f union field.
17956 (FUNC_mpfr_if_f): New macro.
17957 (test_functions): Add jn and yn.
17958 (calc_generic_results): Assert type of second input for
17959 mpfr_ff_f. Handle mpfr_if_f.
17960 (output_for_one_input_case): Disable all checking for arguments
17961 fitting floating-point types in case of an integer argument.
17962 * sysdeps/i386/fpu/libm-test-ulps: Update.
17963 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17964
17965 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
17966 Don't expect fegetround reference in libm.so.
17967
17968 2013-12-17 Marcus Shawcroft <marcus.shawcroft@linaro.org>
17969
17970 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
17971 $(config-cflags-nofma).
17972
17973 2013-12-18 Joseph Myers <joseph@codesourcery.com>
17974
17975 * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
17976 * math/auto-libm-test-out: Regenerated.
17977
17978 [BZ #16338]
17979 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
17980 to determine exponent and adjust argument to have exponent of -1.
17981 * math/auto-libm-test-in: Add more tests of log, log10, log1p and
17982 log2.
17983 * math/auto-libm-test-out: Regenerated.
17984 * sysdeps/i386/fpu/libm-test-ulps: Update.
17985 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17986
17987 2013-12-18 Ondřej Bílka <neleai@seznam.cz>
17988
17989 * manual/probes.texi: Remove cases when per-thread arenas are
17990 disabled.
17991
17992 2013-12-18 Andreas Schwab <schwab@suse.de>
17993
17994 * sysdeps/i386/i686/multiarch/strstr.c: Remove.
17995 * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
17996 * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
17997 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
17998 * sysdeps/i386/i686/multiarch/Makefile: Update.
17999 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
18000
18001 2013-12-17 Joseph Myers <joseph@codesourcery.com>
18002
18003 * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
18004 * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
18005
18006 2013-12-17 Paul Eggert <eggert@cs.ucla.edu>
18007
18008 [BZ #15968]
18009 Support TZ transition times < 00:00:00.
18010 This is needed for version-3 tz-format files; it supports time
18011 stamps past 2037 for America/Godthab (the only entry in the tz
18012 database for which this change is relevant).
18013 * manual/time.texi (TZ Variable): Document transition times
18014 from -167:59:59 through -00:00:01.
18015 * time/tzset.c (tz_rule): Time of day is now signed.
18016 (__tzset_parse_tz): Parse negative time of day.
18017
18018 Document TZ transition times >= 25:00:00.
18019 * manual/time.texi (TZ Variable): Document transition times from
18020 25:00:00 through 167:59:59. These are already supported, and this
18021 support will help with version-3 tz-format files.
18022
18023 * manual/time.texi (TZ Variable): Modernize North America example
18024 to reflect current (i.e., 2007-and-later) daylight saving rules.
18025
18026 * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
18027
18028 2013-12-17 Joseph Myers <joseph@codesourcery.com>
18029
18030 * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
18031 * sysdeps/unix/bsd/bits/stat.h: Likewise.
18032 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
18033 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
18034 * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
18035 * sysdeps/unix/bsd/bsdstat.h: Likewise.
18036 * sysdeps/unix/bsd/clock.c: Likewise.
18037 * sysdeps/unix/bsd/i386/vfork.S: Likewise.
18038 * sysdeps/unix/bsd/i386/wait3.S: Likewise.
18039 * sysdeps/unix/bsd/init-posix.c: Likewise.
18040 * sysdeps/unix/bsd/poll.c: Likewise.
18041 * sysdeps/unix/bsd/ptsname.c: Likewise.
18042 * sysdeps/unix/bsd/seekdir.c: Likewise.
18043 * sysdeps/unix/bsd/setegid.c: Likewise.
18044 * sysdeps/unix/bsd/seteuid.c: Likewise.
18045 * sysdeps/unix/bsd/setgid.c: Likewise.
18046 * sysdeps/unix/bsd/setrgid.c: Likewise.
18047 * sysdeps/unix/bsd/setruid.c: Likewise.
18048 * sysdeps/unix/bsd/setsid.c: Likewise.
18049 * sysdeps/unix/bsd/setuid.c: Likewise.
18050 * sysdeps/unix/bsd/sigaction.c: Likewise.
18051 * sysdeps/unix/bsd/sigprocmask.c: Likewise.
18052 * sysdeps/unix/bsd/sigsuspend.c: Likewise.
18053 * sysdeps/unix/bsd/sys/reboot.h: Likewise.
18054 * sysdeps/unix/bsd/telldir.c: Likewise.
18055 * sysdeps/unix/bsd/times.c: Likewise.
18056 * sysdeps/unix/bsd/usleep.c: Likewise.
18057
18058 * misc/Makefile (install-lib): Remove libbsd-compat.a.
18059 ($(objpfx)libbsd-compat.a): Remove rule.
18060
18061 * include/features.h (__FAVOR_BSD): Do not define.
18062 * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
18063 features conflicting with POSIX.
18064 (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
18065 (_BSD_SOURCE): Remove description of not being a subset of other
18066 feature test macros.
18067 * manual/job.texi (getpgrp): Do not document BSD version.
18068 (getpgid): Do not document by reference to BSD getpgrp.
18069 * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
18070 * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
18071 * signal/signal.h [__FAVOR_BSD]: Likewise.
18072 * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
18073 instead of making contents conditional on [__FAVOR_BSD].
18074 * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
18075
18076 2013-12-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18077
18078 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18079
18080 2013-12-17 Joseph Myers <joseph@codesourcery.com>
18081
18082 [BZ #16314]
18083 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
18084 values below 2**-450, not 2**-500.
18085 * math/auto-libm-test-in: Don't allow spurious underflow from
18086 hypot.
18087 * math/auto-libm-test-out: Regenerated.
18088
18089 [BZ #16316]
18090 [BZ #16330]
18091 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
18092 values of ha and hb and sort them after adjusting subnormal
18093 arguments.
18094 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
18095 Likewise.
18096 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
18097 values of ea and eb and sort them after adjusting subnormal
18098 arguments.
18099 * math/auto-libm-test-in: Do not expect some hypot tests of
18100 subnormals to fail. Add more hypot tests.
18101 * math/auto-libm-test-out: Regenerated.
18102
18103 2013-12-16 Kaz Kojima <kkojima@rr.iij4u.or.jp>
18104
18105 [BZ #13304]
18106 * sysdeps/sh/s_fma.c: New file.
18107 * sysdeps/sh/s_fmaf.c: New file.
18108 * sysdeps/sh/soft-fp/sfp-machine.h: New file. Based on arm
18109 version.
18110 * sysdeps/sh/Implies: Add sh/soft-fp.
18111
18112 2013-12-16 Roland McGrath <roland@hack.frob.com>
18113
18114 * elf/dl-error.c (struct catch): Add new member `errcode'. Add a
18115 level of indirection to members `objname', `errstring', `malloced'.
18116 (_dl_signal_error): Store through pointers in *LCATCH rather modifying
18117 *LCATCH itself. Set *LCATCH->errcode to ERRCODE rather than passing
18118 it as the __longjmp argument (just pass 1 instead).
18119 (_dl_catch_error): Initialize C with argument pointers and address of
18120 volatile local ERRCODE rather than copying values out of C at return.
18121
18122 2013-12-16 Joseph Myers <joseph@codesourcery.com>
18123
18124 * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
18125 * math/auto-libm-test-out: Regenerated.
18126 * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
18127 (hypot_test_data): Likewise.
18128 (pow_test_data): Likewise.
18129 (pow_tonearest_test_data): Likewise.
18130 * math/gen-auto-libm-tests.c (func_calc_method): Add value
18131 mpfr_ff_f.
18132 (func_calc_desc): Add mpfr_ff_f union field.
18133 (FUNC_mpfr_ff_f): New macro.
18134 (test_functions): Add atan2, hypot and pow.
18135 (special_fill_min): New function.
18136 (special_fill_minus_min): Likewise.
18137 (special_fill_min_subnorm): Likewise.
18138 (special_fill_minus_min_subnorm): Likewise.
18139 (special_real_inputs): Add min, -min, min_subnorm and
18140 -min_subnorm.
18141 (calc_generic_results): Handle mpfr_ff_f.
18142 * sysdeps/i386/fpu/libm-test-ulps: Update.
18143 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18144
18145 2013-12-16 Will Newton <will.newton@linaro.org>
18146
18147 * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
18148 (Aligned Memory Blocks): Add documentation for aligned_alloc
18149 and suggest it as an alternative to posix_memalign.
18150 (Hooks for Malloc): Document __memalign_hook is also called
18151 for aligned_alloc. (Summary of Malloc): Add summary for
18152 aligned alloc. Document __memalign_hook is also called
18153 for aligned_alloc.
18154
18155 2013-12-16 Will Newton <will.newton@linaro.org>
18156
18157 * manual/memory.texi (Malloc Examples): Clarify default
18158 alignment documentation. Suggest posix_memalign rather
18159 than memalign or valloc.
18160 (Aligned Memory Blocks): Remove suggestion to use memalign
18161 or valloc. Remove obsolete comment about BSD.
18162 Document memalign errno values and mark the function obsolete.
18163 Document posix_memalign returned error codes. Mark valloc
18164 as obsolete. (Hooks for Malloc): __memalign_hook is also
18165 called for posix_memalign and valloc.
18166 (Summary of Malloc): Add posix_memalign to function summary.
18167 __memalign_hook is also called for posix_memalign and valloc.
18168
18169 2013-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
18170
18171 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
18172 TAYLOR_SIN.
18173 (__sin): Adjust.
18174 (__cos): Likewise.
18175 (sloww): Use mynumber union. Expand ternary operator into
18176 if-else statements.
18177 (cslow): use mynumber union.
18178
18179 2013-12-16 Allan McRae <allan@archlinux.org>
18180
18181 * configure.ac: Set AUTOCONF when maintainer-mode is not used.
18182 * configure: Regenerated.
18183
18184 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
18185
18186 [BZ #14120]
18187 * configure.ac: Added --enable-maintainer-mode. Check for
18188 autoconf when enabled.
18189 * configure: Regenerated.
18190
18191 * nscd/nscd.service: New file.
18192 * nscd/nscd.tmpfiles: New file.
18193
18194 2013-12-14 Ondřej Bílka <neleai@seznam.cz>
18195
18196 [BZ #12100]
18197 * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
18198 * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
18199 * sysdeps/x86_64/multiarch/strstr.c: ... here.
18200 (strstr): Add __strstr_sse2_unaligned ifunc.
18201 * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
18202 * sysdeps/x86_64/multiarch/strcasestr.c ... here.
18203 (strcasestr): Remove __strcasestr_sse42 ifunc.
18204 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
18205 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
18206 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
18207
18208 2013-12-14 Kaz Kojima <kkojima@rr.iij4u.or.jp>
18209
18210 * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
18211 * sysdeps/sh/bits/fenv.h: ... here.
18212 * sysdeps/sh/sh4/fpu/bits: Remove directory.
18213
18214 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18215
18216 * NEWS: Mention ppc64 STT_GNU_IFUNC support.
18217
18218 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
18219 hypotf multiarch implementations.
18220 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
18221 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
18222 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
18223 multiarch hypot for PPC64.
18224 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
18225 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
18226 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
18227 multiarch hypotf for PPC64.
18228
18229 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
18230 modff multiarch implementations.
18231 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
18232 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
18233 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
18234 multiarch modf for PPC64.
18235 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
18236 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
18237 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
18238 multiarch modff for PPC64.
18239
18240 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
18241 and logl multiarch implementations.
18242 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
18243 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
18244 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
18245 multiarch logb for PPC64.
18246 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
18247 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
18248 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
18249 multiarch logb for PPC64.
18250 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
18251 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
18252 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
18253 multiarch logb for PPC64.
18254
18255 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
18256 isinff multiarch implementation.
18257 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
18258 file.
18259 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
18260 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
18261 multiarch isinf for PPC64.
18262 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
18263 file.
18264 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
18265 multiarch isinff for PPC64.
18266
18267 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
18268 finitef multiarch implementation.
18269 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
18270 file.
18271 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
18272 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
18273 multiarch finite for PPC64.
18274 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
18275 file.
18276 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
18277 multiarch finitef for PPC64.
18278
18279 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
18280 lrint multiarch implementation.
18281 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
18282 file.
18283 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
18284 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
18285 multiarch llrint for PPC64.
18286 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
18287 multiarch lrint for PPC64.
18288
18289 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
18290 copysignf multiarch implementation.
18291 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
18292 file.
18293 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
18294 file.
18295 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
18296 multiarch copysign for PPC64.
18297 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
18298 multiarch copysignf for PPC64.
18299
18300 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
18301 multiarch implementation.
18302 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
18303 file.
18304 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
18305 file.
18306 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
18307 file.
18308 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
18309 file.
18310 multiarch llround for PPC64.
18311 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
18312 multiarch trunc for PPC64.
18313 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
18314 multiarch truncf for PPC64.
18315
18316 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
18317 multiarch implementation.
18318 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
18319 file.
18320 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
18321 file.
18322 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
18323 file.
18324 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
18325 file.
18326 multiarch llround for PPC64.
18327 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
18328 multiarch round for PPC64.
18329 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
18330 multiarch roundf for PPC64.
18331
18332 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
18333 multiarch implementation.
18334 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
18335 file.
18336 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
18337 file.
18338 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
18339 file.
18340 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
18341 file.
18342 multiarch llround for PPC64.
18343 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
18344 multiarch floor for PPC64.
18345 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
18346 multiarch floorf for PPC64.
18347
18348 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
18349 multiarch implementation.
18350 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
18351 file.
18352 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
18353 file.
18354 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
18355 file.
18356 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
18357 file.
18358 multiarch llround for PPC64.
18359 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
18360 multiarch ceil for PPC64.
18361 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
18362 multiarch ceilf for PPC64.
18363
18364 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
18365 multiarch implementation.
18366 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
18367 file.
18368 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
18369 file.
18370 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
18371 file.
18372 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
18373 multiarch llround for PPC64.
18374 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
18375 multiarch lround for PPC64.
18376
18377 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
18378 multiarch implementation.
18379 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
18380 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
18381 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
18382 file.
18383 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
18384 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
18385 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
18386 multiarch isnan for PPC64.
18387 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
18388 multiarch isnanf for PPC64.
18389
18390 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
18391 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
18392 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
18393 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
18394 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
18395 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
18396
18397 * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
18398 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
18399 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
18400 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
18401
18402 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
18403 multiarch implementations.
18404 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
18405 (__libc_ifunc_impl_list): Likewise.
18406 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
18407 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
18408 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
18409 multiarch stpcpy for PPC64.
18410
18411 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
18412 multiarch implementations.
18413 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
18414 (__libc_ifunc_impl_list): Likewise.
18415 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
18416 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
18417 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
18418 multiarch strcpy for PPC64.
18419
18420 * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
18421 redefine function name.
18422 (_wordcopy_fwd_dest_aligned): Likewise.
18423 (_wordcopy_bwd_aligned): Likewise.
18424 (_wordcopy_bwd_dest_aligned): Likewise.
18425 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
18426 multiarch implementations.
18427 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
18428 (__libc_ifunc_impl_list): Likewise.
18429 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
18430 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
18431 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
18432 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
18433 multiarch wcscpy for PPC64.
18434
18435 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
18436 multiarch implementations.
18437 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
18438 (__libc_ifunc_impl_list): Likewise.
18439 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
18440 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
18441 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
18442 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
18443 multiarch wcscpy for PPC64.
18444
18445 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
18446 multiarch implementations.
18447 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
18448 (__libc_ifunc_impl_list): Likewise.
18449 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
18450 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
18451 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
18452 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
18453 multiarch wcsrchr for PPC64.
18454
18455 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
18456 multiarch implementations.
18457 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
18458 (__libc_ifunc_impl_list): Likewise.
18459 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
18460 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
18461 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
18462 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
18463 multiarch wcschr for PPC64.
18464
18465 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
18466 multiarch implementations.
18467 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
18468 (__libc_ifunc_impl_list): Likewise.
18469 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
18470 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
18471 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
18472 multiarch strchrnul for PPC64.
18473
18474 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
18475 implementations.
18476 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
18477 (__libc_ifunc_impl_list): Likewise.
18478 * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
18479 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
18480 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
18481 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
18482 strchr for PPC64.
18483
18484 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
18485 implementations.
18486 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
18487 (__libc_ifunc_impl_list): Likewise.
18488 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
18489 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
18490 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
18491 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
18492 strncmp for PPC64.
18493
18494 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
18495 multiarch implementations.
18496 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
18497 (__libc_ifunc_impl_list): Likewise.
18498 * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
18499 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
18500 strncasecmp for PPC64.
18501 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
18502 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
18503 multiarch strncasecmp_l for PPC64.
18504
18505 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
18506 multiarch implementations.
18507 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
18508 (__libc_ifunc_impl_list): Likewise.
18509 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
18510 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
18511 multiarch strcasecmp for PPC64.
18512 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
18513 file.
18514 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
18515 multiarch strcasecmp_l for PPC64.
18516
18517 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
18518 implementations.
18519 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
18520 (__libc_ifunc_impl_list): Likewise.
18521 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
18522 * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
18523 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
18524 strnlen for PPC64.
18525
18526 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
18527 implementations.
18528 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
18529 (__libc_ifunc_impl_list): Likewise.
18530 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
18531 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
18532 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
18533 strlen for PPC64.
18534
18535 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
18536 implementations.
18537 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
18538 (__libc_ifunc_impl_list): Likewise.
18539 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
18540 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
18541 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
18542 rawmemrchr for PPC64.
18543
18544 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
18545 implementation.
18546 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
18547 (__libc_ifunc_impl_list): Likewise.
18548 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
18549 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
18550 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
18551 memrchr for PPC64.
18552
18553 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
18554 implementation.
18555 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
18556 (__libc_ifunc_impl_list): Likewise.
18557 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
18558 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
18559 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
18560 memchr for PPC64.
18561
18562 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
18563 implementation.
18564 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
18565 (__libc_ifunc_impl_list): Likewise.
18566 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
18567 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
18568 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
18569 mempcpy for PPC64.
18570
18571 * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
18572 avoid cretion of __bzero symbol.
18573 * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
18574 Likewise.
18575 * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
18576 Likewise.
18577 * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
18578 Likewise.
18579 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
18580 multiarch implementations.
18581 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
18582 (__libc_ifunc_impl_list): Likewise.
18583 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
18584 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
18585 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
18586 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
18587 bzero for PPC32.
18588 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
18589 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
18590 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
18591 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
18592 * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
18593 memset for PPC64.
18594 * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
18595
18596 * string/memcmp.c (memcmp): Using macro to redefine symbol name.
18597 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
18598 implementations.
18599 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
18600 (__libc_ifunc_impl_list): Likewise.
18601 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
18602 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
18603 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
18604 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
18605 memcmp for PPC64.
18606
18607 * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
18608 multiarch for POWER/PPC64.
18609 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
18610 * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
18611 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
18612 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
18613 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
18614 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
18615 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
18616 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
18617 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
18618 memcpy for PPC64.
18619
18620 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
18621 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
18622 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
18623 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
18624 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
18625 * sysdeps/powerpc/powerpc64/power5/Implies: New File.
18626 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
18627 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
18628 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
18629 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
18630 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
18631 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
18632 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
18633 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
18634 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
18635 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
18636 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
18637 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
18638 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
18639 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
18640 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
18641 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
18642
18643 2013-12-12 Kaz Kojima <kkojima@rr.iij4u.or.jp>
18644
18645 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
18646
18647 2013-12-12 Siddhesh Poyarekar <siddhesh@redhat.com>
18648
18649 * benchtests/Makefile (bench): Add exp2 and log2.
18650 (LDLIBS-bench-exp2): Add -lm.
18651 (LDLIBS-bench-log2): Likewise.
18652 * benchtests/exp2-inputs: New inputs file.
18653 * benchtests/log2-inputs: New inputs file.
18654 * benchtests/log-inputs: Add new inputs.
18655 * benchtests/tan-inputs: Likewise.
18656
18657 2013-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
18658
18659 * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
18660 definition...
18661 (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
18662 (csloww2): ... from here.
18663
18664 * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
18665 instead of structures.
18666 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
18667 (POLYNOMIAL): Likewise.
18668 (TAYLOR_SLOW): Likewise.
18669 (__sin): Likewise.
18670 (__cos): Likewise.
18671 (slow1): Likewise.
18672 (slow2): Likewise.
18673 (sloww): Likewise.
18674 (sloww1); Likewise.
18675 (sloww2): Likewise.
18676 (bsloww1): Likewise.
18677 (bsloww2): Likewise.
18678 (cslow2): Likewise.
18679 (csloww): Likewise.
18680 (csloww1): Likewise.
18681 (csloww2): Likewise.
18682
18683 2013-12-10 Ondřej Bílka <neleai@seznam.cz>
18684
18685 * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
18686 (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
18687 Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
18688 * malloc/hooks.c (realloc_check): Likewise.
18689
18690 * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
18691 * malloc/arena.c: Remove PER_THREAD conditional.
18692 [!PER_THREAD]: Remove code.
18693 (ptmalloc_unlock_all2): Likewise.
18694 (ptmalloc_init): Likewise.
18695 (_int_new_arena): Likewise.
18696 (arena_get2): Likewise.
18697 * malloc/hooks.c (__malloc_get_state): Likewise.
18698 (__malloc_set_state): Likewise.
18699 * malloc/malloc.c: Likewise.
18700 (struct malloc_state): Likewise.
18701 (struct malloc_par): Likewise.
18702 (__libc_realloc): Likewise.
18703 (__libc_mallopt): Likewise.
18704
18705 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18706
18707 * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
18708
18709 2013-12-09 Ondřej Bílka <neleai@seznam.cz>
18710
18711 * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
18712 macro to a function. Check for zero perturb_byte.
18713 (_int_malloc, _int_free): Remove zero perturb_byte checks.
18714
18715 * malloc/malloc.c: (force_reg): Remove.
18716 (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
18717 (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
18718 force_reg by atomic_forced_read.
18719 * malloc/arena.c (ptmalloc_init): Likewise.
18720 * malloc/hooks.c (top_check): Likewise.
18721
18722 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18723
18724 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18725
18726 2013-12-09 Markus Trippelsdorf <markus@trippelsdorf.de>
18727
18728 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
18729
18730 2013-12-08 Joseph Myers <joseph@codesourcery.com>
18731
18732 * math/auto-libm-test-in: Add tests of lgamma.
18733 * math/auto-libm-test-out: Regenerated.
18734 * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
18735 (M_LOG_2_SQRT_PIl): Likewise.
18736 (lgamma_test_data): Use AUTO_TESTS_f_f1.
18737 * math/gen-auto-libm-tests.c (func_calc_method): Add value
18738 mpfr_f_f1.
18739 (func_calc_desc): Add mpfr_f_f1 union field.
18740 (ARGS1): New macro.
18741 (ARGS2): Likewise.
18742 (ARGS3): Likewise.
18743 (ARGS4): Likewise.
18744 (RET1): Likewise.
18745 (RET2): Likewise.
18746 (CALC): Likewise.
18747 (FUNC): Likewise.
18748 (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
18749 (test_functions): Add lgamma.
18750 (calc_generic_results): Handle mpfr_f_f1.
18751 * sysdeps/i386/fpu/libm-test-ulps: Update.
18752 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18753
18754 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18755
18756 * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
18757 __mpn_add_n for PowerPC64/POWER7.
18758 * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
18759 __mpn_sub_n for PowerPC64/POWER7.
18760
18761 * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
18762 __mpn_addmul_1 for PowerPC64.
18763 * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
18764 __mpn_submul_1 for PowerPC64.
18765 * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
18766 for PowerPC64.
18767 * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
18768 for PowerPC64.
18769
18770 2013-12-06 Fernando J. V. da Silva <fernandojvdasilva@gmail.com>
18771
18772 [BZ #15089]
18773 * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
18774
18775 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18776
18777 * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
18778
18779 * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
18780 add multiarch folders.
18781 * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
18782 * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
18783 * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
18784 * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
18785 * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
18786 * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
18787 * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
18788 * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
18789 * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
18790 * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
18791 * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
18792 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
18793 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
18794 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
18795 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
18796 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
18797 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
18798
18799 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
18800 __ieee754_hypot and __ieee754_hypotf multiarch implementations.
18801 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
18802 New file.
18803 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
18804 New file.
18805 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
18806 multiarch __ieee754_hypot for PowerPC32.
18807 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
18808 New file.
18809 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
18810 New file.
18811 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
18812 multiarch __ieee754_hypotf for PowerPC32.
18813
18814 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
18815 long_double_symbol only if __logbl is defined.
18816 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
18817 * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
18818 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
18819 * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
18820 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
18821 * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
18822 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
18823 path for implementation.
18824 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
18825 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
18826 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
18827 logb, and logbl multiarch implementations for PowerPC32.
18828 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
18829 file.
18830 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
18831 file.
18832 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
18833 multiarch logb for PowerPC32.
18834 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
18835 file.
18836 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
18837 file.
18838 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
18839 multiarch logbf for PowerPC32.
18840 * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
18841 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
18842 file.
18843 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
18844 multiarch logbl implementation for PowerPC32.
18845
18846 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
18847 and modff multiarch implementations.
18848 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
18849 New file.
18850 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
18851 New file.
18852 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
18853 multiarch modf for PowerPC32.
18854 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
18855 New file.
18856 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
18857 New file.
18858 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
18859 multiarch modff for PowerPC32.
18860
18861 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
18862 and lrintf multiarch implementations.
18863 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
18864 New file.
18865 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
18866 New file.
18867 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
18868 multiarch lrint for PowerPC32.
18869 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
18870 file: multiarch lrintf for PowerPC32.
18871
18872 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
18873 and lroundf multiarch implementations.
18874 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
18875 New file.
18876 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
18877 New file.
18878 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
18879 New file.
18880 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
18881 multiarch lround for PowerPC32.
18882 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
18883 file: multiarch lroundf for PowerPC32.
18884
18885 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
18886 copysign and copysignf multiarch implementations.
18887 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
18888 New file.
18889 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
18890 New file.
18891 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
18892 file: multiarch copysign for PowerPC32.
18893 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
18894 file: multiarch copysignf for PowerPC32.
18895
18896 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
18897 and truncf multiarch implementations.
18898 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
18899 New file.
18900 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
18901 file.
18902 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
18903 multiarch trunc for PowerPC32.
18904 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
18905 New file.
18906 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
18907 New file.
18908 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
18909 multiarch truncf for PowerPC32.
18910
18911 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
18912 and roundf multiarch implementations.
18913 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
18914 New file.
18915 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
18916 file.
18917 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
18918 multiarch round for PowerPC32.
18919 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
18920 New file.
18921 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
18922 New file.
18923 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
18924 multiarch roundf for PowerPC32.
18925
18926 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
18927 and floorf multiarch implementations.
18928 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
18929 New file.
18930 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
18931 file.
18932 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
18933 multiarch floor for PowerPC32.
18934 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
18935 New file.
18936 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
18937 New file.
18938 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
18939 multiarch floorf for PowerPC32.
18940
18941 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
18942 and ceilf multiarch implementations.
18943 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
18944 New file.
18945 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
18946 file.
18947 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
18948 multiarch ceil for PowerPC32.
18949 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
18950 New file.
18951 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
18952 file.
18953 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
18954 multiarch ceilf for PowerPC32.
18955
18956 * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
18957 is defined.
18958 * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
18959 FINITEF is defined.
18960 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
18961 and finitef multiarch implementations.
18962 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
18963 New file.
18964 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
18965 file.
18966 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
18967 multiarch finite for PowerPC32.
18968 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
18969 New file.
18970 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
18971 file: multiarch finitef for PowerPC32.
18972
18973 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
18974 and isinff multiarch implementations.
18975 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
18976 file.
18977 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
18978 file.
18979 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
18980 multiarch isinf for PowerPC32.
18981 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
18982 New file.
18983 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
18984 multiarch isinff for PowerPC32.
18985
18986 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
18987 alias when __isnan is defined.
18988 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
18989 and isnanf multiarch implementations.
18990 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
18991 file.
18992 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
18993 file.
18994 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
18995 file.
18996 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
18997 file.
18998 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
18999 multiarch isnan for PowerPC32.
19000 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
19001 New file.
19002 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
19003 New file.
19004 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
19005 multiarch isnanf for PowerPC32.
19006
19007 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
19008 and sqrtf multiarch implementations.
19009 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
19010 file.
19011 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
19012 file.
19013 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
19014 multiarch sqrt for PowerPC32.
19015 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
19016 file.
19017 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
19018 file.
19019 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
19020 multiarch sqrtf for PowerPC32.
19021
19022 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
19023 and llroundf multiarch implementations.
19024 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
19025 New file.
19026 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
19027 New file.
19028 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
19029 New file.
19030 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
19031 file: multiarch llround for PowerPC32.
19032 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
19033 file: multiarch llroundf for PowerPC32.
19034
19035 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
19036 multiarch PowerPC32 fpu implementations.
19037 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
19038 New file.
19039 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
19040 New file.
19041 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
19042 multiarch llrint for PowerPC32.
19043 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
19044 New file.
19045 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
19046 New file.
19047 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
19048 file.
19049
19050 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
19051
19052 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
19053 file.
19054 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
19055 file.
19056 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
19057 file.
19058 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
19059 multiarch wordcopy for PPC32.
19060 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
19061 wordcopy objects.
19062 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
19063 (__libc_ifunc_impl_list): Likewise.
19064 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
19065 * sysdeps/powerpc/power4/wordcopy.c: ... to here.
19066 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
19067 * sysdeps/powerpc/power6/wordcopy.c: ... to here.
19068 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
19069 * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
19070
19071 * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
19072 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
19073 file.
19074 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
19075 file.
19076 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
19077 file.
19078 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
19079 multiarch wcscpy for PPC32.
19080 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
19081 multiarch objects.
19082 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
19083 (__libc_ifunc_impl_list): Likewise.
19084 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
19085 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
19086 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
19087 sysdeps/powerpc/power6/wcscpy.c.
19088
19089 * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
19090 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
19091 file.
19092 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
19093 file.
19094 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
19095 file.
19096 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
19097 multiarch wcsrchr for PPC32.
19098 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
19099 multiarch objects.
19100 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
19101 (__libc_ifunc_impl_list): Likewise.
19102 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
19103 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
19104 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
19105 sysdeps/powerpc/power6/wcsrchr.c.
19106
19107 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
19108 file.
19109 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
19110 file.
19111 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
19112 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
19113 multiarch wcschr for PPc32.
19114 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
19115 multiarch objects.
19116 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
19117 (__libc_ifunc_impl_list): Likewise.
19118 * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
19119 * sysdeps/powerpc/power6/wcschr.c: ... to here.
19120 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
19121 sysdeps/powerpc/power6/wcschr.c.
19122
19123 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
19124 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
19125 file.
19126 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
19127 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
19128 file: multiarch strchr for PPC32.
19129 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
19130 multiarch objects.
19131 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
19132 (__libc_ifunc_impl_list): Likewise.
19133
19134 * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
19135 name.
19136 * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
19137 file.
19138 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
19139 file.
19140 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
19141 multiarch strchrnul for PPC32.
19142 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
19143 multiarch objects.
19144 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
19145 (__libc_ifunc_impl_list): Likewise.
19146
19147 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
19148 file.
19149 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
19150 multiarch strncasecmp for PPC32.
19151 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
19152 file.
19153 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
19154 multiarch strncasecmp_l for PPC32.
19155 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
19156 strncasecmp multiarch objects.
19157 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
19158 (__libc_ifunc_impl_list): Likewise.
19159
19160 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
19161 file.
19162 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
19163 multiarch strncasecmp for PPC32.
19164 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
19165 New file.
19166 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
19167 multiarch strcasecmp_l for PPC32.
19168 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
19169 multiarch objects.
19170 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
19171 (__libc_ifunc_impl_list): Likewise.
19172
19173 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
19174 file.
19175 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
19176 file.
19177 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
19178 multiarch strncmp for PPC32.
19179 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
19180 multiarch objects.
19181 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
19182 (__libc_ifunc_impl_list): Likewise.
19183
19184 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
19185 * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
19186 file.
19187 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
19188 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
19189 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
19190 multiarch objects.
19191 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
19192 (__libc_ifunc_impl_list): Likewise.
19193
19194 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
19195 file.
19196 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
19197 file.
19198 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
19199 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
19200 multiarch objects.
19201 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
19202 (__libc_ifunc_impl_list): Likewise.
19203
19204 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
19205 file.
19206 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
19207 file.
19208 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
19209 multiarch rawmemchr for PPC32.
19210 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
19211 multiarch objects.
19212 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
19213 (__libc_ifunc_impl_list): Likewise.
19214
19215 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
19216 file.
19217 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
19218 file.
19219 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
19220 file: memrchr multiarch for PPC32.
19221 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
19222 multiarch objects.
19223 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
19224 (__libc_ifunc_impl_list): Likewise.
19225
19226 * string/memchr.c (__memchr): Using macro to redefine symbol name.
19227 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
19228 file.
19229 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
19230 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
19231 multiarch memchr for PPC32.
19232 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
19233 multiarch objects.
19234 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
19235 (__libc_ifunc_impl_list): Likewise.
19236
19237 * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
19238 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
19239 file.
19240 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
19241 file.
19242 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
19243 file: multiarch mempcpy for PPC32.
19244 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
19245 multiarch objects.
19246 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
19247 (__libc_ifunc_impl_list): Likewise.
19248
19249 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
19250 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
19251 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
19252 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
19253 multiarch bzero for PPC32.
19254 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
19255 file.
19256 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
19257 file.
19258 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
19259 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
19260 file: multiarch memset for PPC32.
19261 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
19262 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
19263 memset multiarch objects.
19264 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
19265 (__libc_ifunc_impl_list): Likewise.
19266
19267 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
19268 file.
19269 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
19270 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
19271 memcmp for PPC32.
19272 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
19273 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
19274 multiarch objects.
19275 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
19276 (__libc_ifunc_impl_list): Likewise.
19277
19278 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
19279 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
19280 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
19281 file.
19282 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
19283 file.
19284 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
19285 file.
19286 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
19287 multiarch memcpy for PPC32.
19288 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
19289 multiarch objects.
19290 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
19291 (__libc_ifunc_impl_list): Likewise.
19292
19293 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
19294 support multiarch for POWER/PPC32.
19295 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
19296 Likewise.
19297 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
19298 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
19299 Implies file to make multiarch folder appers before the fpu and
19300 default folder for power4 configuration.
19301
19302 2013-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
19303
19304 * scripts/bench.pl: Append volatile keyword to type.
19305
19306 2013-12-05 Kaz Kojima <kkojima@rr.iij4u.or.jp>
19307
19308 * sysdeps/sh/sotruss-lib.c: New file.
19309 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
19310
19311 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19312
19313 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19314
19315 2013-12-05 Joseph Myers <joseph@codesourcery.com>
19316
19317 [BZ #6810]
19318 * math/w_tgamma.c: Include <errno.h>.
19319 (__tgamma): Use __glibc_unlikely. Set errno on underflow to 0.
19320 * math/w_tgammaf.c: Include <errno.h>.
19321 (__tgammaf): Use __glibc_unlikely. Set errno on underflow to 0.
19322 * math/w_tgammal.c: Include <errno.h>.
19323 (__tgammal): Use __glibc_unlikely. Set errno on underflow to 0.
19324 * math/auto-libm-test-in: Do not allow missing errno on tgamma
19325 underflow. Add more tgamma tests.
19326 * math/auto-libm-test-out: Regenerated.
19327 * sysdeps/i386/fpu/libm-test-ulps: Update.
19328 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19329
19330 * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
19331 sin, sinh, tan, tanh, tgamma, y0 and y1.
19332 * math/auto-libm-test-out: Regenerated.
19333 * math/libm-test.inc (TEST_COND_x86_64): New macro.
19334 (TEST_COND_x86): Likewise.
19335 (M_E2l): Remove macro.
19336 (M_E3l): Likewise.
19337 (M_2_SQRT_PIl): Likewise.
19338 (M_SQRT_PIl): Likewise.
19339 (M_1_DIV_El): Likewise.
19340 (log_test_data): Use AUTO_TESTS_f_f.
19341 (log10_test_data): Likewise.
19342 (log1p_test_data): Likewise.
19343 (log2_test_data): Likewise.
19344 (sin_test_data): Likewise.
19345 (sin_tonearest_test_data): Likewise.
19346 (sin_towardzero_test_data): Likewise.
19347 (sin_downward_test_data): Likewise.
19348 (sin_upward_test_data): Likewise.
19349 (sinh_test_data): Likewise.
19350 (sinh_tonearest_test_data): Likewise.
19351 (sinh_towardzero_test_data): Likewise.
19352 (sinh_downward_test_data): Likewise.
19353 (sinh_upward_test_data): Likewise.
19354 (tan_test_data): Likewise.
19355 (tan_tonearest_test_data): Likewise.
19356 (tan_towardzero_test_data): Likewise.
19357 (tan_downward_test_data): Likewise.
19358 (tan_upward_test_data): Likewise.
19359 (tanh_test_data): Likewise.
19360 (tgamma_test_data): Likewise.
19361 (y0_test_data): Likewise.
19362 (y1_test_data): Likewise.
19363 * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
19364 (special_real_inputs): Add pi/4.
19365 * sysdeps/i386/fpu/libm-test-ulps: Update.
19366 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19367
19368 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19369
19370 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
19371 "longjmp_target" static probes.
19372 (__longjmp): Rename to __longjmp_symbol.
19373 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
19374 * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
19375 on which longjmp to generate.
19376 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
19377 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
19378 probe.
19379 (__sigsetjmp): Rename to __sigsetjmp_symbol.
19380 (__sigjmp_save): Rename to __sigjmp_save_symbol.
19381 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
19382 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
19383 and __sigjmp_save_symbol based on which sigsetjmp to generated.
19384 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
19385 * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
19386 __longjmp_symbol based on which __longjmp to generate.
19387 * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
19388 probe.
19389 (setjmp): Rename to setjmp_symbol.
19390 (__sigsetjmp): Rename to __sigsetjmp_symbol.
19391 (_setjmp): Rename to _setjmp_symbol.
19392 (__sigsetjmp): Rename to __sigsetjmp_symbol.
19393 * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
19394 _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
19395 which setjmp to generate.
19396 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
19397 "longjmp_target" static probes.
19398
19399 2013-12-05 Siddhesh Poyarekar <siddhesh@redhat.com>
19400
19401 * benchtests/README: Add note about output arguments.
19402 * benchtests/bench-sincos.c: Remove file.
19403 * benchtests/sincos-inputs: New file.
19404 * scripts/bench.pl: Identify output arguments and define
19405 static variables for them.
19406
19407 * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
19408
19409 [BZ #15941]
19410 * Makefile (INSTALL): Add install-plain.texi as the primary
19411 dependency.
19412 * manual/install-plain.texi: New file.
19413 * manual/install.texi: Include node directive only for
19414 non-plaintext output.
19415
19416 2013-12-04 Joseph Myers <joseph@codesourcery.com>
19417
19418 * stdlib/longlong.h: Update from GCC.
19419
19420 [BZ #6807]
19421 [BZ #15901]
19422 * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
19423 * math/w_j0f.c (y0f): Likewise.
19424 * math/w_j0l.c (__y0l): Likewise.
19425 * math/w_j1.c (y1): Likewise.
19426 * math/w_j1f.c (y1f): Likewise.
19427 * math/w_j1l.c (__y1l): Likewise
19428 * math/w_jn.c (yn): Likewise.
19429 * math/w_jnf.c (ynf): Likewise.
19430 * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
19431 Bessel function pole errors in _POSIX_ mode. Use NAN as return
19432 value for Bessel function domain errors outside _SVID_ mode.
19433 Adjust sign of return value for yn (negative integer, 0).
19434 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
19435 by zero in return for negative x and set sign appropriately for
19436 negative n.
19437 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
19438 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
19439 * math/libm-test.inc (y0_test_data): Add more tests and adjust
19440 expectations in error cases.
19441 (y1_test_data): Likewise.
19442 (yn_test_data): Likewise.
19443 * sysdeps/i386/fpu/libm-test-ulps: Update.
19444 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19445
19446 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
19447
19448 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
19449 "64" to "64-v1". Add "64-v2".
19450 (abi-64-options): Rename to ...
19451 (abi-64-v1-options): ... this. Redefine _CALL_ELF.
19452 (abi-64-condition): Rename to ...
19453 (abi-64-v1-condition): ... this. Add _CALL_ELF check.,
19454 (abi-64-ld-soname): Rename to ...
19455 (abi-64-v1-ld-soname): ... this.
19456 (abi-64-v2-options): Define.
19457 (abi-64-v2-condition): Likewise.
19458 (abi-64-v2-ld-soname): Likewise.
19459 * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
19460 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
19461 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
19462 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
19463 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
19464
19465 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
19466 Alan Modra <amodra@gmail.com>
19467
19468 * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
19469 New versions for use with the ELFv2 ABI.
19470 (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
19471 * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
19472 declaration.
19473 (struct La_ppc64v2_retval): Likewise.
19474 (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
19475 (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
19476 * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
19477 to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
19478 (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
19479 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
19480 Do not save or restore CR.
19481 (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
19482 (_dl_profile_resolve): Do no save or restore CR. Support extended
19483 return values for ELFv2 ABI. Fix location of FPR return registers.
19484 * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
19485 updated values for _CALL_ELF == 2.
19486 (La_regs, La_retval, int_retval): Likewise.
19487
19488 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
19489
19490 * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
19491 (FRAME_MIN_SIZE_PARM): Likewise.
19492 (FRAME_BACKCHAIN): Likewise.
19493 (FRAME_CR_SAVE): Likewise.
19494 (FRAME_LR_SAVE): Likewise.
19495 (FRAME_TOC_SAVE): Likewise.
19496 (FRAME_PARM_SAVE): Likewise.
19497 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
19498 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
19499 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
19500 (call_mcount_parm_offset): New macro.
19501 (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
19502 (PROF): Use symbolic stack frame offsets.
19503 (TAIL_CALL_SYSCALL_ERROR): Likewise.
19504 * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
19505 Redefine in terms of FRAME_MIN_SIZE.
19506 (_dl_runtime_resolve): Use symbolic stack frame offsets.
19507 (_dl_profile_resolve): Likewise. Update comment.
19508 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
19509 symbols stack frame offsets.
19510 (__sigsetjmp): Likewise.
19511 * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
19512 * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
19513 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
19514 * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
19515
19516 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
19517 (FRAME_BACKCHAIN): Remove.
19518 (FRAME_CR_SAVE): Likewise.
19519 (FRAME_LR_SAVE): Likewise.
19520 (FRAME_COMPILER_DW): Likewise.
19521 (FRAME_LINKER_DW): Likewise.
19522 (FRAME_TOC_SAVE): Likewise.
19523 (FRAME_PARM_SAVE): Likewise.
19524 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
19525 (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
19526 (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
19527 * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
19528 (CHECK_SP): Use symbolic stack frame offsets.
19529 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
19530 zone" instead of caller's parameter save area for temp storage.
19531 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
19532 Likewise. Also, use symbolic stack frame offsets.
19533 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
19534 stackblock): Redefine for _CALL_ELF == 2 to save parameters into
19535 our own stack frame instead of the caller's.
19536 (__socket): Use symbolic stack frame offsets.
19537
19538 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
19539 Alan Modra <amodra@gmail.com>
19540
19541 * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
19542 Define.
19543 (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
19544 (PPC64_LOCAL_ENTRY_OFFSET): Define.
19545 * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
19546 New function.
19547 (elf_machine_fixup_plt): Call it.
19548 (elf_machine_plt_conflict): Likewise. Add map, sym_map, and
19549 reloc arguments.
19550 (elf_machine_rela): Update call to elf_machine_plt_conflict.
19551 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
19552 (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
19553 r2 before calling target.
19554
19555 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
19556 Alan Modra <amodra@gmail.com>
19557
19558 * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
19559 (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
19560 versions of macros to support ELFv2 ABI.
19561 (LOCALENTRY): New macro.
19562 (ENTRY, EALIGN): Use it.
19563 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
19564 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
19565 fall through into ENTRY entry point.
19566 * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
19567 Only define if _CALL_ELF != 2.
19568
19569 (elf_machine_matches_host): Verify ABI version matches.
19570 (RTLD_START): Use LOCALENTRY.
19571 (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
19572 (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
19573 (PLT_ENTRY_WORDS): New macro.
19574 (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
19575 (elf_machine_runtime_setup): Support ELFv2 ABI.
19576 (elf_machine_fixup_plt): Likewise.
19577 (elf_machine_plt_conflict): Likewise.
19578 (resolve_ifunc): Likewise.
19579 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
19580 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
19581 Likewise.
19582 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
19583 (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
19584 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
19585 (makecontext): Support ELFv2 ABI.
19586 * elf/elf.h (EF_PPC64_ABI): Define.
19587
19588 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
19589
19590 * sysdeps/powerpc/powerpc64/sysdep.h
19591 (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
19592 (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
19593 (ENTRY) [ASSEMBLER]: ... but instead here ...
19594 (EALIGN) [ASSEMBLER]: ... and here.
19595 (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
19596 (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
19597 (ENTRY_2) [!ASSEMBLER]: Use it.
19598 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
19599 ENTRY_2 changes. Use PPC64_LOAD_FUNCPTR.
19600 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
19601 (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
19602 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
19603 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
19604 Use PPC64_LOAD_FUNCPTR.
19605
19606 * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
19607
19608 2013-12-04 Alan Modra <amodra@gmail.com>
19609
19610 * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
19611 (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
19612 (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
19613 (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
19614
19615 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
19616 overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
19617 R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
19618 Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
19619 R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
19620 Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
19621
19622 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
19623
19624 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
19625 (__makecontext): Fix incorrect CFI when backtracing out of
19626 context created via makecontext.
19627 * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
19628 (__setcontext): Fix incorrect CFI during switch to new context.
19629 (__novec_setcontext): Likewise.
19630
19631 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
19632
19633 [BZ #4772]
19634 * time/strptime_l.c (__strptime_internal): Allow modifiers
19635 in strptime.
19636 * time/tst-strptime.c (day_tests): Add testcase.
19637
19638 2013-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
19639
19640 * scripts/bench.pl: Skip over blank lines.
19641
19642 2013-12-04 Paul Eggert <eggert@cs.ucla.edu>
19643
19644 [BZ #926]
19645 * manual/time.texi (Calendar Time): Clarify what timezone functions
19646 use.
19647
19648 2013-12-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19649
19650 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19651
19652 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
19653
19654 * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
19655 implementation.
19656 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
19657 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
19658 * debug/memset_chk.c (__memset_chk): Likewise.
19659 * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
19660 * debug/strncpy_chk.c: Likewise.
19661
19662 2013-12-03 Joseph Myers <joseph@codesourcery.com>
19663
19664 [BZ #15268]
19665 [BZ #15425]
19666 * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
19667 (__ieee754_exp): For possibly underflowing results, check size of
19668 result and force underflow exception if required.
19669 * math/auto-libm-test-in: Add more tests of exp.
19670 * math/auto-libm-test-out: Regenerated.
19671 * sysdeps/i386/fpu/libm-test-ulps: Update.
19672 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19673
19674 [BZ #16283]
19675 * math/w_exp2.c (__exp2): Handle a zero result as underflow.
19676 * math/w_exp2f.c (__exp2f): Likewise.
19677 * math/w_exp2l.c (__exp2l): Likewise.
19678 * math/auto-libm-test-in: Do not allow missing errno on exp2
19679 underflow.
19680 * math/auto-libm-test-out: Regenerated.
19681
19682 2013-12-03 Ondřej Bílka <neleai@seznam.cz>
19683
19684 [BZ #16274]
19685 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
19686 handle filename validation.
19687 * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
19688 (do_open): Delete.
19689
19690 2013-12-03 Joseph Myers <joseph@codesourcery.com>
19691
19692 [BZ #6786]
19693 * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
19694 (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
19695 * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
19696 <float.h>.
19697 (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
19698 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
19699 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
19700 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
19701 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
19702 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
19703 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
19704 * math/auto-libm-test-in: Don't allow missing errno from erfc.
19705 Add more erfc tests.
19706 * math/auto-libm-test-out: Regenerated.
19707 * sysdeps/i386/fpu/libm-test-ulps: Update.
19708 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19709
19710 * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
19711 exp2, expm1, j0 and j1.
19712 * math/auto-libm-test-out: Regenerated.
19713 * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
19714 (erfc_test_data): Likewise.
19715 (exp_test_data): Likewise.
19716 (exp_tonearest_test_data): Likewise.
19717 (exp_towardzero_test_data): Likewise.
19718 (exp_downward_test_data): Likewise.
19719 (exp_upward_test_data): Likewise.
19720 (exp10_test_data): Likewise.
19721 (exp2_test_data): Likewise.
19722 (expm1_test_data): Likewise.
19723 (j0_test_data): Likewise.
19724 (j1_test_data): Likewise.
19725 * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
19726 (input_flag_type): Add flag_xfail_rounding.
19727 (input_flags): Add xfail-rounding.
19728 (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
19729 (output_for_one_input_case): Handle flag_xfail_rounding.
19730 * sysdeps/i386/fpu/libm-test-ulps: Update.
19731 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19732
19733 2013-12-03 Aurelien Jarno <aurelien@aurel32.net>
19734
19735 [BZ #16289]
19736 * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
19737 division by 0.
19738
19739 2013-12-03 Siddhesh Poyarekar <siddhesh@redhat.com>
19740
19741 [BZ #16195]
19742 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
19743 (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
19744 (STAP_PROBE0): New macro.
19745 (STAP_PROBE1): Likewise.
19746 (STAP_PROBE2): Likewise.
19747 (STAP_PROBE3): Likewise.
19748 (STAP_PROBE4): Likewise.
19749
19750 2013-12-02 Ondřej Bílka <neleai@seznam.cz>
19751
19752 * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
19753
19754 2013-12-02 Steve Ellcey <sellcey@mips.com>
19755
19756 * benchtests/Makefile (bench): Add sqrt.
19757 (LDLIBS-bench-sqrt): New.
19758 * benchtests/sqrt-input: New.
19759
19760 2013-12-02 Pavel Simerda <psimerda@redhat.com>
19761
19762 * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
19763 (GAIH_EAI): Likewise.
19764 (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
19765 (gaih_inet): Likewise.
19766 (getaddrinfo): Don't use GAIH_EAI.
19767
19768 * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
19769 (struct gaih): Remove definition.
19770
19771 2013-12-02 Siddhesh Poyarekar <siddhesh@redhat.com>
19772
19773 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
19774 Use HERRNOP directly.
19775
19776 2013-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19777
19778 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19779
19780 2013-11-30 Joseph Myers <joseph@codesourcery.com>
19781
19782 * math/gen-auto-libm-tests.c (test_functions): Add more
19783 single-argument functions.
19784 (special_fill_pi_2): New function.
19785 (special_fill_minus_pi_2): Likewise.
19786 (special_fill_pi_6): Likewise.
19787 (special_fill_minus_pi_6): Likewise.
19788 (special_fill_pi_3): Likewise.
19789 (special_fill_2pi_3): Likewise.
19790 (special_fill_e): Likewise.
19791 (special_fill_1_e): Likewise.
19792 (special_fill_e_minus_1): Likewise.
19793 (special_real_inputs): Add more special inputs.
19794 (output_for_one_input_case): Do not require ERANGE on underflow to
19795 zero if round-to-nearest result does not underflow to zero, unless
19796 exact results required.
19797 * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
19798 atan, atanh, cbrt, cos and cosh.
19799 * math/auto-libm-test-out: Regenerated.
19800 * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
19801 (acos_tonearest_test_data): Likewise.
19802 (acos_towardzero_test_data): Likewise.
19803 (acos_downward_test_data): Likewise.
19804 (acos_upward_test_data): Likewise.
19805 (acosh_test_data): Likewise.
19806 (asin_test_data): Likewise.
19807 (asin_tonearest_test_data): Likewise.
19808 (asin_towardzero_test_data): Likewise.
19809 (asin_upward_test_data): Likewise.
19810 (asinh_test_data): Likewise.
19811 (atan_test_data): Likewise.
19812 (atanh_test_data): Likewise.
19813 (cbrt_test_data): Likewise.
19814 (cos_test_data): Likewise.
19815 (cos_tonearest_test_data): Likewise.
19816 (cos_towardzero_test_data): Likewise.
19817 (cos_downward_test_data): Likewise.
19818 (cos_upward_test_data): Likewise.
19819 (cosh_test_data): Likewise.
19820 (cosh_tonearest_test_data): Likewise.
19821 (cosh_towardzero_test_data): Likewise.
19822 (cosh_downward_test_data): Likewise.
19823 (cosh_upward_test_data): Likewise.
19824 * sysdeps/i386/fpu/libm-test-ulps: Update.
19825 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19826
19827 2013-11-29 Joseph Myers <joseph@codesourcery.com>
19828
19829 [BZ #6787]
19830 * math/w_exp10.c (__exp10): Handle a zero result as underflow.
19831 * math/w_exp10f.c (__exp10f): Likewise.
19832 * math/w_exp10l.c (__exp10l): Likewise.
19833 * math/libm-test.inc (exp10_test_data): Add more tests and expect
19834 errno settings in existing tests.
19835
19836 [BZ #14032]
19837 * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
19838 precision control set to double precision.
19839 * sysdeps/i386/fpu/w_sqrt.c: New file.
19840 * math/auto-libm-test-in: Add more tests.
19841 * math/auto-libm-test-out: Update.
19842
19843 * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
19844 (sqrt_test_tonearest): New function.
19845 (sqrt_towardzero_test_data): New variable.
19846 (sqrt_test_towardzero): New function.
19847 (sqrt_downward_test_data): New variable.
19848 (sqrt_test_downward): New function.
19849 (sqrt_upward_test_data): New variable.
19850 (sqrt_test_upward): New function.
19851 (main): Call the new functions.
19852
19853 * math/gen-auto-libm-tests.c: New file.
19854 * math/auto-libm-test-in: Likewise.
19855 * math/auto-libm-test-out: New generated file.
19856 * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
19857 variables.
19858 (%beautify): Add generated representations of zero.
19859 (top level): Set $auto_input and call parse_auto_input.
19860 (beautify): Remove trailing "f" from hex float constants.
19861 (parse_args): Handle XFAIL_TEST.
19862 (convert_condition): New function.
19863 (or_value): Likewise.
19864 (or_cond_value): Likewise.
19865 (generate_testfile): Handle AUTO_TESTS_* lines.
19866 (parse_auto_input): New function.
19867 * math/libm-test.inc (XFAIL_TEST): New macro.
19868 (ERRNO_UNCHANGED): Update value.
19869 (ERRNO_EDOM): Likewise.
19870 (ERRNO_ERANGE): Likewise.
19871 (IGNORE_RESULT): Likewise.
19872 (TEST_COND_flt_32): New macro.
19873 (TEST_COND_dbl_64): Likewise.
19874 (TEST_COND_ldbl_96_intel): Likewise.
19875 (TEST_COND_ldbl_96_m68k): Likewise.
19876 (TEST_COND_ldbl_128): Likewise.
19877 (TEST_COND_ldbl_128ibm): Likewise.
19878 (TEST_COND_long32): Likewise.
19879 (TEST_COND_long64): Likewise.
19880 (TEST_COND_before_rounding): Likewise.
19881 (TEST_COND_after_rounding): Likewise.
19882 (enable_test): Handle XFAIL_TEST flag.
19883 (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
19884 with finite results.
19885 * math/Makefile ($(objpfx)libm-test.stmp): Depend on
19886 auto-libm-test-out.
19887
19888 2013-11-29 Siddhesh Poyarekar <siddhesh@redhat.com>
19889 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19890
19891 [BZ #16214]
19892 * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
19893 __tls_get_addr_internal instead of __tls_get_offset in order to
19894 avoid GOT pointer dependency. Make rtld export
19895 __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
19896 __tls_get_addr since we are a __tls_get_offset platform.
19897 * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
19898 GOT pointer being set up before.
19899 * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
19900
19901 2013-11-28 Joseph Myers <joseph@codesourcery.com>
19902
19903 * manual/math.texi (Errors in Math Functions): Document accuracy
19904 goals.
19905
19906 [BZ #15004]
19907 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
19908 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
19909 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
19910 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
19911 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
19912 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
19913 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
19914 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
19915 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
19916 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
19917 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
19918 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
19919 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
19920 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
19921 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
19922 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
19923
19924 * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
19925 * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
19926 * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
19927 * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
19928 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
19929 Likewise.
19930 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
19931 Likewise.
19932 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
19933 Likewise.
19934 * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
19935 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
19936 (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
19937 atomic-feupdateenv and flt-rounds.
19938 * sysdeps/powerpc/nofpu/Versions (libc): Add
19939 __atomic_feholdexcept, __atomic_feclearexcept,
19940 __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
19941 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
19942 (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
19943 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
19944 (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
19945 here.
19946 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
19947 Update.
19948
19949 * manual/arith.texi (FP Exceptions): Document that exceptions may
19950 not be raised when matherr is used.
19951 (Math Error Reporting): Document overflow in directed rounding
19952 modes. Document that errno may not be set when finite values are
19953 returned on overflow. Document intent to set errno on underflow
19954 only for underflow to zero.
19955
19956 [BZ #16271]
19957 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
19958 round-to-nearest then adjust result for other rounding modes.
19959 * include/fenv.h (fegetround): Use libm_hidden_proto.
19960 * math/fegetround.c (fegetround): Use libm_hidden_def.
19961 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
19962 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
19963 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
19964 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
19965 Likewise.
19966 * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
19967 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
19968 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
19969 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
19970
19971 2013-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
19972
19973 [BZ #16077]
19974 * nss/Versions (libnss_files): Add
19975 _nss_files_gethostbyname3_r.
19976 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
19977 New function.
19978 (HOST_DB_LOOKUP): Remove macro.
19979 (_nss_files_gethostbyname_r): Implement function without the
19980 HOST_DB_LOOKUP macro.
19981 (_nss_files_gethostbyname2_r): Likewise.
19982
19983 2013-11-28 Ondřej Bílka <neleai@seznam.cz>
19984
19985 * malloc/malloc.c (__libc_calloc): Make memset a tail call.
19986
19987 2013-11-26 Uros Bizjak <ubizjak@gmail.com>
19988
19989 * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
19990 _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
19991 warning.
19992
19993 2013-11-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19994
19995 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
19996 __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
19997 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
19998 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
19999 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
20000 __fe_nomask_env_priv and attribute_hidden.
20001 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
20002 (libc_feupdateenv_test_ppc): Likewise.
20003 (libc_feresetround_ppc): Likewise.
20004 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
20005 (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
20006 compat_symbol macro.
20007 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
20008 (__fe_nomask_env): Likewise.
20009 * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
20010
20011 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
20012
20013 * string/Makefile: Remove ifunc tests.
20014 * string/test-string.h: Define TEST_IFUNC.
20015 * string/test-bcopy-ifunc.c: Remove.
20016 * string/test-bzero-ifunc.c: Likewise.
20017 * string/test-memccpy-ifunc.c: Likewise.
20018 * string/test-memchr-ifunc.c: Likewise.
20019 * string/test-memcmp-ifunc.c: Likewise.
20020 * string/test-memcpy-ifunc.c: Likewise.
20021 * string/test-memmem-ifunc.c: Likewise.
20022 * string/test-memmove-ifunc.c: Likewise.
20023 * string/test-mempcpy-ifunc.c: Likewise.
20024 * string/test-memrchr-ifunc.c: Likewise.
20025 * string/test-memset-ifunc.c: Likewise.
20026 * string/test-rawmemchr-ifunc.c: Likewise.
20027 * string/test-stpcpy-ifunc.c: Likewise.
20028 * string/test-stpncpy-ifunc.c: Likewise.
20029 * string/test-strcasecmp-ifunc.c: Likewise.
20030 * string/test-strcasestr-ifunc.c: Likewise.
20031 * string/test-strcat-ifunc.c: Likewise.
20032 * string/test-strchr-ifunc.c: Likewise.
20033 * string/test-strchrnul-ifunc.c: Likewise.
20034 * string/test-strcmp-ifunc.c: Likewise.
20035 * string/test-strcpy-ifunc.c: Likewise.
20036 * string/test-strcspn-ifunc.c: Likewise.
20037 * string/test-strlen-ifunc.c: Likewise.
20038 * string/test-strncasecmp-ifunc.c: Likewise.
20039 * string/test-strncat-ifunc.c: Likewise.
20040 * string/test-strncmp-ifunc.c: Likewise.
20041 * string/test-strncpy-ifunc.c: Likewise.
20042 * string/test-strnlen-ifunc.c: Likewise.
20043 * string/test-strpbrk-ifunc.c: Likewise.
20044 * string/test-strrchr-ifunc.c: Likewise.
20045 * string/test-strspn-ifunc.c: Likewise.
20046 * string/test-strstr-ifunc.c: Likewise.
20047
20048 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
20049
20050 * benchtests/Makefile: Remove ifunc tests.
20051 * benchtests/bench-string.h: Define TEST_IFUNC.
20052 * benchtests/bench-bcopy-ifunc.c: Remove.
20053 * benchtests/bench-bzero-ifunc.c: Likewise.
20054 * benchtests/bench-memccpy-ifunc.c: Likewise.
20055 * benchtests/bench-memchr-ifunc.c: Likewise.
20056 * benchtests/bench-memcmp-ifunc.c: Likewise.
20057 * benchtests/bench-memcpy-ifunc.c: Likewise.
20058 * benchtests/bench-memmem-ifunc.c: Likewise.
20059 * benchtests/bench-memmove-ifunc.c: Likewise.
20060 * benchtests/bench-mempcpy-ifunc.c: Likewise.
20061 * benchtests/bench-memrchr-ifunc.c: Likewise.
20062 * benchtests/bench-memset-ifunc.c: Likewise.
20063 * benchtests/bench-rawmemchr-ifunc.c: Likewise.
20064 * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
20065 * benchtests/bench-stpcpy-ifunc.c: Likewise.
20066 * benchtests/bench-stpncpy-ifunc.c: Likewise.
20067 * benchtests/bench-strcasecmp-ifunc.c: Likewise.
20068 * benchtests/bench-strcasestr-ifunc.c: Likewise.
20069 * benchtests/bench-strcat-ifunc.c: Likewise.
20070 * benchtests/bench-strchr-ifunc.c: Likewise.
20071 * benchtests/bench-strchrnul-ifunc.c: Likewise.
20072 * benchtests/bench-strcmp-ifunc.c: Likewise.
20073 * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
20074 * benchtests/bench-strcpy-ifunc.c: Likewise.
20075 * benchtests/bench-strcspn-ifunc.c: Likewise.
20076 * benchtests/bench-strlen-ifunc.c: Likewise.
20077 * benchtests/bench-strncasecmp-ifunc.c: Likewise.
20078 * benchtests/bench-strncat-ifunc.c: Likewise.
20079 * benchtests/bench-strncmp-ifunc.c: Likewise.
20080 * benchtests/bench-strncpy-ifunc.c: Likewise.
20081 * benchtests/bench-strnlen-ifunc.c: Likewise.
20082 * benchtests/bench-strpbrk-ifunc.c: Likewise.
20083 * benchtests/bench-strrchr-ifunc.c: Likewise.
20084 * benchtests/bench-strsep-ifunc.c: Likewise.
20085 * benchtests/bench-strspn-ifunc.c: Likewise.
20086 * benchtests/bench-strstr-ifunc.c: Likewise.
20087
20088 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
20089
20090 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
20091
20092 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
20093
20094 * resolv/netdb.h: Use __glibc_reserved instead __unused.
20095 * rt/aio.h: Likewise.
20096 * sysdeps/gnu/bits/utmp.h: Likewise.
20097 * sysdeps/gnu/bits/utmpx.h: Likewise.
20098 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
20099 * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
20100 * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
20101 * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
20102 * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
20103 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
20104 * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
20105 * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
20106 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
20107 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
20108 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
20109 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
20110 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
20111 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
20112 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
20113 * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
20114 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
20115 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
20116 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
20117 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
20118 * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
20119 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
20120 * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
20121 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
20122 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
20123 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
20124 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
20125 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
20126 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
20127 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
20128 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
20129 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
20130 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
20131 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
20132 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
20133 * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
20134 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
20135 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
20136 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
20137 * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
20138 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
20139 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
20140
20141 2013-11-25 Carlos O'Donell <carlos@redhat.com>
20142
20143 [BZ #16245]
20144 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
20145 Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
20146
20147 2013-11-25 Joseph Myers <joseph@codesourcery.com>
20148
20149 * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
20150 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
20151 Likewise.
20152
20153 2013-11-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20154
20155 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
20156 SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
20157 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
20158 (__fesetround): Remove define.
20159 * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
20160 rounding and exceptions handling.
20161 * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
20162 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
20163 (__fe_nomask_env): Likewise.
20164 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
20165 __fegetround instead of fegetround.
20166 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
20167 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
20168
20169 2013-11-21 Roland McGrath <roland@hack.frob.com>
20170
20171 * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
20172 it's there.
20173
20174 * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
20175
20176 2013-11-21 Meador Inge <meadori@codesourcery.com>
20177
20178 [BZ #11157]
20179 * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
20180 (encrypt_r): Likewise.
20181 * malloc/obstack.h (obstack_free): Likewise.
20182 * posix/unistd.h (encrypt): Likewise.
20183
20184 2013-11-21 Guy Martin <gmsoft@tuxicoman.be>
20185
20186 * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
20187 DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
20188 DL_CALL_DT_FINI() that call the functions directly.
20189 * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
20190 * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
20191 * elf/dl-fini.c: Likewise.
20192
20193 2013-11-20 Ondřej Bílka <neleai@seznam.cz>
20194
20195 * malloc/hooks.c (memalign_check): Add alignment rounding.
20196 * malloc/malloc.c (_mid_memalign): New function.
20197 (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
20198 Implement by calling _mid_memalign.
20199 * manual/probes.texi (Memory Allocation Probes): Remove
20200 memory_valloc_retry and memory_pvalloc_retry.
20201
20202 2013-11-20 Siddhesh Poyarekar <siddhesh@redhat.com>
20203
20204 * locale/programs/locarchive.c (open_archive): Add const
20205 qualifier to ARCHIVEFNAME and copy default fname to
20206 DEFAULT_FNAME.
20207
20208 [BZ #15601]
20209 * libio/tst-widetext.input: Rename Oriya to Odia.
20210 * locale/iso-639.def: Likewise.
20211
20212 * manual/probes.texi (Mathematical Function Probes): Add
20213 documentation for sin, cos, asin and acos probes.
20214 * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
20215 (__sin32): Add slowasin probe.
20216 (__cos32): Add slowacos probe.
20217 (__mpsin): Add slowsin probe.
20218 (__mpcos): Add slowcos probe.
20219
20220 2013-11-19 Joseph Myers <joseph@codesourcery.com>
20221
20222 [BZ #15483]
20223 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
20224 thread-local __sim_exceptions_thread and global
20225 __sim_exceptions_global.
20226 (__sim_disabled_exceptions): Change to thread-local
20227 __sim_disabled_exceptions_thread and global
20228 __sim_disabled_exceptions_global.
20229 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
20230 and global __sim_round_mode_global.
20231 (__simulate_exceptions): Use thread-local floating-point state and
20232 set global state from it as needed.
20233 * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
20234 __sim_exceptions_thread, __sim_disabled_exceptions_thread and
20235 __sim_round_mode_thread.
20236 * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
20237 (__sim_exceptions): Change to thread-local __sim_exceptions_thread
20238 and global __sim_exceptions_global.
20239 (__sim_disabled_exceptions): Change to thread-local
20240 __sim_disabled_exceptions_thread and global
20241 __sim_disabled_exceptions_global.
20242 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
20243 and global __sim_round_mode_global.
20244 [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
20245 (SIM_SET_GLOBAL): Likewise.
20246 * sysdeps/powerpc/soft-fp/sfp-machine.h
20247 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
20248 __sim_round_mode_thread.
20249 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
20250 __sim_disabled_exceptions_thread.
20251 (__sim_exceptions): Change to __sim_exceptions_thread.
20252 (__sim_disabled_exceptions): Change to
20253 __sim_disabled_exceptions_thread.
20254 (__sim_round_mode): Change to __sim_round_mode_thread.
20255 * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
20256 thread-local floating-point state and set global state from it as
20257 needed.
20258 * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
20259 * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
20260 (__sim_disabled_exceptions): Remove extern declaration.
20261 (feenableexcept): Use thread-local floating-point state and set
20262 global state from it as needed.
20263 * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
20264 extern declaration.
20265 (__sim_disabled_exceptions): Likewise.
20266 (__sim_round_mode): Likewise.
20267 (__fegetenv): Use thread-local floating-point state.
20268 * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
20269 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
20270 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
20271 floating-point state and set global state from it as needed.
20272 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
20273 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
20274 * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
20275 Likewise.
20276 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
20277 * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
20278 Likewise.
20279 sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
20280 * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
20281 Use __sim_round_mode_thread.
20282 * math/test-fenv-tls.c: New file.
20283 * math/Makefile (tests): Add test-fenv-tls.
20284 ($(objpfx)test-fenv-tls): Depend on
20285 $(common-objpfx)nptl/libpthread.so.
20286
20287 2013-11-19 Andreas Schwab <schwab@suse.de>
20288
20289 * locale/programs/locale.c (show_info): Decode wordarray elements.
20290 * locale/categories.def (LC_MONETARY): Add element for
20291 _NL_MONETARY_CRNCYSTR.
20292 * locale/C-monetary.c (conversion_rate): New variable.
20293 (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
20294 element.
20295
20296 2013-11-18 Chris Metcalf <cmetcalf@tilera.com>
20297
20298 * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
20299 Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
20300
20301 2013-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
20302
20303 * elf/Makefile (tst-auxv): New test.
20304 * elf/tst-auxv.c: New
20305 * elf/rtld.c (dl_main): Adjust AT_EXECFN
20306
20307 2013-11-18 Joseph Myers <joseph@codesourcery.com>
20308
20309 * include/libc-symbols.h (__hidden_proto): Add argument "thread".
20310 (hidden_proto): Caller changed.
20311 (hidden_tls_proto): New macro.
20312 (libc_hidden_tls_proto): Likewise.
20313 (rtld_hidden_tls_proto): Likewise.
20314 (libm_hidden_tls_proto): Likewise.
20315 (libresolv_hidden_tls_proto): Likewise.
20316 (librt_hidden_tls_proto): Likewise.
20317 (libdl_hidden_tls_proto): Likewise.
20318 (libnss_files_hidden_tls_proto): Likewise.
20319 (libnsl_hidden_tls_proto): Likewise.
20320 (libnss_nisplus_hidden_tls_proto): Likewise.
20321 (libutil_hidden_tls_proto): Likewise.
20322
20323 2013-11-18 Ondřej Bílka <neleai@seznam.cz>
20324
20325 [BZ #10253]
20326 * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
20327 (decompose_rpath): Defer expansion to fillin_rpath.
20328 (_dl_init_paths): Pass linkmap to fillin_rpath.
20329
20330 2013-11-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
20331
20332 * benchtests/Makefile: Add strsep.
20333 * benchtests/bench-strsep.c: New file: strsep benchtest.
20334 * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
20335
20336 2013-11-18 Andreas Schwab <schwab@suse.de>
20337
20338 * locale/programs/locale.c (show_info) [case byte]: Check for
20339 '\377' instead of '\177'.
20340 * locale/C-monetary.c (not_available): Always use "\377".
20341 * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
20342 unspecified p_sign_posn and n_sign_posn. Check for '\377' to
20343 detect unavailable sign_posn locale elements.
20344 * locale/localeconv.c (__localeconv): For grouping and
20345 mon_grouping handle "\177" and "\377" like no grouping.
20346 (INT_ELEM): New macro. Use it to set all numeric members.
20347 * locale/programs/ld-monetary.c (monetary_read)
20348 <tok_mon_grouping>: Normalize single -1 to the empty string.
20349 * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
20350 Likewise.
20351
20352 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
20353
20354 [BZ #16055]
20355 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
20356 when we match (nil).
20357 * stdio-common/tst-sscanf.c (struct test): Add testcase.
20358
20359 2013-11-16 Joseph Myers <joseph@codesourcery.com>
20360
20361 * math/libm-test.inc (TEST_NAN_SIGN): New macro.
20362 (NO_TEST_INLINE): Update value.
20363 (ERRNO_UNCHANGED): Likewise.
20364 (ERRNO_EDOM): Likewise.
20365 (ERRNO_ERANGE): Likewise.
20366 (IGNORE_RESULT): Likewise.
20367 (check_float_internal): Check signs of NaN results if
20368 TEST_NAN_SIGN used.
20369 (check_complex): Pass TEST_NAN_SIGN flag through to second
20370 check_float_internal call.
20371 (copysign_test_data): Add tests with quiet NaNs as second
20372 argument. Use TEST_NAN_SIGN.
20373 (fabs_test_data): Add test of negative quiet NaN argument. Use
20374 TEST_NAN_SIGN.
20375 (signbit_test_data): Add tests of quiet NaN argument.
20376 * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
20377
20378 * math/gen-libm-test.pl (show_exceptions): Take extra argument
20379 $ignore_result.
20380 (parse_args): Handle function results specified as IGNORE.
20381 * math/libm-test.inc (IGNORE_RESULT): New macro.
20382 (check_float_internal): Do not check numerical result if flag
20383 IGNORE_RESULT set.
20384 (check_complex): Pass through IGNORE_RESULT to second
20385 check_float_internal call.
20386 (check_int): Do not check numerical result if flag IGNORE_RESULT
20387 set.
20388 (check_long): Likewise.
20389 (check_bool): Likewise.
20390 (check_longlong): Likewise.
20391 (lrint_test_data): Add tests of infinite and NaN arguments.
20392 (lrint_tonearest_test_data): Likewise.
20393 (lrint_towardzero_test_data): Likewise.
20394 (lrint_downward_test_data): Likewise.
20395 (lrint_upward_test_data): Likewise.
20396 (llrint_test_data): Likewise.
20397 (llrint_tonearest_test_data): Likewise.
20398 (llrint_towardzero_test_data): Likewise.
20399 (llrint_downward_test_data): Likewise.
20400 (llrint_upward_test_data): Likewise.
20401 (lround_test_data): Likewise.
20402 (llround_test_data): Likewise.
20403
20404 * math/libm-test.inc (NO_TEST_INLINE): New macro.
20405 (ERRNO_UNCHANGED): Update value.
20406 (ERRNO_EDOM): Likewise.
20407 (ERRNO_ERANGE): Likewise.
20408 (NO_TEST_INLINE_FLOAT): New macro.
20409 (NO_TEST_INLINE_DOUBLE): Likewise.
20410 (enable_test): New function.
20411 (RUN_TEST_f_f): Check enable_test before running test.
20412 (RUN_TEST_2_f): Likewise.
20413 (RUN_TEST_fff_f): Likewise.
20414 (RUN_TEST_c_f): Likewise.
20415 (RUN_TEST_f_f1): Likewise.
20416 (RUN_TEST_fF_f1): Likewise.
20417 (RUN_TEST_fI_f1): Likewise.
20418 (RUN_TEST_ffI_f1): Likewise.
20419 (RUN_TEST_c_c): Likewise.
20420 (RUN_TEST_cc_c): Likewise.
20421 (RUN_TEST_f_i): Likewise.
20422 (RUN_TEST_f_i_tg): Likewise.
20423 (RUN_TEST_ff_i_tg): Likewise.
20424 (RUN_TEST_f_b): Likewise.
20425 (RUN_TEST_f_b_tg): Likewise.
20426 (RUN_TEST_f_l): Likewise.
20427 (RUN_TEST_f_L): Likewise.
20428 (RUN_TEST_fFF_11): Likewise.
20429 (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
20430 conditionals.
20431 (cosh_test_data): Likewise.
20432 (exp_test_data): Likewise.
20433 (expm1_test_data): Likewise.
20434 (hypot_test_data): Likewise.
20435 (pow_test_data): Likewise.
20436 (sinh_test_data): Likewise.
20437 (tanh_test_data): Likewise.
20438 * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
20439 flags argument.
20440
20441 * libm-test.inc (acos_test_data): Disallow inexact exceptions for
20442 tests with quiet NaN input and output.
20443 (acosh_test_data): Likewise.
20444 (asin_test_data): Likewise.
20445 (asinh_test_data): Likewise.
20446 (atan_test_data): Likewise.
20447 (atanh_test_data): Likewise.
20448 (atan2_test_data): Likewise.
20449 (cbrt_test_data): Likewise.
20450 (cos_test_data): Likewise.
20451 (cosh_test_data): Likewise.
20452 (erf_test_data): Likewise.
20453 (erfc_test_data): Likewise.
20454 (exp_test_data): Likewise.
20455 (exp10_test_data): Likewise.
20456 (exp2_test_data): Likewise.
20457 (expm1_test_data): Likewise.
20458 (hypot_test_data): Likewise.
20459 (j0_test_data): Likewise.
20460 (j1_test_data): Likewise.
20461 (jn_test_data): Likewise.
20462 (lgamma_test_data): Likewise.
20463 (log_test_data): Likewise.
20464 (log10_test_data): Likewise.
20465 (log1p_test_data): Likewise.
20466 (log2_test_data): Likewise.
20467 (pow_test_data): Likewise.
20468 (scalb_test_data): Likewise.
20469 (sin_test_data): Likewise.
20470 (sincos_test_data): Likewise.
20471 (sinh_test_data): Likewise.
20472 (tan_test_data): Likewise.
20473 (tanh_test_data): Likewise.
20474 (tgamma_test_data): Likewise.
20475 (y0_test_data): Likewise.
20476 (y1_test_data): Likewise.
20477 (yn_test_data): Likewise.
20478
20479 [BZ #16167]
20480 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
20481 argument being NaN and avoid computations with second argument in
20482 that case.
20483 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
20484 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
20485 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
20486
20487 2013-11-15 Arun Kumar Pyasi <arun@chitwanix.com>
20488
20489 * locale/iso-639.def: Add Chitwani Tharu (the).
20490
20491 2013-11-14 Andreas Schwab <schwab@suse.de>
20492
20493 * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
20494 word instead of empty string.
20495
20496 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20497
20498 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
20499 (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
20500 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
20501 (__fe_nomask_env): Likewise.
20502
20503 2013-11-13 Steve Ellcey <sellcey@mips.com>
20504
20505 * benchtests/bench-timing.h: Include time.h.
20506
20507 2013-11-13 H.J. Lu <hongjiu.lu@intel.com>
20508
20509 [BZ #15997]
20510 * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
20511 to 3.4.0 for x32.
20512 * sysdeps/unix/sysv/linux/configure: Regenerated.
20513
20514 2013-11-13 Joseph Myers <joseph@codesourcery.com>
20515
20516 [BZ #16151]
20517 * stdlib/strtod_l.c (round_and_return): Do not consider
20518 retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
20519 exponent one less than half the least subnormal exponent.
20520 * stdlib/test-strtod-round-data: Add more tests.
20521 * stdlib/tst-strtod-round.c (tests): Regenerated.
20522
20523 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20524
20525 [BZ #14143]
20526 * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
20527 (__fe_mask_env): Likewise.
20528 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
20529 libm_hidden_proto and add function prototype.
20530 (__fe_mask_env): Add function prototype.
20531 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
20532 (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
20533 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
20534 (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
20535 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
20536 (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
20537
20538 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
20539
20540 * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
20541 set reference_name to "" to avoid passing NULL to DSO_FILENAME.
20542
20543 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
20544
20545 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
20546 of htab_find_slot().
20547
20548 2013-11-11 David S. Miller <davem@davemloft.net>
20549
20550 [BZ #16150]
20551 * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
20552 symbol in the non-vis3 case in static builds.
20553 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
20554 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
20555 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
20556 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
20557
20558 2013-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
20559
20560 [BZ #387]
20561 * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
20562 it is empty.
20563
20564 2013-11-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20565
20566 * benchtests/Makefile: Add bench-strtod.
20567 * benchtests/bench-strtod.c: New file: strtod benchtest
20568
20569 2013-11-11 Andreas Schwab <schwab@suse.de>
20570
20571 [BZ #16153]
20572 * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
20573 terminating NUL in key length.
20574
20575 2013-11-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20576
20577 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
20578 Add artificial ODP entry for vDSO symbol for PPC64.
20579 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
20580 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
20581
20582 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
20583
20584 [BZ #15374]
20585 * nss/getent.c (services_keys): Recognize services starting with digit.
20586
20587 2013-11-06 David S. Miller <davem@davemloft.net>
20588
20589 [BZ #15985]
20590 * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
20591 on pre-v9 cpus, use a fnegs+fmovs sequence instead.
20592
20593 2013-11-06 Will Newton <will.newton@linaro.org>
20594
20595 * manual/memory.texi (Malloc Examples): Remove register
20596 keyword from examples.
20597
20598 2013-11-04 Chris Leonard <cjl@sugarlabs.org>
20599
20600 * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
20601
20602 2013-11-04 Joseph Myers <joseph@codesourcery.com>
20603
20604 [BZ #6981]
20605 * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
20606 depending on [__GCC_IEC_559 > 0].
20607 [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
20608 depending on [__GCC_IEC_559_COMPLEX > 0].
20609
20610 2013-11-03 Chris Leonard <cjl@sugarlabs.org>
20611
20612 * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
20613 to iso-639.def.
20614
20615 2013-11-03 Ondřej Bílka <neleai@seznam.cz>
20616
20617 * elf/rtld.c: Remove unused NONTLS_INIT_TP.
20618
20619 2013-11-01 Ondřej Bílka <neleai@seznam.cz>
20620
20621 [BZ #16112]
20622 * malloc/malloc (malloc_info): Do not handle first bin as
20623 special case.
20624
20625 2013-11-01 Chris Leonard <cjl@sugarlabs.org>
20626
20627 * locale/iso-639.def: Add Central Nahuatl (nhn).
20628
20629 2013-11-01 Bruno Haible <bruno@clisp.org>
20630
20631 [BZ #7003]
20632 * manual/math.texi (BSD Random): Specify range upper bound as
20633 in POSIX.
20634
20635 2013-10-31 Chris Leonard <cjl@sugarlabs.org>
20636
20637 * locale/iso-639.def: Add Meadow Mari (mhr).
20638
20639 2013-10-31 Ondřej Bílka <neleai@seznam.cz>
20640
20641 [BZ #14752], [BZ #15763]
20642 * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
20643 Validate name.
20644 * rt/tst_shm.c: Add test for escaping directory.
20645
20646 2013-10-31 Andreas Schwab <schwab@suse.de>
20647
20648 [BZ #15917]
20649 * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
20650 followed by 'x' as part of digit sequence.
20651 * stdio-common/tst-sscanf.c (double_tests2): New tests.
20652
20653 2013-10-31 Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
20654
20655 [BZ #16037]
20656 * configure.ac: allow GNU Make 4.0 and greater.
20657 * configure: Regenerated.
20658
20659 2013-10-30 Will Newton <will.newton@linaro.org>
20660
20661 [BZ #16038]
20662 * malloc/hooks.c (memalign_check): Limit alignment to the
20663 maximum representable power of two.
20664 * malloc/malloc.c (__libc_memalign): Likewise.
20665 * malloc/tst-memalign.c (do_test): Add test for very
20666 large alignment values.
20667 * malloc/tst-posix_memalign.c (do_test): Likewise.
20668
20669 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
20670
20671 [BZ #11087]
20672 * malloc/malloc.c (sysmalloc): Compute statistics atomically.
20673 (munmap_chunk): Likewise.
20674 (mremap_chunk): Likewise.
20675
20676 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
20677
20678 [BZ #15799]
20679 * stdlib/div.c (div): Remove obsolete code.
20680 * stdlib/ldiv.c (ldiv): Likewise.
20681 * stdlib/lldiv.c (lldiv): Likewise.
20682
20683 2013-10-30 Siddhesh Poyarekar <siddhesh@redhat.com>
20684
20685 [BZ #16071]
20686 * nss/nss_files/files-XXX.c (get_contents_ret): New
20687 enumerator.
20688 (get_contents): New function.
20689 (internal_getent): Use it. Expand size of LINEBUFLEN.
20690
20691 2013-10-30 Mike Frysinger <vapier@gentoo.org>
20692
20693 * configure.in: Moved to ...
20694 * configure.ac: ... here. Change reference to configure.in
20695 to configure.ac.
20696 * sysdeps/arm/preconfigure.ac: ... here.
20697 configure.in to configure.ac.
20698 * sysdeps/gnu/configure.in: Moved to ...
20699 * sysdeps/gnu/configure.ac: ... here.
20700 * sysdeps/i386/configure.in: Moved to ...
20701 * sysdeps/i386/configure.ac: ... here.
20702 * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
20703 * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
20704 * sysdeps/mach/configure.in: Moved to ...
20705 * sysdeps/mach/configure.ac: ... here.
20706 * sysdeps/mach/hurd/configure.in: Moved to ...
20707 * sysdeps/mach/hurd/configure.ac: ... here.
20708 * sysdeps/powerpc/configure.in: Moved to ...
20709 * sysdeps/powerpc/configure.ac: ... here.
20710 * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
20711 * sysdeps/powerpc/powerpc32/configure.ac: ... here.
20712 * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
20713 * sysdeps/powerpc/powerpc64/configure.ac: ... here.
20714 * sysdeps/s390/s390-32/configure.in: Moved to ...
20715 * sysdeps/s390/s390-32/configure.ac: ... here.
20716 * sysdeps/s390/s390-64/configure.in: Moved to ...
20717 * sysdeps/s390/s390-64/configure.ac: ... here.
20718 * sysdeps/sh/configure.in: Moved to ...
20719 * sysdeps/sh/configure.ac: ... here.
20720 * sysdeps/sparc/configure.in: Moved to ...
20721 * sysdeps/sparc/configure.ac: ... here.
20722 * sysdeps/unix/sysv/linux/configure.in: Moved to ...
20723 * sysdeps/unix/sysv/linux/configure.ac: ... here.
20724 * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
20725 * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
20726 * sysdeps/x86_64/configure.in: Moved to ...
20727 * sysdeps/x86_64/configure.ac: ... here.
20728 * sysdeps/x86_64/preconfigure.in: Moved to ...
20729 * sysdeps/x86_64/preconfigure.ac: ... here.
20730 * aclocal.m4: Change reference to configure.in to configure.ac.
20731 * config.h.in: Likewise.
20732 * manual/install.texi: Likewise.
20733 * manual/maint.texi: Likewise.
20734 * Makefile: Likewise.
20735 * malloc/Makefile: Likewise.
20736 * nscd/Makefile: Likewise.
20737 * Makeconfig: Change reference to configure.in and
20738 preconfigure.in to configure.ac and preconfigure.ac
20739 respectively.
20740 * INSTALL: Regenerated.
20741 * configure: Likewise.
20742 * sysdeps/gnu/configure: Likewise.
20743 * sysdeps/i386/configure: Likewise.
20744 * sysdeps/ieee754/ldbl-opt/configure: Likewise.
20745 * sysdeps/mach/configure: Likewise.
20746 * sysdeps/mach/hurd/configure: Likewise.
20747 * sysdeps/powerpc/configure: Likewise.
20748 * sysdeps/powerpc/powerpc32/configure: Likewise.
20749 * sysdeps/powerpc/powerpc64/configure: Likewise.
20750 * sysdeps/s390/s390-32/configure: Likewise.
20751 * sysdeps/s390/s390-64/configure: Likewise.
20752 * sysdeps/sh/configure: Likewise.
20753 * sysdeps/sparc/configure: Likewise.
20754 * sysdeps/unix/sysv/linux/configure: Likewise.
20755 * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
20756 * sysdeps/x86_64/configure: Likewise.
20757 * sysdeps/x86_64/preconfigure: Likewise.
20758
20759 2013-10-29 Andreas Schwab <schwab@suse.de>
20760
20761 * stdio-common/Makefile (tst-swscanf-ENV): Define.
20762
20763 2013-10-28 Siddhesh Poyarekar <siddhesh@redhat.com>
20764
20765 * benchtests/pow-inputs: Add new inputs.
20766
20767 * benchtests/exp-inputs: Add new inputs.
20768
20769 * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
20770 conditional check for return value.
20771 (__cos32): Likewise.
20772
20773 2013-10-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20774
20775 * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
20776 to provide a boost for large inputs with word alignment.
20777 * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
20778 implementation based on optimized PPC64 strcpy.
20779 * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
20780 strcpy for PPC64/POWER7 based on both doubleword and word load/store.
20781 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
20782 stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
20783
20784 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
20785
20786 [BZ #2801]
20787 * manual/socket.texi (Host Names): Fix gethostbyname_r example.
20788
20789 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
20790
20791 [BZ #14876]
20792 * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
20793 * time/tst-strptime.c (day_tests): Add testcase.
20794
20795 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
20796
20797 [BZ #14029]
20798 * manual/pattern.texi: Acknowledge that fnmatch can fail.
20799
20800 2013-10-25 Fabrice Bauzac <fbauzac@debian71.nce.amadeus.net>
20801
20802 [BZ #16074]
20803 * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
20804 MAP_FAILED on error.
20805
20806 2013-10-25 Siddhesh Poyarekar <siddhesh@redhat.com>
20807
20808 [BZ #16072]
20809 * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
20810 heap for large requests.
20811
20812 2013-10-25 Aurelien Jarno <aurelien@aurel32.net>
20813
20814 [BZ #9954]
20815 * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
20816 result if the result has no associated interface.
20817 * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
20818 interface for all 127.X.Y.Z addresses.
20819
20820 2013-10-24 Chris Leonard <cjl@sugarlabs.org>
20821
20822 * locale/iso-639.def: Add Ligurian (lij)
20823
20824 2013-10-21 Ondřej Bílka <neleai@seznam.cz>
20825
20826 [BZ #15825]
20827 * sunrpc/rpc_main.c: Document rpcgen -5.
20828
20829 2013-10-19 Michael Stahl <mstahl@redhat.com>
20830
20831 * elf/rtld.c (do_preload): Print the reason why preloading failed.
20832
20833 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
20834
20835 [BZ #10278]
20836 * posix/glob.c: Match only directories when trailing slash is present.
20837 * posix/tst-gnuglob.c (my_opendir): Do not open files.
20838 (main): Add testcase.
20839
20840 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
20841
20842 [BZ #15670]
20843 * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
20844
20845 2013-10-18 Carlos O'Donell <carlos@redhat.com>
20846
20847 * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
20848 AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
20849 AUTH_DES and cindex for FIPS 140-2.
20850 (DES Encryption): Add cindex FIPS 46-3.
20851
20852 * locale/locarchive.h (struct locarhandle): Add fname.
20853 * locale/programs/localedef.c (main): Pass ARGV[remaining]
20854 if an optional argument was specified to --list-archive,
20855 otherwise NULL.
20856 * locale/programs/locarchive.c (show_archive_content): Take new
20857 argument fname and pass it via ah.fname to open_archive.
20858 * locale/programs/localedef.h: Update decl.
20859 (open_archive): If AH->fname is non-null, open that file
20860 rather than the default file name, and don't ignore ENOENT.
20861 (create_archive): Set AH.fname to NULL.
20862 (delete_locales_from_archive): Likewise.
20863 (add_locales_to_archive): Likewise.
20864 * locale/programs/locfile.c (write_all_categories): Likewise.
20865
20866 2013-10-18 Joseph Myers <joseph@codesourcery.com>
20867 Aldy Hernandez <aldyh@redhat.com>
20868
20869 * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
20870 * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
20871 * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
20872 * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
20873 * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
20874 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
20875 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
20876 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
20877 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
20878 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
20879 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
20880 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
20881 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
20882 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
20883 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
20884 Likewise.
20885 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
20886 Likewise.
20887 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
20888 Likewise.
20889 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
20890 Likewise.
20891 * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
20892 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
20893 Likewise.
20894 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
20895 * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
20896 * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
20897 * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
20898 Likewise.
20899 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
20900 * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
20901 * sysdeps/powerpc/preconfigure: Likewise.
20902 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
20903 Likewise.
20904 * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
20905 Replace contents of file by #include of <fenv_libc.h>.
20906 * sysdeps/powerpc/soft-fp/sfp-machine.h
20907 [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
20908 and <sys/prctl.h>.
20909 [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
20910 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
20911 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
20912 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
20913 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
20914 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
20915 [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
20916 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
20917 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
20918 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
20919 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
20920 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
20921 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
20922 Allow copysignl PLT reference to be missing.
20923
20924 2013-10-18 Richard Sandiford <richard@codesourcery.com>
20925 Joseph Myers <joseph@codesourcery.com
20926
20927 [BZ #15948]
20928 * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
20929 single character.
20930 (add_to_tablewc): Assert sequence of wide characters is nonempty.
20931
20932 2013-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
20933
20934 * elf/tst-tls-dlinfo.c: Don't include tls.h.
20935 * elf/tst-tls1.c: Likewise.
20936 * elf/tst-tls10.h: Likewise.
20937 * elf/tst-tls14.c: Likewise.
20938 * elf/tst-tls2.c: Likewise.
20939 * elf/tst-tls3.c: Likewise.
20940 * elf/tst-tls4.c: Likewise.
20941 * elf/tst-tls5.c: Likewise.
20942 * elf/tst-tls6.c: Likewise.
20943 * elf/tst-tls7.c: Likewise.
20944 * elf/tst-tls8.c: Likewise.
20945 * elf/tst-tls9.c: Likewise.
20946 * elf/tst-tlsmod1.c: Likewise.
20947 * elf/tst-tlsmod13.c: Likewise.
20948 * elf/tst-tlsmod13a.c: Likewise.
20949 * elf/tst-tlsmod14a.c: Likewise.
20950 * elf/tst-tlsmod16a.c: Likewise.
20951 * elf/tst-tlsmod16b.c: Likewise.
20952 * elf/tst-tlsmod2.c: Likewise.
20953 * elf/tst-tlsmod3.c: Likewise.
20954 * elf/tst-tlsmod4.c: Likewise.
20955 * elf/tst-tlsmod5.c: Likewise.
20956 * elf/tst-tlsmod6.c: Likewise.
20957
20958 2013-10-18 Ondřej Bílka <neleai@seznam.cz>
20959
20960 [BZ #12486]
20961 * malloc/malloc.c: remove checks for statistics.
20962
20963 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
20964
20965 [BZ #15277]
20966 * inet/inet_net.c (inet_network): Detect additional invalid strings.
20967 * inet/tst-network.c: Add testcase.
20968
20969 2013-10-17 Andreas Schwab <schwab@suse.de>
20970
20971 [BZ #15218]
20972 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
20973 to determine canonical name.
20974
20975 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
20976
20977 * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
20978 * sysdeps/ieee754/dbl-64/dla.h: Likewise.
20979 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
20980 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
20981 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
20982 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
20983 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
20984 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
20985 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
20986 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
20987 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
20988 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
20989 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
20990 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
20991 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
20992 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
20993 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
20994 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
20995 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
20996 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
20997 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
20998 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
20999 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
21000 * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
21001 * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
21002 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
21003 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
21004 * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
21005 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
21006 * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
21007 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
21008 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
21009 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
21010 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
21011 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
21012 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
21013 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
21014 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
21015 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
21016 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
21017 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
21018 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
21019 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
21020 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
21021 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
21022 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
21023 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
21024 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
21025 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
21026 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
21027 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
21028 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
21029 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
21030 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
21031 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
21032 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
21033 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
21034 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
21035
21036 2013-10-17 Joseph Myers <joseph@codesourcery.com>
21037
21038 [BZ #16041]
21039 * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
21040 make result into a quiet NaN.
21041
21042 2013-10-16 Joseph Myers <joseph@codesourcery.com>
21043
21044 * soft-fp/adddf3.c: Fix horizontal whitespace.
21045 * soft-fp/addsf3.c: Likewise.
21046 * soft-fp/addtf3.c: Likewise.
21047 * soft-fp/divdf3.c: Likewise.
21048 * soft-fp/divsf3.c: Likewise.
21049 * soft-fp/divtf3.c: Likewise.
21050 * soft-fp/double.h: Likewise.
21051 * soft-fp/eqdf2.c: Likewise.
21052 * soft-fp/eqsf2.c: Likewise.
21053 * soft-fp/eqtf2.c: Likewise.
21054 * soft-fp/extenddftf2.c: Likewise.
21055 * soft-fp/extended.h: Likewise.
21056 * soft-fp/extendsfdf2.c: Likewise.
21057 * soft-fp/extendsftf2.c: Likewise.
21058 * soft-fp/extendxftf2.c: Likewise.
21059 * soft-fp/fixdfdi.c: Likewise.
21060 * soft-fp/fixdfsi.c: Likewise.
21061 * soft-fp/fixdfti.c: Likewise.
21062 * soft-fp/fixsfdi.c: Likewise.
21063 * soft-fp/fixsfsi.c: Likewise.
21064 * soft-fp/fixsfti.c: Likewise.
21065 * soft-fp/fixtfdi.c: Likewise.
21066 * soft-fp/fixtfsi.c: Likewise.
21067 * soft-fp/fixtfti.c: Likewise.
21068 * soft-fp/fixunsdfdi.c: Likewise.
21069 * soft-fp/fixunsdfsi.c: Likewise.
21070 * soft-fp/fixunsdfti.c: Likewise.
21071 * soft-fp/fixunssfdi.c: Likewise.
21072 * soft-fp/fixunssfsi.c: Likewise.
21073 * soft-fp/fixunssfti.c: Likewise.
21074 * soft-fp/fixunstfdi.c: Likewise.
21075 * soft-fp/fixunstfsi.c: Likewise.
21076 * soft-fp/fixunstfti.c: Likewise.
21077 * soft-fp/floatdidf.c: Likewise.
21078 * soft-fp/floatdisf.c: Likewise.
21079 * soft-fp/floatditf.c: Likewise.
21080 * soft-fp/floatsidf.c: Likewise.
21081 * soft-fp/floatsisf.c: Likewise.
21082 * soft-fp/floatsitf.c: Likewise.
21083 * soft-fp/floattidf.c: Likewise.
21084 * soft-fp/floattisf.c: Likewise.
21085 * soft-fp/floattitf.c: Likewise.
21086 * soft-fp/floatundidf.c: Likewise.
21087 * soft-fp/floatundisf.c: Likewise.
21088 * soft-fp/floatunditf.c: Likewise.
21089 * soft-fp/floatunsidf.c: Likewise.
21090 * soft-fp/floatunsisf.c: Likewise.
21091 * soft-fp/floatunsitf.c: Likewise.
21092 * soft-fp/floatuntidf.c: Likewise.
21093 * soft-fp/floatuntisf.c: Likewise.
21094 * soft-fp/floatuntitf.c: Likewise.
21095 * soft-fp/fmadf4.c: Likewise.
21096 * soft-fp/fmasf4.c: Likewise.
21097 * soft-fp/fmatf4.c: Likewise.
21098 * soft-fp/gedf2.c: Likewise.
21099 * soft-fp/gesf2.c: Likewise.
21100 * soft-fp/getf2.c: Likewise.
21101 * soft-fp/ledf2.c: Likewise.
21102 * soft-fp/lesf2.c: Likewise.
21103 * soft-fp/letf2.c: Likewise.
21104 * soft-fp/muldf3.c: Likewise.
21105 * soft-fp/mulsf3.c: Likewise.
21106 * soft-fp/multf3.c: Likewise.
21107 * soft-fp/negdf2.c: Likewise.
21108 * soft-fp/negsf2.c: Likewise.
21109 * soft-fp/negtf2.c: Likewise.
21110 * soft-fp/op-1.h: Likewise.
21111 * soft-fp/op-2.h: Likewise.
21112 * soft-fp/op-4.h: Likewise.
21113 * soft-fp/op-8.h: Likewise.
21114 * soft-fp/op-common.h: Likewise.
21115 * soft-fp/quad.h: Likewise.
21116 * soft-fp/single.h: Likewise.
21117 * soft-fp/soft-fp.h: Likewise.
21118 * soft-fp/sqrtdf2.c: Likewise.
21119 * soft-fp/sqrtsf2.c: Likewise.
21120 * soft-fp/sqrttf2.c: Likewise.
21121 * soft-fp/subdf3.c: Likewise.
21122 * soft-fp/subsf3.c: Likewise.
21123 * soft-fp/subtf3.c: Likewise.
21124 * soft-fp/truncdfsf2.c: Likewise.
21125 * soft-fp/trunctfdf2.c: Likewise.
21126 * soft-fp/trunctfsf2.c: Likewise.
21127 * soft-fp/trunctfxf2.c: Likewise.
21128 * soft-fp/unorddf2.c: Likewise.
21129 * soft-fp/unordsf2.c: Likewise.
21130 * soft-fp/unordtf2.c: Likewise.
21131
21132 2013-10-15 Joseph Myers <joseph@codesourcery.com>
21133
21134 * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
21135 * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
21136
21137 2013-10-15 Ondřej Bílka <neleai@seznam.cz>
21138
21139 * elf/dl-libc.c: Clear initfini list after freeing.
21140
21141 2013-10-14 Joseph Myers <joseph@codesourcery.com>
21142
21143 * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
21144 * soft-fp/addsf3.c: Likewise.
21145 * soft-fp/addtf3.c: Likewise.
21146 * soft-fp/divdf3.c: Likewise.
21147 * soft-fp/divsf3.c: Likewise.
21148 * soft-fp/divtf3.c: Likewise.
21149 * soft-fp/double.h: Likewise.
21150 * soft-fp/eqdf2.c: Likewise.
21151 * soft-fp/eqsf2.c: Likewise.
21152 * soft-fp/eqtf2.c: Likewise.
21153 * soft-fp/extenddftf2.c: Likewise.
21154 * soft-fp/extended.h: Likewise.
21155 * soft-fp/extendsfdf2.c: Likewise.
21156 * soft-fp/extendsftf2.c: Likewise.
21157 * soft-fp/extendxftf2.c: Likewise.
21158 * soft-fp/fixdfdi.c: Likewise.
21159 * soft-fp/fixdfsi.c: Likewise.
21160 * soft-fp/fixdfti.c: Likewise.
21161 * soft-fp/fixsfdi.c: Likewise.
21162 * soft-fp/fixsfsi.c: Likewise.
21163 * soft-fp/fixsfti.c: Likewise.
21164 * soft-fp/fixtfdi.c: Likewise.
21165 * soft-fp/fixtfsi.c: Likewise.
21166 * soft-fp/fixtfti.c: Likewise.
21167 * soft-fp/fixunsdfdi.c: Likewise.
21168 * soft-fp/fixunsdfsi.c: Likewise.
21169 * soft-fp/fixunsdfti.c: Likewise.
21170 * soft-fp/fixunssfdi.c: Likewise.
21171 * soft-fp/fixunssfsi.c: Likewise.
21172 * soft-fp/fixunssfti.c: Likewise.
21173 * soft-fp/fixunstfdi.c: Likewise.
21174 * soft-fp/fixunstfsi.c: Likewise.
21175 * soft-fp/fixunstfti.c: Likewise.
21176 * soft-fp/floatdidf.c: Likewise.
21177 * soft-fp/floatdisf.c: Likewise.
21178 * soft-fp/floatditf.c: Likewise.
21179 * soft-fp/floatsidf.c: Likewise.
21180 * soft-fp/floatsisf.c: Likewise.
21181 * soft-fp/floatsitf.c: Likewise.
21182 * soft-fp/floattidf.c: Likewise.
21183 * soft-fp/floattisf.c: Likewise.
21184 * soft-fp/floattitf.c: Likewise.
21185 * soft-fp/floatundidf.c: Likewise.
21186 * soft-fp/floatundisf.c: Likewise.
21187 * soft-fp/floatunsidf.c: Likewise.
21188 * soft-fp/floatunsisf.c: Likewise.
21189 * soft-fp/floatuntidf.c: Likewise.
21190 * soft-fp/floatuntisf.c: Likewise.
21191 * soft-fp/floatuntitf.c: Likewise.
21192 * soft-fp/fmadf4.c: Likewise.
21193 * soft-fp/fmasf4.c: Likewise.
21194 * soft-fp/fmatf4.c: Likewise.
21195 * soft-fp/gedf2.c: Likewise.
21196 * soft-fp/gesf2.c: Likewise.
21197 * soft-fp/getf2.c: Likewise.
21198 * soft-fp/ledf2.c: Likewise.
21199 * soft-fp/lesf2.c: Likewise.
21200 * soft-fp/letf2.c: Likewise.
21201 * soft-fp/muldf3.c: Likewise.
21202 * soft-fp/mulsf3.c: Likewise.
21203 * soft-fp/multf3.c: Likewise.
21204 * soft-fp/negdf2.c: Likewise.
21205 * soft-fp/negsf2.c: Likewise.
21206 * soft-fp/negtf2.c: Likewise.
21207 * soft-fp/op-1.h: Likewise.
21208 * soft-fp/op-2.h: Likewise.
21209 * soft-fp/op-4.h: Likewise.
21210 * soft-fp/op-8.h: Likewise.
21211 * soft-fp/op-common.h: Likewise.
21212 * soft-fp/quad.h: Likewise.
21213 * soft-fp/single.h: Likewise.
21214 * soft-fp/soft-fp.h: Likewise.
21215 * soft-fp/sqrtdf2.c: Likewise.
21216 * soft-fp/sqrtsf2.c: Likewise.
21217 * soft-fp/sqrttf2.c: Likewise.
21218 * soft-fp/subdf3.c: Likewise.
21219 * soft-fp/subsf3.c: Likewise.
21220 * soft-fp/subtf3.c: Likewise.
21221 * soft-fp/truncdfsf2.c: Likewise.
21222 * soft-fp/trunctfdf2.c: Likewise.
21223 * soft-fp/trunctfsf2.c: Likewise.
21224 * soft-fp/trunctfxf2.c: Likewise.
21225 * soft-fp/unorddf2.c: Likewise.
21226 * soft-fp/unordsf2.c: Likewise.
21227 * soft-fp/unordtf2.c: Likewise.
21228
21229 2013-10-14 Ondřej Bílka <neleai@seznam.cz>
21230
21231 [BZ #15672]
21232 * misc/error.c (error_tail): Fix possible buffer overflow.
21233
21234 2013-10-14 Aurelien Jarno <aurelien@aurel32.net>
21235
21236 [BZ #13028]
21237 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
21238 address.
21239
21240 2013-10-14 P. J. McDermott <pj@pehjota.net>
21241
21242 [BZ #832]
21243 * elf/ldd.bash.in (try_trace): New function. Delete previous code
21244 testing pipefail option.
21245
21246 2013-10-12 Joseph Myers <joseph@codesourcery.com>
21247
21248 * soft-fp/double.h: Indent preprocessor directives inside #if.
21249 * soft-fp/extended.h: Likewise.
21250 * soft-fp/op-2.h: Likewise.
21251 * soft-fp/op-4.h: Likewise.
21252 * soft-fp/op-common.h: Likewise.
21253 * soft-fp/quad.h: Likewise.
21254 * soft-fp/single.h: Likewise.
21255 * soft-fp/soft-fp.h: Likewise.
21256
21257 2013-10-12 Yuri Chornoivan <yurchor@ukr.net>
21258
21259 * iconv/iconv_prog.c: Fix typos.
21260 * stdio-common/psiginfo-data.h: Likewise.
21261
21262 2013-10-12 Reuben Thomas <rrt@sc3d.org>
21263
21264 [BZ #15764]
21265 * locale/setlocale.c: Fix typo.
21266
21267 2013-10-12 Joseph Myers <joseph@codesourcery.com>
21268
21269 [BZ #16036]
21270 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
21271 signaling NaN arguments.
21272 * soft-fp/unordsf2.c (__unordsf2): Likewise.
21273 * soft-fp/unordtf2.c (__unordtf2): Likewise.
21274
21275 [BZ #14910]
21276 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
21277 unordered operands.
21278 * soft-fp/gesf2.c (__gesf2): Likewise.
21279 * soft-fp/getf2.c (__getf2): Likewise.
21280 * soft-fp/ledf2.c (__ledf2): Likewise.
21281 * soft-fp/lesf2.c (__lesf2): Likewise.
21282 * soft-fp/letf2.c (__letf2): Likewise.
21283
21284 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
21285 * soft-fp/eqsf2.c (__eqsf2): Likewise.
21286 * soft-fp/eqtf2.c (__eqtf2): Likewise.
21287 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
21288 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
21289 * soft-fp/fixdfti.c (__fixdfti): Likewise.
21290 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
21291 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
21292 * soft-fp/fixsfti.c (__fixsfti): Likewise.
21293 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
21294 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
21295 * soft-fp/fixtfti.c (__fixtfti): Likewise.
21296 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
21297 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
21298 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
21299 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
21300 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
21301 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
21302 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
21303 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
21304 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
21305 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
21306 * soft-fp/floatdisf.c (__floatdisf): Likewise.
21307 * soft-fp/floatsisf.c (__floatsisf): Likewise.
21308 * soft-fp/floattidf.c (__floattidf): Likewise.
21309 * soft-fp/floattisf.c (__floattisf): Likewise.
21310 * soft-fp/floattitf.c (__floattitf): Likewise.
21311 * soft-fp/floatundidf.c (__floatundidf): Likewise.
21312 * soft-fp/floatundisf.c (__floatundisf): Likewise.
21313 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
21314 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
21315 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
21316 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
21317 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
21318 * soft-fp/gesf2.c (__gesf2): Likewise.
21319 * soft-fp/getf2.c (__getf2): Likewise.
21320 * soft-fp/ledf2.c (__ledf2): Likewise.
21321 * soft-fp/lesf2.c (__lesf2): Likewise.
21322 * soft-fp/letf2.c (__letf2): Likewise.
21323
21324 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
21325 Undefine and redefine.
21326 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
21327 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
21328 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
21329 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
21330 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
21331 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
21332 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
21333 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
21334 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
21335 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
21336 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
21337 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
21338 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
21339 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
21340 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
21341
21342 [BZ #16032]
21343 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
21344 without decrementing exponent if mantissa >= that for the
21345 denominator, not >.
21346 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
21347 denominator, not >. Decrement exponent in < case instead of
21348 incrementing in >= case.
21349 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
21350 without decrementing exponent if mantissa >= that for the
21351 denominator, not >.
21352
21353 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
21354 computing saturated result for unsigned overflow.
21355
21356 2013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
21357 Jeff Law <law@redhat.com>
21358
21359 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
21360 (atan2Mp): Add systemtap probe marker.
21361 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
21362 (__ieee754_log): Add systemtap probe marker.
21363 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
21364 (atanMp): Add systemtap probe marker.
21365 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
21366 (tanMp): Add systemtap probe marker.
21367 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
21368 (__slowexp): Add systemtap probe marker.
21369 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
21370 (__slowpow): Add systemtap probe marker.
21371 * manual/probes.texi: Document probes.
21372
21373 2013-10-11 Eric Biggers <ebiggers3@gmail.com>
21374
21375 [BZ #15362]
21376 * libio/fileops.c (_IO_new_file_write): Return count of bytes
21377 written.
21378 (_IO_new_file_xsputn): Don't return EOF if nothing has been
21379 written.
21380 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
21381 written to buffer but not flushed.
21382 * libio/iofwrite_u.c: Likewise.
21383 * libio/iopadn.c: Return bytes returned even if EOF was
21384 encountered.
21385 * libio/iowpadn.c: Likewise.
21386 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
21387 if _IO_padn does not write the whole buffer.
21388 [!COMPILE_WPRINTF] (PAD): Likewise.
21389
21390 2013-10-10 David S. Miller <davem@davemloft.net>
21391
21392 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
21393 directory block.
21394
21395 2013-10-10 Joseph Myers <joseph@codesourcery.com>
21396
21397 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
21398 instead of FSF address.
21399 * soft-fp/fixdfti.c: Likewise.
21400 * soft-fp/fixsfti.c: Likewise.
21401 * soft-fp/fixtfti.c: Likewise.
21402 * soft-fp/fixunsdfti.c: Likewise.
21403 * soft-fp/fixunssfti.c: Likewise.
21404 * soft-fp/fixunstfti.c: Likewise.
21405 * soft-fp/floattidf.c: Likewise.
21406 * soft-fp/floattisf.c: Likewise.
21407 * soft-fp/floattitf.c: Likewise.
21408 * soft-fp/floatuntidf.c: Likewise.
21409 * soft-fp/floatuntisf.c: Likewise.
21410 * soft-fp/floatuntitf.c: Likewise.
21411 * soft-fp/trunctfxf2.c: Likewise.
21412
21413 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
21414 * soft-fp/fixdfti.c: Likewise.
21415 * soft-fp/fixsfti.c: Likewise.
21416 * soft-fp/fixtfti.c: Likewise.
21417 * soft-fp/fixunsdfti.c: Likewise.
21418 * soft-fp/fixunssfti.c: Likewise.
21419 * soft-fp/fixunstfti.c: Likewise.
21420 * soft-fp/floattidf.c: Likewise.
21421 * soft-fp/floattisf.c: Likewise.
21422 * soft-fp/floattitf.c: Likewise.
21423 * soft-fp/floatuntidf.c: Likewise.
21424 * soft-fp/floatuntisf.c: Likewise.
21425 * soft-fp/floatuntitf.c: Likewise.
21426 * soft-fp/trunctfxf2.c: Likewise.
21427
21428 2013-10-10 David S. Miller <davem@davemloft.net>
21429
21430 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21431
21432 2013-10-10 Joseph Myers <joseph@codsourcery.com>
21433
21434 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
21435 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
21436 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
21437 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
21438 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
21439 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
21440 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
21441
21442 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
21443 for NaNs before doing comparisons on argument.
21444 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
21445 Likewise.
21446
21447 2013-10-10 Will Newton <will.newton@linaro.org>
21448
21449 * malloc/hooks.c (memalign_check): Ensure the value of bytes
21450 passed to _int_memalign does not overflow.
21451
21452 2013-10-10 Torvald Riegel <triegel@redhat.com>
21453
21454 * scripts/bench.pl: Add include-sources directive.
21455 * benchtests/README: Update documentation.
21456
21457 2013-10-10 Joseph Myers <joseph@codesourcery.com>
21458
21459 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
21460 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
21461 instead of FP_INIT_ROUNDMODE.
21462 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
21463 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
21464
21465 [BZ #16034]
21466 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
21467 copy class of input value.
21468 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
21469 not handle exceptions.
21470 * soft-fp/negsf2.c (__negsf2): Likewise.
21471 * soft-fp/negtf2.c (__negtf2): Likewise.
21472 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
21473
21474 2013-10-09 Joseph Myers <joseph@codesourcery.com>
21475
21476 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
21477 semicolon. From Linux kernel.
21478
21479 2013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
21480
21481 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
21482
21483 2013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
21484
21485 [BZ #156]
21486 * manual/socket.texi: Added statement about buffer
21487 for gethostbyname2_r.
21488
21489 2013-10-08 Ondřej Bílka <neleai@seznam.cz>
21490
21491 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
21492 Use .p2align directive instead, throughout.
21493 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
21494 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
21495 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
21496 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
21497 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
21498 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
21499 * sysdeps/x86_64/strchr.S: Likewise.
21500 * sysdeps/x86_64/strrchr.S: Likewise.
21501
21502 2013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
21503
21504 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
21505
21506 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
21507
21508 * sysdeps/generic/math_private.h (__mpsin1): Remove
21509 declaration.
21510 (__mpcos1): Likewise.
21511 (__mpsin): New argument __range_reduce.
21512 (__mpcos): Likewise.
21513 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
21514 (slow): Use __mpsin and __mpcos.
21515 (slow1): Likewise.
21516 (slow2): Likewise.
21517 (sloww): Likewise.
21518 (sloww1): Likewise.
21519 (sloww2): Likewise.
21520 (bsloww): Likewise.
21521 (bsloww1): Likewise.
21522 (bsloww2): Likewise.
21523 (cslow2): Likewise.
21524 (csloww): Likewise.
21525 (csloww1): Likewise.
21526 (csloww2): Likewise.
21527 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
21528 range_reduce. Merge in __mpsin1.
21529 (__mpcos): Likewise.
21530 (__mpsin1): Remove.
21531 (__mpcos1): Likewise.
21532
21533 2013-10-07 Joseph Myers <joseph@codesourcery.com>
21534
21535 * locale/loadlocale.c (_nl_intern_locale_data): Use
21536 LOCFILE_ALIGNED_P.
21537 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
21538 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
21539 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
21540 obstack data is appropriately aligned.
21541 (obstack_int32_grow_fast): Likewise.
21542 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
21543 * locale/programs/locfile.c (add_locale_uint32): Likewise.
21544 (add_locale_uint32_array): Likewise.
21545
21546 2013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
21547
21548 * benchtests/Makefile: Remove ARGLIST and RET variables.
21549 ($(objpfx)bench-%.c): Pass only function name to the script.
21550 * benchtests/README: Update documentation.
21551 * benchtests/acos-inputs: Add new directives.
21552 * benchtests/acosh-inputs: Likewise.
21553 * benchtests/asin-inputs: Likewise.
21554 * benchtests/asinh-inputs: Likewise.
21555 * benchtests/atan-inputs: Likewise.
21556 * benchtests/atanh-inputs: Likewise.
21557 * benchtests/cos-inputs: Likewise.
21558 * benchtests/cosh-inputs: Likewise.
21559 * benchtests/exp-inputs: Likewise.
21560 * benchtests/log-inputs: Likewise.
21561 * benchtests/pow-inputs: Likewise.
21562 * benchtests/rint-inputs: Likewise.
21563 * benchtests/sin-inputs: Likewise.
21564 * benchtests/sinh-inputs: Likewise.
21565 * benchtests/tan-inputs: Likewise.
21566 * benchtests/tanh-inputs: Likewise.
21567 * scripts/bench.pl: Add support for new directives.
21568
21569 2013-10-07 Alan Modra <amodra@gmail.com>
21570
21571 * README: Fix careless merge.
21572
21573 2013-10-05 Alan Modra <amodra@gmail.com>
21574
21575 * NEWS: Mention powerpc64le support and bugs fixed.
21576 * README: Both big-endian and little-endian powerpc64 supported.
21577
21578 2013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
21579
21580 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
21581 (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
21582 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
21583 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
21584
21585 2013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
21586
21587 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
21588 match prototype.
21589
21590 2013-10-04 Joseph Myers <joseph@codesourcery.com>
21591
21592 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
21593 Move -mhard-float appending from
21594 ports/sysdeps/powerpc/powerpc32/Makefile.
21595 [$(with-fp) = yes] (ASFLAGS): Likewise.
21596 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
21597 * sysdeps/powerpc/nofpu: Move directory from
21598 ports/sysdeps/powerpc/nofpu.
21599 * sysdeps/powerpc/soft-fp: Move directory from
21600 ports/sysdeps/powerpc/soft-fp.
21601 * sysdeps/powerpc/powerpc32/405: Move directory from
21602 ports/sysdeps/powerpc/powerpc32/405.
21603 * sysdeps/powerpc/powerpc32/440: Move directory from
21604 ports/sysdeps/powerpc/powerpc32/440.
21605 * sysdeps/powerpc/powerpc32/464: Move directory from
21606 ports/sysdeps/powerpc/powerpc32/464.
21607 * sysdeps/powerpc/powerpc32/476: Move directory from
21608 ports/sysdeps/powerpc/powerpc32/476.
21609 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
21610 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
21611 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
21612 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
21613 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
21614 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
21615 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
21616 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
21617 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
21618 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
21619 * README: Update for powerpc-*-linux-gnu software floating point
21620 support in libc.
21621
21622 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
21623 case to powerpc/powerpc32*.
21624 * sysdeps/unix/sysv/linux/configure: Regenerated.
21625
21626 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
21627 (_FPU_MASK_OM): Define as 0x04.
21628 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
21629 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
21630 0x00c10080.
21631 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
21632 0x0000003c.
21633 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
21634
21635 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
21636 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
21637 getcontext_e500.
21638 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
21639 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
21640 setcontext_e500.
21641 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
21642 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
21643 and setcontext_e500.
21644
21645 2013-10-04 Chris Leonard <cjl@sugarlabs,.org>
21646
21647 * locale/iso-3166.def: Update iso-1366.def and related occurrences
21648
21649 2013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
21650
21651 * manual/threads.texi (Default Thread Attributes): Fix typo.
21652
21653 2013-10-04 Will Newton <will.newton@linaro.org>
21654
21655 * malloc/Makefile: Add tst-memalign.
21656 * malloc/tst-memalign.c: New file.
21657
21658 * malloc/tst-posix_memalign.c: Add comments.
21659 (do_test): Add comments and call free on all potentially
21660 allocated pointers. Add space after cast.
21661
21662 * malloc/tst-pvalloc.c: Add comments.
21663 (do_test): Add comments and call free on all potentially
21664 allocated pointers. Remove duplicate check for NULL pointer.
21665 Add space after cast.
21666
21667 * malloc/tst-valloc.c: Add comments.
21668 (do_test): Add comments and call free on all potentially
21669 allocated pointers. Remove duplicate check for NULL pointer.
21670 Add space after cast.
21671
21672 2013-10-04 Alan Modra <amodra@gmail.com>
21673
21674 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
21675 Use stdint types in rather than __attribute__((mode())).
21676 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
21677
21678 2013-10-04 Alan Modra <amodra@gmail.com>
21679
21680 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
21681 Correct handling of unaligned relocs for little-endian.
21682 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
21683
21684 2013-10-04 Alan Modra <amodra@gmail.com>
21685
21686 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
21687 * configure: Regenerate.
21688 * nptl/shlib-versions: Powerpc*le starts at 2.18.
21689 * shlib-versions: Likewise.
21690
21691 2013-10-04 Alan Modra <amodra@gmail.com>
21692
21693 * string/tester.c (test_memrchr): Increment reported test cycle.
21694
21695 2013-10-04 Alan Modra <amodra@gmail.com>
21696
21697 * string/test-memcpy.c (do_one_test): When reporting errors, print
21698 string address and don't overrun end of string.
21699
21700 2013-10-04 Alan Modra <amodra@gmail.com>
21701
21702 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
21703 insrdi. Make better use of reg selection to speed exit slightly.
21704 Schedule entry path a little better. Remove useless "are we done"
21705 checks on entry to main loop. Handle wrapping around zero address.
21706 Correct main loop count. Handle single left-over word from main
21707 loop inline rather than by using loop_small. Remove extra word
21708 case in loop_small caused by wrong loop count. Add little-endian
21709 support.
21710 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
21711 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
21712 cache hint.
21713 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
21714 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
21715 support. Avoid rlwimi.
21716 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
21717
21718 2013-10-04 Alan Modra <amodra@gmail.com>
21719
21720 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
21721 insrdi. Formatting.
21722 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
21723 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
21724 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
21725 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
21726 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
21727 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
21728
21729 2013-10-04 Alan Modra <amodra@gmail.com>
21730
21731 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
21732 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
21733 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
21734 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
21735 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
21736 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
21737 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
21738 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
21739 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
21740 use of regs. Use power7 mtocrf. Tidy function tails.
21741
21742 2013-10-04 Alan Modra <amodra@gmail.com>
21743
21744 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
21745 Formatting. Consistently use rXXX register defines or rN defines.
21746 Use early exit labels that avoid restoring unused non-volatile regs.
21747 Make cr field use more consistent with rWORDn compares. Rename
21748 regs used as shift registers for unaligned loop, using rN defines
21749 for short lifetime/multiple use regs.
21750 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
21751 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
21752 addi 1,1,64 to pop stack frame. Simplify return value code.
21753 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
21754
21755 2013-10-04 Alan Modra <amodra@gmail.com>
21756
21757 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
21758 support. Correct typos, formatting. Optimize tail. Use insrdi
21759 rather than rlwimi.
21760 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
21761 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
21762 little-endian support. Correct typos.
21763 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
21764 rather than rlwimi.
21765 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
21766 in loop and entry code to keep "and." results.
21767 (strchr): Add little-endian support. Comment. Move cntlzd
21768 earlier in tail.
21769 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
21770
21771 2013-10-04 Alan Modra <amodra@gmail.com>
21772
21773 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
21774 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
21775 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
21776 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
21777
21778 2013-10-04 Alan Modra <amodra@gmail.com>
21779
21780 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
21781 (rTMP): Define as r11.
21782 (strcmp): Add little-endian support. Optimise tail.
21783 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
21784 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
21785 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
21786 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
21787 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
21788 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
21789 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
21790
21791 2013-10-04 Alan Modra <amodra@gmail.com>
21792
21793 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
21794 little-endian support. Remove unnecessary "are we done" tests.
21795 Handle "s" wrapping around zero and extremely large "size".
21796 Correct main loop count. Handle single left-over word from main
21797 loop inline rather than by using small_loop. Correct comments.
21798 Delete "zero" tail, use "end_max" instead.
21799 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
21800
21801 2013-10-04 Alan Modra <amodra@gmail.com>
21802
21803 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
21804 support. Don't branch over align.
21805 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
21806 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
21807 support. Rearrange tmp reg use to suit. Comment.
21808 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
21809
21810 2013-10-04 Alan Modra <amodra@gmail.com>
21811
21812 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
21813
21814 2013-10-04 Alan Modra <amodra@gmail.com>
21815
21816 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
21817 conditional form of branch and link when obtaining pc.
21818 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
21819
21820 2013-10-04 Alan Modra <amodra@gmail.com>
21821
21822 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
21823 HIWORD/LOWORD.
21824 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
21825 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
21826
21827 2013-10-04 Alan Modra <amodra@gmail.com>
21828
21829 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
21830 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
21831 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
21832 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
21833 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
21834 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
21835 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
21836 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
21837 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
21838 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
21839
21840 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
21841 Alistair Popple <alistair@ozlabs.au.ibm.com>
21842 Alan Modra <amodra@gmail.com>
21843
21844 [BZ #15723]
21845 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
21846 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
21847 _dl_hwcap access for little-endian.
21848 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
21849 destroy vmx regs when saving unaligned.
21850 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
21851 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
21852 destroy vmx regs when saving unaligned.
21853
21854 2013-10-04 Alan Modra <amodra@gmail.com>
21855
21856 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
21857 Don't use a union to pack hi/low value.
21858
21859 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
21860
21861 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
21862 for little-endian.
21863 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
21864 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
21865 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
21866 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
21867 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
21868
21869 2013-10-04 Alan Modra <amodra@gmail.com>
21870
21871 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
21872 constants to usual value for .cst8 section, and remove redundant
21873 high address load.
21874 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
21875 constant for 0x1p52. Load little-endian words of double from
21876 correct stack offsets.
21877
21878 2013-10-04 Alan Modra <amodra@gmail.com>
21879
21880 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
21881 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
21882 words of double from correct stack offsets.
21883 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
21884 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
21885 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
21886 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
21887 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
21888 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
21889 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
21890 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
21891 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
21892 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
21893 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
21894 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
21895 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
21896 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
21897 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
21898 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
21899 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
21900
21901 2013-10-04 Alan Modra <amodra@gmail.com>
21902
21903 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
21904 64-bit int/double union.
21905 (_FPU_SETCW): Likewise.
21906 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
21907 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
21908
21909 2013-10-04 Alan Modra <amodra@gmail.com>
21910
21911 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
21912 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
21913
21914 2013-10-04 Alan Modra <amodra@gmail.com>
21915
21916 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
21917 use vector int constants.
21918 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
21919
21920 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
21921
21922 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
21923 array with long long.
21924 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
21925 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
21926 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
21927 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
21928 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
21929 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
21930 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
21931 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
21932 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
21933 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
21934 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
21935 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
21936 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
21937
21938 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
21939
21940 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
21941 (__signbit): Likewise. Correct for little-endian.
21942 (__signbitl): Call __signbit.
21943 (lrint): Correct for little-endian.
21944 (lrintf): Call lrint.
21945
21946 2013-10-04 Alan Modra <amodra@gmail.com>
21947
21948 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
21949 union 32-bit int array member with 64-bit int array.
21950 (t515, tm256): Double rather than long double.
21951 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
21952
21953 2013-10-04 Alan Modra <amodra@gmail.com>
21954
21955 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
21956 Delete.
21957 (IEEE854_LONG_DOUBLE_BIAS): Delete.
21958 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
21959 version of math_ldbl.h.
21960
21961 2013-10-04 Alan Modra <amodra@gmail.com>
21962
21963 [BZ #15734], [BZ #15735]
21964 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
21965 all uses of ieee875 long double macros and unions. Simplify test
21966 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
21967 ldbl_extract_mantissa value for ix,iy exponents. Properly
21968 normalize after ldbl_extract_mantissa, and don't add hidden bit
21969 already handled. Don't treat low word of ieee854 mantissa like
21970 low word of IBM long double and mask off bit when testing for
21971 zero.
21972 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
21973 all uses of ieee875 long double macros and unions. Simplify tests
21974 for 0.0L and inf. Correct double adjustment of k. Delete dead code
21975 adjusting ha,hb. Simplify code setting kld. Delete two600 and
21976 two1022, instead use their values. Recognise that tests for large
21977 "a" and small "b" are mutually exclusive. Rename vars. Comment.
21978 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
21979 Rewrite all uses of ieee875 long double macros and unions. Simplify
21980 test for 0.0L and nan. Correct negation.
21981 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
21982 ieee875 long double macros and unions. Correct output for large
21983 magnitude x. Correct absolute value calculation.
21984 (__erfcl): Likewise.
21985 * math/libm-test.inc: Add tests for errors discovered in IBM long
21986 double versions of fmodl, remainderl, erfl and erfcl.
21987
21988 2013-10-04 Alan Modra <amodra@gmail.com>
21989
21990 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
21991 all uses of ieee854 long double macros and unions. Simplify tests
21992 for long doubles that are fully specified by the high double.
21993 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
21994 Likewise.
21995 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
21996 Remove dead code too.
21997 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
21998 (__ieee754_ynl): Likewise.
21999 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
22000 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
22001 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
22002 Remove dead code too.
22003 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
22004 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
22005 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
22006 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
22007 Simplify.
22008 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
22009 Simplify.
22010 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
22011 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
22012 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
22013 Comment on variable precision.
22014 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
22015 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
22016 Likewise.
22017 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
22018 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
22019 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
22020 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
22021 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
22022
22023 2013-10-04 Alan Modra <amodra@gmail.com>
22024
22025 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
22026 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
22027 all uses of ieee854 long double macros and unions.
22028 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
22029 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
22030 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
22031 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
22032 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
22033 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
22034 Likewise.
22035 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
22036 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
22037 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
22038 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
22039 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
22040 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
22041 Simplify sign and nan test too.
22042 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
22043 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
22044 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
22045 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
22046 Likewise.
22047 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
22048 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
22049 Likewise.
22050 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
22051 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
22052 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
22053 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
22054 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
22055 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
22056
22057 2013-10-04 Alan Modra <amodra@gmail.com>
22058
22059 * stdio-common/printf_size.c (__printf_size): Don't use
22060 union ieee854_long_double in fpnum union.
22061 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
22062 signbit macro to retrieve sign from long double.
22063 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
22064 retrieve sign from long double.
22065 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
22066 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
22067 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
22068 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
22069 * math/test-misc.c (main): Don't use union ieee854_long_double.
22070
22071 2013-10-04 Alan Modra <amodra@gmail.com>
22072
22073 [BZ #15680]
22074 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
22075 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
22076 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
22077 calculation. Remove unnecessary test for denormal exponent.
22078 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
22079 Correct handling of denormals. Avoid undefined shift behaviour.
22080 Correct normalisation of low mantissa when low double is denormal.
22081 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
22082 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
22083 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
22084 Correct normalisation of low mantissa. Test for overflow of high
22085 mantissa and normalise.
22086 (ldbl_nearbyint): Use more readable constant for two52.
22087 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
22088 (__mpn_construct_long_double): Fix test for overflow of high
22089 mantissa and correct normalisation. Avoid undefined shift.
22090
22091 2013-10-04 Alan Modra <amodra@gmail.com>
22092
22093 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
22094 (union ibm_extended_long_double): Define as an array of ieee754_double.
22095 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
22096 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
22097 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
22098 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
22099 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
22100 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
22101 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
22102 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
22103 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
22104 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
22105 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
22106
22107 2013-10-03 Joseph Myers <joseph@codesourcery.com>
22108
22109 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
22110 page size instead of calling getpagesize.
22111
22112 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
22113 (LOCFILE_ALIGN_MASK): Likewise.
22114 (LOCFILE_ALIGN_UP): Likewise.
22115 (LOCFILE_ALIGNED_P): Likewise.
22116 * locale/programs/ld-collate.c (collate_output): Use the new
22117 macros instead of __alignof__ (int32_t).
22118 * locale/weight.h (findidx): Likewise.
22119
22120 2013-10-03 Ondřej Bílka <neleai@seznam.cz>
22121
22122 [BZ #431]
22123 * manual/string.texi: Fix strncat and wcsncat.
22124
22125 2013-10-03 Brooks Moses <bmoses@google.com>
22126
22127 [BZ #15915]
22128 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
22129 * Makerules: ...here, and adjust associated comments.
22130
22131 2013-10-02 Will Newton <will.newton@linaro.org>
22132
22133 * malloc/Makefile: Add tst-pvalloc.
22134 * malloc/tst-pvalloc.c: New file.
22135
22136 2013-10-02 Will Newton <will.newton@linaro.org>
22137
22138 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
22139 improve test coverage.
22140
22141 2013-10-02 Will Newton <will.newton@linaro.org>
22142
22143 * malloc/Makefile: Add tst-posix_memalign.
22144 * malloc/tst-posix_memalign.c: New file.
22145
22146 2013-10-01 Eric Blake <eblake@redhat.com>
22147
22148 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
22149 Use __THROWNL rather than __THROW on static functions.
22150
22151 2013-09-30 Petr Machata <pmachata@redhat.com>
22152
22153 * elf/elf.h (R_AARCH64_ABS16): New macro.
22154 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
22155 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
22156 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
22157 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
22158 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
22159 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
22160 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
22161 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
22162 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
22163 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
22164 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
22165 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
22166 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
22167 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
22168 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
22169 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
22170 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
22171 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
22172 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
22173 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
22174 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
22175 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
22176 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
22177 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
22178 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
22179 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
22180 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
22181 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
22182 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
22183 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
22184 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
22185 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
22186 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
22187 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
22188 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
22189 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
22190 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
22191 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
22192 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
22193 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
22194 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
22195 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
22196 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
22197 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
22198 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
22199 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
22200 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
22201 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
22202 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
22203 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
22204 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
22205 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
22206 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
22207 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
22208 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
22209 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
22210 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
22211 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
22212 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
22213 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
22214 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
22215 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
22216 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
22217 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
22218 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
22219 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
22220 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
22221 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
22222 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
22223 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
22224 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
22225 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
22226 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
22227 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
22228 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
22229 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
22230 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
22231 (R_AARCH64_TLSDESC_LDR): Likewise.
22232 (R_AARCH64_TLSDESC_ADD): Likewise.
22233 (R_AARCH64_TLSDESC_CALL): Likewise.
22234
22235 2013-09-30 Andreas Schwab <schwab@suse.de>
22236
22237 [BZ #15048]
22238 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
22239 the nss database lookup.
22240 * nscd/initgrcache.c (addinitgroupsX): Likewise.
22241 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
22242
22243 2013-09-28 Mike Frysinger <vapier@gentoo.org>
22244
22245 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
22246
22247 2013-09-28 P. J. McDermott <pj@pehjota.net>
22248
22249 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
22250 ${Bash-specific parameter/pattern/string} parameter expansion.
22251 * sysdeps/unix/make-syscalls.sh: Likewise.
22252
22253 2013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
22254
22255 * sysdeps/sh/stackguard-macros.h: New file.
22256
22257 2013-09-26 Ondřej Bílka <neleai@seznam.cz>
22258
22259 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
22260 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
22261 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
22262 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
22263 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
22264 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
22265
22266 2013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22267
22268 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
22269 Fix thread ID register.
22270
22271 2013-09-25 Joseph Myers <joseph@codesourcery.com>
22272
22273 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
22274 [POSIX || UNIX98]: Require rather than permitting all symbols from
22275 <time.h>.
22276 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
22277 element of struct sched_param.
22278 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
22279 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
22280 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
22281 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
22282 constant.
22283
22284 2013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
22285
22286 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
22287 argument calculation.
22288
22289 2013-09-24 Joseph Myers <joseph@codesourcery.com>
22290
22291 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
22292 Expect macro.
22293 [POSIX] (pthread_attr_t): Do not require type.
22294 [POSIX] (pthread_cond_t): Likewise.
22295 [POSIX] (pthread_condattr_t): Likewise.
22296 [POSIX] (pthread_key_t): Likewise.
22297 [POSIX] (pthread_mutex_t): Likewise.
22298 [POSIX] (pthread_mutexattr_t): Likewise.
22299 [POSIX] (pthread_once_t): Likewise.
22300 [POSIX] (pthread_t): Likewise.
22301 [POSIX-based standards] (pthread_atfork): Expect function.
22302
22303 2013-09-24 Joseph Myers <joseph@codesourcery.com>
22304 Richard Sandiford <richard@codesourcery.com>
22305
22306 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
22307 (swap_endianness_p): New extern variable.
22308 (set_big_endian): New inline function.
22309 (maybe_swap_uint32): Likewise.
22310 (maybe_swap_uint32_array): Likewise.
22311 (maybe_swap_uint32_obstack): Likewise.
22312 * locale/programs/locfile.c: Include <stdbool.h>.
22313 (swap_endianness_p): New variable.
22314 (add_locale_uint32): Call maybe_swap_uint32.
22315 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
22316 (write_locale_data): Call maybe_swap_uint32_array.
22317 * locale/programs/ld-collate.c (obstack_int32_grow): Call
22318 maybe_swap_uint32.
22319 (obstack_int32_grow_fast): Likewise.
22320 (output_weightwc): Call maybe_swap_uint32_obstack.
22321 (collate_output): Likewise.
22322 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
22323 (OPT_LITTLE_ENDIAN): Likewise.
22324 (options): Add --little-endian and --big-endian options.
22325 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
22326 * locale/programs/locarchive.c: Include "locfile.h".
22327 (GET): New macro.
22328 (SET): Likewise.
22329 (INC): Likewise.
22330 (create_archive): Use the new macros to access fields of
22331 structures directly mapped from or written to locale archives.
22332 (oldlocrecentcmp): Likewise.
22333 (enlarge_archive): Likewise.
22334 (insert_name): Likewise.
22335 (add_alias): Likewise.
22336 (add_locale): Likewise.
22337 (delete_locales_from_archive): Likewise.
22338 (show_archive_content): Likewise.
22339 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
22340 locale data.
22341
22342 2013-09-24 Roland McGrath <roland@hack.frob.com>
22343
22344 * manual/freemanuals.texi: Updated from (newly) canonical copy at
22345 http://www.gnu.org/doc/freemanuals.texi.
22346 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
22347
22348 2013-09-24 Will Newton <will.newton@linaro.org>
22349
22350 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
22351 macro.
22352
22353 2013-09-23 Joseph Myers <joseph@codesourcery.com>
22354
22355 * locale/hashval.h (compute_hashval): Interpret bytes of key as
22356 unsigned char.
22357
22358 2013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
22359
22360 * manual/threads.texi (POSIX Threads): Fix a typo.
22361
22362 2013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
22363
22364 [BZ #14547]
22365 * string/tst-strcoll-overflow.c: New test case.
22366 * string/Makefile (xtests): Add tst-strcoll-overflow.
22367 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
22368 cache if string sizes may cause integer overflow.
22369
22370 [BZ #14547]
22371 * string/strcoll_l.c (coll_seq): New members rule, idx,
22372 save_idx and back_us.
22373 (get_next_seq_nocache): New function.
22374 (do_compare_nocache): New function.
22375 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
22376 when malloc fails.
22377
22378 2013-09-23 Carlos O'Donell <carlos@redhat.com>
22379
22380 [BZ #15754]
22381 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
22382 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
22383 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
22384
22385 [BZ #15754]
22386 * elf/Makefile (tests): Add tst-ptrguard1.
22387 (tests-static): Add tst-ptrguard1-static.
22388 (tst-ptrguard1-ARGS): Define.
22389 (tst-ptrguard1-static-ARGS): Define.
22390 * elf/tst-ptrguard1.c: New file.
22391 * elf/tst-ptrguard1-static.c: New file.
22392 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
22393 * sysdeps/i386/stackguard-macros.h: Likewise.
22394 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
22395 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
22396 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
22397 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
22398 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
22399 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
22400
22401 2013-09-23 Hector Marco <hecmargi@upv.es>
22402 Ismael Ripoll <iripoll@disca.upv.es>
22403 Carlos O'Donell <carlos@redhat.com>
22404
22405 [BZ #15754]
22406 * sysdeps/generic/stackguard-macros.h: Define
22407 __pointer_chk_guard_local and POINTER_CHK_GUARD.
22408 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
22409 Define __pointer_chk_guard_local.
22410 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
22411 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
22412
22413 2013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
22414
22415 [BZ #15859]
22416 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
22417
22418 2013-09-20 Andreas Schwab <schwab@linux-m68k.org>
22419
22420 * include/string.h (__ffs): Declare as hidden.
22421 * string/ffs.c (__ffs): Define as hidden.
22422 * sysdeps/i386/ffs.c (__ffs): Likewise.
22423 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
22424 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
22425 * sysdeps/s390/ffs.c (__ffs): Likewise.
22426 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
22427
22428 2013-09-20 Alexandre Oliva <aoliva@redhat.com>
22429
22430 * NEWS: Mention malloc probes.
22431
22432 * malloc/arena.c (new_heap): New memory_heap_new probe.
22433 (grow_heap): New memory_heap_more probe.
22434 (shrink_heap): New memory_heap_less probe.
22435 (heap_trim): New memory_heap_free probe.
22436 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
22437 (systrim): New memory_sbrk_less probe.
22438 * manual/probes.texi: Document them.
22439
22440 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
22441 * manual/probes.texi: Document it.
22442
22443 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
22444 (__libc_realloc): Add memory_realloc_retry probe.
22445 (__libc_memalign): Add memory_memalign_retry probe.
22446 (__libc_valloc): Add memory_valloc_retry probe.
22447 (__libc_pvalloc): Add memory_pvalloc_retry probe.
22448 (__libc_calloc): Add memory_calloc_retry probe.
22449 * manual/probes.texi: Document them.
22450
22451 * malloc/arena.c (get_free_list): Add probe
22452 memory_arena_reuse_free_list.
22453 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
22454 and memory_arena_reuse.
22455 (arena_get2) [!PER_THREAD]: Likewise.
22456 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
22457 memory_arena_reuse_realloc.
22458 * manual/probes.texi: Document them.
22459
22460 * malloc/malloc.c (__libc_free): Add
22461 memory_mallopt_free_dyn_thresholds probe.
22462 (__libc_mallopt): Add multiple memory_mallopt probes.
22463 * manual/probes.texi: Document them.
22464
22465 * malloc/malloc.c: Include stap-probe.h.
22466 (__libc_mallopt): Add memory_mallopt probe.
22467 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
22468 * manual/probes.texi: New.
22469 * manual/Makefile (chapters): Add probes.
22470 * manual/threads.texi: Set next node.
22471
22472 2013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
22473
22474 [BZ #15963, #13985]
22475 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
22476 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
22477 Add `Chinese' to `nan' entry name.
22478
22479 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
22480
22481 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
22482 (POLYNOMIAL): Likewise.
22483 (TAYLOR_SINCOS): Likewise.
22484 (TAYLOR_SLOW): Likewise.
22485 (__sin): Use TAYLOR_SINCOS.
22486 (__cos): Likewise.
22487 (slow): Use TAYLOR_SLOW.
22488 (sloww): Likewise.
22489 (bsloww): Likewise.
22490 (csloww): Likewise.
22491
22492 2013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
22493
22494 * stdlib/strtod_l.c: Fix buffer overrun.
22495
22496 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
22497
22498 * benchtests/Makefile (bench): Add sincos.
22499 * benchtests/bench-sincos.c: New file.
22500
22501 * math/libm-test.inc (cos_test_data): New test inputs.
22502 (sin_test_data): Likewise.
22503
22504 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
22505 macro.
22506 (__sin): Use it.
22507 (__cos): Likewise.
22508 (slow1): Likewise.
22509 (slow2): Likewise.
22510 (sloww1): Likewise.
22511 (sloww2): Likewise.
22512 (bsloww1): Likewise.
22513 (bsloww2): Likewise.
22514 (cslow2): Likewise.
22515 (csloww1): Likewise.
22516 (csloww2): Likewise.
22517
22518 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
22519 function.
22520 (__sin): Use it.
22521 (__cos): Likewise.
22522
22523 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
22524 gotos.
22525 (__cos): Likewise.
22526
22527 2013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
22528
22529 * config.h.in (HAVE_MIPS_NAN2008): New macro.
22530 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
22531 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
22532 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
22533 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
22534 * elf/cache.c (print_entry): Handle the new cache flags.
22535
22536 2013-09-18 Joseph Myers <joseph@codesourcery.com>
22537 Aldy Hernandez <aldyh@redhat.com>
22538
22539 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
22540 Change condition to [_SOFT_FLOAT].
22541 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
22542 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
22543 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
22544 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
22545 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
22546 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
22547 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
22548 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
22549 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
22550 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
22551 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
22552 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
22553 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
22554 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
22555 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
22556 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
22557 declaration.
22558
22559 2013-09-18 Joseph Myers <joseph@codesourcery.com>
22560
22561 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
22562 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
22563 (__longjmp): Use LOAD_GP to load saved GPRs.
22564 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
22565 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
22566 (__sigsetjmp): Use SAVE_GP to save GPRs.
22567
22568 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
22569 Do not append -msoft-float.
22570 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
22571
22572 2013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
22573
22574 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
22575
22576 2013-09-17 Joseph Myers <joseph@codesourcery.com>
22577
22578 [BZ #15966]
22579 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
22580 (_FPU_GETCW): Use initial "__" on variable and field names but not
22581 on macro parameter name.
22582 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
22583 parentheses around reference to macro parameter.
22584
22585 2013-09-13 Richard Sandiford <richard@codesourcery.com>
22586
22587 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
22588 prototype.
22589 (ctype_startup): Use uint32_t in cast and sizeof for
22590 ctype->charnames.
22591
22592 2013-09-11 Jia Liu <proljc@gmail.com>
22593
22594 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
22595 __daddr_t_defined.
22596 [__FreeBSD__]: Likewise.
22597
22598 2013-09-11 Ondřej Bílka <neleai@seznam.cz>
22599
22600 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
22601 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
22602 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
22603 (strchr): Remove __strchr_sse42 ifunc selection.
22604 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
22605 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
22606
22607 2013-09-11 Will Newton <will.newton@linaro.org>
22608
22609 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
22610 parameter to RES. Remove hardcoded 1000 value.
22611 * benchtests/bench-skeleton.c (main): Pass RES parameter
22612 to TIMING_INIT and multiply result by 1000.
22613
22614 2013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22615
22616 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22617
22618 2013-09-11 Andreas Schwab <schwab@suse.de>
22619
22620 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
22621 if not defined.
22622 (O_TMPFILE) [__USE_GNU]: Define.
22623 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
22624 Define.
22625
22626 2013-09-11 Will Newton <will.newton@linaro.org>
22627
22628 [BZ #15857]
22629 * malloc/malloc.c (__libc_memalign): Check the value of bytes
22630 does not overflow.
22631
22632 2013-09-11 Will Newton <will.newton@linaro.org>
22633
22634 [BZ #15856]
22635 * malloc/malloc.c (__libc_valloc): Check the value of bytes
22636 does not overflow.
22637
22638 2013-09-11 Will Newton <will.newton@linaro.org>
22639
22640 [BZ #15855]
22641 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
22642 does not overflow.
22643
22644 2013-09-10 Ondřej Bílka <neleai@seznam.cz>
22645
22646 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
22647 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
22648 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
22649 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
22650 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
22651
22652 2013-09-10 Allan McRae <allan@archlinux.org>
22653
22654 [BZ #15748]
22655 * manual/arith.texi (Parsing of Floats): Clarify
22656 cross-reference.
22657
22658 [BZ #15849]
22659 * manual/install.texi (Running make install): Mention
22660 --enable-pt-chown.
22661 * INSTALL: Regenerated.
22662
22663 2013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
22664
22665 * csu/init-first.c (_init): Remove the !SHARED condition around
22666 FPU control word initialization.
22667 * elf/dl-support.c (_dl_fpu_control): New variable.
22668 (_dl_aux_init) <AT_FPUCW>: Initialize it.
22669 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
22670 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
22671 * math/test-fpucw-static.c: New file.
22672 * math/test-fpucw-ieee.c: New file.
22673 * math/test-fpucw-ieee-static.c: New file.
22674 * math/Makefile (tests): Add `test-fpucw-ieee' and
22675 `$(tests-static)'.
22676 (tests-static): New variable.
22677 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
22678 dependency to...
22679 [($(build-shared),yes)]
22680 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
22681 ... this.
22682 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
22683 New dependency.
22684
22685 2013-09-09 Allan McRae <allan@archlinux.org>
22686
22687 [BZ #15939]
22688 * manual/string.texi (Collation Functions): Fix typo in
22689 strcoll example.
22690 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
22691
22692 [BZ #15893]
22693 * stdlib/isomac.c (get_null_defines): Fix memory leak.
22694
22695 [BZ #15892]
22696 * libio/memstream.c (open_memstream): Fix memory leak.
22697 * libio/wmemstream.c (open_wmemstream): Likewise.
22698
22699 [BZ #15895]
22700 * nscd/netgroupcache.c: Fix nesting of ifdefs.
22701
22702 2013-09-09 Will Newton <will.newton@linaro.org>
22703
22704 * malloc/Makefile: Add tst-realloc to tests.
22705 * malloc/tst-realloc.c: New file.
22706
22707 2013-09-09 Allan McRae <allan@archlinux.org>
22708
22709 [BZ #15844]
22710 * COPYING: Update from GNU website to fix FSF address.
22711 * COPYING.LIB: Likewise.
22712
22713 2013-09-06 David S. Miller <davem@davemloft.net>
22714
22715 * po/zh_TW.po: Update Chinese (traditional) translation from
22716 translation project.
22717
22718 2013-09-06 Richard Sandiford <richard@codesourcery.com>
22719 Joseph Myers <joseph@codesourcery.com>
22720
22721 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
22722 "localeinfo.h".
22723 (obstack_chunk_alloc): New macro.
22724 (obstack_chunk_free): Likewise.
22725 (record_offset): New function.
22726 (init_locale_data): Likewise.
22727 (align_locale_data): Likewise.
22728 (add_locale_empty): Likewise.
22729 (add_locale_raw_data): Likewise.
22730 (add_locale_raw_obstack): Likewise.
22731 (add_locale_string): Likewise.
22732 (add_locale_wstring): Likewise.
22733 (add_locale_uint32): Likewise.
22734 (add_locale_uint32_array): Likewise.
22735 (add_locale_char): Likewise.
22736 (start_locale_structure): Likewise.
22737 (end_locale_structure): Likewise.
22738 (start_locale_prelude): Likewise.
22739 (end_locale_prelude): Likewise.
22740 (write_locale_data): Take locale_file structure rather than an
22741 iovec.
22742 * locale/programs/locfile.h: Include "obstack.h".
22743 (struct locale_file): Change to store locale file contents instead
22744 of header.
22745 (init_locale_data): New prototype.
22746 (align_locale_data): Likewise.
22747 (add_locale_empty): Likewise.
22748 (add_locale_raw_data): Likewise.
22749 (add_locale_raw_obstack): Likewise.
22750 (add_locale_string): Likewise.
22751 (add_locale_wstring): Likewise.
22752 (add_locale_uint32): Likewise.
22753 (add_locale_uint32_array): Likewise.
22754 (add_locale_char): Likewise.
22755 (start_locale_structure): Likewise.
22756 (end_locale_structure): Likewise.
22757 (start_locale_prelude): Likewise.
22758 (end_locale_prelude): Likewise.
22759 (write_locale_data): Update prototype.
22760 * locale/programs/3level.h (struct TABLE): Remove result field.
22761 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
22762 Use new locale_file interface.
22763 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
22764 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
22765 * locale/programs/ld-address.c (address_output): Use new
22766 locale_file interface.
22767 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
22768 NO_ADD_LOCALE.
22769 (collate_finish): Don't call collseq_table_finalize.
22770 (collate_output): Use new locale_file interface.
22771 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
22772 in file.
22773 (NO_FINALIZE): Change to NO_ADD_LOCALE.
22774 (TABLE): Move defines earlier in file.
22775 (ELEMENT): Likewise.
22776 (DEFAULT): Likewise.
22777 (wctrans_table_add): Move macro and inline function earlier in
22778 file.
22779 (struct wctype_table): Move type earlier in file.
22780 (add_locale_wctype_table): New static prototype.
22781 (struct locale_ctype_t): Use logical types instead of struct iovec
22782 pointers for members.
22783 (ctype_output): Use new locale_file interface.
22784 (wctype_table_finalize): Change to add_locale_wctype_table. Use
22785 new locale_file interface.
22786 (allocate_arrays): Update for use of new locale_file interface.
22787 * locale/programs/ld-identification.c (identification_output): Use
22788 new locale_file interface.
22789 * locale/programs/ld-measurement.c (measurement_output): Likewise.
22790 * locale/programs/ld-messages.c (messages_output): Likewise.
22791 * locale/programs/ld-monetary.c (monetary_output): Likewise.
22792 * locale/programs/ld-name.c (name_output): Likewise.
22793 * locale/programs/ld-numeric.c (numeric_output): Likewise.
22794 * locale/programs/ld-paper.c (paper_output): Likewise.
22795 * locale/programs/ld-telephone.c (telephone_output): Likewise.
22796 * locale/programs/ld-time.c (time_output): Likewise.
22797
22798 2013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22799
22800 * benchtests/Makefile: Add memrchr benchmark.
22801 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
22802 benchmark as memrchr.
22803 * benchtests/bench-memrchr-ifunc.c: New file.
22804 * benchtests/bench-memrchr.c: New file.
22805
22806 2013-09-06 Will Newton <will.newton@linaro.org>
22807
22808 * benchtests/Makefile (string-bench): Add memcpy.
22809
22810 2013-09-05 Carlos O'Donell <carlos@redhat.com>
22811 Cong Wang <amwang@redhat.com>
22812
22813 [BZ #15850]
22814 * sysdeps/unix/sysv/linux/bits/in.h
22815 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
22816 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
22817 before __USE_KERNEL_IPV6_DEFS uses.
22818 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
22819 IPPROTO_BEETPH.
22820 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
22821 sockaddr_in6, or ipv6_mreq.
22822
22823 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22824
22825 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
22826 memory access for final bytes in some large inputs.
22827 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
22828
22829 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22830
22831 * string/test-memrchr.c: New file.
22832 * string/test-memrchr-ifunc.c: New file.
22833 * string/Makefile: Add new memrchr testcase.
22834
22835 2013-09-05 Mike Frysinger <vapier@gentoo.org>
22836
22837 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
22838 fanotify_init returns EPERM.
22839
22840 2013-09-04 Joseph Myers <joseph@codesourcery.com>
22841
22842 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
22843 errors.
22844 (top level): Treat second token from macro or constant entries for
22845 allowed headers as allowed.
22846 * include/complex.h: Condition internal declarations on
22847 [!_ISOMAC].
22848 * include/fenv.h: Condition include of <stdbool.h> and internal
22849 declarations on [!_ISOMAC].
22850
22851 2013-09-04 Chris Leonard <cjl@sugarlabs,.org>
22852
22853 [BZ #15923]
22854 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
22855
22856 2013-09-04 Joseph Myers <joseph@codesourcery.com>
22857
22858 * configure.in (--enable-versioning): Remove configure option.
22859 (libc_cv_asm_symver_directive): Remove configure test.
22860 (libc_cv_ld_version_script_option): Likewise.
22861 (VERSIONING): Remove variable and AC_SUBST.
22862 (DO_VERSIONING): Remove AC_DEFINE.
22863 * configure: Regenerated.
22864 * config.h.in (DO_VERSIONING): Remove macro.
22865 * Makerules [$(versioning) = yes]: Change conditionals to
22866 [$(build-shared) = yes].
22867 * config.make.in (versioning): Remove variable.
22868 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
22869 [$(build-shared) = yes].
22870 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
22871 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
22872 * elf/Makefile [$(versioning) = yes]: Change conditionals to
22873 [$(build-shared) = yes].
22874 * extra-lib.mk [$(versioning) = yes]: Likewise.
22875 * hurd/Makefile [$(versioning) = yes]: Likewise.
22876 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
22877 [SHARED].
22878 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
22879 [SHARED].
22880 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
22881 [SHARED && !NO_HIDDEN].
22882 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
22883 [SHARED].
22884 [SHARED && DO_VERSIONING]: Likewise..
22885 * libio/Makefile [$(versioning) = yes]: Change conditionals to
22886 [$(build-shared) = yes].
22887 * manual/install.texi (--disable-versioning): Remove
22888 documentation.
22889 * INSTALL: Regenerated.
22890 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
22891 to [SHARED].
22892 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
22893 [$(build-shared) = yes].
22894 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
22895 * sysdeps/i386/i686/multiarch/strstr-c.c
22896 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
22897 [SHARED && !NO_HIDDEN].
22898 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
22899 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
22900 * sysdeps/powerpc/powerpc32/dl-machine.c
22901 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
22902 * sysdeps/powerpc/powerpc32/sysdep.h
22903 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
22904 to [SHARED && PIC && !NO_HIDDEN].
22905 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
22906 conditional to [SHARED].
22907
22908 2013-09-04 Will Newton <will.newton@linaro.org>
22909
22910 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
22911 * benchtests/bench-string.h: Include bench-timing.h instead
22912 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
22913 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
22914 call to HP_TIMING_DIFF_INIT.
22915 * benchtests/bench-memccpy.c: Use bench-timing.h macros
22916 instead of hp-timing.h macros.
22917 * benchtests/bench-memchr.c: Likewise.
22918 * benchtests/bench-memcmp.c: Likewise.
22919 * benchtests/bench-memcpy.c: Likewise.
22920 * benchtests/bench-memmem.c: Likewise.
22921 * benchtests/bench-memmove.c: Likewise.
22922 * benchtests/bench-memset.c: Likewise.
22923 * benchtests/bench-rawmemchr.c: Likewise.
22924 * benchtests/bench-strcasecmp.c: Likewise.
22925 * benchtests/bench-strcasestr.c: Likewise.
22926 * benchtests/bench-strcat.c: Likewise.
22927 * benchtests/bench-strchr.c: Likewise.
22928 * benchtests/bench-strcmp.c: Likewise.
22929 * benchtests/bench-strcpy.c: Likewise.
22930 * benchtests/bench-strcpy_chk.c: Likewise.
22931 * benchtests/bench-strlen.c: Likewise.
22932 * benchtests/bench-strncasecmp.c: Likewise.
22933 * benchtests/bench-strncat.c: Likewise.
22934 * benchtests/bench-strncmp.c: Likewise.
22935 * benchtests/bench-strncpy.c: Likewise.
22936 * benchtests/bench-strnlen.c: Likewise.
22937 * benchtests/bench-strpbrk.c: Likewise.
22938 * benchtests/bench-strrchr.c: Likewise.
22939 * benchtests/bench-strspn.c: Likewise.
22940 * benchtests/bench-strstr.c: Likewise.
22941
22942 2013-09-04 Will Newton <will.newton@linaro.org>
22943
22944 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
22945
22946 2013-09-03 Joseph Myers <joseph@codesourcery.com>
22947
22948 [BZ #15427]
22949 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
22950 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
22951 * math/libm-test.inc (lgamma_test_data): Add more tests.
22952 * sysdeps/i386/fpu/libm-test-ulps: Update.
22953 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22954
22955 2013-09-03 Ondřej Bílka <neleai@seznam.cz>
22956
22957 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
22958 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
22959 Add ifunc.
22960 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
22961 Add strcmp-sse2-unaligned
22962 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
22963
22964 2013-09-02 Mike Frysinger <vapier@gentoo.org>
22965
22966 * Versions.def (libc): Add GLIBC_2.19.
22967
22968 2013-09-02 Mike Frysinger <vapier@gentoo.org>
22969
22970 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
22971 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
22972
22973 2013-09-02 Joseph Myers <joseph@codesourcery.com>
22974
22975 [BZ #14155]
22976 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
22977 intermediate calculations in recurrence.
22978 (__ieee754_ynf): Likewise.
22979 * math/libm-test.inc (jn_test_data): Do not allow spurious
22980 underflow exception. Add more tests.
22981 (yn_test_data): Add more tests.
22982 * sysdeps/i386/fpu/libm-test-ulps: Update.
22983 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22984
22985 2013-09-02 Ondřej Bílka <neleai@seznam.cz>
22986
22987 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
22988
22989 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
22990
22991 * csu/init-first.c: Fix then/than typos.
22992 * locale/programs/ld-collate.c: Likewise.
22993 * locale/programs/linereader.h: Likewise.
22994 * manual/charset.texi: Likewise.
22995 * manual/filesys.texi: Likewise.
22996 * manual/stdio.texi: Likewise.
22997 * manual/string.texi: Likewise.
22998 * stdlib/fmtmsg.c: Likewise.
22999 * sysdeps/i386/stpncpy.S: Likewise.
23000 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
23001 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
23002 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
23003 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
23004
23005 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
23006
23007 * elf/dl-open.c: Fix typos.
23008 * iconvdata/gbbig5.c: Likewise.
23009 * iconvdata/iso-2022-jp.c: Likewise.
23010 * iconv/gconv_int.h: Likewise.
23011 * iconv/loop.c: Likewise.
23012 * nis/rpcsvc/nis.h: Likewise.
23013 * resolv/ns_name.c: Likewise.
23014 * stdio-common/vfscanf.c: Likewise.
23015 * streams/stropts.h: Likewise.
23016 * sunrpc/rpc_thread.c: Likewise.
23017 * sysdeps/i386/strpbrk.S: Likewise.
23018 * sysdeps/ieee754/k_standard.c: Likewise.
23019 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
23020 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
23021 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
23022 * sysdeps/mach/hurd/profil.c: Likewise.
23023 * sysdeps/s390/dl-procinfo.h: Likewise.
23024 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
23025 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
23026 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
23027 * sysdeps/x86_64/dl-trampoline.S: Likewise.
23028 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
23029
23030 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
23031
23032 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
23033 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
23034
23035 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
23036
23037 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
23038 aix specific files.
23039 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
23040 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
23041 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
23042 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
23043 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
23044 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
23045 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
23046 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
23047
23048 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
23049 Roland McGrath <roland@hack.frob.com>
23050
23051 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
23052 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
23053
23054 2013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
23055
23056 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
23057 __executable_start symbol instead of _start.
23058
23059 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
23060
23061 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
23062 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
23063 Move macros to...
23064 * sysdeps/gnu/ldsodefs.h: ... this new file.
23065
23066 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
23067 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
23068 instead of ELFOSABI_LINUX.
23069
23070 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
23071 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
23072 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
23073 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
23074 Likewise.
23075 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
23076 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
23077 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
23078 Likewise.
23079 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
23080 (ibm_extended_long_double): Add ieee_nan member.
23081 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
23082 (do_test): New function.
23083
23084 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
23085 TEST_TRUNC.
23086 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
23087 functions, renamed from truncdfsf_test, trunctfsf_test,
23088 trunctfdf_test.
23089 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
23090 functions.
23091 (do_test): Run all these.
23092
23093 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
23094
23095 * argp/argp-help.c: Fix typos.
23096 * argp/argp-parse.c: Likewise.
23097 * debug/backtracesyms.c: Likewise.
23098 * elf/elf.h: Likewise.
23099 * malloc/malloc.c: Likewise.
23100 * nis/nis_print.c: Likewise.
23101 * resolv/res_comp.c: Likewise.
23102 * stdlib/stdlib.h: Likewise.
23103 * sunrpc/clnt_tcp.c: Likewise.
23104 * sunrpc/clnt_udp.c: Likewise.
23105 * sunrpc/clnt_unix.c: Likewise.
23106 * sysdeps/unix/bsd/ptsname.c: Likewise.
23107 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
23108 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
23109 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
23110 Likewise.
23111 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
23112 Likewise.
23113 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
23114 Likewise.
23115 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
23116
23117 2013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
23118
23119 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
23120 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
23121
23122 2013-08-27 Mike Frysinger <vapier@gentoo.org>
23123
23124 [BZ #15897]
23125 * dlfcn/Makefile (tests): Add bug-dl-leaf.
23126 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
23127 ($(objpfx)bug-dl-leaf): New rule.
23128 ($(objpfx)bug-dl-leaf.so): Likewise.
23129 ($(objpfx)bug-dl-leaf.out): Likewise.
23130 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
23131 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
23132 * dlfcn/bug-dl-leaf.c: New test.
23133 * dlfcn/bug-dl-leaf-lib.c: Likewise.
23134 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
23135 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
23136 (dlclose): Likewise.
23137 (dlmopen): Likewise.
23138
23139 2013-08-27 Roland McGrath <roland@hack.frob.com>
23140
23141 * include/netdb.h [!_ISOMAC]:
23142 Don't include <tls.h>.
23143 (h_errno, __libc_h_errno): Move declaration and macros out of
23144 [_LIBC_REENTRANT].
23145
23146 * include/resolv.h [_RESOLV_H_]:
23147 Don't include <tls.h>.
23148 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
23149 * resolv/res_libc.c: Don't include <tls.h>.
23150 (_res): Use __attribute__ ((nocommon)) in place of
23151 __attribute__ ((section (".bss"))).
23152
23153 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
23154 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
23155
23156 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
23157
23158 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
23159 only under [SIOCGIFCONF && SIOCGIFNETMASK].
23160
23161 * resolv/res_mkquery.c: Include <sys/time.h>.
23162
23163 * inet/ifreq.c: Moved to ...
23164 * sysdeps/unix/ifreq.c: ... here.
23165 * inet/ifreq.c: New file, true stub version.
23166
23167 * socket/sa_len.c: New file.
23168 * socket/Makefile (aux): Add it.
23169 * sysdeps/unix/sysv/linux/Makefile
23170 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
23171 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
23172 and #include <socket/sa_len.c>.
23173 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
23174 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
23175
23176 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
23177 * bits/socket.h: ... here.
23178
23179 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
23180 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
23181 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
23182
23183 2013-08-27 Andreas Schwab <schwab@suse.de>
23184
23185 [BZ #15736]
23186 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
23187 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
23188 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
23189 * string/test-strcasecmp.c (test_main): Run tests in several
23190 locales.
23191 * string/test-strncasecmp.c (test_main): Likewise.
23192
23193 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
23194 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
23195 to __strcasecmp_nonascii and __strncasecmp_nonascii.
23196 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
23197 (__strncasecmp_ssse3) [PIC]: Likewise.
23198
23199 2013-08-26 Roland McGrath <roland@hack.frob.com>
23200
23201 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
23202
23203 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
23204 instead of explicitly declaring xdecrypt.
23205 * nis/nss_nis/nis-publickey.c: Likewise.
23206
23207 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
23208
23209 [BZ #15890]
23210 * nscd/aicache.c: Include res_hconf.h.
23211 (addhstaiX): Initialize res_hconf.
23212
23213 2013-08-26 Andreas Schwab <schwab@suse.de>
23214
23215 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
23216 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
23217
23218 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
23219
23220 * nscd/aicache.c (addhstaiX): Fix indentation.
23221
23222 2013-08-25 Mike Frysinger <vapier@gentoo.org>
23223
23224 * configure.ac: Quote $build_pt_chown test.
23225 * configure: Regenerated.
23226
23227 2013-08-23 Joseph Myers <joseph@codesourcery.com>
23228
23229 [BZ #15532]
23230 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
23231 * math/s_cexpf.c (__cexpf): Likewise.
23232 * math/s_cexpl.c (__cexpl): Likewise.
23233 * math/libm-test.inc (cexp_test_data): Correct expected return
23234 value for NaN + i0. Add another test.
23235
23236 2013-08-22 David S. Miller <davem@davemloft.net>
23237
23238 * po/ca.po: Update Catalan translation from translation project.
23239 * po/uk.po: Add Ukrainian translations from translation project.
23240
23241 2013-08-21 Joseph Myers <joseph@codesourcery.com>
23242
23243 [BZ #15797]
23244 * math/s_fdim.c (__fdim): Check for infinite arguments if result
23245 is infinite, not alongside NaN test.
23246 * math/s_fdimf.c (__fdimf): Likewise.
23247 * math/s_fdiml.c (__fdiml): Likewise.
23248 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
23249 errno is unchanged.
23250
23251 2013-08-21 Ondřej Bílka <neleai@seznam.cz>
23252
23253 * argp/argp-help.c: Fix typos.
23254 * crypt/speeds.c: Likewise.
23255 * csu/check_fds.c: Likewise.
23256 * elf/dl-load.c: Likewise.
23257 * elf/dl-open.c: Likewise.
23258 * elf/reldep3.c: Likewise.
23259 * elf/reldep.c: Likewise.
23260 * elf/sprof.c: Likewise.
23261 * iconv/iconv_charmap.c: Likewise.
23262 * iconv/skeleton.c: Likewise.
23263 * iconv/strtab.c: Likewise.
23264 * io/lockf64.c: Likewise.
23265 * libio/libioP.h: Likewise.
23266 * resolv/gai_notify.c: Likewise.
23267 * resolv/ns_name.c: Likewise.
23268 * resolv/ns_samedomain.c: Likewise.
23269 * resolv/res_send.c: Likewise.
23270 * stdlib/random.c: Likewise.
23271 * sunrpc/rpc/xdr.h: Likewise.
23272 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
23273 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
23274 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
23275 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
23276 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
23277 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
23278 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
23279 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
23280 * sysdeps/mach/hurd/check_fds.c: Likewise.
23281 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
23282 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
23283 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
23284 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
23285 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
23286 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
23287 * sysdeps/pthread/aio_notify.c: Likewise.
23288 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
23289 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
23290 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
23291 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
23292 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
23293
23294 2013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
23295
23296 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
23297 version if bit_Slow_SSE4_2 is set.
23298 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
23299 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
23300
23301 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23302
23303 [BZ #15867]
23304 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
23305 trampoline stack frame information.
23306 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
23307 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
23308 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
23309 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
23310 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
23311 * sysdeps/unix/sysv/linux/powerpc/init-first.c
23312 (_libc_vdso_platform_setup): Initialize the signal trampolines.
23313 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
23314 sa_flags value.
23315 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
23316 interrupting a syscall and set with option SA_SIGINFO.
23317
23318 2013-08-20 Joseph Myers <joseph@codesourcery.com>
23319
23320 [BZ #15531]
23321 * math/s_cproj.c (__cproj): Only return an infinity if one part of
23322 argument is infinite.
23323 * math/s_cprojf.c (__cprojf): Likewise.
23324 * math/s_cprojl.c (__cprojl): Likewise.
23325 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
23326 * math/libm-test.inc (cproj_test_data): Add more tests.
23327
23328 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
23329
23330 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
23331 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
23332 size. Use __ffs to determine corresponding shift.
23333
23334 2013-08-20 Joseph Myers <joseph@codesourcery.com>
23335 Roland McGrath <roland@hack.frob.com>
23336
23337 * Makefile (INSTALL): Remove trailing blank lines from output of
23338 makeinfo.
23339
23340 2013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
23341
23342 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
23343 Align 32 bit compat elf_greg to 8 bytes.
23344
23345 2013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
23346
23347 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
23348
23349 2013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
23350
23351 * string/strcoll_l.c (coll_seq): New structure.
23352 (get_next_seq_cached): New function.
23353 (get_next_seq): New function.
23354 (do_compare): New function.
23355 (STRCOLL): Use GNU style definition. Simplify implementation
23356 by using get_next_seq, get_next_seq_cached and do_compare.
23357
23358 2013-08-16 Florian Weimer <fweimer@redhat.com>
23359
23360 [BZ #14699]
23361 CVE-2013-4237
23362 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
23363 member.
23364 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
23365 member.
23366 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
23367 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
23368 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
23369 conditional.
23370 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
23371 GETDENTS_64BIT_ALIGNED.
23372 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
23373 * manual/filesys.texi (Reading/Closing Directory): Document
23374 ENAMETOOLONG return value of readdir_r. Recommend readdir more
23375 strongly.
23376 * manual/conf.texi (Limits for Files): Add portability note to
23377 NAME_MAX, PATH_MAX.
23378 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
23379
23380 2013-08-13 Andreas Schwab <schwab@suse.de>
23381
23382 [BZ #15749]
23383 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
23384 of fabs.
23385 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
23386 LDBL_MAX_EXP >= 16384]: Add tests for it.
23387
23388 2013-08-12 David S. Miller <davem@davemloft.net>
23389
23390 * version.h (RELEASE): Set to "development".
23391 (VERSION): Set to "2.18.90".
23392 * NEWS: Add 2.19 section.
23393
23394 2013-08-03 David S. Miller <davem@davemloft.net>
23395
23396 * po/ko.po: Update Korean translation from translation project.
23397
23398 2013-08-01 David S. Miller <davem@davemloft.net>
23399
23400 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
23401 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
23402 Bilka.
23403
23404 2013-07-30 David S. Miller <davem@davemloft.net>
23405
23406 * po/fr.po: Update French translation from translation project.
23407
23408 2013-07-28 David S. Miller <davem@davemloft.net>
23409
23410 * po/cs.po: Update Czech translation from translation project.
23411
23412 * po/sv.po: Update Swedish translation from translation project.
23413
23414 2013-07-27 David S. Miller <davem@davemloft.net>
23415
23416 * po/eo.po: Update Esperanto translation from translation project.
23417
23418 * po/vi.po: Update Vietnamese translation from translation project.
23419
23420 * po/de.po: Update German translation from translation project.
23421
23422 2013-07-26 David S. Miller <davem@davemloft.net>
23423
23424 * po/bg.po: Update Bulgarian translation from translation project.
23425
23426 * po/nl.po: Update Dutch translation from translation project.
23427 * po/pl.po: Update Polish translation from translation project.
23428 * po/ru.po: Update Russian translation from translation project.
23429
23430 2013-07-24 David S. Miller <davem@davemloft.net>
23431
23432 * po/libc.pot: Update.
23433
23434 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23435
23436 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
23437 variable page size.
23438 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
23439 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
23440 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
23441
23442 2013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
23443
23444 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
23445
23446 2013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
23447 Andreas Schwab <schwab@suse.de>
23448 Roland McGrath <roland@hack.frob.com>
23449 Joseph Myers <joseph@codesourcery.com>
23450 Carlos O'Donell <carlos@redhat.com>
23451
23452 [BZ #15755]
23453 * config.h.in: Define HAVE_PT_CHOWN.
23454 * config.make.in (build-pt-chown): New variable.
23455 * configure.in (--enable-pt_chown): New configure option.
23456 * configure: Regenerate.
23457 * login/Makefile: Include Makeconfig. Build pt_chown only if
23458 build-pt-chown is enabled.
23459 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
23460 pt_chown to fix pty ownership.
23461 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
23462 CLOSE_ALL_FDS.
23463 * manual/install.texi (Configuring and compiling): Mention
23464 --enable-pt_chown. Add @findex for grantpt.
23465 * INSTALL: Regenerate.
23466
23467 2013-07-20 David S. Miller <davem@davemloft.net>
23468
23469 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
23470 difference between 32-bit and 64-bit.
23471
23472 2013-07-15 Carlos O'Donell <carlos@redhat.com>
23473
23474 [BZ #15711]
23475 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
23476 Avoid system header dependency with -ffreestanding.
23477 ($(objpfx)bits/syscall%d): Likewise.
23478
23479 2013-07-13 David S. Miller <davem@davemloft.net>
23480
23481 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
23482 underflows from atanl/atan2l due to bug 15319.
23483 (casinh_test_data): Likewise.
23484
23485 2013-07-07 David S. Miller <davem@davemloft.net>
23486
23487 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
23488
23489 2013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
23490
23491 * sysdeps/i386/fpu/libm-test-ulps: Update.
23492 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23493
23494 2013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
23495
23496 * configure.in (--enable-lock-elision): Fix message text.
23497 * INSTALL: Regenerate.
23498 * configure: Regenerate.
23499
23500 2013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23501
23502 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23503
23504 2013-07-03 Andreas Jaeger <aj@suse.de>
23505
23506 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
23507 define.
23508 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
23509 (ptrace_peeksiginfo_args): Add.
23510 (__ptrace_peeksiginfo_flags): Add.
23511 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
23512 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
23513 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
23514
23515 2013-07-03 Allan McRae <allan@archlinux.org>
23516
23517 * sysdeps/i386/fpu/libm-test-ulps: Update.
23518
23519 2013-07-02 David S. Miller <davem@davemloft.net>
23520
23521 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23522
23523 2013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
23524
23525 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
23526
23527 2013-07-02 Joseph Myers <joseph@codesourcery.com>
23528
23529 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
23530 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23531
23532 2013-07-02 Andi Kleen <ak@linux.intel.com>
23533
23534 * config.h.in (ENABLE_LOCK_ELISION): Add.
23535 * configure.in (--enable-lock-elision): Add option.
23536 * manual/install.texi: Document --enable lock elision.
23537 * configure: Regenerate
23538 * INSTALL: Regenerate.
23539
23540 2013-07-02 H.J. Lu <hongjiu.lu@intel.com>
23541
23542 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
23543 SSE4.2 strcasecmp for libc.a.
23544 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
23545
23546 2013-07-02 Joseph Myers <joseph@codesourcery.com>
23547
23548 [BZ #13304]
23549 * soft-fp/op-common.h (_FP_FMA): New macro.
23550 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
23551 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
23552 (_FP_MUL_MEAT_1_imm): ... here.
23553 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
23554 (_FP_MUL_MEAT_1_wide): ... here.
23555 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
23556 (_FP_MUL_MEAT_1_hard): ... here.
23557 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
23558 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
23559 (_FP_MUL_MEAT_2_wide): ... here.
23560 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
23561 (_FP_MUL_MEAT_2_wide_3mul): ... here.
23562 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
23563 (_FP_MUL_MEAT_2_gmp): ... here.
23564 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
23565 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
23566 (_FP_MUL_MEAT_4_wide): ... here.
23567 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
23568 (_FP_MUL_MEAT_4_gmp): ... here.
23569 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
23570 (_FP_WFRACBITS_DW_S): Likewise.
23571 (_FP_WFRACXBITS_DW_S): Likewise.
23572 (_FP_HIGHBIT_DW_S): Likewise.
23573 (FP_FMA_S): Likewise.
23574 (_FP_FRAC_HIGH_DW_S): Likewise.
23575 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
23576 (_FP_WFRACBITS_DW_D): Likewise.
23577 (_FP_WFRACXBITS_DW_D): Likewise.
23578 (_FP_HIGHBIT_DW_D): Likewise.
23579 (FP_FMA_D): Likewise.
23580 (_FP_FRAC_HIGH_DW_D): Likewise.
23581 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
23582 (_FP_WFRACBITS_DW_E): Likewise.
23583 (_FP_WFRACXBITS_DW_E): Likewise.
23584 (_FP_HIGHBIT_DW_E): Likewise.
23585 (FP_FMA_E): Likewise.
23586 (_FP_FRAC_HIGH_DW_E): Likewise.
23587 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
23588 (_FP_WFRACBITS_DW_Q): Likewise.
23589 (_FP_WFRACXBITS_DW_Q): Likewise.
23590 (_FP_HIGHBIT_DW_Q): Likewise.
23591 (FP_FMA_Q): Likewise.
23592 (_FP_FRAC_HIGH_DW_Q): Likewise.
23593 * soft-fp/fmasf4.c: New file.
23594 * soft-fp/fmadf4.c: Likewise.
23595 * soft-fp/fmatf4.c: Likewise.
23596
23597 2013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
23598
23599 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
23600 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
23601 Silvermont.
23602 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
23603 macro.
23604 (index_Slow_SSE4_2): Likewise.
23605 (index_Prefer_PMINUB_for_stringop): Likewise.
23606 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
23607 bit_Slow_SSE4_2 is set.
23608 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
23609 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
23610
23611 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
23612
23613 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
23614 rtld_global._dl_hwcap2.
23615 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
23616 POWER8.
23617 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
23618 POWER8 feature descriptions defined in _dl_hwcap2.
23619 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
23620 string handling for POWER8 feature bits.
23621 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
23622 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
23623 _dl_powerpc_cap_flags.
23624 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
23625 * sysdeps/powerpc/rtld-global-offsets.sym
23626 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
23627 _dl_hwcap2 in the rtld_global_ro structure.
23628
23629 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
23630
23631 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
23632 hardware capabilities in support of AT_HWCAP2.
23633 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
23634 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
23635 GLRO(dl_hwcap2).
23636 (_dl_show_auxv): Add support for calling _dl_procinfo to display
23637 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
23638 explicitly the unknown a_type display mechanism is used.
23639 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
23640 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
23641 struct member.
23642 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
23643 to macro prototype for AT_HWCAP2 support.
23644 * sysdeps/i386/dl-procinfo.h: Likewise.
23645 * sysdeps/s390/dl-procinfo.h: Likewise.
23646 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
23647 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
23648 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
23649 return -1 for unknown a_type display fallback.
23650 * sysdeps/sparc/dl-procinfo.h: Likewise.
23651 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
23652 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
23653
23654 2013-06-28 Joseph Myers <joseph@codesourcery.com>
23655
23656 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
23657 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
23658
23659 2013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
23660
23661 [BZ #12492]
23662 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
23663 mprotect making __stack_prot writable.
23664
23665 2013-06-28 Nathan Froyd <froydnj@codesourcery.com>
23666 Joseph Myers <joseph@codesourcery.com>
23667
23668 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
23669 as being properly aligned.
23670
23671 2013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
23672
23673 * dlfcn/modstatic5.c: New file.
23674 * dlfcn/tststatic5.c: New file.
23675 * dlfcn/Makefile (tests): Add tststatic5.
23676 (tests-static): Likewise.
23677 (modules-names): Add modstatic5.
23678 (tststatic5-ENV): New variable.
23679 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
23680
23681 [BZ #15022]
23682 * elf/dl-support.c (_dl_main_map): New variable.
23683 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
23684 (_dl_nns, _dl_load_adds): Set to 1.
23685 (_dl_initial_searchlist): Refer to _dl_main_map.
23686 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
23687 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
23688 call to _dl_get_origin.
23689 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
23690 around call_map.
23691 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
23692 * dlfcn/modstatic3.c: New file.
23693 * dlfcn/tststatic3.c: New file.
23694 * dlfcn/tststatic4.c: New file.
23695 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
23696 (tests-static): Likewise.
23697 (modules-names): Add modstatic3.
23698 (tststatic3-ENV, tststatic4-ENV): New variables.
23699 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
23700 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
23701
23702 2013-06-26 Joseph Myers <joseph@codesourcery.com>
23703
23704 * configure.in (CC): Require GCC version 4.4 or later.
23705 * configure: Regenerated.
23706 * manual/install.texi (Tools for Compilation): Update GCC version
23707 requirement.
23708 * INSTALL: Regenerated.
23709
23710 2013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
23711
23712 [BZ #15674]
23713 * string/test-memcmp.c (check2): New.
23714 (main): Call check2.
23715
23716 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
23717
23718 2013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
23719
23720 [BZ #15022]
23721 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
23722 over to...
23723 (dl_open_worker) [!SHARED]: ... here.
23724
23725 2013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
23726
23727 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
23728
23729 2013-06-25 Richard Henderson <rth@redhat.com>
23730
23731 * locale/programs/locarchive.c: Include <libc-internal.h>
23732
23733 2013-06-25 Joseph Myers <joseph@codesourcery.com>
23734
23735 * manual/texinfo.tex: Update to version 2013-06-21.17, with
23736 trailing whitespace removed.
23737
23738 2013-06-24 Mike Frysinger <vapier@gentoo.org>
23739
23740 [BZ #10283]
23741 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
23742 * locale/programs/locarchive.c: Include libc-mmap.h.
23743 (prepare_address_space): Take two new outputs (the mmap base and len).
23744 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
23745 values.
23746 (create_archive): Declare new mmap base and len values for
23747 prepare_address_space, and store the result in ah.
23748 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
23749 (enlarge_archive): If ah->mmap_base is not NULL, use that and
23750 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
23751 Declare new mmap base and len values for
23752 prepare_address_space, and store the result in new_ah.
23753 (open_archive): Declare new mmap base and len values for
23754 prepare_address_space, and store the result in ah.
23755 (close_archive): If ah->mmap_base is not NULL, use that and
23756 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
23757 * sysdeps/generic/libc-mmap.h: New file.
23758
23759 2013-06-24 Mike Frysinger <vapier@gentoo.org>
23760
23761 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
23762 (ALIGN_UP): Likewise.
23763 (PTR_ALIGN_DOWN): Likewise.
23764 (PTR_ALIGN_UP): Likewise.
23765
23766 2013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
23767
23768 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
23769 entry mapped to PPC_PLATFORM_POWER8.
23770 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
23771 POWER8.
23772 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
23773 (_dl_string_platform): Add case for exporting platform position for
23774 POWER8.
23775 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
23776 search path to sysdeps/powerpc/powerpc32/power8 directory.
23777 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
23778 search path to sysdeps/powerpc/powerpc64/power8 directory.
23779 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
23780 power7 directories.
23781 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
23782 power7 directories.
23783
23784 2013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
23785
23786 * INSTALL: Regenerate.
23787
23788 * nscd/connections.c (nscd_init): Fix comment.
23789
23790 2013-06-22 Joseph Myers <joseph@codesourcery.com>
23791
23792 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
23793
23794 [BZ #15667]
23795 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
23796 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
23797
23798 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
23799
23800 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
23801 DL_DST_REQ_STATIC.
23802 (DL_DST_REQ_STATIC): Remove macro.
23803
23804 2013-06-21 Joseph Myers <joseph@codesourcery.com>
23805
23806 [BZ #7006]
23807 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
23808 with a shift of 0 bits.
23809
23810 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
23811
23812 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
23813 $(tststatic-ENV).
23814
23815 2013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
23816
23817 [BZ #15655]
23818 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
23819
23820 2013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23821
23822 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
23823 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
23824 accepts -fno-tree-loop-distribute-patterns.
23825 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
23826 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
23827 recursive call.
23828 * string/memset.c (memset): Likewise.
23829 * string/test-memmove.c (simple_memmove): Disable loop transformation
23830 to library calls.
23831 * string/test-memset.c (simple_memset): Likewise.
23832 * benchtests/bench-memmove.c (simple_memmove): Likewise.
23833 * benchtests/bench-memset.c (simple_memset): Likewise.
23834 * configure: Regenerated.
23835
23836 2013-06-20 Joseph Myers <joseph@codesourcery.com>
23837
23838 * math/test-misc.c (main): Ignore fesetround failure when failures
23839 of subsequent rounding tests would be ignored.
23840
23841 [BZ #15654]
23842 * math/fedisblxcpt.c (fedisableexcept): Return 0.
23843 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
23844 * math/fegetenv.c (__fegetenv): Return 0.
23845 * math/fegetexcept.c (fegetexcept): Return 0.
23846 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
23847 FE_TONEAREST.
23848 * math/feholdexcpt.c (feholdexcept): Return 0.
23849 * math/fesetenv.c (__fesetenv): Return 0.
23850 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
23851 argument FE_TONEAREST.
23852 * math/feupdateenv.c (__feupdateenv): Return 0.
23853 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
23854
23855 2013-06-18 Roland McGrath <roland@hack.frob.com>
23856
23857 * elf/rtld-Rules (rtld-compile-command.S): New variable.
23858 (rtld-compile-command.s, rtld-compile-command.c): New variables.
23859 ($(objpfx)rtld-%.os rules): Use them.
23860
23861 2013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23862
23863 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
23864 fields.
23865
23866 2013-06-17 Roland McGrath <roland@hack.frob.com>
23867
23868 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
23869 length of target pattern, then descending length of dependency pattern.
23870 * configure.in (AWK): Require gawk 3.1.2 or newer.
23871 * manual/install.texi (Tools for Compilation): Say that we do.
23872 * configure: Regenerated.
23873
23874 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
23875 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
23876 * scripts/sysd-rules.awk: ... this new script.
23877 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
23878 than a glob-style pattern.
23879
23880 2013-06-17 Joseph Myers <joseph@codesourcery.com>
23881
23882 * math/test-misc.c (main): Do not treat incorrectly rounded
23883 conversions as failure unless ROUNDING_TESTS passes.
23884
23885 2013-06-15 Joseph Myers <joseph@codesourcery.com>
23886
23887 [BZ #15631]
23888 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
23889 restore exception state around main square root computation, then
23890 check for inexactness explicitly.
23891
23892 * math/libm-test.inc (fma_test_data): Add another test.
23893
23894 2013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
23895
23896 * manual/threads.texi (Non-POSIX Extensions): New document
23897 node. Document pthread_getattr_default_np and
23898 pthread_setattr_default_np.
23899
23900 * Versions.def (libpthread): Add GLIBC_2.18.
23901 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
23902 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
23903 Likewise.
23904 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
23905 Likewise.
23906 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
23907 Likewise.
23908 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
23909 Likewise.
23910 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
23911 Likewise.
23912 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
23913 Likewise.
23914 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
23915 Likewise.
23916 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
23917 Likewise.
23918 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
23919 Likewise.
23920
23921 2013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
23922
23923 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
23924 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
23925
23926 2013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
23927 H.J. Lu <hjl.tools@gmail.com>
23928
23929 [BZ #15627]
23930 * sysdeps/x86_64/rtld-memset.c: Remove file.
23931 * sysdeps/x86_64/rtld-memset.S: New file.
23932
23933 2013-06-14 Joseph Myers <joseph@codesourcery.com>
23934
23935 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
23936 (test_in_one_mode): Take arguments for whether the rounding mode
23937 is supported for each floating-point type.
23938 (do_test): Pass new arguments to test_in_one_mode using
23939 ROUNDING_TESTS.
23940
23941 2013-06-13 Roland McGrath <roland@hack.frob.com>
23942
23943 * posix/tst-waitid.c (do_test): Distinguish different instances of
23944 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
23945 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
23946 before entering the kernel for waitpid.
23947
23948 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
23949
23950 * NEWS: Fix note on clock function precision. Text by Roland
23951 McGrath.
23952
23953 2013-06-13 Roland McGrath <roland@hack.frob.com>
23954
23955 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
23956 it into place only when and if the sanity check passes.
23957
23958 2013-06-13 Joseph Myers <joseph@codesourcery.com>
23959
23960 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
23961 output for whether conversion result is exact. Take argument
23962 indicating whether type is IBM long double.
23963 (round_for_all): Change need_exact field to ibm_ld.
23964 * stdlib/tst-strtod-round.c (struct exactness): New type.
23965 (struct test): Change bool ld_ok field to struct exactness exact.
23966 (TEST): Update all definitions for change to field.
23967 (tests): Regenerate array contents.
23968 (test_in_one_mode): Take pointer to new field instead of old ld_ok
23969 field value. Check for IBM long double here.
23970 (do_test): Update calls to test_in_one_mode.
23971
23972 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
23973
23974 [BZ #12515]
23975 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
23976 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
23977
23978 2013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23979
23980 [BZ #15605]
23981 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
23982 generated by the compiler on loop optimizations.
23983 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
23984 general definitions.
23985
23986 2013-06-12 Joseph Myers <joseph@codesourcery.com>
23987
23988 * math/bug-nextafter.c: Include <math-tests.h>.
23989 (main): Only test for exceptions if EXCEPTION_TESTS is true for
23990 the relevant type.
23991 * math/bug-nexttoward.c: Include <math-tests.h>.
23992 (main): Only test for exceptions if EXCEPTION_TESTS is true for
23993 the relevant type.
23994 * math/test-misc.c: Include <math-tests.h>.
23995 (main): Only test for exceptions if EXCEPTION_TESTS is true for
23996 the relevant type.
23997
23998 2013-06-12 Andreas Jaeger <aj@suse.de>
23999
24000 * po/ia.po: Update Interlingua translation from translation
24001 project.
24002
24003 2013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
24004
24005 * include/fenv.h: Include stdbool.h.
24006 (struct rm_ctx): New structure.
24007 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
24008 Define macro.
24009 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
24010 (SET_RESTORE_ROUNDF): Likewise.
24011 (SET_RESTORE_ROUNDL): Likewise.
24012 (SET_RESTORE_ROUND_NOEX): Likewise.
24013 (SET_RESTORE_ROUND_NOEXF): Likewise.
24014 (SET_RESTORE_ROUND_NOEXL): Likewise.
24015 (SET_RESTORE_ROUND_53BIT): Likewise.
24016 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
24017 (libc_feresetround_noexf_ctx): Likewise.
24018 (libc_feresetround_noexl_ctx): Likewise.
24019 (libc_feholdsetround_53bit_ctx): Likewise.
24020 (libc_feresetround_53bit_ctx): Likewise.
24021 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
24022 (libc_feholdexcept_setround_sse_ctx): New function.
24023 (libc_fesetenv_sse_ctx): Likewise.
24024 (libc_feupdateenv_sse_ctx): Likewise.
24025 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
24026 (libc_feholdexcept_setround_387_ctx): Likewise.
24027 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
24028 (libc_feholdsetround_387_prec_ctx): Likewise.
24029 (libc_feholdsetround_387_ctx): Likewise.
24030 (libc_feholdsetround_387_53bit_ctx): Likewise.
24031 (libc_feholdsetround_sse_ctx): Likewise.
24032 (libc_feresetround_sse_ctx): Likewise.
24033 (libc_feresetround_387_ctx): Likewise.
24034 (libc_feupdateenv_387_ctx): Likewise.
24035 (libc_feholdexcept_setroundf_ctx): Define macro.
24036 (libc_fesetenvf_ctx): Likewise.
24037 (libc_feupdateenvf_ctx): Likewise.
24038 (libc_feholdsetroundf_ctx): Likewise.
24039 (libc_feresetroundf_ctx): Likewise.
24040 (libc_feholdexcept_setround_ctx): Likewise.
24041 (libc_fesetenv_ctx): Likewise.
24042 (libc_feupdateenv_ctx): Likewise.
24043 (libc_feholdsetround_ctx): Likewise.
24044 (libc_feresetround_ctx): Likewise.
24045 (libc_feholdexcept_setroundl_ctx): Likewise.
24046 (libc_feupdateenvl_ctx): Likewise.
24047 (libc_feholdsetroundl_ctx): Likewise.
24048 (libc_feresetroundl_ctx): Likewise.
24049 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
24050 (libc_feresetround_53bit_ctx): Likewise.
24051
24052 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
24053
24054 * locale/iso-639.def: Convert to UTF-8.
24055
24056 2013-06-11 Joseph Myers <joseph@codesourcery.com>
24057
24058 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
24059 (EXCEPTION_TESTS_double): Likewise.
24060 (EXCEPTION_TESTS_long_double): Likewise.
24061 (EXCEPTION_TESTS): Likewise.
24062 * math/libm-test.inc (test_exceptions): Only test exceptions if
24063 EXCEPTION_TESTS (FLOAT).
24064
24065 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
24066
24067 * benchtests/Makefile (string-bench): Add strcpy_chk and
24068 stpcpy_chk.
24069 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
24070 * benchtests/bench-stpcpy_chk.c: New file.
24071 * benchtests/bench-strcpy_chk-ifunc.c: New file.
24072 * benchtests/bench-strcpy_chk.c: New file.
24073 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
24074 code.
24075 (do_test): Likewise.
24076
24077 2013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
24078
24079 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
24080 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
24081 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
24082 with tabs where appropriate.
24083 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
24084 dl-procinfo.h.
24085 [PPC_PLATFORM_PPC440]: Likewise.
24086 [PPC_PLATFORM_PPC464]: Likewise.
24087 [PPC_PLATFORM_PPC476]: Likewise.
24088 (_dl_string_platform): Add support for detecting ppc405, ppc440,
24089 ppc464, and ppc476 platform strings merging from ports/
24090 dl-procinfo.h.
24091
24092 2013-06-11 Andreas Schwab <schwab@suse.de>
24093
24094 [BZ #14991]
24095 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
24096 (from_ucs4_idx): Regenerate.
24097 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
24098 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
24099 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
24100 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
24101 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
24102 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
24103 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
24104 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
24105 from FROM_LOOP and TO_LOOP specific macros.
24106 (BODY): Handle combining characters.
24107 * iconvdata/BIG5HKSCS.irreversible: Update.
24108 * iconvdata/BIG5HKSCS.precomposed: New file.
24109 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
24110 characters.
24111 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
24112
24113 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
24114
24115 * include/sys/time.h: Fix indentation and add copyright header.
24116
24117 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
24118 (do_test): Likewise.
24119 * string/test-memchr.c (do_one_test): Likewise.
24120 (do_test): Likewise.
24121 * string/test-memcmp.c (do_one_test): Likewise.
24122 (do_test): Likewise.
24123 * string/test-memcpy.c (do_one_test): Likewise.
24124 (do_test): Likewise.
24125 * string/test-memmem.c (do_one_test): Likewise.
24126 (do_test): Likewise.
24127 (do_random_tests): Likewise.
24128 * string/test-memmove.c (do_one_test): Likewise.
24129 (do_test): Likewise.
24130 * string/test-memset.c (do_one_test): Likewise.
24131 (do_test): Likewise.
24132 * string/test-rawmemchr.c (do_one_test): Likewise.
24133 (do_test): Likewise.
24134 * string/test-strcasecmp.c (do_one_test): Likewise.
24135 (do_test): Likewise.
24136 * string/test-strcasestr.c (do_one_test): Likewise.
24137 (do_test): Likewise.
24138 * string/test-strcat.c (do_one_test): Likewise.
24139 (do_test): Likewise.
24140 * string/test-strchr.c (do_one_test): Likewise.
24141 (do_test): Likewise.
24142 * string/test-strcmp.c (do_one_test): Likewise.
24143 (do_test): Likewise.
24144 * string/test-strcpy.c (do_one_test): Likewise.
24145 (do_test): Likewise.
24146 * string/test-string.h: Likewise.
24147 (test_init): Likewise.
24148 * string/test-strlen.c (do_one_test): Likewise.
24149 (do_test): Likewise.
24150 * string/test-strncasecmp.c (do_one_test): Likewise.
24151 (do_test): Likewise.
24152 * string/test-strncat.c (do_one_test): Likewise.
24153 (do_test): Likewise.
24154 * string/test-strncmp.c (do_one_test): Likewise.
24155 (do_test_limit): Likewise.
24156 (do_test): Likewise.
24157 * string/test-strncpy.c (do_one_test): Likewise.
24158 (do_test): Likewise.
24159 * string/test-strnlen.c (do_one_test): Likewise.
24160 (do_test): Likewise.
24161 * string/test-strpbrk.c (do_one_test): Likewise.
24162 (do_test): Likewise.
24163 * string/test-strrchr.c (do_one_test): Likewise.
24164 (do_test): Likewise.
24165 * string/test-strspn.c (do_one_test): Likewise.
24166 (do_test): Likewise.
24167 * string/test-strstr.c (do_one_test): Likewise.
24168 (do_test): Likewise.
24169
24170 * benchtests/Makefile (string-bench): Add string benchmarks.
24171 * benchtests/bench-bcopy-ifunc.c: New file.
24172 * benchtests/bench-bcopy.c: New file.
24173 * benchtests/bench-bzero-ifunc.c: New file.
24174 * benchtests/bench-bzero.c: New file.
24175 * benchtests/bench-memccpy-ifunc.c: New file.
24176 * benchtests/bench-memccpy.c: New file.
24177 * benchtests/bench-memchr-ifunc.c: New file.
24178 * benchtests/bench-memchr.c: New file.
24179 * benchtests/bench-memcmp-ifunc.c: New file.
24180 * benchtests/bench-memcmp.c: New file.
24181 * benchtests/bench-memmem-ifunc.c: New file.
24182 * benchtests/bench-memmem.c: New file.
24183 * benchtests/bench-memmove-ifunc.c: New file.
24184 * benchtests/bench-memmove.c: New file.
24185 * benchtests/bench-mempcpy-ifunc.c: New file.
24186 * benchtests/bench-mempcpy.c: New file.
24187 * benchtests/bench-memset-ifunc.c: New file.
24188 * benchtests/bench-memset.c: New file.
24189 * benchtests/bench-rawmemchr-ifunc.c: New file.
24190 * benchtests/bench-rawmemchr.c: New file.
24191 * benchtests/bench-stpcpy-ifunc.c: New file.
24192 * benchtests/bench-stpcpy.c: New file.
24193 * benchtests/bench-stpncpy-ifunc.c: New file.
24194 * benchtests/bench-stpncpy.c: New file.
24195 * benchtests/bench-strcasecmp-ifunc.c: New file.
24196 * benchtests/bench-strcasecmp.c: New file.
24197 * benchtests/bench-strcasestr-ifunc.c: New file.
24198 * benchtests/bench-strcasestr.c: New file.
24199 * benchtests/bench-strcat-ifunc.c: New file.
24200 * benchtests/bench-strcat.c: New file.
24201 * benchtests/bench-strchr-ifunc.c: New file.
24202 * benchtests/bench-strchr.c: New file.
24203 * benchtests/bench-strchrnul-ifunc.c: New file.
24204 * benchtests/bench-strchrnul.c: New file.
24205 * benchtests/bench-strcmp-ifunc.c: New file.
24206 * benchtests/bench-strcmp.c: New file.
24207 * benchtests/bench-strcpy-ifunc.c: New file.
24208 * benchtests/bench-strcpy.c: New file.
24209 * benchtests/bench-strcspn-ifunc.c: New file.
24210 * benchtests/bench-strcspn.c: New file.
24211 * benchtests/bench-strlen-ifunc.c: New file.
24212 * benchtests/bench-strlen.c: New file.
24213 * benchtests/bench-strncasecmp-ifunc.c: New file.
24214 * benchtests/bench-strncasecmp.c: New file.
24215 * benchtests/bench-strncat-ifunc.c: New file.
24216 * benchtests/bench-strncat.c: New file.
24217 * benchtests/bench-strncmp-ifunc.c: New file.
24218 * benchtests/bench-strncmp.c: New file.
24219 * benchtests/bench-strncpy-ifunc.c: New file.
24220 * benchtests/bench-strncpy.c: New file.
24221 * benchtests/bench-strnlen-ifunc.c: New file.
24222 * benchtests/bench-strnlen.c: New file.
24223 * benchtests/bench-strpbrk-ifunc.c: New file.
24224 * benchtests/bench-strpbrk.c: New file.
24225 * benchtests/bench-strrchr-ifunc.c: New file.
24226 * benchtests/bench-strrchr.c: New file.
24227 * benchtests/bench-strspn-ifunc.c: New file.
24228 * benchtests/bench-strspn.c: New file.
24229 * benchtests/bench-strstr-ifunc.c: New file.
24230 * benchtests/bench-strstr.c: New file.
24231
24232 * benchtests/Makefile: Disable parallel execution of targets.
24233 (string-bench): Add memcpy.
24234 (benchset): New variable to store a list of benchmark sets.
24235 (bench-func): Renamed from bench.
24236 (bench-set): New target.
24237 (bench): Depend on bench-func and bench-set.
24238 * benchtests/README: Add section on benchmark sets.
24239 * benchtests/bench-memcpy-ifunc.c: New file.
24240 * benchtests/bench-memcpy.c: New file.
24241 * benchtests/bench-string.h: New file.
24242
24243 2013-06-11 Andreas Schwab <schwab@suse.de>
24244
24245 [BZ #15577]
24246 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
24247 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
24248 values in the triple.
24249 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
24250 terminator in the group key.
24251
24252 2013-06-11 Andreas Jaeger <aj@suse.de>
24253
24254 * po/zh_TW.po: Update Chinese (traditional) translation from
24255 translation project.
24256
24257 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
24258
24259 * include/time.h (__clock_gettime): Add libc_hidden_proto.
24260 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
24261 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
24262 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
24263 (clock_getcpuclockid): Likewise.
24264 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
24265 Add weak_alias and libc_hidden_def.
24266 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
24267 * rt/clock_gettime.c (clock_gettime): Rename to
24268 __clock_gettime. Add weak_alias and libc_hidden_def.
24269 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
24270 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
24271 __clock_nanosleep. Add weak_alias and libc_hidden_def.
24272 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
24273 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
24274 Likewise.
24275 * rt/clock_settime.c (clock_settime): Rename to
24276 __clock_settime. Add weak_alias and libc_hidden_def.
24277 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
24278
24279 2013-06-10 Joseph Myers <joseph@codesourcery.com>
24280
24281 * mach/err_boot.sub: Remove trailing whitespace.
24282 * mach/err_ipc.sub: Likewise.
24283 * mach/err_mach.sub: Likewise.
24284
24285 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
24286 (ROUNDING_TESTS_double): Likewise.
24287 (ROUNDING_TESTS_long_double): Likewise.
24288 (ROUNDING_TESTS): Likewise.
24289 * math/libm-test.inc: Include <math-tests.h>.
24290 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
24291 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
24292 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
24293 (IF_ROUND_INIT_FE_UPWARD): Likewise.
24294
24295 2013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
24296
24297 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
24298 of assigning.
24299
24300 2013-06-08 Joseph Myers <joseph@codesourcery.com>
24301
24302 * sysdeps/gnu/errlist.awk: Do not generate space at end of
24303 otherwise empty TRANS lines.
24304 * sysdeps/gnu/errlist.c: Regenerated.
24305
24306 * catgets/gencat.c (error_print): Use (void) in function
24307 definition.
24308 * crypt/crypt_util.c (__init_des): Likewise.
24309 * crypt/speeds.c (Stop): Likewise.
24310 (main): Likewise.
24311 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
24312 * inet/ruserpass.c (token): Likewise.
24313 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
24314 * intl/localealias.c (extend_alias_table): Likewise.
24315 * intl/plural-exp.c (init_germanic_plural): Likewise.
24316 * libio/fcloseall.c (__fcloseall): Likewise.
24317 * libio/genops.c (_IO_flush_all): Likewise.
24318 (_IO_flush_all_linebuffered): Likewise.
24319 (_IO_cleanup): Likewise.
24320 (_IO_iter_begin): Likewise.
24321 (_IO_iter_end): Likewise.
24322 (_IO_list_lock): Likewise.
24323 (_IO_list_unlock): Likewise.
24324 (_IO_list_resetlock): Likewise.
24325 * libio/getchar.c (getchar): Likewise.
24326 * libio/getchar_u.c (getchar_unlocked): Likewise.
24327 * libio/getwchar.c (getwchar): Likewise.
24328 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
24329 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
24330 * login/getpt.c (__getpt): Likewise.
24331 * login/tst-utmp.c (main): Likewise.
24332 * malloc/hooks.c (__malloc_check_init): Likewise.
24333 * malloc/malloc.c (__malloc_stats): Likewise.
24334 * malloc/mtrace.c (tr_break): Likewise.
24335 (mtrace): Likewise.
24336 (muntrace): Likewise.
24337 * misc/fstab.c (endfsent): Likewise.
24338 * misc/getclktck.c (__getclktck): Likewise.
24339 * misc/getdtsz.c (__getdtablesize): Likewise.
24340 * misc/gethostid.c (gethostid): Likewise.
24341 * misc/getpagesize.c (__getpagesize): Likewise.
24342 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
24343 (__get_nprocs): Likewise.
24344 (__get_phys_pages): Likewise.
24345 (__get_avphys_pages): Likewise.
24346 * misc/getttyent.c (getttyent): Likewise.
24347 (setttyent): Likewise.
24348 (endttyent): Likewise.
24349 * misc/getusershell.c (getusershell): Likewise.
24350 (endusershell): Likewise.
24351 (setusershell): Likewise.
24352 (initshells): Likewise.
24353 * misc/hsearch.c (__hdestroy): Likewise.
24354 * misc/sync.c (sync): Likewise.
24355 * misc/syslog.c (closelog_internal): Likewise.
24356 (closelog): Likewise.
24357 * misc/ttyslot.c (ttyslot): Likewise.
24358 * misc/vhangup.c (vhangup): Likewise.
24359 * posix/fork.c (__fork): Likewise.
24360 * posix/getegid.c (__getegid): Likewise.
24361 * posix/geteuid.c (__geteuid): Likewise.
24362 * posix/getgid.c (__getgid): Likewise.
24363 * posix/getpid.c (__getpid): Likewise.
24364 * posix/getppid.c (__getppid): Likewise.
24365 * posix/getuid.c (__getuid): Likewise.
24366 * posix/pause.c (pause): Likewise.
24367 * posix/setpgrp.c (setpgrp): Likewise.
24368 * posix/setsid.c (__setsid): Likewise.
24369 * posix/test-vfork.c (noop): Likewise.
24370 * resolv/gethnamaddr.c (_endhtent): Likewise.
24371 (_gethtent): Likewise.
24372 (ht_endhostent): Likewise.
24373 (gethostent): Likewise.
24374 (dns_service): Likewise.
24375 * stdlib/drand48.c (drand48): Likewise.
24376 * stdlib/lrand48.c (lrand48): Likewise.
24377 * stdlib/mrand48.c (mrand48): Likewise.
24378 * stdlib/rand.c (rand): Likewise.
24379 * stdlib/random.c (__random): Likewise.
24380 * stdlib/setenv.c (clearenv): Likewise.
24381 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
24382 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
24383 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
24384 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
24385 (__get_nprocs): Likewise.
24386 (__get_phys_pages): Likewise.
24387 (__get_avphys_pages): Likewise.
24388 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
24389 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
24390 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
24391 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
24392 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
24393 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
24394 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
24395 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
24396 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
24397 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
24398 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
24399 * sysdeps/mach/hurd/sync.c (sync): Likewise.
24400 * sysdeps/posix/clock.c (clock): Likewise.
24401 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
24402 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
24403 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
24404 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
24405 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
24406 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
24407 (__get_nprocs_conf): Likewise.
24408 (__get_phys_pages): Likewise.
24409 (__get_avphys_pages): Likewise.
24410 * time/clock.c (clock): Likewise.
24411 * time/tzset.c (__tzname_max): Likewise.
24412
24413 2013-06-07 Joseph Myers <joseph@codesourcery.com>
24414
24415 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
24416 (__bswap_32): Do not use "register".
24417 * crypt/crypt.c (_ufc_doit_r): Likewise.
24418 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
24419 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
24420 * gmon/gmon.c (__monstartup): Likewise.
24421 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
24422 * hurd/hurdmalloc.c (more_memory): Likewise.
24423 (malloc): Likewise.
24424 (free): Likewise.
24425 (realloc): Likewise.
24426 (malloc_fork_prepare): Likewise.
24427 (malloc_fork_parent): Likewise.
24428 (malloc_fork_child): Likewise.
24429 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
24430 (_svcauth_des): Likewise.
24431 * inet/inet_lnaof.c (inet_lnaof): Likewise.
24432 * inet/inet_net.c (inet_network): Likewise.
24433 * inet/inet_netof.c (inet_netof): Likewise.
24434 * inet/rcmd.c (__validuser2_sa): Likewise.
24435 * io/fts.c (fts_open): Likewise.
24436 (fts_load): Likewise.
24437 (fts_close): Likewise.
24438 (fts_read): Likewise.
24439 (fts_children): Likewise.
24440 (fts_build): Likewise.
24441 (fts_stat): Likewise.
24442 (fts_sort): Likewise.
24443 (fts_alloc): Likewise.
24444 (fts_lfree): Likewise.
24445 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
24446 (_IO_file_xsgetn): Likewise.
24447 (_IO_file_xsgetn_mmap): Likewise.
24448 * libio/iofopncook.c (_IO_cookie_read): Likewise.
24449 (_IO_cookie_write): Likewise.
24450 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
24451 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
24452 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
24453 * malloc/obstack.c (_obstack_begin): Likewise.
24454 (_obstack_begin_1): Likewise.
24455 (_obstack_newchunk): Likewise.
24456 (_obstack_allocated_p): Likewise.
24457 (obstack_free): Likewise.
24458 (_obstack_memory_used): Likewise.
24459 * misc/getttyent.c (getttynam): Likewise.
24460 (getttyent): Likewise.
24461 (skip): Likewise.
24462 (value): Likewise.
24463 * misc/getusershell.c (initshells): Likewise.
24464 * misc/syslog.c (__vsyslog_chk): Likewise.
24465 * misc/ttyslot.c (ttyslot): Likewise.
24466 * nis/nis_hash.c (__nis_hash): Likewise.
24467 * posix/fnmatch_loop.c (FCT): Likewise.
24468 * posix/getconf.c (print_all): Likewise.
24469 (main): Likewise.
24470 * posix/getopt.c (exchange): Likewise.
24471 * posix/glob.c (globfree): Likewise.
24472 (prefix_array): Likewise.
24473 (__glob_pattern_type): Likewise.
24474 * resolv/arpa/nameser.h (NS_GET16): Likewise.
24475 (NS_GET32): Likewise.
24476 (NS_PUT16): Likewise.
24477 (NS_PUT32): Likewise.
24478 * resolv/gethnamaddr.c (getanswer): Likewise.
24479 (gethostbyname2): Likewise.
24480 (gethostbyaddr): Likewise.
24481 (_gethtent): Likewise.
24482 (_gethtbyname2): Likewise.
24483 (_gethtbyaddr): Likewise.
24484 * resolv/ns_print.c (dst_s_get_int16): Likewise.
24485 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
24486 * resolv/res_init.c (__res_vinit): Likewise.
24487 (net_mask): Likewise.
24488 * resolv/res_mkquery.c (outchar): Likewise.
24489 (PRINT): Likewise.
24490 * stdio-common/printf_fp.c (outchar): Likewise.
24491 (PRINT): Likewise.
24492 * stdio-common/printf_fphex.c (outchar): Likewise.
24493 (PRINT): Likewise.
24494 * stdio-common/printf_size.c (outchar): Likewise.
24495 (PRINT): Likewise.
24496 * stdio-common/test_rdwr.c (main): Likewise.
24497 * stdio-common/tfformat.c (matches): Likewise.
24498 * stdio-common/vfprintf.c (outchar): Likewise.
24499 (printf_unknown): Likewise.
24500 (buffered_vfprintf): Likewise.
24501 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
24502 * stdio-common/xbug.c (AppendToBuffer): Likewise.
24503 (ReadFile): Likewise.
24504 * stdlib/qsort.c (SWAP): Likewise.
24505 (_quicksort): Likewise.
24506 * stdlib/setenv.c (__add_to_environ): Likewise.
24507 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
24508 * stdlib/strtol_l.c (__strtol_l): Likewise.
24509 * stdlib/tst-strtod.c (main): Likewise.
24510 * stdlib/tst-strtol.c (main): Likewise.
24511 * stdlib/tst-strtoll.c (main): Likewise.
24512 * string/bits/string2.h (__strcmp_cc): Likewise.
24513 (__strcmp_cg): Likewise.
24514 (__strcspn_c1): Likewise.
24515 (__strcspn_c2): Likewise.
24516 (__strcspn_c3): Likewise.
24517 (__strspn_c1): Likewise.
24518 (__strspn_c2): Likewise.
24519 (__strspn_c3): Likewise.
24520 (__strsep_1c): Likewise.
24521 (__strsep_2c): Likewise.
24522 (__strsep_3c): Likewise.
24523 * string/memccpy.c (__memccpy): Likewise.
24524 * string/stpcpy.c (__stpcpy): Likewise.
24525 * string/strcmp.c (strcmp): Likewise.
24526 * string/strrchr.c (strrchr): Likewise.
24527 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
24528 Likewise.
24529 * sysdeps/mach/hurd/getcwd.c
24530 (_hurd_canonicalize_directory_name_internal): Likewise.
24531 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
24532 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
24533 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
24534 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
24535 Likewise, in both definitions.
24536 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
24537 definitions.
24538 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
24539 64] (__bswap_64): Likewise.
24540 * time/test_time.c (main): Likewise.
24541 * time/tzfile.c (__tzfile_read): Likewise.
24542 (__tzfile_compute): Likewise.
24543 * time/tzset.c (__tzset_parse_tz): Likewise.
24544 (tzset_internal): Likewise.
24545 (compute_change): Likewise.
24546 * wcsmbs/wcscat.c (__wcscat): Likewise.
24547 * wcsmbs/wcschr.c (wcschr): Likewise.
24548 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
24549 * wcsmbs/wcscspn.c (wcscspn): Likewise.
24550 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
24551 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
24552 * wcsmbs/wcsspn.c (wcsspn): Likewise.
24553 * wcsmbs/wcsstr.c (wcsstr): Likewise.
24554 * wcsmbs/wmemchr.c (wmemchr): Likewise.
24555 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
24556 * wcsmbs/wmemset.c (wmemset): Likewise.
24557
24558 2013-06-06 Joseph Myers <joseph@codesourcery.com>
24559
24560 * scripts/config.guess: Update to version 2013-05-16.
24561 * scripts/config.sub: Update to version 2013-04-24.
24562 * scripts/install-sh: Update to version 2011-11-20.07.
24563 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
24564 * scripts/move-if-change: Update to version 2012-01-06 07:23.
24565
24566 2013-06-06 Ondřej Bílka <neleai@seznam.cz>
24567
24568 * debug/fgetws_u_chk.c: Fix leading whitespaces.
24569 * elf/sln.c: Likewise.
24570 * hurd/hurd/ioctl.h: Likewise.
24571 * hurd/hurdmalloc.c: Likewise.
24572 * hurd/xattr.c: Likewise.
24573 * include/shlib-compat.h: Likewise.
24574 * inet/ruserpass.c: Likewise.
24575 * libio/iofgets_u.c: Likewise.
24576 * libio/iofgetws_u.c: Likewise.
24577 * locale/programs/ld-identification.c: Likewise.
24578 * locale/programs/ld-time.c: Likewise.
24579 * mach/msg-destroy.c: Likewise.
24580 * nss/nss_files/files-netgrp.c: Likewise.
24581 * resolv/res_data.c: Likewise.
24582 * soft-fp/op-1.h: Likewise.
24583 * soft-fp/op-2.h: Likewise.
24584 * soft-fp/op-4.h: Likewise.
24585 * soft-fp/op-common.h: Likewise.
24586 * stdio-common/printf_fphex.c: Likewise.
24587 * stdlib/strtod_l.c: Likewise.
24588 * sunrpc/rpc/clnt.h: Likewise.
24589 * sysdeps/generic/framestate.c: Likewise.
24590 * sysdeps/i386/bsd-_setjmp.S: Likewise.
24591 * sysdeps/i386/bsd-setjmp.S: Likewise.
24592 * sysdeps/i386/__longjmp.S: Likewise.
24593 * sysdeps/i386/setjmp.S: Likewise.
24594 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
24595 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
24596 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
24597 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
24598 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
24599 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
24600 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
24601 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
24602 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
24603 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
24604 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
24605 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
24606 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
24607 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
24608 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
24609 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
24610 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
24611 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
24612 * sysdeps/ieee754/support.c: Likewise.
24613 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
24614 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
24615 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
24616 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
24617 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
24618 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
24619 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
24620 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
24621 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
24622 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
24623 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
24624 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
24625 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
24626 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
24627 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
24628 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
24629 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
24630 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
24631
24632 2013-06-05 Ondřej Bílka <neleai@seznam.cz>
24633
24634 * posix/transbug.c: Remove executable mode.
24635
24636 2013-06-05 Joseph Myers <joseph@codesourcery.com>
24637
24638 * crypt/speeds.c: Remove trailing whitespace.
24639 * dlfcn/default.c: Likewise.
24640 * elf/ifuncdep2.c: Likewise.
24641 * elf/ifuncmain1.c: Likewise.
24642 * elf/ifuncmain1vis.c: Likewise.
24643 * elf/testobj.h: Likewise.
24644 * elf/tst-stackguard1.c: Likewise.
24645 * gmon/sys/gmon.h: Likewise.
24646 * hurd/hurdmsg.c: Likewise.
24647 * hurd/new-fd.c: Likewise.
24648 * hurd/ports-get.c: Likewise.
24649 * iconvdata/ibm1008_420.c: Likewise.
24650 * inet/tst-getni1.c: Likewise.
24651 * inet/tst-getni2.c: Likewise.
24652 * libio/ioungetc.c: Likewise.
24653 * libio/wfiledoalloc.c: Likewise.
24654 * manual/libm-err-tab.pl: Likewise.
24655 * math/w_dremf.c: Likewise.
24656 * misc/ftruncate.c: Likewise.
24657 * posix/bug-glob2.c: Likewise.
24658 * posix/tst-pcre.c: Likewise.
24659 * posix/wait4.c: Likewise.
24660 * resolv/README: Likewise.
24661 * resolv/res_debug.h: Likewise.
24662 * resolv/tst-inet_ntop.c: Likewise.
24663 * setjmp/bug269-setjmp.c: Likewise.
24664 * soft-fp/extended.h: Likewise.
24665 * soft-fp/op-1.h: Likewise.
24666 * soft-fp/op-2.h: Likewise.
24667 * soft-fp/op-4.h: Likewise.
24668 * soft-fp/op-8.h: Likewise.
24669 * soft-fp/testit.c: Likewise.
24670 * stdio-common/bug16.c: Likewise.
24671 * stdlib/random.c: Likewise.
24672 * sunrpc/rpcsvc/rquota.x: Likewise.
24673 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
24674 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
24675 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
24676 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
24677 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
24678 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
24679 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
24680 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
24681 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
24682 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
24683 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
24684 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
24685 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
24686 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
24687 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
24688 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
24689 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
24690 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
24691 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
24692 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
24693 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
24694 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
24695 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
24696 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
24697 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
24698 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
24699 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
24700 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
24701 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
24702 * sysdeps/ieee754/s_lib_version.c: Likewise.
24703 * sysdeps/mach/hurd/check_fds.c: Likewise.
24704 * sysdeps/mach/hurd/getsockname.c: Likewise.
24705 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
24706 * sysdeps/mach/hurd/recvfrom.c: Likewise.
24707 * sysdeps/powerpc/bits/link.h: Likewise.
24708 * sysdeps/powerpc/dl-procinfo.c: Likewise.
24709 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
24710 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
24711 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
24712 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
24713 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
24714 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
24715 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
24716 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
24717 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
24718 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
24719 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
24720 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
24721 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
24722 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
24723 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
24724 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
24725 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
24726 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
24727 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
24728 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
24729 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
24730 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
24731 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
24732 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
24733 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
24734 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
24735 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
24736 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
24737 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
24738 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
24739 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
24740 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
24741 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
24742 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
24743 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
24744 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
24745 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
24746 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
24747 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
24748 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
24749 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
24750 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
24751 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
24752 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
24753 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
24754 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
24755 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
24756 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
24757 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
24758 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
24759 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
24760 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
24761 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
24762 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
24763 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
24764 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
24765 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
24766 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
24767 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
24768 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
24769 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
24770 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
24771 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
24772 * sysdeps/powerpc/sysdep.h: Likewise.
24773 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
24774 * sysdeps/s390/s390-64/sub_n.S: Likewise.
24775 * sysdeps/sh/dl-trampoline.S: Likewise.
24776 * sysdeps/sh/memset.S: Likewise.
24777 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
24778 * sysdeps/sh/strlen.S: Likewise.
24779 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
24780 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
24781 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
24782 * sysdeps/sparc/sparc32/rem.S: Likewise.
24783 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
24784 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
24785 * sysdeps/sparc/sparc32/strchr.S: Likewise.
24786 * sysdeps/sparc/sparc32/udiv.S: Likewise.
24787 * sysdeps/sparc/sparc32/urem.S: Likewise.
24788 * sysdeps/sparc/sparc64/add_n.S: Likewise.
24789 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
24790 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
24791 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
24792 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
24793 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
24794 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
24795 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
24796 * sysdeps/unix/bsd/times.c: Likewise.
24797 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
24798 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
24799 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
24800 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
24801 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
24802 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
24803 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
24804 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
24805 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
24806 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
24807 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
24808 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
24809 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
24810 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
24811 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
24812 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
24813 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
24814 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
24815 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
24816 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
24817 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
24818 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
24819 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
24820 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
24821 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
24822 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
24823 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
24824 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
24825 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
24826 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
24827 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
24828 * sysdeps/x86_64/strcspn.S: Likewise.
24829
24830 2013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
24831
24832 * locale/C-translit.h: Revert #include <stdint.h> because this is a
24833 generated file. Regenerate properly from gen-translit.pl.
24834 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
24835 locale/C-translit.h.
24836
24837 2013-06-05 Andreas Schwab <schwab@suse.de>
24838
24839 [BZ #15100]
24840 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
24841 week as 6 instead of -1.
24842 * time/tst-strptime.c (day_tests): Add test case.
24843
24844 2013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
24845
24846 * sysdeps/generic/math_private.h
24847 (libc_feholdexcept_setround_53bit): Replace with
24848 libc_feholdsetround_53bit.
24849 (libc_feupdateenv_53bit): Replace with
24850 libc_feresetround_53bit.
24851 (SET_RESTORE_ROUND_53BIT): Adjust.
24852
24853 2013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
24854
24855 * string/test-strchrnul.c: Add copyright header.
24856
24857 * posix/tst-getaddrinfo4.c: Increase test timeout.
24858
24859 2013-06-03 Carlos O'Donell <carlos@redhat.com>
24860
24861 [BZ #15536]
24862 * math/libm-test.inc (MAX_EXP): Remove
24863 (MIN_EXP): Define.
24864 (ulp): Use MIN_EXP - MANT_DIG.
24865 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
24866
24867 2013-05-31 Carlos O'Donell <carlos@redhat.com>
24868
24869 * po/be.po: Revert last change.
24870 * po/zh_CN.po: Likewise.
24871 * po/header.pot: Likewise.
24872
24873 2013-05-31 Joseph Myers <joseph@codesourcery.com>
24874
24875 * Makefile ($(common-objpfx)linkobj/libc.so): Define
24876 link-libc-deps to empty as target-specific variable.
24877 * Makerules (link-libc-args): New variable.
24878 (libc-for-link): Likewise.
24879 (link-libc-deps): Likewise.
24880 (lib%.so): Depend on $(link-libc-deps). Link with
24881 $(link-libc-args).
24882 (build-module): Link with $(link-libc-args).
24883 (build-module-asneeded): Likewise.
24884 (build-module-helper-objlist): Filter out $(link-libc-deps) from
24885 list of objects.
24886 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
24887 target-specific variable.
24888 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
24889 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
24890 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
24891 libc.
24892 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
24893 libc and ld.so.
24894 ($(objpfx)libpcprofile.so): Likewise.
24895 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
24896 libc_nonshared.a.
24897 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
24898 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
24899 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
24900 $(link-libc-deps).
24901 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
24902 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
24903 * login/Makefile ($(objpfx)libutil.so): Likewise.
24904 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
24905 * math/Makefile ($(objpfx)libm.so): Likewise.
24906 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
24907 $(objpfx)libnsl.so): Define libc-for-link as target-specific
24908 variable instead of depending directly on libc.
24909 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
24910 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
24911 $(link-libc-deps).
24912 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
24913 libc.
24914 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
24915 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
24916 ($(objpfx)libanl.so): Likewise.
24917 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
24918 ld.so.
24919 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
24920 $(link-libc-deps).
24921 * sysdeps/i386/fpu/Makefile: Remove file.
24922 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
24923 ($(objpfx)libm.so): Remove dependency on ld.so.
24924
24925 2013-05-30 Patsy Franklin <pfrankli@redhat.com>
24926
24927 [BZ # 15553]
24928 * nis/yp_xdr.c (XDRMAXNAME): Define.
24929 (XDRMAXRECORD): Define.
24930 (xdr_domainname): Use XDRMAXNAME.
24931 (xdr_mapname): Likewise.
24932 (xdr_peername): Likewise.
24933 (xdr_keydat): Use XDRMAXRECORD.
24934 (xdr_valdat): Likewise.
24935
24936 2013-05-30 Jeff Law <law@redhat.com>
24937
24938 [BZ #14256]
24939 * manual/errno.texi (ESTALE): Update to account for more than
24940 just NFS file systems.
24941 * sysdeps/gnu/errlist.c: Regenerated.
24942
24943 2013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
24944
24945 [BZ #15465]
24946 * elf/Makefile (tests): Add tst-null-argv.
24947 (modules-names): Add tst-null-argv-lib.
24948 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
24949 (tst-null-argv-ENV): Set environment for tst-null-argv.
24950 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
24951 (RTLD_PROGNAME): New macro.
24952 * elf/tst-null-argv.c: New test case.
24953 * elf/tst-null-argv-lib.c: Library for test case.
24954 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
24955 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
24956 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
24957 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
24958 * elf/dl-init.c (call_init): Likewise.
24959 (_dl_init): Likewise.
24960 * elf/dl-load.c (print_search_path): Likewise.
24961 (_dl_map_object): Likewise.
24962 * elf/dl-lookup.c (do_lookup_x): Likewise.
24963 (add_dependency): Likewise.
24964 (_dl_lookup_symbol_x): Likewise.
24965 (_dl_debug_bindings): Likewise.
24966 * elf/dl-open.c (_dl_show_scope): Likewise.
24967 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
24968 * elf/dl-version.c (match_symbol): Likewise.
24969 (_dl_check_map_versions): Likewise.
24970 * elf/rtld.c (dl_main): Likewise.
24971 (print_unresolved): Use RTLD_PROGNAME.
24972 (print_missing_version): Likewise.
24973 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
24974 (elf_machine_rela): Likewise.
24975 * sysdeps/powerpc/powerpc32/dl-machine.c
24976 (__process_machine_rela): Likewise.
24977 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
24978 Likewise.
24979 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
24980 Likewise.
24981 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
24982 Likewise.
24983 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
24984 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
24985 Likewise.
24986 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
24987 Likewise.
24988 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
24989
24990 2013-05-28 Carlos O'Donell <carlos@redhat.com>
24991
24992 * po/be.po: Add descriptive title.
24993 * po/zh_CN.po: Likewise.
24994 * po/header.pot: Likewise.
24995
24996 2013-05-28 Mike Frysinger <vapier@gentoo.org>
24997
24998 * locale/programs/locarchive.c (create_archive): Inlucde fname in
24999 error message.
25000 (enlarge_archive): Likewise.
25001
25002 2013-05-28 Ben North <ben@redfrontdoor.org>
25003
25004 * manual/arith.texi (frexp): It is the magnitude of the return
25005 value which lies in [0.5, 1), not the return value itself.
25006
25007 2013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25008
25009 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25010
25011 2013-05-26 Thomas Schwinge <thomas@codesourcery.com>
25012
25013 * stdio-common/bug26.c (main): Correct fscanf template.
25014
25015 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
25016 declare _dl_skip_args.
25017
25018 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
25019 Don't declare.
25020
25021 * manual/platform.texi: Add missing @end deftypefun.
25022
25023 2013-05-24 Joseph Myers <joseph@codesourcery.com>
25024
25025 [BZ #15529]
25026 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
25027 bit of mantissa of 2^16382.
25028 * math/libm-test.inc (hypot_test_data): Add more tests.
25029
25030 * math/libm-test.inc: Add drem and pow10 to list of tested
25031 functions.
25032 (pow10_test): New function.
25033 (drem_test): Likewise.
25034 (drem_test_tonearest): Likewise.
25035 (drem_test_towardzero): Likewise.
25036 (drem_test_downward): Likewise.
25037 (drem_test_upward): Likewise.
25038 (main): Call the new functions.
25039
25040 * math/libm-test.inc (finite_test_data): Remove.
25041 (finite_test): Run tests from isfinite_test_data.
25042 (gamma_test_data): Remove.
25043 (gamma_test): Run tests from lgamma_test_data.
25044 * sysdeps/i386/fpu/libm-test-ulps: Update.
25045 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25046
25047 2013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25048
25049 * manual/platform.texi: Add PowerPC PPR function set documentation.
25050 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
25051 implementation.
25052
25053 2013-05-24 Carlos O'Donell <carlos@redhat.com>
25054
25055 * math/libm-test.inc (MAX_EXP): Define.
25056 (ULPDIFF): Define.
25057 (ulp): New function.
25058 (check_float_internal): Use ULPDIFF.
25059 (cpow_test): Disable failing test.
25060 (check_ulp): Test ulp() implemetnation.
25061 (main): Call check_ulp before starting tests.
25062
25063 2013-05-24 Joseph Myers <joseph@codesourcery.com>
25064
25065 * math/gen-libm-test.pl (generate_testfile): Do not handle
25066 START_DATA and END_DATA.
25067 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
25068 END_DATA.
25069 (acos_tonearest_test_data): Likewise.
25070 (acos_towardzero_test_data): Likewise.
25071 (acos_downward_test_data): Likewise.
25072 (acos_upward_test_data): Likewise.
25073 (acosh_test_data): Likewise.
25074 (asin_test_data): Likewise.
25075 (asin_tonearest_test_data): Likewise.
25076 (asin_towardzero_test_data): Likewise.
25077 (asin_downward_test_data): Likewise.
25078 (asin_upward_test_data): Likewise.
25079 (asinh_test_data): Likewise.
25080 (atan_test_data): Likewise.
25081 (atanh_test_data): Likewise.
25082 (atan2_test_data): Likewise.
25083 (cabs_test_data): Likewise.
25084 (cacos_test_data): Likewise.
25085 (cacosh_test_data): Likewise.
25086 (carg_test_data): Likewise.
25087 (casin_test_data): Likewise.
25088 (casinh_test_data): Likewise.
25089 (catan_test_data): Likewise.
25090 (catanh_test_data): Likewise.
25091 (cbrt_test_data): Likewise.
25092 (ccos_test_data): Likewise.
25093 (ccosh_test_data): Likewise.
25094 (ceil_test_data): Likewise.
25095 (cexp_test_data): Likewise.
25096 (cimag_test_data): Likewise.
25097 (clog_test_data): Likewise.
25098 (clog10_test_data): Likewise.
25099 (conj_test_data): Likewise.
25100 (copysign_test_data): Likewise.
25101 (cos_test_data): Likewise.
25102 (cos_tonearest_test_data): Likewise.
25103 (cos_towardzero_test_data): Likewise.
25104 (cos_downward_test_data): Likewise.
25105 (cos_upward_test_data): Likewise.
25106 (cosh_test_data): Likewise.
25107 (cosh_tonearest_test_data): Likewise.
25108 (cosh_towardzero_test_data): Likewise.
25109 (cosh_downward_test_data): Likewise.
25110 (cosh_upward_test_data): Likewise.
25111 (cpow_test_data): Likewise.
25112 (cproj_test_data): Likewise.
25113 (creal_test_data): Likewise.
25114 (csin_test_data): Likewise.
25115 (csinh_test_data): Likewise.
25116 (csqrt_test_data): Likewise.
25117 (ctan_test_data): Likewise.
25118 (ctan_tonearest_test_data): Likewise.
25119 (ctan_towardzero_test_data): Likewise.
25120 (ctan_downward_test_data): Likewise.
25121 (ctan_upward_test_data): Likewise.
25122 (ctanh_test_data): Likewise.
25123 (ctanh_tonearest_test_data): Likewise.
25124 (ctanh_towardzero_test_data): Likewise.
25125 (ctanh_downward_test_data): Likewise.
25126 (ctanh_upward_test_data): Likewise.
25127 (erf_test_data): Likewise.
25128 (erfc_test_data): Likewise.
25129 (exp_test_data): Likewise.
25130 (exp_tonearest_test_data): Likewise.
25131 (exp_towardzero_test_data): Likewise.
25132 (exp_downward_test_data): Likewise.
25133 (exp_upward_test_data): Likewise.
25134 (exp10_test_data): Likewise.
25135 (exp2_test_data): Likewise.
25136 (expm1_test_data): Likewise.
25137 (fabs_test_data): Likewise.
25138 (fdim_test_data): Likewise.
25139 (finite_test_data): Likewise.
25140 (floor_test_data): Likewise.
25141 (fma_test_data): Likewise.
25142 (fma_towardzero_test_data): Likewise.
25143 (fma_downward_test_data): Likewise.
25144 (fma_upward_test_data): Likewise.
25145 (fmax_test_data): Likewise.
25146 (fmin_test_data): Likewise.
25147 (fmod_test_data): Likewise.
25148 (fpclassify_test_data): Likewise.
25149 (frexp_test_data): Likewise.
25150 (gamma_test_data): Likewise.
25151 (hypot_test_data): Likewise.
25152 (ilogb_test_data): Likewise.
25153 (isfinite_test_data): Likewise.
25154 (isgreater_test_data): Likewise.
25155 (isgreaterequal_test_data): Likewise.
25156 (isinf_test_data): Likewise.
25157 (isless_test_data): Likewise.
25158 (islessequal_test_data): Likewise.
25159 (islessgreater_test_data): Likewise.
25160 (isnan_test_data): Likewise.
25161 (isnormal_test_data): Likewise.
25162 (issignaling_test_data): Likewise.
25163 (isunordered_test_data): Likewise.
25164 (j0_test_data): Likewise.
25165 (j1_test_data): Likewise.
25166 (jn_test_data): Likewise.
25167 (ldexp_test_data): Likewise.
25168 (lgamma_test_data): Likewise.
25169 (lrint_test_data): Likewise.
25170 (lrint_tonearest_test_data): Likewise.
25171 (lrint_towardzero_test_data): Likewise.
25172 (lrint_downward_test_data): Likewise.
25173 (lrint_upward_test_data): Likewise.
25174 (llrint_test_data): Likewise.
25175 (llrint_tonearest_test_data): Likewise.
25176 (llrint_towardzero_test_data): Likewise.
25177 (llrint_downward_test_data): Likewise.
25178 (llrint_upward_test_data): Likewise.
25179 (log_test_data): Likewise.
25180 (log10_test_data): Likewise.
25181 (log1p_test_data): Likewise.
25182 (log2_test_data): Likewise.
25183 (logb_test_data): Likewise.
25184 (logb_downward_test_data): Likewise.
25185 (lround_test_data): Likewise.
25186 (llround_test_data): Likewise.
25187 (modf_test_data): Likewise.
25188 (nearbyint_test_data): Likewise.
25189 (nextafter_test_data): Likewise.
25190 (nexttoward_test_data): Likewise.
25191 (pow_test_data): Likewise.
25192 (pow_tonearest_test_data): Likewise.
25193 (pow_towardzero_test_data): Likewise.
25194 (pow_downward_test_data): Likewise.
25195 (pow_upward_test_data): Likewise.
25196 (remainder_test_data): Likewise.
25197 (remainder_tonearest_test_data): Likewise.
25198 (remainder_towardzero_test_data): Likewise.
25199 (remainder_downward_test_data): Likewise.
25200 (remainder_upward_test_data): Likewise.
25201 (remquo_test_data): Likewise.
25202 (rint_test_data): Likewise.
25203 (rint_tonearest_test_data): Likewise.
25204 (rint_towardzero_test_data): Likewise.
25205 (rint_downward_test_data): Likewise.
25206 (rint_upward_test_data): Likewise.
25207 (round_test_data): Likewise.
25208 (scalb_test_data): Likewise.
25209 (scalbn_test_data): Likewise.
25210 (scalbln_test_data): Likewise.
25211 (signbit_test_data): Likewise.
25212 (sin_test_data): Likewise.
25213 (sin_tonearest_test_data): Likewise.
25214 (sin_towardzero_test_data): Likewise.
25215 (sin_downward_test_data): Likewise.
25216 (sin_upward_test_data): Likewise.
25217 (sincos_test_data): Likewise.
25218 (sinh_test_data): Likewise.
25219 (sinh_tonearest_test_data): Likewise.
25220 (sinh_towardzero_test_data): Likewise.
25221 (sinh_downward_test_data): Likewise.
25222 (sinh_upward_test_data): Likewise.
25223 (sqrt_test_data): Likewise.
25224 (tan_test_data): Likewise.
25225 (tan_tonearest_test_data): Likewise.
25226 (tan_towardzero_test_data): Likewise.
25227 (tan_downward_test_data): Likewise.
25228 (tan_upward_test_data): Likewise.
25229 (tanh_test_data): Likewise.
25230 (tgamma_test_data): Likewise.
25231 (trunc_test_data): Likewise.
25232 (y0_test_data): Likewise.
25233 (y1_test_data): Likewise.
25234 (yn_test_data): Likewise.
25235 (significand_test_data): Likewise.
25236
25237 * math/gen-libm-test.pl (@functions): Remove variable.
25238 (generate_testfile): Don't handle START and END lines.
25239 * math/libm-test.inc (START): New macro.
25240 (END): Likewise.
25241 (END_COMPLEX): Likewise.
25242 (acos_test): Use END macro without arguments.
25243 (acos_test_tonearest): Likewise.
25244 (acos_test_towardzero): Likewise.
25245 (acos_test_downward): Likewise.
25246 (acos_test_upward): Likewise.
25247 (acosh_test): Likewise.
25248 (asin_test): Likewise.
25249 (asin_test_tonearest): Likewise.
25250 (asin_test_towardzero): Likewise.
25251 (asin_test_downward): Likewise.
25252 (asin_test_upward): Likewise.
25253 (asinh_test): Likewise.
25254 (atan_test): Likewise.
25255 (atanh_test): Likewise.
25256 (atan2_test): Likewise.
25257 (cabs_test): Likewise.
25258 (cacos_test): Use END_COMPLEX macro without arguments.
25259 (cacosh_test): Likewise.
25260 (carg_test): Use END macro without arguments.
25261 (casin_test): Use END_COMPLEX macro without arguments.
25262 (casinh_test): Likewise.
25263 (catan_test): Likewise.
25264 (catanh_test): Likewise.
25265 (cbrt_test): Use END macro without arguments.
25266 (ccos_test): Use END_COMPLEX macro without arguments.
25267 (ccosh_test): Likewise.
25268 (ceil_test): Use END macro without arguments.
25269 (cexp_test): Use END_COMPLEX macro without arguments.
25270 (cimag_test): Use END macro without arguments.
25271 (clog_test): Use END_COMPLEX macro without arguments.
25272 (clog10_test): Likewise.
25273 (conj_test): Likewise.
25274 (copysign_test): Use END macro without arguments.
25275 (cos_test): Likewise.
25276 (cos_test_tonearest): Likewise.
25277 (cos_test_towardzero): Likewise.
25278 (cos_test_downward): Likewise.
25279 (cos_test_upward): Likewise.
25280 (cosh_test): Likewise.
25281 (cosh_test_tonearest): Likewise.
25282 (cosh_test_towardzero): Likewise.
25283 (cosh_test_downward): Likewise.
25284 (cosh_test_upward): Likewise.
25285 (cpow_test): Use END_COMPLEX macro without arguments.
25286 (cproj_test): Likewise.
25287 (creal_test): Use END macro without arguments.
25288 (csin_test): Use END_COMPLEX macro without arguments.
25289 (csinh_test): Likewise.
25290 (csqrt_test): Likewise.
25291 (ctan_test): Likewise.
25292 (ctan_test_tonearest): Likewise.
25293 (ctan_test_towardzero): Likewise.
25294 (ctan_test_downward): Likewise.
25295 (ctan_test_upward): Likewise.
25296 (ctanh_test): Likewise.
25297 (ctanh_test_tonearest): Likewise.
25298 (ctanh_test_towardzero): Likewise.
25299 (ctanh_test_downward): Likewise.
25300 (ctanh_test_upward): Likewise.
25301 (erf_test): Use END macro without arguments.
25302 (erfc_test): Likewise.
25303 (exp_test): Likewise.
25304 (exp_test_tonearest): Likewise.
25305 (exp_test_towardzero): Likewise.
25306 (exp_test_downward): Likewise.
25307 (exp_test_upward): Likewise.
25308 (exp10_test): Likewise.
25309 (exp2_test): Likewise.
25310 (expm1_test): Likewise.
25311 (fabs_test): Likewise.
25312 (fdim_test): Likewise.
25313 (finite_test): Likewise.
25314 (floor_test): Likewise.
25315 (fma_test): Likewise.
25316 (fma_test_towardzero): Likewise.
25317 (fma_test_downward): Likewise.
25318 (fma_test_upward): Likewise.
25319 (fmax_test): Likewise.
25320 (fmin_test): Likewise.
25321 (fmod_test): Likewise.
25322 (fpclassify_test): Likewise.
25323 (frexp_test): Likewise.
25324 (gamma_test): Likewise.
25325 (hypot_test): Likewise.
25326 (ilogb_test): Likewise.
25327 (isfinite_test): Likewise.
25328 (isgreater_test): Likewise.
25329 (isgreaterequal_test): Likewise.
25330 (isinf_test): Likewise.
25331 (isless_test): Likewise.
25332 (islessequal_test): Likewise.
25333 (islessgreater_test): Likewise.
25334 (isnan_test): Likewise.
25335 (isnormal_test): Likewise.
25336 (issignaling_test): Likewise.
25337 (isunordered_test): Likewise.
25338 (j0_test): Likewise.
25339 (j1_test): Likewise.
25340 (jn_test): Likewise.
25341 (ldexp_test): Likewise.
25342 (lgamma_test): Likewise.
25343 (lrint_test): Likewise.
25344 (lrint_test_tonearest): Likewise.
25345 (lrint_test_towardzero): Likewise.
25346 (lrint_test_downward): Likewise.
25347 (lrint_test_upward): Likewise.
25348 (llrint_test): Likewise.
25349 (llrint_test_tonearest): Likewise.
25350 (llrint_test_towardzero): Likewise.
25351 (llrint_test_downward): Likewise.
25352 (llrint_test_upward): Likewise.
25353 (log_test): Likewise.
25354 (log10_test): Likewise.
25355 (log1p_test): Likewise.
25356 (log2_test): Likewise.
25357 (logb_test): Likewise.
25358 (logb_test_downward): Likewise.
25359 (lround_test): Likewise.
25360 (llround_test): Likewise.
25361 (modf_test): Likewise.
25362 (nearbyint_test): Likewise.
25363 (nextafter_test): Likewise.
25364 (nexttoward_test): Likewise.
25365 (pow_test): Likewise.
25366 (pow_test_tonearest): Likewise.
25367 (pow_test_towardzero): Likewise.
25368 (pow_test_downward): Likewise.
25369 (pow_test_upward): Likewise.
25370 (remainder_test): Likewise.
25371 (remainder_test_tonearest): Likewise.
25372 (remainder_test_towardzero): Likewise.
25373 (remainder_test_downward): Likewise.
25374 (remainder_test_upward): Likewise.
25375 (remquo_test): Likewise.
25376 (rint_test): Likewise.
25377 (rint_test_tonearest): Likewise.
25378 (rint_test_towardzero): Likewise.
25379 (rint_test_downward): Likewise.
25380 (rint_test_upward): Likewise.
25381 (round_test): Likewise.
25382 (scalb_test): Likewise.
25383 (scalbn_test): Likewise.
25384 (scalbln_test): Likewise.
25385 (signbit_test): Likewise.
25386 (sin_test): Likewise.
25387 (sin_test_tonearest): Likewise.
25388 (sin_test_towardzero): Likewise.
25389 (sin_test_downward): Likewise.
25390 (sin_test_upward): Likewise.
25391 (sincos_test): Likewise.
25392 (sinh_test): Likewise.
25393 (sinh_test_tonearest): Likewise.
25394 (sinh_test_towardzero): Likewise.
25395 (sinh_test_downward): Likewise.
25396 (sinh_test_upward): Likewise.
25397 (sqrt_test): Likewise.
25398 (tan_test): Likewise.
25399 (tan_test_tonearest): Likewise.
25400 (tan_test_towardzero): Likewise.
25401 (tan_test_downward): Likewise.
25402 (tan_test_upward): Likewise.
25403 (tanh_test): Likewise.
25404 (tgamma_test): Likewise.
25405 (trunc_test): Likewise.
25406 (y0_test): Likewise.
25407 (y1_test): Likewise.
25408 (yn_test): Likewise.
25409 (significand_test): Likewise.
25410
25411 2013-05-24 Ondřej Bílka <neleai@seznam.cz>
25412
25413 [BZ #15381]
25414 * libio/genops.c (_IO_no_init): Initialize wide struct info.
25415
25416 2013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
25417
25418 [BZ #14894]
25419 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
25420 __ppc_mdoio and __ppc_mdoom.
25421 * manual/platform.texi: Document new functions __ppc_yield,
25422 __ppc_mdoio and __ppc_mdoom.
25423
25424 2013-05-22 Carlos O'Donell <carlos@redhat.com>
25425
25426 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
25427 (main): Mention "tls" pseudo-hwcap is legacy.
25428 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
25429
25430 2013-05-22 Joseph Myers <joseph@codesourcery.com>
25431
25432 * math/gen-libm-test.pl (parse_args): Output only string of
25433 arguments as text for test name, not full call or descriptions of
25434 tests for extra outputs.
25435 (generate_testfile): Do not pass function name to parse_args.
25436 Generate this_func variable from START.
25437 * math/libm-test.inc (struct test_f_f_data): Rename test_name
25438 field to arg_str.
25439 (struct test_ff_f_data): Likewise.
25440 (test_ff_f_data_nexttoward): Likewise.
25441 (struct test_fi_f_data): Likewise.
25442 (struct test_fl_f_data): Likewise.
25443 (struct test_if_f_data): Likewise.
25444 (struct test_fff_f_data): Likewise.
25445 (struct test_c_f_data): Likewise.
25446 (struct test_f_f1_data): Likewise. Remove field extra_name.
25447 (struct test_fF_f1_data): Likewise.
25448 (struct test_ffI_f1_data): Likewise.
25449 (struct test_c_c_data): Rename test_name field to arg_str.
25450 (struct test_cc_c_data): Likewise.
25451 (struct test_f_i_data): Likewise.
25452 (struct test_ff_i_data): Likewise.
25453 (struct test_f_l_data): Likewise.
25454 (struct test_f_L_data): Likewise.
25455 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
25456 and extra2_name.
25457 (COMMON_TEST_SETUP): New macro.
25458 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
25459 (COMMON_TEST_CLEANUP): Likewise.
25460 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
25461 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
25462 macros.
25463 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
25464 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
25465 macros.
25466 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
25467 (RUN_TEST_fff_f): Take argument string. Call new setup and
25468 cleanup macros.
25469 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
25470 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
25471 macros.
25472 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
25473 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
25474 macros.
25475 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
25476 (RUN_TEST_fF_f1): Take argument string. Call new setup and
25477 cleanup macros.
25478 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
25479 (RUN_TEST_fI_f1): Take argument string. Call new setup and
25480 cleanup macros.
25481 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
25482 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
25483 cleanup macros.
25484 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
25485 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
25486 macros.
25487 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
25488 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
25489 macros.
25490 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
25491 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
25492 macros.
25493 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
25494 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
25495 cleanup macros.
25496 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
25497 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
25498 cleanup macros.
25499 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
25500 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
25501 macros.
25502 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
25503 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
25504 cleanup macros.
25505 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
25506 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
25507 macros.
25508 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
25509 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
25510 macros.
25511 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
25512 (RUN_TEST_fFF_11): Take argument string. Call new setup and
25513 cleanup macros.
25514 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
25515
25516 2013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
25517
25518 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
25519 to _sifields.sigfault.
25520 (si_addr_lsb): Define new macro.
25521 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
25522 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
25523 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
25524
25525 2013-05-03 Carlos O'Donell <carlos at redhat.com>
25526
25527 [BZ #15441]
25528 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
25529 returns -1.
25530 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
25531 null return -1.
25532 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
25533 loading the domain.
25534
25535 2013-05-22 Joseph Myers <joseph@codesourcery.com>
25536
25537 * math/gen-libm-test.pl (parse_args): Do not include expected
25538 result in test name.
25539 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
25540 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
25541 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
25542 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
25543 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
25544 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25545
25546 2013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
25547
25548 * benchtests/Makefile: Sort function entries.
25549
25550 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
25551 tanh, asinh, acosh, atanh.
25552 * benchtests/acos-inputs: New file.
25553 * benchtests/acosh-inputs: New file.
25554 * benchtests/asin-inputs: New file.
25555 * benchtests/asinh-inputs: New file.
25556 * benchtests/atanh-inputs: New file.
25557 * benchtests/cosh-inputs: New file.
25558 * benchtests/log-inputs: New file.
25559 * benchtests/sinh-inputs: New file.
25560 * benchtests/tanh-inputs: New file.
25561
25562 2013-05-21 Dmitry V. Levin <ldv@altlinux.org>
25563
25564 [BZ #15339]
25565 * posix/tst-getaddrinfo4.c: New test.
25566 * posix/Makefile (tests): Add it.
25567
25568 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
25569
25570 [BZ #15339]
25571 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
25572 when no services were used.
25573 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
25574 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
25575
25576 2013-05-21 Andreas Schwab <schwab@suse.de>
25577
25578 [BZ #15014]
25579 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
25580 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
25581 successful.
25582 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
25583 redundant variable declarations and reallocation of buffer when
25584 parsing as IPv6 address. Always set NSS status when called from
25585 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
25586 buffer too small. Correct computation of needed size.
25587 * nss/Makefile (tests): Add test-digits-dots.
25588 * nss/test-digits-dots.c: New test.
25589
25590 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
25591
25592 * benchtests/Makefile: Remove instructions for adding
25593 benchmark tests.
25594 * benchtests/README: New file to explain how to execute and
25595 enhance the benchmark tests.
25596
25597 2013-05-21 Andreas Schwab <schwab@suse.de>
25598
25599 [BZ #15493]
25600 * setjmp/Makefile (tests): Add tst-sigsetjmp.
25601 * setjmp/tst-sigsetjmp.c: New test.
25602
25603 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
25604
25605 * sysdeps/x86_64/memset.S (memset): New implementation.
25606 (__bzero): Likewise.
25607 (__memset_tail): New function.
25608
25609 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
25610
25611 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
25612 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
25613 __memcpy_sse2_unaligned ifunc selection.
25614 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
25615 Add memcpy-sse2-unaligned.S.
25616 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
25617 Add: __memcpy_sse2_unaligned.
25618
25619 2013-05-19 Joseph Myers <joseph@codesourcery.com>
25620
25621 [BZ #15490]
25622 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
25623 math_force_eval before restoring floating-point envrionment.
25624 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
25625 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
25626 Likewise.
25627 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
25628 <math_private.h>.
25629 (__nearbyintl): Use math_force_eval before restoring
25630 floating-point environment.
25631 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
25632
25633 * math/gen-libm-test.pl (special_functions): Remove.
25634 (parse_args): Don't handle TEST_extra. Handle functions with no
25635 return value.
25636 * math/libm-test.inc (struct test_sincos_data): Replace with
25637 struct test_fFF_11_data.
25638 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
25639 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
25640 (sincos_test_data): Change element type to struct
25641 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
25642 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
25643 RUN_TEST_LOOP_sincos.
25644 * math/README.libm-test: Don't mention special handling of
25645 individual functions.
25646 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
25647 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
25648 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
25649 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
25650 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
25651 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25652
25653 * math/gen-libm-test.pl (get_variable): Remove function.
25654 (parse_args): Don't show pointer parameters to call in test
25655 names. Use "extra output N" in test names for extra outputs
25656 rather than naming variables.
25657
25658 2013-05-18 Joseph Myers <joseph@codesourcery.com>
25659
25660 [BZ #15488]
25661 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
25662 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
25663 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
25664 double tests.
25665 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
25666 disable.
25667 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
25668 check_long_double.
25669
25670 * math/gen-libm-test.pl (@tests): Remove variable.
25671 ($count): Likewise.
25672 (new_test): Remove function.
25673 (show_exceptions): New function.
25674 (special_functions): Use show_exceptions instead of new_test.
25675 (parse_args): Likewise.
25676 (generate_testfile): Pass only function name in generated call to
25677 print_max_error or print_complex_max_error.
25678 (get_ulps): Do not handle complex tests specially.
25679 (output_test): Rename to ...
25680 (get_all_ulps_for_test): ... this. Return a string rather than
25681 printing to a file. Require ulps to be present.
25682 (output_ulps): Generate arrays rather than #defines.
25683 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
25684 (struct ulp_data): New type.
25685 (BUILD_COMPLEX_ULP): Remove macro.
25686 (compare_ulp_data): New function.
25687 (find_ulps): Likewise.
25688 (find_test_ulps): Likewise.
25689 (find_function_ulps): Likewise.
25690 (find_complex_function_ulps): Likewise.
25691 (print_max_error): Determine allowed ulps using
25692 find_function_ulps.
25693 (print_complex_max_error): Determine allowed ulps using
25694 find_complex_function_ulps.
25695 (check_float_internal): Determine max ulps using find_test_ulps.
25696 (check_float): Do not take max_ulp parameter. Update call to
25697 check_float_internal.
25698 (check_complex): Likewise.
25699 (check_int): Do not take max_ulp parameter.
25700 (check_long): Likewise.
25701 (check_bool): Likewise.
25702 (check_longlong): Likewise.
25703 (struct test_f_f_data): Remove max_ulp field.
25704 (struct test_ff_f_data): Likewise.
25705 (struct test_ff_f_data_nexttoward): Likewise.
25706 (struct test_fi_f_data): Likewise.
25707 (struct test_fl_f_data): Likewise.
25708 (struct test_if_f_data): Likewise.
25709 (struct test_fff_f_data): Likewise.
25710 (struct test_c_f_data): Likewise.
25711 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
25712 (struct test_fF_f1_data): Likewise.
25713 (struct test_ffI_f1_data): Likewise.
25714 (struct test_c_c_data): Remove max_ulp field.
25715 (struct test_cc_c_data): Likewise.
25716 (struct test_f_i_data): Likewise.
25717 (struct test_ff_i_data): Likewise.
25718 (struct test_f_l_data): Likewise.
25719 (struct test_f_L_data): Likewise.
25720 (struct test_sincos_data): Likewise.
25721 (RUN_TEST_f_f): Do not handle ulps.
25722 (RUN_TEST_LOOP_f_f): Likewise.
25723 (RUN_TEST_2_f): Likewise.
25724 (RUN_TEST_LOOP_2_f): Likewise.
25725 (RUN_TEST_fff_f): Likewise.
25726 (RUN_TEST_LOOP_fff_f): Likewise.
25727 (RUN_TEST_c_f): Likewise.
25728 (RUN_TEST_LOOP_c_f): Likewise.
25729 (RUN_TEST_f_f1): Likewise.
25730 (RUN_TEST_LOOP_f_f1): Likewise.
25731 (RUN_TEST_fF_f1): Likewise.
25732 (RUN_TEST_LOOP_fF_f1): Likewise.
25733 (RUN_TEST_fI_f1): Likewise.
25734 (RUN_TEST_LOOP_fI_f1): Likewise.
25735 (RUN_TEST_ffI_f1): Likewise.
25736 (RUN_TEST_LOOP_ffI_f1): Likewise.
25737 (RUN_TEST_c_c): Likewise.
25738 (RUN_TEST_LOOP_c_c): Likewise.
25739 (RUN_TEST_cc_c): Likewise.
25740 (RUN_TEST_LOOP_cc_c): Likewise.
25741 (RUN_TEST_f_i): Likewise.
25742 (RUN_TEST_LOOP_f_i): Likewise.
25743 (RUN_TEST_f_i_tg): Likewise.
25744 (RUN_TEST_LOOP_f_i_tg): Likewise.
25745 (RUN_TEST_ff_i_tg): Likewise.
25746 (RUN_TEST_LOOP_ff_i_tg): Likewise.
25747 (RUN_TEST_f_b): Likewise.
25748 (RUN_TEST_LOOP_f_b): Likewise.
25749 (RUN_TEST_f_b_tg): Likewise.
25750 (RUN_TEST_LOOP_f_b_tg): Likewise.
25751 (RUN_TEST_f_l): Likewise.
25752 (RUN_TEST_LOOP_f_l): Likewise.
25753 (RUN_TEST_f_L): Likewise.
25754 (RUN_TEST_LOOP_f_L): Likewise.
25755 (RUN_TEST_sincos): Likewise.
25756 (RUN_TEST_LOOP_sincos): Likewise.
25757
25758 2013-05-17 Joseph Myers <joseph@codesourcery.com>
25759
25760 [BZ #15480]
25761 [BZ #15485]
25762 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
25763 main case of finite arguments, set rounding mode to FE_TONEAREST
25764 and discard exceptions.
25765 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
25766 exceptions.
25767 (remainder_tonearest_test_data): New variable.
25768 (remainder_test_tonearest): New function.
25769 (remainder_towardzero_test_data): New variable.
25770 (remainder_test_towardzero): New function.
25771 (remainder_downward_test_data): New variable.
25772 (remainder_test_downward): New function.
25773 (remainder_upward_test_data): New variable.
25774 (remainder_test_upward): New function.
25775 (main): Call the new test functions.
25776
25777 * math/libm-test.inc (struct test_f_f1_data): Remove field
25778 extra_init.
25779 (struct test_fF_f1_data): Likewise.
25780 (struct test_ffI_f1_data): Likewise.
25781 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
25782 based on value of EXTRA_EXPECTED.
25783 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
25784 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
25785 EXTRA_VAR based on value of EXTRA_EXPECTED.
25786 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
25787 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
25788 EXTRA_VAR based on value of EXTRA_EXPECTED.
25789 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
25790 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
25791 EXTRA_VAR based on value of EXTRA_EXPECTED.
25792 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
25793 * math/gen-libm-test.pl (parse_args): Don't output initializers
25794 for extra output values.
25795
25796 * math/libm-test.inc (check_int): Expect result to be exactly
25797 equal to expected value and do not handle ulps.
25798 (check_long): Likewise.
25799 (check_longlong): Likewise.
25800
25801 * math/libm-test.inc (ceil_test_data): Test for "inexact"
25802 exceptions.
25803 (cimag_test_data): Likewise.
25804 (conj_test_data): Likewise.
25805 (copysign_test_data): Likewise.
25806 (cproj_test_data): Likewise.
25807 (creal_test_data): Likewise.
25808 (fabs_test_data): Likewise.
25809 (fdim_test_data): Likewise.
25810 (finite_test_data): Likewise.
25811 (floor_test_data): Likewise.
25812 (fmax_test_data): Likewise.
25813 (fmin_test_data): Likewise.
25814 (fmod_test_data): Likewise.
25815 (fpclassify_test_data): Likewise.
25816 (frexp_test_data): Likewise.
25817 (ilogb_test_data): Likewise.
25818 (isfinite_test_data): Likewise.
25819 (isgreater_test_data): Likewise.
25820 (isgreaterequal_test_data): Likewise.
25821 (isinf_test_data): Likewise.
25822 (isless_test_data): Likewise.
25823 (islessequal_test_data): Likewise.
25824 (islessgreater_test_data): Likewise.
25825 (isnan_test_data): Likewise.
25826 (isnormal_test_data): Likewise.
25827 (issignaling_test_data): Likewise.
25828 (isunordered_test_data): Likewise.
25829 (ldexp_test_data): Likewise.
25830 (lrint_test_data): Likewise.
25831 (lrint_test_data) [TEST_FLOAT]: Disable one test.
25832 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
25833 (lrint_tonearest_test_data): Test for "inexact" exceptions.
25834 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
25835 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
25836 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
25837 test input.
25838 (lrint_towardzero_test_data): Test for "inexact" exceptions.
25839 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
25840 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
25841 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
25842 that test input.
25843 (lrint_downward_test_data): Test for "inexact" exceptions.
25844 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
25845 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
25846 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
25847 test input.
25848 (lrint_upward_test_data): Test for "inexact" exceptions.
25849 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
25850 test input.
25851 (llrint_test_data): Test for "inexact" exceptions.
25852 (llrint_test_data) [TEST_FLOAT]: Disable one test.
25853 (llrint_tonearest_test_data): Test for "inexact" exceptions.
25854 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
25855 (llrint_towardzero_test_data): Test for "inexact" exceptions.
25856 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
25857 (llrint_downward_test_data): Test for "inexact" exceptions.
25858 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
25859 (llrint_upward_test_data): Test for "inexact" exceptions.
25860 (logb_test_data): Likewise.
25861 (logb_downward_test_data): Likewise.
25862 (nextafter_test_data): Likewise.
25863 (nexttoward_test_data): Likewise.
25864 (remainder_test_data): Likewise.
25865 (remquo_test_data): Likewise.
25866 (scalbn_test_data): Likewise.
25867 (scalbln_test_data): Likewise.
25868 (signbit_test_data): Likewise.
25869 (sqrt_test_data): Likewise.
25870 (significand_test_data): Likewise.
25871
25872 2013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
25873
25874 [BZ #15424]
25875 * benchtests/bench-modf.c (struct args): Mark arg0 as
25876 volatile.
25877 * scripts/bench.pl: Mark members of struct args as volatile.
25878
25879 2013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25880
25881 [BZ # 15497]
25882 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
25883 negative infinity on POWER6 or lower.
25884 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
25885
25886 2013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
25887
25888 [BZ #15442]
25889 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
25890 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
25891 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
25892 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
25893 (_FP_SETQNAN): New macro.
25894 (_FP_SETQNAN_SEMIRAW): Likewise.
25895 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
25896 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
25897 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
25898 (FP_EXTEND): Use _FP_FRAC_SNANP.
25899 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
25900 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
25901 into account.
25902 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
25903 New macro.
25904 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
25905 Likewise.
25906
25907 2013-05-16 Joseph Myers <joseph@codesourcery.com>
25908
25909 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
25910 with DIVIDE_BY_ZERO_EXCEPTION.
25911 (gamma_test_data): Likewise.
25912 (lgamma_test_data): Likewise.
25913 (log_test_data): Likewise.
25914 (log10_test_data): Likewise.
25915 (log2_test_data): Likewise.
25916 (tgamma_test_data): Likewise.
25917
25918 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
25919 (acos_test_tonearest): Likewise.
25920 (acos_test_towardzero): Likewise.
25921 (acos_test_downward): Likewise.
25922 (acos_test_upward): Likewise.
25923 (acosh_test): Likewise.
25924 (asin_test): Likewise.
25925 (asin_test_tonearest): Likewise.
25926 (asin_test_towardzero): Likewise.
25927 (asin_test_downward): Likewise.
25928 (asin_test_upward): Likewise.
25929 (asinh_test): Likewise.
25930 (atan_test): Likewise.
25931 (atanh_test): Likewise.
25932 (atan2_test): Likewise.
25933 (cabs_test): Likewise.
25934 (cacos_test): Likewise.
25935 (cacosh_test): Likewise.
25936 (casin_test): Likewise.
25937 (casinh_test): Likewise.
25938 (catan_test): Likewise.
25939 (catanh_test): Likewise.
25940 (cbrt_test): Likewise.
25941 (ccos_test): Likewise.
25942 (ccosh_test): Likewise.
25943 (cexp_test): Likewise.
25944 (clog_test): Likewise.
25945 (clog10_test): Likewise.
25946 (cos_test): Likewise.
25947 (cos_test_tonearest): Likewise.
25948 (cos_test_towardzero): Likewise.
25949 (cos_test_downward): Likewise.
25950 (cos_test_upward): Likewise.
25951 (cosh_test): Likewise.
25952 (cosh_test_tonearest): Likewise.
25953 (cosh_test_towardzero): Likewise.
25954 (cosh_test_downward): Likewise.
25955 (cosh_test_upward): Likewise.
25956 (cpow_test): Likewise.
25957 (csin_test): Likewise.
25958 (csinh_test): Likewise.
25959 (csqrt_test): Likewise.
25960 (ctan_test): Likewise.
25961 (ctan_test_tonearest): Likewise.
25962 (ctan_test_towardzero): Likewise.
25963 (ctan_test_downward): Likewise.
25964 (ctan_test_upward): Likewise.
25965 (ctanh_test): Likewise.
25966 (ctanh_test_tonearest): Likewise.
25967 (ctanh_test_towardzero): Likewise.
25968 (ctanh_test_downward): Likewise.
25969 (ctanh_test_upward): Likewise.
25970 (erf_test): Likewise.
25971 (erfc_test): Likewise.
25972 (exp_test): Likewise.
25973 (exp_test_tonearest): Likewise.
25974 (exp_test_towardzero): Likewise.
25975 (exp_test_downward): Likewise.
25976 (exp_test_upward): Likewise.
25977 (exp10_test): Likewise.
25978 (exp2_test): Likewise.
25979 (expm1_test): Likewise.
25980 (fmod_test): Likewise.
25981 (gamma_test): Likewise.
25982 (hypot_test): Likewise.
25983 (j0_test): Likewise.
25984 (j1_test): Likewise.
25985 (jn_test): Likewise.
25986 (lgamma_test): Likewise.
25987 (log_test): Likewise.
25988 (log10_test): Likewise.
25989 (log1p_test): Likewise.
25990 (log2_test): Likewise.
25991 (logb_test_downward): Likewise.
25992 (pow_test): Likewise.
25993 (pow_test_tonearest): Likewise.
25994 (pow_test_towardzero): Likewise.
25995 (pow_test_downward): Likewise.
25996 (pow_test_upward): Likewise.
25997 (remainder_test): Likewise.
25998 (remquo_test): Likewise.
25999 (sin_test): Likewise.
26000 (sin_test_tonearest): Likewise.
26001 (sin_test_towardzero): Likewise.
26002 (sin_test_downward): Likewise.
26003 (sin_test_upward): Likewise.
26004 (sincos_test): Likewise.
26005 (sinh_test): Likewise.
26006 (sinh_test_tonearest): Likewise.
26007 (sinh_test_towardzero): Likewise.
26008 (sinh_test_downward): Likewise.
26009 (sinh_test_upward): Likewise.
26010 (sqrt_test): Likewise.
26011 (tan_test): Likewise.
26012 (tan_test_tonearest): Likewise.
26013 (tan_test_towardzero): Likewise.
26014 (tan_test_downward): Likewise.
26015 (tan_test_upward): Likewise.
26016 (tanh_test): Likewise.
26017 (tgamma_test): Likewise.
26018 (y0_test): Likewise.
26019 (y1_test): Likewise.
26020 (yn_test): Likewise.
26021
26022 * math/gen-libm-test.pl (adjust_arg): Remove function.
26023 (special_function): Remove argument $in_func. Only handle
26024 generating output for tables of tests, not inside functions.
26025 (parse_args): Likewise.
26026 (generate_testfile): Remove variable $in_func. Update call to
26027 parse_args.
26028 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
26029 (MINUS_ZERO_INIT): Rename macro to minus_zero.
26030 (PLUS_INFTY_INIT): Rename macro to plus_infty.
26031 (MINUS_INFTY_INIT): Rename macro to minus_infty.
26032 (QNAN_VALUE_INIT): Rename macro to qnan_value.
26033 (MAX_VALUE_INIT): Rename macro to max_value.
26034 (MIN_VALUE_INIT): Rename macro to min_value.
26035 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
26036 (plus_zero): Remove variable.
26037 (minus_zero): Likewise.
26038 (plus_infty): Likewise.
26039 (minus_infty): Likewise.
26040 (qnan_value): Likewise.
26041 (max_value): Likewise.
26042 (min_value): Likewise.
26043 (min_subnorm_value): Likewise.
26044
26045 2013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
26046
26047 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
26048 uint64_t or uint32_t usage.
26049 * crypt/sha256-block.c: Likewise.
26050 * crypt/sha256-crypt.c: Likewise.
26051 * crypt/sha256.c: Likewise.
26052 * crypt/sha512-block.c: Likewise.
26053 * crypt/sha512-crypt.c: Likewise.
26054 * crypt/sha512.c: Likewise.
26055 * debug/backtrace-tst.c: Likewise.
26056 * debug/pcprofiledump.c: Likewise.
26057 * elf/cache.c: Likewise.
26058 * elf/dl-cache.c: Likewise.
26059 * elf/dl-misc.c: Likewise.
26060 * elf/dl-profile.c: Likewise.
26061 * elf/dl-support.c: Likewise.
26062 * elf/ldconfig.c: Likewise.
26063 * elf/sprof.c: Likewise.
26064 * iconv/dummy-repertoire.c: Likewise.
26065 * iconv/iconv_charmap.c: Likewise.
26066 * iconv/skeleton.c: Likewise.
26067 * iconvdata/8bit-generic.c: Likewise.
26068 * iconvdata/cp737.h: Likewise.
26069 * iconvdata/cp775.h: Likewise.
26070 * iconvdata/ibm1008.h: Likewise.
26071 * iconvdata/ibm1025.h: Likewise.
26072 * iconvdata/ibm1046.h: Likewise.
26073 * iconvdata/ibm1097.h: Likewise.
26074 * iconvdata/ibm1112.h: Likewise.
26075 * iconvdata/ibm1122.h: Likewise.
26076 * iconvdata/ibm1123.h: Likewise.
26077 * iconvdata/ibm1124.h: Likewise.
26078 * iconvdata/ibm1129.h: Likewise.
26079 * iconvdata/ibm1130.h: Likewise.
26080 * iconvdata/ibm1132.h: Likewise.
26081 * iconvdata/ibm1133.h: Likewise.
26082 * iconvdata/ibm1137.h: Likewise.
26083 * iconvdata/ibm1140.h: Likewise.
26084 * iconvdata/ibm1141.h: Likewise.
26085 * iconvdata/ibm1142.h: Likewise.
26086 * iconvdata/ibm1143.h: Likewise.
26087 * iconvdata/ibm1144.h: Likewise.
26088 * iconvdata/ibm1145.h: Likewise.
26089 * iconvdata/ibm1146.h: Likewise.
26090 * iconvdata/ibm1147.h: Likewise.
26091 * iconvdata/ibm1148.h: Likewise.
26092 * iconvdata/ibm1149.h: Likewise.
26093 * iconvdata/ibm1153.h: Likewise.
26094 * iconvdata/ibm1154.h: Likewise.
26095 * iconvdata/ibm1155.h: Likewise.
26096 * iconvdata/ibm1156.h: Likewise.
26097 * iconvdata/ibm1157.h: Likewise.
26098 * iconvdata/ibm1158.h: Likewise.
26099 * iconvdata/ibm1160.h: Likewise.
26100 * iconvdata/ibm1161.h: Likewise.
26101 * iconvdata/ibm1162.h: Likewise.
26102 * iconvdata/ibm1163.h: Likewise.
26103 * iconvdata/ibm1164.h: Likewise.
26104 * iconvdata/ibm1166.h: Likewise.
26105 * iconvdata/ibm1167.h: Likewise.
26106 * iconvdata/ibm12712.h: Likewise.
26107 * iconvdata/ibm1390.h: Likewise.
26108 * iconvdata/ibm1399.h: Likewise.
26109 * iconvdata/ibm16804.h: Likewise.
26110 * iconvdata/ibm4517.h: Likewise.
26111 * iconvdata/ibm4899.h: Likewise.
26112 * iconvdata/ibm4909.h: Likewise.
26113 * iconvdata/ibm4971.h: Likewise.
26114 * iconvdata/ibm5347.h: Likewise.
26115 * iconvdata/ibm803.h: Likewise.
26116 * iconvdata/ibm856.h: Likewise.
26117 * iconvdata/ibm901.h: Likewise.
26118 * iconvdata/ibm902.h: Likewise.
26119 * iconvdata/ibm9030.h: Likewise.
26120 * iconvdata/ibm9066.h: Likewise.
26121 * iconvdata/ibm921.h: Likewise.
26122 * iconvdata/ibm922.h: Likewise.
26123 * iconvdata/ibm9448.h: Likewise.
26124 * iconvdata/isiri-3342.h: Likewise.
26125 * iconvdata/jis0201.h: Likewise.
26126 * include/link.h: Likewise.
26127 * include/netdb.h: Likewise.
26128 * inet/check_native.c: Likewise.
26129 * inet/check_pf.c: Likewise.
26130 * inet/getipv4sourcefilter.c: Likewise.
26131 * inet/getnameinfo.c: Likewise.
26132 * inet/getsourcefilter.c: Likewise.
26133 * inet/htonl.c: Likewise.
26134 * inet/setipv4sourcefilter.c: Likewise.
26135 * inet/setsourcefilter.c: Likewise.
26136 * inet/test-inet6_opt.c: Likewise.
26137 * inet/tst-network.c: Likewise.
26138 * locale/C-collate.c: Likewise.
26139 * locale/C-ctype.c: Likewise.
26140 * locale/C-time.c: Likewise.
26141 * locale/C-translit.h: Likewise.
26142 * locale/loadarchive.c: Likewise.
26143 * locale/programs/3level.h: Likewise.
26144 * locale/programs/charmap.c: Likewise.
26145 * locale/programs/charmap.h: Likewise.
26146 * locale/programs/ld-address.c: Likewise.
26147 * locale/programs/ld-collate.c: Likewise.
26148 * locale/programs/ld-ctype.c: Likewise.
26149 * locale/programs/ld-identification.c: Likewise.
26150 * locale/programs/ld-measurement.c: Likewise.
26151 * locale/programs/ld-messages.c: Likewise.
26152 * locale/programs/ld-monetary.c: Likewise.
26153 * locale/programs/ld-name.c: Likewise.
26154 * locale/programs/ld-numeric.c: Likewise.
26155 * locale/programs/ld-paper.c: Likewise.
26156 * locale/programs/ld-telephone.c: Likewise.
26157 * locale/programs/ld-time.c: Likewise.
26158 * locale/programs/linereader.c: Likewise.
26159 * locale/programs/locale.c: Likewise.
26160 * locale/programs/locarchive.c: Likewise.
26161 * locale/programs/locfile.h: Likewise.
26162 * locale/programs/repertoire.c: Likewise.
26163 * locale/programs/simple-hash.c: Likewise.
26164 * locale/programs/simple-hash.h: Likewise.
26165 * malloc/memusage.c: Likewise.
26166 * malloc/memusagestat.c: Likewise.
26167 * nis/nis_defaults.c: Likewise.
26168 * nis/nis_hash.c: Likewise.
26169 * nis/nis_print.c: Likewise.
26170 * nis/nis_xdr.c: Likewise.
26171 * nscd/connections.c: Likewise.
26172 * nscd/hstcache.c: Likewise.
26173 * nscd/nscd_gethst_r.c: Likewise.
26174 * nscd/nscd_getserv_r.c: Likewise.
26175 * nscd/nscd_helper.c: Likewise.
26176 * nscd/servicescache.c: Likewise.
26177 * nss/makedb.c: Likewise.
26178 * nss/nss_db/db-XXX.c: Likewise.
26179 * nss/nss_db/db-initgroups.c: Likewise.
26180 * nss/nss_db/db-netgrp.c: Likewise.
26181 * nss/nss_files/files-network.c: Likewise.
26182 * nss/nss_files/files-parse.c: Likewise.
26183 * posix/bug-regex5.c: Likewise.
26184 * posix/fnmatch_loop.c: Likewise.
26185 * posix/regcomp.c: Likewise.
26186 * posix/regexec.c: Likewise.
26187 * posix/tst-rfc3484-2.c: Likewise.
26188 * posix/tst-rfc3484-3.c: Likewise.
26189 * posix/tst-rfc3484.c: Likewise.
26190 * resolv/nss_dns/dns-canon.c: Likewise.
26191 * resolv/nss_dns/dns-network.c: Likewise.
26192 * resolv/res_init.c: Likewise.
26193 * resolv/res_mkquery.c: Likewise.
26194 * resolv/tst-aton.c: Likewise.
26195 * stdlib/cxa_atexit.c: Likewise.
26196 * stdlib/cxa_finalize.c: Likewise.
26197 * stdlib/gen-fpioconst.c: Likewise.
26198 * stdlib/strtol_l.c: Likewise.
26199 * string/tst-endian.c: Likewise.
26200 * sunrpc/auth_des.c: Likewise.
26201 * sunrpc/clnt_udp.c: Likewise.
26202 * sunrpc/rtime.c: Likewise.
26203 * sunrpc/svcauth_des.c: Likewise.
26204 * sunrpc/xdr.c: Likewise.
26205 * sunrpc/xdr_intXX_t.c: Likewise.
26206 * sunrpc/xdr_rec.c: Likewise.
26207 * sysdeps/generic/ldconfig.h: Likewise.
26208 * sysdeps/generic/ldsodefs.h: Likewise.
26209 * sysdeps/generic/memusage.h: Likewise.
26210 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
26211 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
26212 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
26213 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
26214 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
26215 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
26216 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
26217 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
26218 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
26219 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
26220 * sysdeps/posix/getaddrinfo.c: Likewise.
26221 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
26222 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
26223 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
26224 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
26225 * sysdeps/powerpc/test-gettimebase.c: Likewise.
26226 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
26227 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
26228 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
26229 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
26230 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
26231 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
26232 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
26233 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
26234 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
26235 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
26236 * sysdeps/x86_64/dl-tls.h: Likewise.
26237 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
26238 * time/alt_digit.c: Likewise.
26239 * time/era.c: Likewise.
26240 * wcsmbs/tst-c16c32-1.c: Likewise.
26241
26242 2013-05-16 Joseph Myers <joseph@codesourcery.com>
26243
26244 * math/libm-test.inc (struct test_sincos_data): New type.
26245 (RUN_TEST_LOOP_sincos): New macro.
26246 (sincos_test_data): New variable.
26247 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
26248
26249 2013-05-16 Richard Henderson <rth@redhat.com>
26250
26251 * math/atest-exp2.c (LIMB64): New macro.
26252 (CONSTSZ): New macro.
26253 (mp_exp1, mp_exp_m1, mp_log2): New variables.
26254 (hexdig): Move ...
26255 (print_mpn_fp): ... to function scope.
26256 (read_mpn_hex): Remove.
26257 (get_log2): Remove.
26258 (exp2_mpn): Use mp_log2.
26259 (main): Use mp_exp1.
26260
26261 2013-05-16 Joseph Myers <joseph@codesourcery.com>
26262
26263 * math/libm-test.inc: Remove comment about not testing "inexact"
26264 exceptions.
26265 (INEXACT_EXCEPTION): New macro.
26266 (NO_INEXACT_EXCEPTION): Likewise.
26267 (INVALID_EXCEPTION_OK): Update value.
26268 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
26269 (OVERFLOW_EXCEPTION_OK): Likewise.
26270 (UNDERFLOW_EXCEPTION_OK): Likewise.
26271 (IGNORE_ZERO_INF_SIGN): Likewise.
26272 (ERRNO_UNCHANGED): Likewise.
26273 (ERRNO_EDOM): Likewise.
26274 (ERRNO_ERANGE): Likewise.
26275 (test_exceptions): Handle testing "inexact" exceptions.
26276 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
26277 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
26278 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
26279 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
26280 INEXACT_EXCEPTION.
26281 (rint_towardzero_test_data): Likewise.
26282 (rint_downward_test_data): Likewise.
26283 (rint_upward_test_data): Likewise.
26284
26285 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
26286 with OVERFLOW_EXCEPTION.
26287 (exp10_test_data): Likewise.
26288 (exp2_test_data): Likewise.
26289 (expm1_test_data): Likewise.
26290 (lgamma_test_data): Likewise.
26291 (pow_test_data): Likewise.
26292 (tgamma_test_data): Likewise.
26293 (yn_test_data): Remove duplicate test of overflow.
26294
26295 * math/libm-test.inc (struct test_cc_c_data): New type.
26296 (RUN_TEST_LOOP_cc_c): New macro.
26297 (cpow_test_data): New variable.
26298 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
26299
26300 * math/libm-test.inc (struct test_f_L_data): New type.
26301 (RUN_TEST_LOOP_f_L): New macro.
26302 (llrint_test_data): New variable.
26303 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
26304 (llrint_tonearest_test_data): New variable.
26305 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
26306 (llrint_towardzero_test_data): New variable.
26307 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
26308 (llrint_downward_test_data): New variable.
26309 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
26310 (llrint_upward_test_data): New variable.
26311 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
26312 (llround_test_data): New variable.
26313 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
26314
26315 2013-05-13 Peter Collingbourne <pcc@google.com>
26316
26317 * math/atest-exp2.c (get_log2): Remove const attribute.
26318
26319 2013-05-15 Joseph Myers <joseph@codesourcery.com>
26320
26321 * math/libm-test.inc (struct test_f_l_data): New type.
26322 (RUN_TEST_LOOP_f_l): New macro.
26323 (lrint_test_data): New variable.
26324 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
26325 (lrint_tonearest_test_data): New variable.
26326 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
26327 (lrint_towardzero_test_data): New variable.
26328 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
26329 (lrint_downward_test_data): New variable.
26330 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
26331 (lrint_upward_test_data): New variable.
26332 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
26333 (lround_test_data): New variable.
26334 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
26335
26336 2013-05-15 Peter Collingbourne <pcc@google.com>
26337
26338 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
26339 (EXTRACT_WORDS64) Use where appropriate.
26340 (INSERT_WORDS64) Likewise.
26341
26342 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
26343 constraints with x constraints.
26344 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
26345
26346 * malloc/obstack.c (_obstack_compat): Add initializer.
26347
26348 2013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
26349
26350 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
26351 si_trapno and add si_addr_lsb to _sifields.sigfault.
26352 (si_trapno): Remove macro.
26353 (si_addr_lsb): Define new macro.
26354 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
26355
26356 2013-05-15 Joseph Myers <joseph@codesourcery.com>
26357
26358 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
26359 instead of TEST_f_l.
26360 (llrint_test_tonearest): Likewise.
26361 (llrint_test_towardzero): Likewise.
26362 (llrint_test_downward): Likewise.
26363 (llrint_test_upward): Likewise.
26364 (llround_test): Likewise.
26365
26366 * math/libm-test.inc (struct test_f_i_data): Add comment.
26367 (RUN_TEST_LOOP_f_b): New macro.
26368 (RUN_TEST_LOOP_f_b_tg): Likewise.
26369 (finite_test_data): New variable.
26370 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
26371 (isfinite_test_data): New variable.
26372 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
26373 (isinf_test_data): New variable.
26374 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
26375 (isnan_test_data): New variable.
26376 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
26377 (isnormal_test_data): New variable.
26378 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
26379 (issignaling_test_data): New variable.
26380 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
26381 (signbit_test_data): New variable.
26382 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
26383
26384 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
26385 with INVALID_EXCEPTION.
26386 (acosh_test_data): Likewise.
26387 (asin_test_data): Likewise.
26388 (atanh_test_data): Likewise.
26389 (fmod_test_data): Likewise.
26390 (log_test_data): Likewise.
26391 (log10_test_data): Likewise.
26392 (log2_test_data): Likewise.
26393 (pow_test_data): Likewise.
26394 (sqrt_test_data): Likewise.
26395 (y0_test_data): Likewise.
26396 (y1_test_data): Likewise.
26397 (yn_test_data): Likewise.
26398
26399 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
26400 function contents.
26401
26402 * math/libm-test.inc (struct test_ff_i_data): New type.
26403 (RUN_TEST_LOOP_ff_i_tg): New macro.
26404 (isgreater_test_data): New variable.
26405 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
26406 (isgreaterequal_test_data): New variable.
26407 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
26408 (isless_test_data): New variable.
26409 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
26410 (islessequal_test_data): New variable.
26411 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
26412 (islessgreater_test_data): New variable.
26413 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
26414 (isunordered_test_data): New variable.
26415 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
26416
26417 2013-05-14 David S. Miller <davem@davemloft.net>
26418
26419 * sysdeps/sparc/fpu/libm-test-ulps: Update.
26420
26421 2013-05-14 Joseph Myers <joseph@codesourcery.com>
26422
26423 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
26424
26425 * math/libm-test.inc (struct test_fF_f1_data): Change type of
26426 extra_test to int.
26427 (struct test_f_i_data): Change type of max_ulp to int.
26428
26429 * math/libm-test.inc (test_ffI_f1_data): New type.
26430 (RUN_TEST_LOOP_ffI_f1): New macro.
26431 (remquo_test_data): New variable.
26432 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
26433
26434 * setjmp/tst-setjmp-fp.c: New file.
26435 * setjmp/Makefile (tests): Add tst-setjmp-fp.
26436 (link-libm): New variable.
26437 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
26438
26439 * math/libm-test.inc (struct test_f_i_data): New type.
26440 (RUN_TEST_LOOP_f_i): New macro.
26441 (RUN_TEST_LOOP_f_i_tg): Likewise.
26442 (fpclassify_test_data): New variable.
26443 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
26444 (ilogb_test_data): New variable.
26445 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
26446
26447 * math/libm-test.inc (scalbln_test): Correct function name in END
26448 call.
26449
26450 * math/libm-test.inc (struct test_f_f1_data): Add comment.
26451 (RUN_TEST_LOOP_fI_f1): New macro.
26452 (frexp_test_data): New variable.
26453 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
26454
26455 * math/libm-test.inc (struct test_fF_f1_data): New type.
26456 (RUN_TEST_LOOP_fF_f1): New macro.
26457 (modf_test_data): New variable.
26458 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
26459
26460 * math/libm-test.inc (struct test_f_f1_data): New type.
26461 (RUN_TEST_LOOP_f_f1): New macro.
26462 (gamma_test_data): New variable.
26463 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
26464 (lgamma_test_data): New variable.
26465 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
26466
26467 2013-05-13 Carlos O'Donell <carlos@redhat.com>
26468
26469 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
26470 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
26471 (main): Comment "tls" pseudo-hwcap.
26472
26473 2013-05-13 Joseph Myers <joseph@codesourcery.com>
26474
26475 * math/libm-test.inc (struct test_fl_f_data): New type.
26476 (RUN_TEST_LOOP_fl_f): New variable.
26477 (scalbln_test_data): New variable.
26478 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
26479
26480 * math/libm-test.inc (struct test_fi_f_data): New type.
26481 (RUN_TEST_LOOP_fi_f): New macro.
26482 (ldexp_test_data): New variable.
26483 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
26484 (scalbn_test_data): New variable.
26485 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
26486
26487 * math/libm-test.inc (struct test_c_f_data): New type.
26488 (RUN_TEST_LOOP_c_f): New macro.
26489 (cabs_test_data): New variable.
26490 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
26491 (carg_test_data): New variable.
26492 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
26493 (cimag_test_data): New variable.
26494 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
26495 (creal_test_data): New variable.
26496 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
26497
26498 * math/libm-test.inc (struct test_if_f_data): New type.
26499 (RUN_TEST_LOOP_if_f): New macro.
26500 (jn_test_data): New variable.
26501 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
26502 (yn_test_data): New variable.
26503 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
26504
26505 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
26506
26507 2013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26508
26509 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
26510 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
26511
26512 2013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
26513
26514 * benchtests/Makefile (CPPFLAGS-nonlib): Add
26515 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
26516 (bench-deps): Add bench-timing.h.
26517 * benchtests-bench-skeleton.c: Include bench-timing.h.
26518 (main): Use TIMING_* macros instead of clock_gettime.
26519 * benchtests/bench-timing.h: New file.
26520
26521 [BZ #14582]
26522 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
26523 Renamed from _LIB_VERSION.
26524 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
26525
26526 2013-05-12 Joseph Myers <joseph@codesourcery.com>
26527
26528 * math/libm-test.inc (struct test_fff_f_data): New type.
26529 (RUN_TEST_LOOP_fff_f): New macro.
26530 (fma_test_data): New variable.
26531 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
26532 (fma_towardzero_test_data): New variable.
26533 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
26534 (fma_downward_test_data): New variable.
26535 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
26536 (fma_upward_test_data): New variable.
26537 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
26538
26539 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
26540 (struct test_c_c_data): New type.
26541 (RUN_TEST_LOOP_c_c): New macro.
26542 (cacos_test_data): New variable.
26543 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
26544 (cacosh_test_data): New variable.
26545 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
26546 (casin_test_data): New variable.
26547 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
26548 (casinh_test_data): New variable.
26549 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
26550 (catan_test_data): New variable.
26551 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
26552 (catanh_test_data): New variable.
26553 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
26554 (ccos_test_data): New variable.
26555 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
26556 (ccosh_test_data): New variable.
26557 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
26558 (cexp_test_data): New variable.
26559 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
26560 (clog_test_data): New variable.
26561 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
26562 (clog10_test_data): New variable.
26563 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
26564 (conj_test_data): New variable.
26565 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
26566 (cproj_test_data): New variable.
26567 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
26568 (csin_test_data): New variable.
26569 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
26570 (csinh_test_data): New variable.
26571 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
26572 (csqrt_test_data): New variable.
26573 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
26574 (ctan_test_data): New variable.
26575 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
26576 (ctan_tonearest_test_data): New variable.
26577 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
26578 (ctan_towardzero_test_data): New variable.
26579 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
26580 (ctan_downward_test_data): New variable.
26581 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
26582 (ctan_upward_test_data): New variable.
26583 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
26584 (ctanh_test_data): New variable.
26585 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
26586 (ctanh_tonearest_test_data): New variable.
26587 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
26588 (ctanh_towardzero_test_data): New variable.
26589 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
26590 (ctanh_downward_test_data): New variable.
26591 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
26592 (ctanh_upward_test_data): New variable.
26593 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
26594 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
26595 of BUILD_COMPLEX.
26596
26597 * math/libm-test.inc (struct test_ff_f_data): New type.
26598 (struct test_ff_f_data_nexttoward): Likewise.
26599 (RUN_TEST_LOOP_2_f): New macro.
26600 (RUN_TEST_LOOP_ff_f): Likewise.
26601 (atan2_test_data): New variable.
26602 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
26603 (copysign_test_data): New variable.
26604 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
26605 (fdim_test_data): New variable.
26606 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
26607 (fmax_test_data): New variable.
26608 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
26609 (fmin_test_data): New variable.
26610 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
26611 (fmod_test_data): New variable.
26612 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
26613 (hypot_test_data): New variable.
26614 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
26615 (nextafter_test_data): New variable.
26616 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
26617 (nexttoward_test_data): New variable.
26618 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
26619 (pow_test_data): New variable.
26620 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
26621 (pow_tonearest_test_data): New variable.
26622 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
26623 (pow_towardzero_test_data): New variable.
26624 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
26625 (pow_downward_test_data): New variable.
26626 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
26627 (pow_upward_test_data): New variable.
26628 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
26629 (remainder_test_data): New variable.
26630 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
26631 (scalb_test_data): New variable.
26632 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
26633 * sysdeps/i386/fpu/libm-test-ulps: Update.
26634
26635 2013-05-11 Joseph Myers <joseph@codesourcery.com>
26636
26637 * math/libm-test.inc (fma_test): Use max_value instead of local
26638 variable fltmax.
26639 (nextafter_test): Likewise.
26640
26641 * math/libm-test.inc (acos_towardzero_test_data): New variable.
26642 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
26643 (acos_downward_test_data): New variable.
26644 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
26645 (acos_upward_test_data): New variable.
26646 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
26647 (acosh_test_data): New variable.
26648 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
26649 (asin_test_data): New variable.
26650 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
26651 (asin_tonearest_test_data): New variable.
26652 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
26653 (asin_towardzero_test_data): New variable.
26654 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
26655 (asin_downward_test_data): New variable.
26656 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
26657 (asin_upward_test_data): New variable.
26658 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
26659 (asinh_test_data): New variable.
26660 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
26661 (atan_test_data): New variable.
26662 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
26663 (atanh_test_data): New variable.
26664 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
26665 (cbrt_test_data): New variable.
26666 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
26667 (ceil_test_data): New variable.
26668 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
26669 (cos_test_data): New variable.
26670 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
26671 (cos_tonearest_test_data): New variable.
26672 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
26673 (cos_towardzero_test_data): New variable.
26674 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
26675 (cos_downward_test_data): New variable.
26676 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
26677 (cos_upward_test_data): New variable.
26678 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
26679 (cosh_test_data): New variable.
26680 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
26681 (cosh_tonearest_test_data): New variable.
26682 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
26683 (cosh_towardzero_test_data): New variable.
26684 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
26685 (cosh_downward_test_data): New variable.
26686 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
26687 (cosh_upward_test_data): New variable.
26688 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
26689 (erf_test_data): New variable.
26690 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
26691 (erfc_test_data): New variable.
26692 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
26693 (exp_test_data): New variable.
26694 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
26695 (exp_tonearest_test_data): New variable.
26696 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
26697 (exp_towardzero_test_data): New variable.
26698 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
26699 (exp_downward_test_data): New variable.
26700 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
26701 (exp_upward_test_data): New variable.
26702 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
26703 (exp10_test_data): New variable.
26704 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
26705 (exp2_test_data): New variable.
26706 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
26707 (expm1_test_data): New variable.
26708 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
26709 (fabs_test_data): New variable.
26710 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
26711 (floor_test_data): New variable.
26712 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
26713 (j0_test_data): New variable.
26714 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
26715 (j1_test_data): New variable.
26716 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
26717 (log_test_data): New variable.
26718 (log_test): Run tests with RUN_TEST_LOOP_f_f.
26719 (log10_test_data): New variable.
26720 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
26721 (log1p_test_data): New variable.
26722 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
26723 (log2_test_data): New variable.
26724 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
26725 (logb_test_data): New variable.
26726 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
26727 (logb_downward_test_data): New variable.
26728 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
26729 (nearbyint_test_data): New variable.
26730 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
26731 (rint_test_data): New variable.
26732 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
26733 (rint_tonearest_test_data): New variable.
26734 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
26735 (rint_towardzero_test_data): New variable.
26736 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
26737 (rint_downward_test_data): New variable.
26738 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
26739 (rint_upward_test_data): New variable.
26740 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
26741 (round_test_data): New variable.
26742 (round_test): Run tests with RUN_TEST_LOOP_f_f.
26743 (sin_test_data): New variable.
26744 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
26745 (sin_tonearest_test_data): New variable.
26746 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
26747 (sin_towardzero_test_data): New variable.
26748 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
26749 (sin_downward_test_data): New variable.
26750 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
26751 (sin_upward_test_data): New variable.
26752 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
26753 (sinh_test_data): New variable.
26754 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
26755 (sinh_tonearest_test_data): New variable.
26756 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
26757 (sinh_towardzero_test_data): New variable.
26758 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
26759 (sinh_downward_test_data): New variable.
26760 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
26761 (sinh_upward_test_data): New variable.
26762 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
26763 (sqrt_test_data): New variable.
26764 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
26765 (tan_test_data): New variable.
26766 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
26767 (tan_tonearest_test_data): New variable.
26768 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
26769 (tan_towardzero_test_data): New variable.
26770 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
26771 (tan_downward_test_data): New variable.
26772 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
26773 (tan_upward_test_data): New variable.
26774 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
26775 (tanh_test_data): New variable.
26776 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
26777 (tgamma_test_data): New variable.
26778 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
26779 (trunc_test_data): New variable.
26780 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
26781 (y0_test_data): New variable.
26782 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
26783 (y1_test_data): New variable.
26784 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
26785 (significand_test_data): New variable.
26786 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
26787
26788 2013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
26789
26790 [BZ #12387]
26791 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
26792
26793 2013-05-10 Pino Toscano <toscano.pino@tiscali.it>
26794
26795 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
26796
26797 2013-05-10 Andreas Jaeger <aj@suse.de>
26798
26799 [BZ #15448]
26800 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
26801 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
26802
26803 2013-05-10 Joseph Myers <joseph@codesourcery.com>
26804
26805 * math/gen-libm-test.pl (adjust_arg): New function.
26806 (special_functions): Handle generating output in both functions
26807 and arrays.
26808 (parse_args): Likewise.
26809 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
26810 $in_func argument to parse_args.
26811 * math/libm-test.inc (struct test_f_f_data): New type.
26812 (IF_ROUND_INIT_): New macro.
26813 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
26814 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
26815 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
26816 (IF_ROUND_INIT_FE_UPWARD): Likewise.
26817 (ROUND_RESTORE_): Likewise.
26818 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
26819 (ROUND_RESTORE_FE_TONEAREST): Likewise.
26820 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
26821 (ROUND_RESTORE_FE_UPWARD): Likewise.
26822 (RUN_TEST_LOOP_f_f): New macro.
26823 (acos_test_data): New variable.
26824 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
26825 (acos_tonearest_test_data): New variable.
26826 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
26827
26828 2013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
26829
26830 * benchtests/bench-skeleton.c (startup): Fix coding style.
26831
26832 2013-05-10 Joseph Myers <joseph@codesourcery.com>
26833
26834 [BZ #6809]
26835 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
26836 negative infinity argument.
26837 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
26838 negative infinity argument.
26839 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
26840 negative infinity argument.
26841 * math/libm-test.inc (tgamma_test): Expect errno to be set for
26842 domain errors.
26843
26844 2013-05-10 Florian Weimer <fweimer@redhat.com>
26845
26846 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
26847 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
26848 * iconv/iconv_prog.c (main): Likewise.
26849 * locale/programs/charmap-dir.c (charmap_readdir)
26850 (fopen_uncompressed): Likewise.
26851 * locale/programs/locfile.c (siblings_uncached)
26852 (write_locale_data): Use lstat64 instead of lstat.
26853 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
26854 stat.
26855
26856 2013-05-10 Andreas Jaeger <aj@suse.de>
26857
26858 [BZ #15395]
26859 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
26860 localization.
26861 Include <locale.h>.
26862
26863 2013-05-09 Carlos O'Donell <carlos@redhat.com>
26864
26865 * elf/dl-close.c (_dl_close_worker): Add comments.
26866
26867 2013-05-09 Joseph Myers <joseph@codesourcery.com>
26868
26869 [BZ #15359]
26870 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
26871 high part of pi/2.
26872 (__ieee754_rem_pio2l): Update comments.
26873
26874 [BZ #15429]
26875 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
26876 high part of pi/2.
26877 (__ieee754_rem_pio2l): Update comments.
26878
26879 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
26880 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
26881
26882 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
26883 M_PI_4l.
26884
26885 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
26886 (M_PI_34_LOG10El): Likewise.
26887 (M_PI2_LOG10El): Likewise.
26888 (M_PI4_LOG10El): Likewise.
26889 (M_PI_LOG10El): Likewise.
26890
26891 2013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26892
26893 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26894
26895 2013-05-08 Joseph Myers <joseph@codesourcery.com>
26896
26897 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
26898 (MINUS_ZERO_INIT): Likewise.
26899 (PLUS_INFTY_INIT): Likewise.
26900 (MINUS_INFTY_INIT): Likewise.
26901 (QNAN_VALUE_INIT): Likewise.
26902 (MAX_VALUE_INIT): Likewise.
26903 (MIN_VALUE_INIT): Likewise.
26904 (MIN_SUBNORM_VALUE_INIT): Likewise.
26905 (plus_zero): Initialize with PLUS_ZERO_INIT.
26906 (minus_zero): Initialize with MINUS_ZERO_INIT.
26907 (plus_infty): Initialize with PLUS_INFTY_INIT.
26908 (minus_infty): Initialize with MINUS_INFTY_INIT.
26909 (qnan_value): Initialize with QNAN_VALUE_INIT.
26910 (max_value): Initialize with MAX_VALUE_INIT.
26911 (min_value): Initialize with MIN_VALUE_INIT.
26912 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
26913
26914 * math/libm-test.inc (RUN_TEST_if_f): New macro.
26915 (jn_test): Use TEST_if_f instead of TEST_ff_f.
26916 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
26917 (yn_test): Use TEST_if_f instead of TEST_ff_f.
26918
26919 * math/libm-test.inc (RUN_TEST_f_f): New macro.
26920 (RUN_TEST_2_f): Likewise.
26921 (RUN_TEST_ff_f): Likewise.
26922 (RUN_TEST_fi_f): Likewise.
26923 (RUN_TEST_fl_f): Likewise.
26924 (RUN_TEST_fff_f): Likewise.
26925 (RUN_TEST_c_f): Likewise.
26926 (RUN_TEST_f_f1): Likewise.
26927 (RUN_TEST_fF_f1): Likewise.
26928 (RUN_TEST_fI_f1): Likewise.
26929 (RUN_TEST_ffI_f1): Likewise.
26930 (RUN_TEST_c_c): Likewise.
26931 (RUN_TEST_cc_c): Likewise.
26932 (RUN_TEST_f_i): Likewise.
26933 (RUN_TEST_f_i_tg): Likewise.
26934 (RUN_TEST_ff_i_tg): Likewise.
26935 (RUN_TEST_f_b): Likewise.
26936 (RUN_TEST_f_b_tg): Likewise.
26937 (RUN_TEST_f_l): Likewise.
26938 (RUN_TEST_f_L): Likewise.
26939 (RUN_TEST_sincos): Likewise.
26940 * math/gen-libm-test.pl (new_test): Take new argument to indicate
26941 whether to show exceptions. Do not include ");\n" in return
26942 value.
26943 (special_functions): Output call to RUN_TEST_sincos instead of
26944 check_float calls. Update calls to new_test.
26945 (parse_args): Output call to single RUN_TEST_* macro instead of
26946 check_* calls and other assignments. Update calls to new_test.
26947
26948 [BZ #2546]
26949 [BZ #2560]
26950 [BZ #5159]
26951 [BZ #15426]
26952 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
26953 input to result for tgamma overflow.
26954 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
26955 (gamma_coeff): New variable.
26956 (NCOEFF): New macro.
26957 (gamma_positive): New function.
26958 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
26959 underflow here. Use gamma_positive instead of exp (lgamma) for
26960 other arguments.
26961 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
26962 (gamma_coeff): New variable.
26963 (NCOEFF): New macro.
26964 (gammaf_positive): New function.
26965 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
26966 underflow here. Use gamma_positive instead of exp (lgamma) for
26967 other arguments.
26968 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
26969 (gamma_coeff): New variable.
26970 (NCOEFF): New macro.
26971 (gammal_positive): New function.
26972 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
26973 underflow here. Use gamma_positive instead of exp (lgamma) for
26974 other arguments.
26975 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
26976 (gamma_coeff): New variable.
26977 (NCOEFF): New macro.
26978 (gammal_positive): New function.
26979 (__ieee754_gammal_r): Handle positive infinity, overflow and
26980 underflow here. Handle NaN the same as positive infinity. Remove
26981 check x < 0xffffffff for negative integers. Use gamma_positive
26982 instead of exp (lgamma) for other arguments.
26983 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
26984 (gamma_coeff): New variable.
26985 (NCOEFF): New macro.
26986 (gammal_positive): New function.
26987 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
26988 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
26989 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
26990 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
26991 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
26992 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
26993 * sysdeps/generic/math_private.h (__gamma_productf): New
26994 prototype.
26995 (__gamma_product): Likewise.
26996 (__gamma_productl): Likewise.
26997 * math/Makefile (libm-calls): Add gamma_product.
26998 * math/libm-test.inc (tgamma_test): Add more tests.
26999 * sysdeps/i386/fpu/libm-test-ulps: Update.
27000 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27001
27002 2013-05-08 Ondřej Bílka <neleai@seznam.cz>
27003
27004 * benchtests/bench-skeleton.c (main): Preheat CPU.
27005
27006 2013-05-07 Aurelien Jarno <aurelien@aurel32.net>
27007
27008 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
27009
27010 2013-05-07 Roland McGrath <roland@hack.frob.com>
27011
27012 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
27013 and _dl_skip_args_internal.
27014
27015 2013-05-07 Carlos O'Donell <carlos@redhat.com>
27016
27017 * manual/message.texi (Message Translation): Talk about users.
27018 Message to key mapping impacts design.
27019
27020 2013-05-06 Roland McGrath <roland@hack.frob.com>
27021
27022 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
27023
27024 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
27025
27026 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
27027 * sysdeps/wordsize-64/glob64.c: ... here.
27028
27029 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
27030 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
27031 New macros.
27032
27033 * debug/getlogin_r_chk.c: Moved to ...
27034 * login/getlogin_r_chk.c: ... here.
27035 * debug/Makefile (routines): Move getlogin_r_chk to ...
27036 * login/Makefile (routines): ... here.
27037 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
27038 * login/Versions (libc: GLIBC_2.4): ... here.
27039
27040 * io/poll.c (__poll): Renamed from poll.
27041 Add libc_hidden_def.
27042 (poll): Define as weak alias.
27043
27044 * debug/ptsname_r_chk.c: Moved to ...
27045 * login/ptsname_r_chk.c: ... here.
27046 * debug/Makefile (routines): Move ptsname_r_chk to ...
27047 * login/Makefile (routines): ... here.
27048 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
27049 * login/Versions (libc: GLIBC_2.4): ... here.
27050
27051 * posix/getlogin.c: Moved to ...
27052 * login/getlogin.c: ... here.
27053 * posix/getlogin_r.c: Moved to ...
27054 * login/getlogin_r.c: ... here.
27055 * posix/getlogin_r.c: Moved to ...
27056 * login/getlogin_r.c: ... here.
27057 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
27058 * login/Makefile (routines): ... here.
27059 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
27060 * login/Versions (libc: GLIBC_2.0): ... here.
27061
27062 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
27063 (setrlimit): Define as weak alias.
27064
27065 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
27066 Call __ names for open, ftruncate, and close.
27067 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
27068 (truncate): Define as weak alias.
27069
27070 2013-05-06 Joseph Myers <joseph@codesourcery.com>
27071
27072 * math/gen-libm-test.pl (parse_args): Initialize x before each
27073 test of frexp, modf and remquo.
27074
27075 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
27076 test signgam value.
27077
27078 2013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27079
27080 [BZ #15418]
27081 [BZ #15419]
27082 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
27083 internal tests.
27084 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
27085
27086 2013-05-06 Roland McGrath <roland@hack.frob.com>
27087
27088 * elf/dl-writev.h: New file.
27089 * elf/dl-misc.c: Include it.
27090 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
27091 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
27092
27093 2013-05-04 Joseph Myers <joseph@codesourcery.com>
27094
27095 * math/libm-test.inc (noXFails): Remove variable.
27096 (noXPasses): Likewise.
27097 (BUILD_COMPLEX_INT): Remove macro.
27098 (print_screen): Remove xfail argument.
27099 (print_screen_max_error): Likewise.
27100 (update_stats): Likewise.
27101 (print_max_error): Likewise. Update calls to other affected
27102 functions.
27103 (print_complex_max_error): Likewise.
27104 (test_single_exception): Update calls to print_screen.
27105 (test_single_errno): Likewise.
27106 (check_float_internal): Remove xfail argument. Update calls to
27107 other affected functions.
27108 (check_float): Likewise.
27109 (check_complex): Likewise.
27110 (check_int): Likewise.
27111 (check_long): Likewise.
27112 (check_bool): Likewise.
27113 (check_longlong): Likewise.
27114 (main): Don't print noXFails and noXPasses.
27115 * math/gen-libm-test.pl (top level): Don't mention expected
27116 failure handling in comment.
27117 (new_test): Don't handle expected failures.
27118 (parse_args): Don't mention expected failure handling in comment.
27119 (generate_testfile): Don't handle expected failures.
27120 (parse_ulps): Likewise.
27121 (print_ulps_file): Likewise.
27122 (get_failure): Remove function.
27123 (output_test): Don't handle expected failures.
27124 * make/README.libm-test: Don't mention expected failure handling.
27125
27126 * math/libm-test.inc (plus_zero): Make const. Add initializer.
27127 (minus_zero): Likewise.
27128 (plus_infty): Likewise.
27129 (minus_infty): Likewise.
27130 (qnan_value): Likewise.
27131 (max_value): Likewise.
27132 (min_value): Likewise.
27133 (min_subnorm_value): Likewise.
27134 (initialize): Do not initialize those variables dynamically.
27135
27136 2013-05-03 Roland McGrath <roland@hack.frob.com>
27137
27138 * io/open.c (__open_2): Moved to ...
27139 * io/open_2.c: ... this new file.
27140 * io/open64.c (__open64_2): Moved to ...
27141 * io/open64_2.c: ... this new file.
27142 * io/openat.c (__openat_2): Moved to ...
27143 * io/openat_2.c: ... this new file.
27144 * io/openat64.c (__openat64_2): Moved to ...
27145 * io/openat64_2.c: ... this new file.
27146 * io/Makefile (routines): Add them.
27147 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
27148 * sysdeps/unix/sysv/linux/open_2.c: File removed.
27149 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
27150 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
27151 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
27152 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
27153 (__openat64): Add hidden_ver.
27154 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
27155 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
27156
27157 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
27158 Separately conditionalize setting of GLRO(dl_sysinfo) so
27159 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
27160 as well, but the actual setting is only under [NEED_DL_SYSINFO].
27161
27162 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27163
27164 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
27165 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
27166 definition.
27167 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
27168 * sysdeps/unix/sysv/linux/powerpc/init-first.c
27169 (_libc_vdso_platform_setup): Add __vdso_time initialization.
27170 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
27171 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
27172
27173 2013-05-03 Joseph Myers <joseph@codesourcery.com>
27174
27175 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
27176 test signgam value.
27177
27178 * math/libm-test.inc (hypot_test): Do not use
27179 IGNORE_ZERO_INF_SIGN.
27180
27181 2013-05-03 Andreas Jaeger <aj@suse.de>
27182
27183 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
27184 Linux 3.9.
27185 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
27186 (PF_MAX): Adjust for VSOCK change.
27187
27188 2013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27189
27190 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27191
27192 2013-05-02 Carlos O'Donell <carlos@redhat.com>
27193
27194 [BZ #15264]
27195 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
27196 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
27197 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
27198
27199 2013-05-02 David S. Miller <davem@davemloft.net>
27200
27201 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27202
27203 2013-05-01 Ondřej Bílka <neleai@seznam.cz>
27204
27205 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
27206
27207 2013-05-01 Roland McGrath <roland@hack.frob.com>
27208
27209 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
27210
27211 2013-05-01 Richard Smith <richard@metafoo.co.uk>
27212
27213 [BZ #14952]
27214 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
27215 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
27216 Use __attribute__ ((__gnu_inline__)).
27217 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
27218 Don't use __attribute__ ((__gnu_inline__)).
27219
27220 2013-05-01 Joseph Myers <joseph@codesourcery.com>
27221
27222 [BZ #15423]
27223 * math/s_catan.c (__catan): Handle small real or imaginary part of
27224 input specially to avoid spurious underflow.
27225 * math/s_catanf.c (__catanf): Likewise.
27226 * math/s_catanh.c (__catanh): Likewise.
27227 * math/s_catanhf.c (__catanhf): Likewise.
27228 * math/s_catanhl.c (__catanhl): Likewise.
27229 * math/s_catanl.c (__catanl): Likewise.
27230 * math/libm-test.inc (catan_test): Add more tests.
27231 (catanh_test): Likewise.
27232 * sysdeps/i386/fpu/libm-test-ulps: Update.
27233 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27234
27235 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27236
27237 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27238
27239 2013-04-30 Joseph Myers <joseph@codesourcery.com>
27240
27241 [BZ #15416]
27242 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
27243 accurately for denominator in atan2.
27244 * math/s_catanf.c (__catanf): Likewise.
27245 * math/s_catanh.c (__catanh): Likewise.
27246 * math/s_catanhf.c (__catanhf): Likewise.
27247 * math/s_catanhl.c (__catanhl): Likewise.
27248 * math/s_catanl.c (__catanl): Likewise.
27249 * math/libm-test.inc (catan_test): Add more tests.
27250 (catanh_test): Likewise.
27251 * sysdeps/i386/fpu/libm-test-ulps: Update.
27252 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27253
27254 2013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
27255
27256 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
27257
27258 * benchtests/Makefile (bench): Remove slow benchmarks.
27259 * benchtests/atan-inputs: Add slow benchmark inputs.
27260 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
27261 (BENCH_FUNC): Accept variant offset.
27262 (VARIANT): Define.
27263 * benchtests/bench-skeleton.c (main): Run benchmark for each
27264 variant.
27265 * benchtests/cos-inputs: Add slow benchmark inputs.
27266 * benchtests/exp-inputs: Likewise.
27267 * benchtests/pow-inputs: Likewise.
27268 * benchtests/sin-inputs: Likewise.
27269 * benchtests/slowatan-inputs: Remove.
27270 * benchtests/slowatan.c: Remove.
27271 * benchtests/slowcos-inputs: Remove.
27272 * benchtests/slowcos.c: Remove.
27273 * benchtests/slowexp-inputs: Remove.
27274 * benchtests/slowexp.c: Remove.
27275 * benchtests/slowpow-inputs: Remove.
27276 * benchtests/slowpow.c: Remove.
27277 * benchtests/slowsin-inputs: Remove.
27278 * benchtests/slowsin.c: Remove.
27279 * benchtests/slowtan-inputs: Remove.
27280 * benchtests/slowtan.c: Remove.
27281 * benchtests/tan-inputs: Add slow benchmark inputs.
27282 * scripts/bench.pl: Parse comments and directives.
27283
27284 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
27285 in CPPFLAGS.
27286 ($(objpfx)bench-%.c): Remove *-ITER.
27287 * benchtests/bench-modf.c: Remove definition of ITER.
27288 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
27289 (main): Loop for DURATION seconds instead of fixed number of
27290 iterations.
27291 * scripts/bench.pl: Don't expect iterations in parameters.
27292
27293 2013-04-29 Roland McGrath <roland@hack.frob.com>
27294
27295 * io/fchdir.c (__fchdir): Renamed from fchdir.
27296 (fchdir): Define as weak alias.
27297
27298 2013-04-29 Joseph Myers <joseph@codesourcery.com>
27299
27300 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
27301 (ERRNO_EDOM): Likewise.
27302 (ERRNO_ERANGE): Likewise.
27303 (noErrnoTests): New variable.
27304 (init_max_error): Set errno to 0.
27305 (test_single_errno): New function.
27306 (test_errno): Likewise.
27307 (check_float_internal): Call test_errno. Set errno to 0.
27308 (check_complex): Refer to errno tests in comment.
27309 (check_int): Call test_errno. Set errno to 0.
27310 (check_long): Likewise.
27311 (check_bool): Likewise.
27312 (check_longlong): Likewise.
27313 (cos_test): Use ERRNO_* flags for errno tests instead of
27314 check_int.
27315 (expm1_test): Likewise.
27316 (fmod_test): Likewise.
27317 (ilogb_test): Likewise.
27318 (lgamma_test): Likewise.
27319 (pow_test): Likewise.
27320 (remainder_test): Likewise.
27321 (sin_test): Likewise.
27322 (tan_test): Likewise.
27323 (yn_test): Likewise.
27324 (initialize): Set errno to 0.
27325 (main): Print number of errno tests.
27326 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
27327
27328 2013-04-29 Andreas Jaeger <aj@suse.de>
27329
27330 [BZ #15084]
27331 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
27332 and RES_USEVC.
27333
27334 [BZ #15085]
27335 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
27336 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
27337 unimplemented.
27338
27339 [BZ #15380]
27340 * stdlib/random.c (__initstate): Return NULL if
27341 __initstate fails.
27342
27343 [BZ #15086]
27344 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
27345 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
27346 RES_SNGLKUPREOP.
27347
27348 2013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27349
27350 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27351
27352 2013-04-29 Joseph Myers <joseph@codesourcery.com>
27353
27354 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
27355 of individual tests.
27356 (casin_test): Likewise.
27357 (casinh_test): Likewise.
27358
27359 2013-04-27 Joseph Myers <joseph@codesourcery.com>
27360
27361 [BZ #15409]
27362 * math/s_catan.c (__catan): Handle arguments with large real or
27363 imaginary part separately without squaring.
27364 * math/s_catanf.c (__catanf): Likewise.
27365 * math/s_catanh.c (__catanh): Likewise.
27366 * math/s_catanhf.c (__catanhf): Likewise.
27367 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
27368 and redefine.
27369 (__catanhl): Handle arguments with large real or imaginary part
27370 separately without squaring.
27371 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
27372 and redefine.
27373 (__catanl): Handle arguments with large real or imaginary part
27374 separately without squaring.
27375 * math/libm-test.inc (catan_test): Add more tests.
27376 (catanh_test): Likewise.
27377 * sysdeps/i386/fpu/libm-test-ulps: Update.
27378 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27379
27380 2013-04-27 Andreas Jaeger <aj@suse.de>
27381
27382 [BZ #15007]
27383 * stdlib/stdlib.h: Update guards for qecvt.
27384 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
27385 <stdlib.h>.
27386
27387 2013-04-27 Allan McRae <allan@archlinux.org>
27388
27389 * sysdeps/i386/fpu/libm-test-ulps: Update.
27390
27391 2013-04-26 Joseph Myers <joseph@codesourcery.com>
27392
27393 [BZ #15406]
27394 * math/s_catan.c: Include <float.h>.
27395 (__catan): Ensure underflow exception occurs for underflowed
27396 result.
27397 * math/s_catanf.c: Include <float.h>.
27398 (__catanf): Ensure underflow exception occurs for underflowed
27399 result.
27400 * math/s_catanh.c: Include <float.h>.
27401 (__catanh): Ensure underflow exception occurs for underflowed
27402 result.
27403 * math/s_catanhf.c: Include <float.h>.
27404 (__catanhf): Ensure underflow exception occurs for underflowed
27405 result.
27406 * math/s_catanhl.c: Include <float.h>.
27407 (__catanhl): Ensure underflow exception occurs for underflowed
27408 result.
27409 * math/s_catanl.c: Include <float.h>.
27410 (__catanl): Ensure underflow exception occurs for underflowed
27411 result.
27412 * math/libm-test.inc (catan_test): Add more tests.
27413 (catanh_test): Likewise.
27414
27415 [BZ #15405]
27416 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
27417 underflowed result.
27418 * math/s_ccoshf.c (__ccoshf): Likewise.
27419 * math/s_ccoshl.c (__ccoshl): Likewise.
27420 * math/s_csin.c (__csin): Likewise.
27421 * math/s_csinf.c (__csinf): Likewise.
27422 * math/s_csinh.c (__csinh): Likewise.
27423 * math/s_csinhf.c (__csinhf): Likewise.
27424 * math/s_csinhl.c (__csinhl): Likewise.
27425 * math/s_csinl.c (__csinl): Likewise.
27426 * math/libm-test.inc (ccos_test): Add more tests.
27427 (ccosh_test): Likewise.
27428 (csin_test): Likewise.
27429 (csinh_test): Likewise.
27430
27431 2013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27432
27433 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
27434 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
27435 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
27436 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
27437 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
27438 powerpc/power5+/fpu folders.
27439 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
27440
27441
27442 2013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
27443
27444 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
27445
27446 2013-04-25 Joseph Myers <joseph@codesourcery.com>
27447
27448 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
27449 additions to variable.
27450 [$(config-machine) = x86_64] (modules-names): Likewise.
27451 ($(objpfx)tst-audit3): Remove dependency.
27452 ($(objpfx)tst-audit3.out): Likewise.
27453 ($(objpfx)tst-audit4): Likewise.
27454 ($(objpfx)tst-audit4.out): Likewise.
27455 ($(objpfx)tst-audit5): Likewise.
27456 ($(objpfx)tst-audit5.out): Likewise.
27457 ($(objpfx)tst-audit6): Likewise.
27458 ($(objpfx)tst-audit6.out): Likewise.
27459 ($(objpfx)tst-audit7): Likewise.
27460 ($(objpfx)tst-audit7.out): Likewise.
27461 (tst-audit3-ENV): Remove variable.
27462 (tst-audit4-ENV): Likewise.
27463 (tst-audit5-ENV): Likewise.
27464 (tst-audit6-ENV): Likewise.
27465 (tst-audit7-ENV): Likewise.
27466 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
27467 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
27468 addition to variable.
27469 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
27470 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
27471 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
27472 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
27473 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
27474 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
27475 tst-audit3, tst-audit4 and tst-audit5.
27476 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
27477 tst-audit6 and tst-audit7.
27478 [$(subdir) = elf] (modules-names): Add audit modules for those
27479 tests.
27480 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
27481 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
27482 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
27483 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
27484 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
27485 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
27486 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
27487 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
27488 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
27489 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
27490 [$(subdir) = elf] (tst-audit3-ENV): New variable.
27491 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
27492 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
27493 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
27494 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
27495 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
27496 Likewise.
27497 [$(subdir) = elf && $(config-cflags-avx) = yes]
27498 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
27499 [$(subdir) = elf && $(config-cflags-avx) = yes]
27500 (CFLAGS-tst-auditmod4a.c): Likewise.
27501 [$(subdir) = elf && $(config-cflags-avx) = yes]
27502 (CFLAGS-tst-auditmod4b.c): Likewise.
27503 [$(subdir) = elf && $(config-cflags-avx) = yes]
27504 (CFLAGS-tst-auditmod6b.c): Likewise.
27505 [$(subdir) = elf && $(config-cflags-avx) = yes]
27506 (CFLAGS-tst-auditmod6c.c): Likewise.
27507 [$(subdir) = elf && $(config-cflags-avx) = yes]
27508 (CFLAGS-tst-auditmod7b.c): Likewise.
27509 * elf/tst-audit3.c: Move to ...
27510 * sysdeps/x86_64/tst-audit3.c: ... here.
27511 * elf/tst-audit4.c: Move to ...
27512 * sysdeps/x86_64/tst-audit4.c: ... here.
27513 * elf/tst-audit5.c: Move to ...
27514 * sysdeps/x86_64/tst-audit5.c: ... here.
27515 * elf/tst-audit6.c: Move to ...
27516 * sysdeps/x86_64/tst-audit6.c: ... here.
27517 * elf/tst-audit7.c: Move to ...
27518 * sysdeps/x86_64/tst-audit7.c: ... here.
27519 * elf/tst-auditmod3a.c: Move to ...
27520 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
27521 * elf/tst-auditmod3b.c: Move to ...
27522 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
27523 * elf/tst-auditmod4a.c: Move to ...
27524 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
27525 * elf/tst-auditmod4b.c: Move to ...
27526 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
27527 * elf/tst-auditmod5a.c: Move to ...
27528 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
27529 * elf/tst-auditmod5b.c: Move to ...
27530 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
27531 * elf/tst-auditmod6a.c: Move to ...
27532 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
27533 * elf/tst-auditmod6b.c: Move to ...
27534 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
27535 * elf/tst-auditmod6c.c: Move to ...
27536 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
27537 * elf/tst-auditmod7a.c: Move to ...
27538 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
27539 * elf/tst-auditmod7b.c: Move to ...
27540 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
27541
27542 2013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
27543
27544 [BZ #15366]
27545 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
27546 define unconditionally.
27547 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
27548 define unconditionally.
27549 (INT8_C, INT16_C, etc.): Likewise.
27550
27551 2013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
27552
27553 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
27554 __ehdr_start with hidden visibility.
27555
27556 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
27557
27558 2013-04-24 Carlos O'Donell <carlos@redhat.com>
27559
27560 * math/libm-test.inc (cos_test): Use accurate hex constants.
27561 (sincost_test): Likewise.
27562
27563 2013-04-24 Joseph Myers <joseph@codesourcery.com>
27564
27565 * math/libm-test.inc (catan_test): Add more tests.
27566 (catanh_test): Likewise.
27567
27568 * math/s_catanf.c (__catanf): Use suffixed floating-point
27569 constants.
27570 * math/s_catanhf.c (__catanhf): Likewise.
27571 * math/s_catanhl.c (__catanhl): Likewise.
27572 * math/s_catanl.c (__catanl): Likewise.
27573
27574 [BZ #15394]
27575 * math/s_catan.c (__catan): Calculate imaginary part of result
27576 with log1p not log unless computing log of number close to 0.
27577 * math/s_catanf.c (__catanf): Likewise.
27578 * math/s_catanl.c (__catanl): Likewise.
27579 * math/s_catanh.c (__catanh): Calculate real part of result with
27580 log1p not log unless computing log of number close to 0.
27581 * math/s_catanhf.c (__catanhf): Likewise.
27582 * math/s_catanhl.c (__catanhl): Likewise.
27583 * math/libm-test.inc (catan_test): Add more tests.
27584 (catanh_test): Likewise.
27585 * sysdeps/i386/fpu/libm-test-ulps: Update.
27586 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27587
27588 2013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
27589
27590 * benchtests/Makefile: Mention files in which fast and slow
27591 paths of math functions are implemented.
27592
27593 2013-04-23 Roland McGrath <roland@hack.frob.com>
27594
27595 * sysdeps/posix/timespec_get.c: New file.
27596
27597 2013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27598
27599 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
27600 POWER.
27601 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
27602 for POWER.
27603 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
27604 powerpc/power5/fpu folders.
27605 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
27606 * benchtests/Makefile: Add modf testcase.
27607 * benchtests/bench-modf.c: New file: Benchmark test for mo
27608
27609 2013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
27610
27611 [BZ #14888]
27612 * time/Makefile (tests): Add tst-strptime-whitespace.
27613 * time/strptime_l.c (get_number): Use ISSPACE.
27614 (__strptime_internal): Likewise.
27615 * time/tst-strptime-whitespace.c: New test case.
27616
27617 2013-04-23 Andreas Schwab <schwab@linux-m68k.org>
27618
27619 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
27620 member.
27621 (_nss_files_init): Set it here.
27622
27623 2013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
27624
27625 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
27626 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
27627 unsigned.
27628
27629 2013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
27630
27631 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
27632
27633 2013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
27634
27635 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
27636 size just once.
27637
27638 2013-04-21 David S. Miller <davem@davemloft.net>
27639
27640 * po/ru.po: Update Russion translation from translation project.
27641
27642 2013-04-17 Adam Conrad <adconrad@0c3.net>
27643
27644 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
27645 and setfsgid.
27646
27647 2013-04-17 Carlos O'Donell <carlos@redhat.com>
27648
27649 * configure.in: Remove i386 configure warning. Remove i386 case.
27650 * configure: Regenerate.
27651 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
27652 Add example to error message.
27653 * sysdeps/i386/configure: Regenerate.
27654
27655 2013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
27656
27657 * benchtests/Makefile (bench): Add cos, tan, slowcos and
27658 slowtan.
27659 * benchtests/cos-inputs: New file.
27660 * benchtests/slowcos-inputs: New file.
27661 * benchtests/slowcos.c: New file.
27662 * benchtests/slowtan-inputs: New file.
27663 * benchtests/slowtan.c: New file.
27664 * benchtests/tan-inputs: New file.
27665
27666 2013-04-16 Roland McGrath <roland@hack.frob.com>
27667
27668 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
27669 considered kosher.
27670
27671 2013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
27672
27673 * benchtests/Makefile: Include cppflags-iterator.mk to add
27674 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
27675
27676 * Makefile.in (bench-clean): New target.
27677 * benchtests/Makefile (bench-clean): Likewise.
27678
27679 2013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
27680
27681 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
27682
27683 2013-04-15 Thomas Schwinge <thomas@codesourcery.com>
27684
27685 * stdio-common/tstdiomisc.c: Fix coding-style violation.
27686
27687 2013-04-15 Andreas Schwab <schwab@suse.de>
27688
27689 * nscd/grpcache.c (cache_addgr): Properly check for short write.
27690 * nscd/initgrcache.c (addinitgroupsX): Likewise.
27691 * nscd/pwdcache.c (cache_addpw): Likewise.
27692 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
27693 more than recsize.
27694
27695 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
27696
27697 * benchtests/Makefile (bench): Write all output to
27698 bench-out.tmp together.
27699
27700 2013-04-15 Andreas Schwab <schwab@suse.de>
27701
27702 * nscd/nscd.c (main): Don't fork again after closing files.
27703
27704 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
27705
27706 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
27707
27708 * benchtests/Rules (bench-deps): Collect dependencies into a
27709 single variable. Add Makefile to dependencies.
27710 ($(objpfx)bench-%.c): Depend on bench-deps.
27711
27712 2013-04-12 Roland McGrath <roland@hack.frob.com>
27713 Xavier Roche <roche+kml2@exalead.com>
27714
27715 [BZ #15361]
27716 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
27717 just that it's a file descriptor.
27718 * manual/llio.texi (Synchronizing AIO Operations): Update description
27719 for EBADF error from aio_fsync.
27720
27721 2013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
27722
27723 * Rules (bench): Move target definition...
27724 * benchtests/Makefile: ... here.
27725
27726 2013-04-11 Carlos O'Donell <carlos@redhat.com>
27727
27728 * math/libm-test.inc (cos_test): Fix PI/2 test.
27729 (sincos_test): Likewise.
27730 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
27731 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
27732
27733 2013-04-11 Andreas Schwab <schwab@suse.de>
27734
27735 [BZ #13988]
27736 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
27737 accept exponent character only when digits were seen.
27738 * stdio-common/Makefile (tests): Add bug26.
27739 * stdio-common/bug26.c: New file.
27740
27741 [BZ #14293]
27742 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
27743 non-freeable.
27744
27745 2013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
27746
27747 * Makeconfig (rtld-prefix): Define built linker prefix.
27748 * Rules (run-bench): Use it.
27749 * math/Makefile (run-regen-ulps): Likewise.
27750
27751 * Rules (bench): Remove eval.
27752
27753 2013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
27754 Roland McGrath <roland@hack.frob.com>
27755 Ondrej Bilka <neleai@seznam.cz>
27756
27757 [BZ #15346]
27758 * time/getdate.c: Include ctype.h and alloca.h.
27759 (__getdate_r): Trim leading and trailing spaces of input.
27760 * time/tst-getdate.c (tests): Add tests with leading and
27761 trailing spaces.
27762
27763 2013-04-08 Roland McGrath <roland@hack.frob.com>
27764
27765 [BZ #14280]
27766 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
27767 when computing value.
27768
27769 2013-04-06 Carlos O'Donell <carlos@redhat.com>
27770
27771 * math/README.libm-test (How can I generate "libm-test-ulps"?):
27772 Use testrun.sh to run libm tests.
27773
27774 [BZ #15309]
27775 * elf/dl-open.c (dl_open_worker): memset all of seen array.
27776
27777 2013-04-06 Marko Myllynen <myllynen@redhat.com>
27778
27779 [BZ #15264]
27780 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
27781
27782 2013-04-06 Carlos O'Donell <carlos@redhat.com>
27783
27784 * Makefile.in (regen-ulps): New target.
27785 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
27786 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
27787 [ifneq (no,$(PERL)] (regen-ulps): New target.
27788 [ifeq (no,$(PERL)] (regen-ulps): New target.
27789 * math/libm-test.inc (ulps_file_name): Define.
27790 (output_dir): New variable.
27791 (options): Add "output-dir" option.
27792 (parse_opt): Handle 'o' case.
27793 (main): If output_dir is non-NULL use it as a prefix
27794 otherwise use "".
27795 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
27796
27797 2013-04-06 Carlos O'Donell <carlos@redhat.com>
27798
27799 [BZ #10060, #10062]
27800 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
27801 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
27802 fail configure if __sync_val_compare_and_swap is not inlined.
27803 * sysdeps/i386/configure: Regenerate.
27804 * configure.in: Build for i686 when configured for i386.
27805 * configure: Regenerate.
27806 * README: Remove i386 reference.
27807
27808 2013-04-06 Carlos O'Donell <carlos@redhat.com>
27809
27810 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
27811 * sysdeps/s390/s390-64/sysdep.h: Likewise.
27812
27813 2013-04-05 Thomas Schwinge <thomas@codesourcery.com>
27814
27815 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
27816 (lmsnanval): New variables.
27817 (F): Add conversion tests.
27818 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
27819 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
27820
27821 * stdio-common/tstdiomisc.c (F): Properly collect individual
27822 tests' results.
27823
27824 [BZ #14686, #15336]
27825 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
27826 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
27827 Instead, use input NaN values or generate a qNaN by arithmetic
27828 operation. Also fix bugs to comply with the standard.
27829 * math/libm-test.inc (remainder_test): Add more tests.
27830
27831 [BZ #15335, #15342]
27832 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
27833 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
27834 input NaN values or generate a qNaN by arithmetic operation.
27835
27836 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
27837 unreachable code.
27838
27839 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
27840 definitions.
27841
27842 2013-04-03 Joseph Myers <joseph@codesourcery.com>
27843
27844 [BZ #14478]
27845 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
27846 underflowed result.
27847 * math/s_cexpf.c (__cexpf): Likewise.
27848 * math/s_cexpl.c (__cexpl): Likewise.
27849 * math/libm-test.inc (cexp_test): Add more tests.
27850
27851 2013-04-03 Andreas Schwab <schwab@suse.de>
27852
27853 [BZ #15330]
27854 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
27855 order arrays from heap if bigger than alloca cutoff.
27856
27857 2013-04-03 Thomas Schwinge <thomas@codesourcery.com>
27858
27859 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
27860 (SNAN_TESTS_double): Refer to GCC PR56831.
27861 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
27862 GCC PR56828.
27863
27864 2013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
27865
27866 * Rules (bench): Move bench.out after the run is complete.
27867
27868 * Rules (bench): Echo currently running benchmark.
27869
27870 * benchtests/Makefile (bench): Add atan and slowatan.
27871 * benchtests/atan-inputs: New file.
27872 * benchtests/slowatan-inputs: New file.
27873 * benchtests/slowatan.c: New file.
27874
27875 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
27876 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
27877 its value.
27878
27879 [BZ #15305]
27880 * sysdeps/unix/sysv/linux/kernel-features.h
27881 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
27882 __ASSUME_XFS_RESTRICTED_CHOWN.
27883 * sysdeps/unix/sysv/linux/pathconf.c
27884 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
27885 Save and restore errno.
27886
27887 2013-04-02 Joseph Myers <joseph@codesourcery.com>
27888
27889 [BZ #15327]
27890 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
27891 arguments using __kernel_casinh.
27892 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
27893 arguments using __kernel_casinhf.
27894 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
27895 arguments using __kernel_casinhl.
27896 * math/libm-test.inc (cacosh_test): Add more tests.
27897 * sysdeps/i386/fpu/libm-test-ulps: Update.
27898 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27899
27900 2013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
27901
27902 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
27903 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
27904
27905 * bench/Makefile (bench): Add sin and slowsin.
27906 * benchtests/sin-inputs: New file.
27907 * benchtests/slowsin-inputs: New file.
27908 * benchtests/slowsin.c: New file.
27909
27910 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
27911 (bench): Add slowexp and slowpow.
27912 (exp-ITER): Increase iterations.
27913 (pow-ITER): Likewise.
27914 * benchtests/exp-inputs: Change input.
27915 * benchtests/pow-inputs: Likewise.
27916 * benchtests/slowexp-inputs: New file.
27917 * benchtests/slowexp.c: New file.
27918 * benchtests/slowpow-inputs: New file.
27919 * benchtests/slowpow.c: New file.
27920
27921 2013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27922
27923 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
27924 instructions.
27925 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
27926 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
27927 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
27928 * benchtests/Makefile: Add rint benchtest.
27929 * benchtests/rint-inputs: Input for rint benchtest.
27930
27931 2013-04-02 Thomas Schwinge <thomas@codesourcery.com>
27932
27933 * Versions.def (libm): Add GLIBC_2.18.
27934 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
27935 hidden libm prototypes.
27936 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
27937 * math/Makefile (libm-calls): Add s_issignaling.
27938 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
27939 __issignalingf, __issignalingl. Adjust all libm.abilist files.
27940 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
27941 declaration.
27942 * math/math.h [__USE_GNU] (issignaling): New macro.
27943 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
27944 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
27945 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
27946 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
27947 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
27948 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
27949 * manual/arith.texi (issignaling): New section.
27950 * manual/libm-err-tab.pl (@all_functions): Update comment.
27951 * math/gen-libm-test.pl (parse_args): Apply special handling for
27952 issignaling.
27953 * math/libm-test.inc (print_float, issignaling_test): New
27954 functions.
27955 (check_float_internal): Add issignaling checks.
27956 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
27957 default definition.
27958 * sysdeps/powerpc/math-tests.h: New file.
27959 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
27960 tests.
27961 * math/test-snan.c (TEST_FUNC): Likewise.
27962
27963 2013-03-30 David S. Miller <davem@davemloft.net>
27964
27965 * po/de.po: Update from translation team.
27966
27967 2013-03-30 Joseph Myers <joseph@codesourcery.com>
27968
27969 [BZ #10357]
27970 * math/k_casinh.c (__kernel_casinh): Handle arguments with
27971 imaginary part less than 1.0 and real part less than 0.5
27972 specially.
27973 * math/k_casinhf.c (__kernel_casinhf): Likewise.
27974 * math/k_casinhl.c (__kernel_casinhl): Likewise.
27975 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
27976 (cacos_test): Add more tests.
27977 (casin_test): Likewise.
27978 (casinh_test): Likewise.
27979 * sysdeps/i386/fpu/libm-test-ulps: Update.
27980 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27981
27982 2013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
27983
27984 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
27985 ONE with its value.
27986
27987 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
27988 (__pow_mp): Replace ONE and MONE with their values.
27989 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
27990 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
27991 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
27992 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
27993 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
27994 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
27995
27996 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
27997
27998 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
27999 (__pow_mp): Replace ZERO and MZERO with their values.
28000 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
28001 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
28002 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
28003 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
28004 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
28005 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
28006 (__sqr): Likewise.
28007
28008 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
28009
28010 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
28011
28012 2013-03-28 Roland McGrath <roland@hack.frob.com>
28013
28014 * include/stdlib.h [!SHARED] (__call_tls_dtors):
28015 Declare with __attribute__ ((weak)).
28016 * stdlib/exit.c (__libc_atexit) [!SHARED]:
28017 Call __call_tls_dtors only if it's not NULL.
28018
28019 2013-03-28 Roland McGrath <roland@hack.frob.com>
28020
28021 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
28022 didn't do it already, then set _dl_phdr and _dl_phnum based on the
28023 magic __ehdr_start linker symbol if it's defined.
28024 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
28025 them up here if it was already done.
28026
28027 * elf/dl-support.c (_dl_phdr): Make pointer to const.
28028 (_dl_aux_init): Use const in cast when setting it.
28029 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
28030 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
28031 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
28032
28033 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
28034 Declare them here.
28035 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
28036 * csu/libc-tls.c: Nor here.
28037 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
28038
28039 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
28040 (__libc_message): Never call vsyslog.
28041
28042 2013-03-28 Alan Modra <amodra@gmail.com>
28043
28044 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
28045 Define as empty.
28046 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
28047 Likewise.
28048
28049 2013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28050
28051 [BZ #15214]
28052 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
28053 underflow.
28054 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28055
28056 2013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
28057
28058 [BZ #15304]
28059 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
28060 Don't add gid passed as argument.
28061
28062 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
28063
28064 2013-03-27 Joseph Myers <joseph@codesourcery.com>
28065
28066 [BZ #15307]
28067 * math/k_casinh.c (__kernel_casinh): Handle arguments with
28068 imaginary part between 1.0 and 1.5 and real part less than 0.5
28069 specially.
28070 * math/k_casinhf.c (__kernel_casinhf): Likewise.
28071 * math/k_casinhl.c (__kernel_casinhl): Likewise.
28072 * math/libm-test.inc (cacos_test): Add more tests.
28073 (casin_test): Likewise.
28074 (casinh_test): Likewise.
28075 * sysdeps/i386/fpu/libm-test-ulps: Update.
28076 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28077
28078 2013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
28079
28080 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
28081 constants.
28082 (norm): Likewise.
28083 (denorm): Likewise.
28084 (__dbl_mp): Likewise.
28085 (add_magnitudes): Likewise.
28086 (sub_magnitudes): Likewise.
28087 (__add): Likewise.
28088 (__sub): Likewise.
28089 (__mul): Likewise.
28090 (__sqr): Likewise.
28091 (__inv): Likewise.
28092 (__dvd): Likewise.
28093
28094 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
28095 commented code.
28096 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
28097 (__dubcos): Likewise.
28098 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
28099 (__ieee754_acos): Likewise.
28100 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
28101 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
28102 (__exp1): Likewise.
28103 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
28104 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
28105 (log1): Likewise.
28106 (my_log2): Likewise.
28107 (checkint): Likewise.
28108 * sysdeps/ieee754/dbl-64/e_remainder.c
28109 (__ieee754_remainder): Likewise.
28110 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
28111 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
28112 (bsloww): Likewise.
28113 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
28114
28115 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
28116 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
28117 MANTISSA_STORE_T to store computations on mantissa. Use
28118 macros for rounding and division.
28119 (denorm): Likewise.
28120 (__dbl_mp): Likewise.
28121 (add_magnitudes): Likewise.
28122 (sub_magnitudes): Likewise.
28123 (__mul): Likewise.
28124 (__sqr): Likewise.
28125 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
28126 powers of two in terms of TWOPOW macro.
28127 (mp_no): Make type of mantissa as MANTISSA_T.
28128 [!RADIXI]: Define RADIXI.
28129 [!TWO52]: Define TWO52.
28130 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
28131
28132 2013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28133
28134 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
28135 llroundl symbol when building for PPC32.
28136
28137 2013-03-24 Mark H Weaver <mhw@netris.org>
28138
28139 * manual/arith.texi (Normalization Functions): Fix prototypes for
28140 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
28141
28142 2013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28143
28144 [BZ #13889]
28145 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
28146 high value to check if expl overflow.
28147 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
28148 to check for underflow and overflow.
28149 * math/libm-test.inc: Add exp test.
28150
28151 2013-03-21 Dmitry V. Levin <ldv@altlinux.org>
28152
28153 [BZ #11120]
28154 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
28155 with NOT_IN_libc.
28156
28157 2013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28158
28159 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
28160 symbol.
28161
28162 2013-03-21 Thomas Schwinge <thomas@codesourcery.com>
28163
28164 * math/gen-libm-test.pl (parse_args, special_functions): Properly
28165 wrap blocks consisting of several statements.
28166
28167 * sysdeps/generic/math-tests.h: New file.
28168 * sysdeps/i386/fpu/math-tests.h: Likewise.
28169 * math/test-snan.c: Include it.
28170 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
28171
28172 2013-03-21 Joseph Myers <joseph@codesourcery.com>
28173
28174 [BZ #15285]
28175 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
28176 (__ieee754_j0l): Do not improve calculations using cos of twice
28177 input for inputs above LDBL_MAX / 2.0L.
28178 (__ieee754_y0l): Likewise.
28179 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
28180 (__ieee754_j1l): Do not improve calculations using cos of twice
28181 input for inputs above LDBL_MAX / 2.0L.
28182 (__ieee754_y1l): Likewise.
28183 * math/libm-test.inc (j0_test): Add another test.
28184 (j1_test): Likewise.
28185 (y0_test): Likewise.
28186 (y1_test): Likewise.
28187 * sysdeps/i386/fpu/libm-test-ulps: Update.
28188
28189 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
28190
28191 * Rules ($(objpfx)bench-%.c): Include code from a C source
28192 file.
28193
28194 2013-03-21 Joseph Myers <joseph@codesourcery.com>
28195
28196 [BZ #15287]
28197 * math/k_casinh.c (__kernel_casinh): Handle arguments with
28198 imaginary part 1.0 and real part less than 0.5 specially.
28199 * math/k_casinhf.c (__kernel_casinhf): Likewise.
28200 * math/k_casinhl.c (__kernel_casinhl): Likewise.
28201 * math/libm-test.inc (cacos_test): Add more tests.
28202 (casin_test): Likewise.
28203 (casinh_test): Likewise.
28204 * sysdeps/i386/fpu/libm-test-ulps: Update.
28205 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28206
28207 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
28208
28209 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
28210 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
28211
28212 2013-03-20 Joseph Myers <joseph@codesourcery.com>
28213
28214 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
28215 * config.make.in (config-cflags-sse4): Remove variable.
28216 (config-cflags-avx): Likewise.
28217 (config-cflags-sse2avx): Likewise.
28218 (config-cflags-novzeroupper): Likewise.
28219 (config-asflags-i686): Likewise.
28220 (have-mfma4): Likewise.
28221 (have-as-vis3): Likewise.
28222 (MIG): Likewise.
28223 * configure.in (MIG): Do not AC_SUBST.
28224 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
28225 (libc_cv_cc_sse4): Do not AC_SUBST.
28226 (libc_cv_cc_avx): Likewise.
28227 (libc_cv_cc_sse2avx): Likewise.
28228 (libc_cv_cc_novzeroupper): Likewise.
28229 (libc_cv_cc_fma4): Likewise.
28230 (libc_cv_as_i686): Likewise.
28231 (libc_cv_sparc_as_vis3): Likewise.
28232 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
28233 LIBC_CONFIG_VAR.
28234 (config-asflags-i686): Likewise.
28235 (config-cflags-avx): Likewise.
28236 (config-cflags-sse2avx): Likewise.
28237 (have-mfma4): Likewise.
28238 (config-cflags-novzeroupper): Likewise.
28239 * sysdeps/mach/configure.in (MIG): Likewise.
28240 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
28241 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
28242 LIBC_CONFIG_VAR.
28243 (config-cflags-avx): Likewise.
28244 (config-cflags-sse2avx): Likewise.
28245 (have-mfma4): Likewise.
28246 (config-cflags-novzeroupper): Likewise.
28247 * configure: Regenerated.
28248 * sysdeps/i386/configure: Likewise.
28249 * sysdeps/mach/configure: Likewise.
28250 * sysdeps/sparc/configure: Likewise.
28251 * sysdeps/x86_64/configure: Likewise.
28252
28253 2013-03-20 Roland McGrath <roland@hack.frob.com>
28254
28255 [BZ #14812]
28256 * locale/programs/localedef.c (options): Put N_ translation marker
28257 on argument names, not just descriptions.
28258
28259 2013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
28260
28261 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
28262
28263 2013-03-20 Ondřej Bílka <neleai@seznam.cz>
28264
28265 [BZ #14176]
28266 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
28267
28268 2013-03-19 Roland McGrath <roland@hack.frob.com>
28269
28270 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
28271 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
28272 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
28273 [!BEFORE_ABORT] (before_abort): New function.
28274 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
28275 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
28276 (writev_for_fatal): New function.
28277 (WRITEV_FOR_FATAL): New macro; call that.
28278 (backtrace_and_maps): New function.
28279 (BEFORE_ABORT): New macro; call that.
28280 (struct str_list): Type removed.
28281 (__libc_message, __libc_fatal): Functions removed.
28282 Include <sysdeps/posix/libc_fatal.c> instead.
28283
28284 2013-03-19 Joseph Myers <joseph@codesourcery.com>
28285
28286 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
28287 constants.
28288 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
28289 double constants.
28290
28291 2013-03-19 Andreas Schwab <schwab@suse.de>
28292
28293 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
28294 * sysdeps/gnu/configure: Regenerate.
28295
28296 * configure.in: Substitute libc_cv_rtlddir.
28297 * configure: Regenerate.
28298 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
28299 * Makeconfig (rtlddir, inst_rtlddir): New variables.
28300 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
28301 * elf/Makefile (install-others, CFLAGS-interp.c)
28302 (ldso_install, common-ldd-rewrite): Likewise.
28303 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
28304 $(inst_slibdir)/$(rtld-installed-name).
28305 * scripts/rellns-sh: Add -p option.
28306 * Makerules (make-shlib-link): Use rellns-sh to get relative name
28307 for source.
28308
28309 2013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
28310
28311 * manual/nptl.texi: Renamed to ...
28312 * manual/threads.texi: ... this.
28313 * manual/Makefile (chapters): Update.
28314
28315 2013-03-18 Roland McGrath <roland@hack.frob.com>
28316
28317 [BZ #14812]
28318 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
28319 on argument names, not just descriptions.
28320 * malloc/memusagestat.c (options): Likewise.
28321 * nss/getent.c (options): Likewise.
28322
28323 2013-03-18 Benno Schulenberg <bensberg@justemail.net>
28324
28325 [BZ #14812]
28326 * iconv/iconv_prog.c (options): Put N_ translation marker
28327 on argument names, not just descriptions.
28328 * iconv/iconvconfig.c (options): Likewise.
28329
28330 2013-03-18 Ondrej Bilka <neleai@seznam.cz>
28331
28332 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
28333 implementation which is faster on all x86_64 architectures.
28334 Tested on AMD, Intel Nehalem, SNB, IVB.
28335 * sysdeps/x86_64/strnlen.S: Likewise.
28336
28337 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
28338 Remove all multiarch strlen and strnlen versions.
28339 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
28340 Remove strlen and strnlen related parts.
28341
28342 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
28343 Inline strlen part.
28344 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
28345
28346 * sysdeps/x86_64/multiarch/strlen.S: Remove.
28347 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
28348 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
28349 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
28350 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
28351 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
28352
28353 2013-03-17 Carlos O'Donell <carlos@redhat.com>
28354
28355 * manual/memory.texi (Malloc Tunable Parameters):
28356 Sort parameters alphabetically. Add comments for missing entries.
28357
28358 2013-03-17 David S. Miller <davem@davemloft.net>
28359
28360 * sysdeps/sparc/fpu/libm-test-ulps: Update.
28361
28362 2013-03-16 Joseph Myers <joseph@codesourcery.com>
28363
28364 [BZ #15283]
28365 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
28366 for arguments at most half maximum finite value.
28367 * math/libm-test.inc (j0_test): Add more tests.
28368 (j1_test): Likewise.
28369 (y0_test): Likewise.
28370 (y1_test): Likewise.
28371 * sysdeps/i386/fpu/libm-test-ulps: Update.
28372 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28373
28374 [BZ #14155]
28375 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
28376 1 / x and functions P and Q for arguments above 0x1p256L.
28377 (__ieee754_y0l): Likewise.
28378 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
28379 (__ieee754_y1l): Likewise.
28380 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
28381 (j1_test): Likewise.
28382 (y0_test): Likewise.
28383 (y1_test): Likewise.
28384
28385 2013-03-16 Thomas Schwinge <thomas@codesourcery.com>
28386
28387 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
28388 variable.
28389
28390 2013-03-15 Roland McGrath <roland@hack.frob.com>
28391
28392 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
28393 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
28394 zero since it's initialized to EXEC_PAGESIZE.
28395
28396 * sysdeps/unix/sysv/linux/ldsodefs.h
28397 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
28398 * sysdeps/generic/ldsodefs.h: ... here.
28399
28400 2013-03-15 Thomas Schwinge <thomas@codesourcery.com>
28401
28402 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
28403
28404 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
28405 math/test-snan.c.
28406 * math/test-snan.c: Renamed from
28407 sysdeps/powerpc/fpu/test-powerpc-snan.c.
28408 * math/Makefile (tests): Add test-snan.
28409 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
28410 test-powerpc-snan.
28411
28412 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
28413 SUFFIX. Initialize qNaN_var with __builtin_nan family of
28414 functions.
28415 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
28416 __builtin_nan family of functions.
28417 * math/libm-test.inc (initialize): Initialize qnan_value with
28418 __builtin_nan family of functions.
28419 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
28420 Remove variables.
28421 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
28422 Remove functions.
28423 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
28424 storage class. Initialize qNaN_var and sNaN_var with
28425 __builtin_nan and __builtin_nans families of functions,
28426 respectively.
28427
28428 * math/libm-test.inc (acosh_test): Also test with qNaN input.
28429 (sqrt_test): Remove duplicate test with qNaN input.
28430 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
28431 (round_test, signbit_test, significand_test): Note missing +/-Inf
28432 as well as qNaN tests.
28433
28434 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
28435 qNaN_var. Fix a few strings, too.
28436 * math/libm-test.inc (nan_value): Rename to qnan_value.
28437 * math/gen-libm-test.pl (%beautify): Adjust to that.
28438 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
28439 * math/test-misc.c (main): Likewise.
28440 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
28441 to __qnan_bytes, and __qnan_union, respectively.
28442 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
28443 Likewise.
28444 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
28445 and lqnanval, respectively.
28446 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
28447 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
28448 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
28449 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
28450
28451 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
28452 * math/test-misc.c (main) [__x86_64__]: Enable test for long
28453 doubles.
28454
28455 * math/test-misc.c (main): Fix copy'n'pastos.
28456 * misc/tst-efgcvt.c (special): Likewise.
28457
28458 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
28459 Remove declarations.
28460
28461 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
28462
28463 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
28464 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
28465 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
28466 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
28467
28468 2013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28469
28470 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
28471 macro to return vdso values correctly in IFUNC implementations.
28472 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
28473 Optimization by using IFUNC.
28474
28475 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
28476 Richard Henderson <rth@redhat.com>
28477 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
28478
28479 * Makefile.in (bench): New target.
28480 * NEWS: Mention the benchmark framework.
28481 * Rules (bench): Likewise.
28482 (binaries-bench): Generate binaries for functions to
28483 benchmark.
28484 * benchtests/Makefile: New makefile for benchmark tests.
28485 * benchtests/bench-skeleton.c: New skeleton file for benchmark
28486 programs.
28487 * benchtests/exp-inputs: New input file for EXP function.
28488 * benchtests/pow-inputs: New input file for POW function.
28489 * scripts/bench.pl: New script to generate source files for
28490 benchmark programs.
28491
28492 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
28493
28494 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
28495 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
28496 computations on mantissa. Use macros for rounding and
28497 division.
28498 (denorm): Likewise.
28499 (__dbl_mp): Likewise.
28500 (add_magnitudes): Likewise.
28501 (sub_magnitudes): Likewise.
28502 (__mul): Likewise.
28503 (__sqr): Likewise.
28504 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
28505 powers of two in terms of TWOPOW macro.
28506 (mp_no): Make type of mantissa as MANTISSA_T.
28507 [!RADIXI]: Define RADIXI.
28508 [!TWO52]: Define TWO52.
28509 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
28510
28511 * manual/nptl.texi (cindex): Modify threads to pthreads.
28512
28513 2013-03-15 Joseph Myers <joseph@codesourcery.com>
28514
28515 * sysdeps/x86_64/preconfigure: Regenerated.
28516
28517 2013-03-14 Joseph Myers <joseph@codesourcery.com>
28518
28519 [BZ #14155]
28520 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
28521 0x1p28 and above.
28522 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
28523 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
28524 0x1p28 and above.
28525 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
28526 * math/libm-test.inc (j0_test): Do not allow one spurious
28527 underflow exception.
28528 (y1_test): Likewise.
28529
28530 2013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
28531
28532 * manual/Makefile (chapters): Add nptl.
28533 * manual/debug.texi (Debugging Support): Add link to Threads
28534 chapter.
28535 * manual/nptl.texi: New file.
28536
28537 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
28538
28539 2013-03-14 Petr Baudis <pasky@ucw.cz>
28540
28541 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
28542 for non-NULL pointer before the memory validity test. Pointed
28543 out by Holger Brunck <holger.brunck@keymile.com>.
28544
28545 2013-03-13 Andreas Schwab <schwab@suse.de>
28546
28547 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
28548 instead of .os.
28549
28550 2013-03-13 Joseph Myers <joseph@codesourcery.com>
28551
28552 * timezone/zic.c: Update from tzcode 2013b.
28553
28554 2013-03-12 Carlos O'Donell <carlos@redhat.com>
28555
28556 * manual/install.texi (Configuring and compiling):
28557 Mention i686 and i586.
28558 * INSTALL: Regenerate.
28559
28560 2013-03-12 Roland McGrath <roland@hack.frob.com>
28561
28562 * sysdeps/init_array/elf-init.c: New file.
28563 * csu/elf-init.c
28564 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
28565 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
28566
28567 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
28568 __gmon_start__ as global, but as static with a .preinit_array pointer.
28569 * sysdeps/init_array/gmon-start.c: New file. Use that.
28570 * sysdeps/init_array/crti.S: New file, empty except for comments.
28571 * sysdeps/init_array/crtn.S: Likewise.
28572
28573 2013-03-11 Ondřej Bílka <neleai@seznam.cz>
28574
28575 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
28576 definining bcopy.
28577 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
28578 Remove Prefer_SSE_for_memop.
28579 * sysdeps/x86_64/multiarch/init-arch.h: Remove
28580 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
28581 HAS_PREFER_SSE_FOR_MEMOP.
28582 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
28583 memset-x86-64.
28584 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
28585 Remove bzero, memset ifunc support.
28586 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
28587 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
28588 * sysdeps/x86_64/multiarch/memset.S: Likewise.
28589 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
28590
28591 2013-03-11 Andreas Schwab <schwab@suse.de>
28592
28593 [BZ #15234]
28594 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
28595 by SHLIB_COMPAT.
28596 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
28597 (GLIBC_2.16): Remove pthread_atfork.
28598
28599 2013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
28600
28601 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
28602 (ptestcases.h): Likewise.
28603
28604 2013-03-08 Roland McGrath <roland@hack.frob.com>
28605
28606 * Makeconfig ($(common-objpfx)config.status): Depend on
28607 sysdeps/*/preconfigure{,.in} too.
28608
28609 2013-03-08 Joseph Myers <joseph@codesourcery.com>
28610
28611 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
28612 (__free_hook): Use void * instead of __malloc_ptr_t.
28613 (__malloc_hook): Likewise.
28614 (__realloc_hook): Likewise.
28615 (__memalign_hook): Likewise.
28616 (__after_morecore_hook): Likewise.
28617 * malloc/arena.c (save_malloc_hook): Likewise.
28618 (save_free_hook): Likewise.
28619 * malloc/hooks.c (malloc_hook_ini): Likewise.
28620 (realloc_hook_ini): Likewise.
28621 (memalign_hook_ini): Likewise.
28622 * malloc/malloc.c (malloc_hook_ini): Likewise.
28623 (realloc_hook_ini): Likewise.
28624 (memalign_hook_ini): Likewise.
28625 (__free_hook): Likewise.
28626 (__malloc_hook): Likewise.
28627 (__realloc_hook): Likewise.
28628 (__memalign_hook): Likewise.
28629 (__libc_malloc): Likewise.
28630 (__libc_free): Likewise.
28631 (__libc_realloc): Likewise.
28632 (__libc_memalign): Likewise.
28633 (__libc_valloc): Likewise.
28634 (__libc_pvalloc): Likewise.
28635 (__libc_calloc): Likewise.
28636 (__posix_memalign): Likewise.
28637 * malloc/morecore.c (__sbrk): Likewise.
28638 (__default_morecore): Likewise.
28639
28640 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
28641
28642 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
28643 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
28644 __malloc_ptrdiff_t.
28645
28646 * malloc/malloc.h (__malloc_size_t): Remove macro.
28647 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
28648 __malloc_size_t.
28649 (old_memalign_hook): Likewise.
28650 (old_realloc_hook): Likewise.
28651 (struct hdr): Likewise.
28652 (flood): Likewise.
28653 (mallochook): Likewise.
28654 (memalignhook): Likewise.
28655 (reallochook): Likewise.
28656 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
28657 (tr_old_realloc_hook): Likewise.
28658 (tr_old_memalign_hook): Likewise.
28659 (tr_mallochook): Likewise.
28660 (tr_reallochook): Likewise.
28661 (tr_memalignhook): Likewise.
28662
28663 2013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28664
28665 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
28666 default_ldbl_pack and using as default implementation.
28667 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
28668 implementation.
28669 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
28670 redundant definition.
28671 (ldbl_insert_mantissa): Likewise.
28672 (ldbl_canonicalize): Likewise.
28673 (ldbl_nearbyint): Likewise.
28674 (ldbl_pack): Rename to ldbl_pack_ppc.
28675 (ldbl_unpack): Rename to ldbl_unpack_ppc.
28676 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
28677 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
28678
28679 2013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
28680
28681 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
28682 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
28683 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
28684 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
28685 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
28686 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
28687 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
28688 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
28689
28690 2013-03-07 Andreas Jaeger <aj@suse.de>
28691
28692 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
28693 bits/mman-linux.h.
28694
28695 2013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
28696
28697 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
28698 Include mpa.h and declare __MPEXP.
28699 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
28700 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
28701 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
28702 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
28703 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
28704 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
28705 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
28706
28707 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
28708 (__slowpow): Use long double EXPL and LOGL functions to
28709 compute POW.
28710 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
28711 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
28712 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
28713 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
28714 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
28715 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
28716
28717 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
28718 intermediate variable to calculate exponent.
28719 (__sqr): Likewise.
28720 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
28721 Likewise.
28722 (__sqr): Likewise.
28723
28724 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
28725 [!NO__SQR]: Define __sqr.
28726 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
28727 and NO__SQR. Remove all code except __mul and __sqr. Include
28728 sysdeps/ieee754/dbl-64/mpa.c.
28729 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
28730
28731 [BZ #12723]
28732 * posix/Makefile (tests): Add tst-pathconf.
28733 * posix/tst-pathconf.c: New test case.
28734 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
28735 _PC_PIPE_BUF.
28736 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
28737
28738 2013-03-06 Patsy Franklin <pfrankli@redhat.com>
28739
28740 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
28741
28742 2013-03-06 Andreas Jaeger <aj@suse.de>
28743
28744 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
28745 definition via __MAP_ANONYMOUS.
28746
28747 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
28748 it's not part of Linux headers.
28749
28750 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
28751 (MAP_HUGE_MASK): Define.
28752
28753 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
28754 Define.
28755 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
28756 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
28757 Define.
28758 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
28759 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
28760 Define.
28761 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
28762 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
28763 Define.
28764 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
28765
28766 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
28767 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
28768 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
28769 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
28770 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
28771 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
28772
28773 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
28774 Handle f2fs.
28775
28776 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
28777 Handle f2fs and efivarfs.
28778
28779 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
28780 f2fs.
28781
28782 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
28783 (EFIVARFS_MAGIC): Add.
28784 (F2FS_LINK_MAX): Add.
28785
28786 2013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
28787
28788 * stdio-common/vfprintf.c: Replace __builtin_expect with
28789 __glibc_unlikely.
28790
28791 2013-03-06 Joseph Myers <joseph@codesourcery.com>
28792
28793 [BZ #13550]
28794 * sysdeps/generic/bp-sym.h: Remove file.
28795 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
28796 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
28797 <bp-sym.h> and <bp-asm.h>.
28798 (__longjmp): Don't use BP_SYM.
28799 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
28800 and <bp-asm.h>.
28801 (memcpy): Don't use BP_SYM.
28802 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
28803 <bp-sym.h> and <bp-asm.h>.
28804 (memcpy): Don't use BP_SYM.
28805 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
28806 <bp-asm.h>.
28807 (memcpy): Don't use BP_SYM.
28808 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
28809 <bp-asm.h>.
28810 (memset): Don't use BP_SYM.
28811 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
28812 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
28813 (__bzero): Don't use BP_SYM.
28814 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
28815 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
28816 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
28817 <bp-sym.h> and <bp-asm.h>.
28818 (memcmp): Don't use BP_SYM. Remove comment about bounded
28819 pointers.
28820 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
28821 <bp-sym.h> and <bp-asm.h>.
28822 (memcpy): Don't use BP_SYM.
28823 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
28824 <bp-sym.h> and <bp-asm.h>.
28825 (memset): Don't use BP_SYM.
28826 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
28827 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
28828 (__bzero): Don't use BP_SYM.
28829 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
28830 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
28831 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
28832 <bp-sym.h> and <bp-asm.h>.
28833 (strncmp): Don't use BP_SYM. Remove comment about bounded
28834 pointers.
28835 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
28836 <bp-sym.h> and <bp-asm.h>.
28837 (memcpy): Don't use BP_SYM.
28838 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
28839 <bp-sym.h> and <bp-asm.h>.
28840 (memset): Don't use BP_SYM.
28841 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
28842 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
28843 (__bzero): Don't use BP_SYM.
28844 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
28845 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
28846 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
28847 <bp-sym.h> and <bp-asm.h>.
28848 (__memchr): Don't use BP_SYM.
28849 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
28850 <bp-sym.h> and <bp-asm.h>.
28851 (memcmp): Don't use BP_SYM. Remove comment about bounded
28852 pointers.
28853 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
28854 <bp-sym.h> and <bp-asm.h>.
28855 (memcpy): Don't use BP_SYM.
28856 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
28857 <bp-sym.h> and <bp-asm.h>.
28858 (__mempcpy): Don't use BP_SYM.
28859 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
28860 <bp-sym.h> and <bp-asm.h>.
28861 (__memrchr): Don't use BP_SYM.
28862 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
28863 <bp-sym.h> and <bp-asm.h>.
28864 (memset): Don't use BP_SYM.
28865 (__bzero): Likewise.
28866 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
28867 <bp-sym.h> and <bp-asm.h>.
28868 (__rawmemchr): Don't use BP_SYM.
28869 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
28870 <bp-sym.h> and <bp-asm.h>.
28871 (__STRCMP): Don't use BP_SYM.
28872 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
28873 <bp-sym.h> and <bp-asm.h>.
28874 (strchr): Don't use BP_SYM.
28875 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
28876 <bp-sym.h> and <bp-asm.h>.
28877 (__strchrnul): Don't use BP_SYM.
28878 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
28879 <bp-sym.h> and <bp-asm.h>.
28880 (strlen): Don't use BP_SYM.
28881 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
28882 <bp-sym.h> and <bp-asm.h>.
28883 (strncmp): Don't use BP_SYM. Remove comment about bounded
28884 pointers.
28885 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
28886 <bp-sym.h> and <bp-asm.h>.
28887 (__strnlen): Don't use BP_SYM.
28888 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
28889 <bp-sym.h> and <bp-asm.h>.
28890 (__GI__setjmp): Don't use BP_SYM.
28891 (_setjmp): Likewise.
28892 (__sigsetjmp): Likewise.
28893 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
28894 (L(start_addresses)): Don't use BP_SYM.
28895 (_start): Likewise.
28896 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
28897 <bp-asm.h>.
28898 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
28899 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
28900 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
28901 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
28902 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
28903 <bp-asm.h>.
28904 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
28905 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
28906 about bounded pointers.
28907 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
28908 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
28909 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
28910 <bp-asm.h>.
28911 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
28912 about bounded pointers. Remove GKM FIXME comments.
28913 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
28914 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
28915 <bp-asm.h>.
28916 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
28917 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
28918 Remove GKM FIXME comments.
28919 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
28920 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
28921 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
28922 <bp-asm.h>.
28923 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
28924 about bounded pointers. Remove GKM FIXME comment.
28925 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
28926 and <bp-asm.h>.
28927 (strncmp): Don't use BP_SYM. Remove comment about bounded
28928 pointers.
28929 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
28930 <bp-sym.h> and <bp-asm.h>.
28931 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
28932 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
28933 <bp-sym.h> and <bp-asm.h>.
28934 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
28935 comment.
28936
28937 2013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
28938
28939 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
28940 call free(NULL).
28941
28942 2013-03-05 David S. Miller <davem@davemloft.net>
28943
28944 * po/es.po: Update from translation team.
28945
28946 2013-03-05 Andreas Jaeger <aj@suse.de>
28947
28948 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
28949 <bits/mman-linux.h>.
28950 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
28951 is fine.
28952 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
28953 <bits/mman-linux.h> to end of file.
28954 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
28955 is fine.
28956 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
28957 <bits/mman-linux.h> to end of file.
28958 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
28959 is fine.
28960 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
28961 <bits/mman-linux.h> to end of file.
28962
28963 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
28964 (MCL_CURRENT, MCL_FUTURE): Define here.
28965
28966 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
28967
28968 [BZ #15232]
28969 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
28970 attribute_hidden.
28971 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
28972
28973 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
28974
28975 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
28976 fourth parameter needed for rt_sigprocmask syscall.
28977 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
28978 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
28979 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
28980 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
28981 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
28982 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
28983
28984 2013-03-04 Joseph Myers <joseph@codesourcery.com>
28985
28986 [BZ #13550]
28987 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
28988 comment about bounded pointers.
28989 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
28990 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
28991
28992 2013-03-04 Andreas Jaeger <aj@suse.de>
28993
28994 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
28995 common definitions.
28996
28997 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
28998 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
28999 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
29000 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
29001 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
29002 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
29003
29004 2013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29005
29006 [BZ #15055]
29007 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
29008 __ieee754_sqrl instead of __sqrl.
29009
29010 2013-03-01 Joseph Myers <joseph@codesourcery.com>
29011
29012 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
29013 * sysdeps/powerpc/fpu_control.h: ... here.
29014 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
29015 * sysdeps/powerpc/bits/fenvinline.h: ... here.
29016 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
29017 * sysdeps/powerpc/bits/mathinline.h: ... here.
29018
29019 2013-03-01 Roland McGrath <roland@hack.frob.com>
29020
29021 * elf/dl-hwcaps.c (_dl_important_hwcaps):
29022 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
29023 to just [NEED_DL_SYSINFO_DSO].
29024 * elf/dl-support.c: Likewise.
29025 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
29026 * elf/rtld.c (dl_main): Likewise.
29027 * elf/setup-vdso.h (setup_vdso): Likewise.
29028 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
29029 * sysdeps/unix/sysv/linux/dl-sysdep.c
29030 (_dl_discover_osversion): Likewise.
29031
29032 2013-03-01 Carlos O'Donell <carlos@redhat.com>
29033
29034 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
29035 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
29036
29037 2013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
29038
29039 * NEWS: Mention libm performance improvements and non-x86 PI
29040 futex support.
29041
29042 * csu/libc-start.c (__pthread_initialize_minimal): Change
29043 function arguments.
29044 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
29045
29046 2013-02-28 Joseph Myers <joseph@codesourcery.com>
29047
29048 [BZ #13550]
29049 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
29050 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
29051 <bp-sym.h> and <bp-asm.h>.
29052 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
29053 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
29054 and <bp-asm.h>.
29055 (memcpy): Don't use BP_SYM.
29056 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
29057 <bp-asm.h>.
29058 (__mpn_add_n): Don't use BP_SYM.
29059 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
29060 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
29061 and <bp-asm.h>.
29062 (__mpn_addmul_1): Don't use BP_SYM.
29063 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
29064 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
29065 <bp-sym.h>.
29066 (_setjmp): Don't use BP_SYM.
29067 (__novmx_setjmp): Likewise.
29068 (__GI__setjmp): Likewise.
29069 (__vmx_setjmp): Likewise.
29070 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
29071 <bp-sym.h>.
29072 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
29073 (__bzero): Don't use BP_SYM.
29074 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
29075 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
29076 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
29077 <bp-sym.h> and <bp-asm.h>.
29078 (memcpy): Don't use BP_SYM.
29079 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
29080 <bp-sym.h> and <bp-asm.h>.
29081 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
29082 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
29083 <bp-sym.h> and <bp-asm.h>.
29084 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
29085 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
29086 <bp-asm.h>.
29087 (__mpn_lshift): Don't use BP_SYM.
29088 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
29089 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
29090 <bp-asm.h>.
29091 (memset): Don't use BP_SYM.
29092 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
29093 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
29094 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
29095 <bp-asm.h>.
29096 (__mpn_mul_1): Don't use BP_SYM.
29097 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
29098 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
29099 <bp-sym.h> and <bp-asm.h>.
29100 (memcmp): Don't use BP_SYM.
29101 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
29102 <bp-sym.h> and <bp-asm.h>.
29103 (memcpy): Don't use BP_SYM.
29104 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
29105 <bp-sym.h> and <bp-asm.h>.
29106 (memset): Don't use BP_SYM.
29107 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
29108 <bp-sym.h> and <bp-asm.h>.
29109 (strncmp): Don't use BP_SYM.
29110 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
29111 <bp-sym.h> and <bp-asm.h>.
29112 (memcpy): Don't use BP_SYM.
29113 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
29114 <bp-sym.h> and <bp-asm.h>.
29115 (memset): Don't use BP_SYM.
29116 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
29117 <bp-sym.h> and <bp-asm.h>.
29118 (__memchr): Don't use BP_SYM.
29119 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
29120 <bp-sym.h> and <bp-asm.h>.
29121 (memcmp): Don't use BP_SYM.
29122 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
29123 <bp-sym.h> and <bp-asm.h>.
29124 (memcpy): Don't use BP_SYM.
29125 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
29126 <bp-sym.h> and <bp-asm.h>.
29127 (__mempcpy): Don't use BP_SYM.
29128 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
29129 <bp-sym.h> and <bp-asm.h>.
29130 (__memrchr): Don't use BP_SYM.
29131 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
29132 <bp-sym.h> and <bp-asm.h>.
29133 (memset): Don't use BP_SYM.
29134 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
29135 <bp-sym.h> and <bp-asm.h>.
29136 (__rawmemchr): Don't use BP_SYM.
29137 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
29138 <bp-sym.h> and <bp-asm.h>.
29139 (__STRCMP): Don't use BP_SYM.
29140 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
29141 <bp-sym.h> and <bp-asm.h>.
29142 (strchr): Don't use BP_SYM.
29143 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
29144 <bp-sym.h> and <bp-asm.h>.
29145 (__strchrnul): Don't use BP_SYM.
29146 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
29147 <bp-sym.h> and <bp-asm.h>.
29148 (strlen): Don't use BP_SYM.
29149 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
29150 <bp-sym.h> and <bp-asm.h>.
29151 (strncmp): Don't use BP_SYM.
29152 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
29153 <bp-sym.h> and <bp-asm.h>.
29154 (__strnlen): Don't use BP_SYM.
29155 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
29156 <bp-asm.h>.
29157 (__mpn_rshift): Don't use BP_SYM.
29158 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
29159 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
29160 <bp-sym.h> and <bp-asm.h>.
29161 (__sigsetjmp): Don't use BP_SYM.
29162 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
29163 (L(start_addresses)): Don't use BP_SYM.
29164 (_start): Likewise.
29165 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
29166 <bp-asm.h>.
29167 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
29168 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
29169 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
29170 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
29171 <bp-asm.h>.
29172 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
29173 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
29174 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
29175 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
29176 <bp-asm.h>.
29177 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
29178 comments.
29179 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
29180 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
29181 <bp-asm.h>.
29182 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
29183 FIXME comments.
29184 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
29185 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
29186 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
29187 <bp-asm.h>.
29188 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
29189 comment.
29190 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
29191 and <bp-asm.h>.
29192 (strncmp): Don't use BP_SYM,
29193 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
29194 <bp-asm.h>.
29195 (__mpn_sub_n): Don't use BP_SYM.
29196 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
29197 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
29198 and <bp-asm.h>.
29199 (__mpn_submul_1): Don't use BP_SYM.
29200 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
29201 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
29202 <bp-sym.h> and <bp-asm.h>.
29203 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
29204 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
29205 <bp-sym.h> and <bp-asm.h>.
29206 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
29207 comment.
29208
29209 2013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
29210
29211 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
29212 Use ZK to minimize writes to Z.
29213 (sub_magnitudes): Simplify code a bit.
29214 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
29215 Use ZK to minimize writes to Z.
29216 (sub_magnitudes): Simplify code a bit.
29217
29218 2013-02-27 Roland McGrath <roland@hack.frob.com>
29219
29220 * csu/gmon-start.c: Add special exception to license text.
29221
29222 2013-02-27 Richard Henderson <rth@redhat.com>
29223
29224 * scripts/config.guess: Update from config.git.
29225 * scripts/config.sub: Likewise.
29226
29227 2013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
29228
29229 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
29230
29231 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
29232
29233 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
29234
29235 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
29236
29237 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
29238
29239 2013-02-26 Roland McGrath <roland@hack.frob.com>
29240
29241 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
29242 [$(build-shared = yes].
29243
29244 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
29245
29246 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
29247 (__mul): Reduce iterations for calculating mantissa.
29248
29249 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
29250 MPTWO.
29251 (__mpranred): Likewise.
29252
29253 [BZ #15160]
29254 * malloc/memusagestat.c (main): Draw graphs for heap and stack
29255 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
29256
29257 2013-02-26 Paul Eggert <eggert@cs.ucla.edu>
29258
29259 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
29260 Define __attribute__.
29261
29262 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
29263
29264 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
29265 unused.
29266 * posix/regex_internal.h (__attribute): Remove.
29267 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
29268 (re_string_context_at): Likewise.
29269 (bitset_not): Use __attribute__ and mark function as possibly
29270 unused.
29271 (bitset_merge): Likewise.
29272 (bitset_mask): Likewise.
29273 (re_string_char_size_at): Likewise.
29274 (re_string_wchar_at): Likewise.
29275 (re_string_elem_size_at): Likewise.
29276
29277 2013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
29278
29279 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
29280 code.
29281 (cc32): Likewise.
29282
29283 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
29284 (__acr): Likewise.
29285 (__cpy): Likewise.
29286 (norm): Likewise.
29287 (denorm): Likewise.
29288 (__dbl_mp): Likewise.
29289 (add_magnitudes): Likewise.
29290 (sub_magnitudes): Likewise.
29291 (__mul): Likewise.
29292 (__inv): Likewise.
29293
29294 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
29295 style.
29296
29297 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
29298 style.
29299
29300 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
29301 code.
29302
29303 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
29304 up changes with default code.
29305 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
29306 Likewise.
29307
29308 2013-02-24 Allan McRae <allan@archlinux.org>
29309
29310 * manual/socket.texi (The Internet Namespace): Order menu items
29311 to match that in the file.
29312
29313 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
29314 node listing of the info page menu.
29315
29316 2013-02-21 Joseph Myers <joseph@codesourcery.com>
29317
29318 [BZ #13550]
29319 * sysdeps/i386/bp-asm.h: Remove file.
29320 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
29321 (PARMS): Do not use macros from bp-asm.h.
29322 (S1): Likewise.
29323 (S2): Likewise.
29324 (SIZE): Likewise.
29325 (__mpn_add_n): Do not use BP_SYM
29326 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
29327 "bp-asm.h".
29328 (PARMS): Do not use macros from bp-asm.h.
29329 (S1): Likewise.
29330 (SIZE): Likewise.
29331 (__mpn_addmul_1): Do not use BP_SYM
29332 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
29333 "bp-asm.h".
29334 (PARMS): Do not use macros from bp-asm.h.
29335 (SIGMSK): Likewise.
29336 (_setjmp): Likewise. Do not use BP_SYM.
29337 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
29338 "bp-asm.h".
29339 (PARMS): Do not use macros from bp-asm.h.
29340 (SIGMSK): Likewise.
29341 (setjmp): Likewise. Do not use BP_SYM.
29342 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
29343 "bp-asm.h".
29344 (PARMS): Do not use macros from bp-asm.h.
29345 (__frexp): Do not use BP_SYM.
29346 (frexp): Likewise.
29347 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
29348 "bp-asm.h".
29349 (PARMS): Do not use macros from bp-asm.h.
29350 (__frexpf): Do not use BP_SYM.
29351 (frexpf): Likewise.
29352 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
29353 "bp-asm.h".
29354 (PARMS): Do not use macros from bp-asm.h.
29355 (__frexpl): Do not use BP_SYM.
29356 (frexpl): Likewise.
29357 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
29358 "bp-asm.h".
29359 (PARMS): Do not use macros from bp-asm.h.
29360 (__remquo): Do not use BP_SYM.
29361 (remquo): Likewise.
29362 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
29363 "bp-asm.h".
29364 (PARMS): Do not use macros from bp-asm.h.
29365 (__remquof): Do not use BP_SYM.
29366 (remquof): Likewise.
29367 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
29368 "bp-asm.h".
29369 (PARMS): Do not use macros from bp-asm.h.
29370 (__remquol): Do not use BP_SYM.
29371 (remquol): Likewise.
29372 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
29373 "bp-asm.h".
29374 (PARMS): Do not use macros from bp-asm.h.
29375 (DEST): Likewise.
29376 (SRC): Likewise.
29377 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
29378 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
29379 "bp-asm.h".
29380 (PARMS): Do not use macros from bp-asm.h.
29381 (strlen): Do not use BP_SYM.
29382 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
29383 "bp-asm.h".
29384 (PARMS): Do not use macros from bp-asm.h.
29385 (S1): Likewise.
29386 (S2): Likewise.
29387 (SIZE): Likewise.
29388 (__mpn_add_n): Do not use BP_SYM.
29389 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
29390 "bp-asm.h".
29391 (PARMS): Do not use macros from bp-asm.h.
29392 (S1): Likewise.
29393 (SIZE): Likewise.
29394 (__mpn_addmul_1): Do not use BP_SYM.
29395 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
29396 weak_alias.
29397 (bzero): Likewise.
29398 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
29399 "bp-asm.h".
29400 (PARMS): Do not use macros from bp-asm.h.
29401 (S): Likewise.
29402 (SIZE): Likewise.
29403 (__mpn_lshift): Do not use BP_SYM.
29404 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
29405 "bp-asm.h".
29406 (PARMS): Do not use macros from bp-asm.h.
29407 (DEST): Likewise.
29408 (SRC): Likewise.
29409 (LEN): Likewise.
29410 (memcpy): Likewise. Do not use BP_SYM.
29411 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
29412 libc_hidden_def and weak_alias.
29413 (mempcpy): Do not use BP_SYM in weak_alias.
29414 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
29415 "bp-asm.h".
29416 (PARMS): Do not use macros from bp-asm.h.
29417 (DEST): Likewise.
29418 (LEN): Likewise.
29419 [!BZERO_P] (CHR): Likewise.
29420 (memset): Likewise. Do not use BP_SYM.
29421 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
29422 "bp-asm.h".
29423 (PARMS): Do not use macros from bp-asm.h.
29424 (S1): Likewise.
29425 (SIZE): Likewise.
29426 (__mpn_mul_1): Do not use BP_SYM.
29427 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
29428 "bp-asm.h".
29429 (PARMS): Do not use macros from bp-asm.h.
29430 (S): Likewise.
29431 (SIZE): Likewise.
29432 (__mpn_rshift): Do not use BP_SYM.
29433 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
29434 "bp-asm.h".
29435 (PARMS): Do not use macros from bp-asm.h.
29436 (STR): Likewise.
29437 (CHR): Likewise.
29438 (strchr): Likewise. Do not use BP_SYM.
29439 (index): Do not use BP_SYM in weak_alias.
29440 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
29441 "bp-asm.h".
29442 (PARMS): Do not use macros from bp-asm.h.
29443 (DEST): Likewise.
29444 (SRC): Likewise.
29445 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
29446 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
29447 "bp-asm.h".
29448 (PARMS): Do not use macros from bp-asm.h.
29449 (strlen): Do not use BP_SYM.
29450 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
29451 "bp-asm.h".
29452 (PARMS): Do not use macros from bp-asm.h.
29453 (S1): Likewise.
29454 (S2): Likewise.
29455 (SIZE): Likewise.
29456 (__mpn_sub_n): Do not use BP_SYM.
29457 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
29458 "bp-asm.h".
29459 (PARMS): Do not use macros from bp-asm.h.
29460 (S1): Likewise.
29461 (SIZE): Likewise.
29462 (__mpn_submul_1): Do not use BP_SYM.
29463 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
29464 "bp-asm.h".
29465 (PARMS): Do not use macros from bp-asm.h.
29466 (S1): Likewise.
29467 (S2): Likewise.
29468 (SIZE): Likewise.
29469 (__mpn_add_n): Do not use BP_SYM.
29470 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
29471 weak_alias.
29472 (bzero): Likewise.
29473 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
29474 "bp-asm.h".
29475 (PARMS): Do not use macros from bp-asm.h.
29476 (BLK2): Likewise.
29477 (LEN): Likewise.
29478 (memcmp): Do not use BP_SYM.
29479 (bcmp): Do not use BP_SYM in weak_alias.
29480 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
29481 "bp-asm.h".
29482 (PARMS): Do not use macros from bp-asm.h.
29483 (DEST): Likewise.
29484 (SRC): Likewise.
29485 (LEN): Likewise.
29486 (memcpy): Likewise. Do not use BP_SYM.
29487 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
29488 "bp-asm.h".
29489 (PARMS): Do not use macros from bp-asm.h.
29490 (DEST): Likewise.
29491 (SRC): Likewise.
29492 (LEN): Likewise.
29493 (memmove): Likewise. Do not use BP_SYM.
29494 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
29495 "bp-asm.h".
29496 (PARMS): Do not use macros from bp-asm.h.
29497 (DEST): Likewise.
29498 (SRC): Likewise.
29499 (LEN): Likewise.
29500 (__mempcpy): Likewise. Do not use BP_SYM.
29501 (mempcpy): Do not use BP_SYM in weak_alias.
29502 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
29503 "bp-asm.h".
29504 (PARMS): Do not use macros from bp-asm.h.
29505 (DEST): Likewise.
29506 (LEN): Likewise.
29507 [!BZERO_P] (CHR): Likewise.
29508 (memset): Likewise. Do not use BP_SYM.
29509 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
29510 "bp-asm.h".
29511 (PARMS): Do not use macros from bp-asm.h.
29512 (STR2): Likewise.
29513 (strcmp): Do not use BP_SYM.
29514 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
29515 "bp-asm.h".
29516 (PARMS): Do not use macros from bp-asm.h.
29517 (STR): Likewise.
29518 (DELIM): Likewise.
29519 [USE_AS_STRTOK_R] (SAVE): Likewise.
29520 (FUNCTION): Likewise. Do not use BP_SYM.
29521 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
29522 aliases.
29523 (strtok_r): Likewise.
29524 (__GI___strtok_r): Likewise.
29525 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
29526 (PARMS): Do not use macros from bp-asm.h.
29527 (S): Likewise.
29528 (SIZE): Likewise.
29529 (__mpn_lshift): Do not use BP_SYM.
29530 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
29531 (PARMS): Do not use macros from bp-asm.h.
29532 (STR): Likewise.
29533 (CHR): Likewise.
29534 (__memchr): Do not use BP_SYM.
29535 (memchr): Do not use BP_SYM in weak_alias.
29536 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
29537 (PARMS): Do not use macros from bp-asm.h.
29538 (BLK2): Likewise.
29539 (LEN): Likewise.
29540 (memcmp): Do not use BP_SYM.
29541 (bcmp): Do not use BP_SYM in weak_alias.
29542 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
29543 (PARMS): Do not use macros from bp-asm.h.
29544 (S1): Likewise.
29545 (SIZE): Likewise.
29546 (__mpn_mul_1): Do not use BP_SYM.
29547 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
29548 "bp-asm.h".
29549 (PARMS): Do not use macros from bp-asm.h.
29550 (STR): Likewise.
29551 (CHR): Likewise.
29552 (__rawmemchr): Do not use BP_SYM.
29553 (rawmemchr): Do not use BP_SYM in weak_alias.
29554 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
29555 (PARMS): Do not use macros from bp-asm.h.
29556 (S): Likewise.
29557 (SIZE): Likewise.
29558 (__mpn_rshift): Do not use BP_SYM.
29559 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
29560 (PARMS): Do not use macros from bp-asm.h.
29561 (SIGMSK): Likewise.
29562 (__sigsetjmp): Likewise. Do not use BP_SYM.
29563 * sysdeps/i386/start.S: Do not include "bp-sym.h".
29564 (_start): Do not use BP_SYM.
29565 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
29566 (PARMS): Do not use macros from bp-asm.h.
29567 (DEST): Likewise.
29568 (SRC): Likewise.
29569 (__stpcpy): Likewise. Do not use BP_SYM.
29570 (stpcpy): Do not use BP_SYM in weak_alias.
29571 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
29572 "bp-asm.h".
29573 (PARMS): Do not use macros from bp-asm.h.
29574 (DEST): Likewise.
29575 (SRC): Likewise.
29576 (LEN): Likewise.
29577 (__stpncpy): Likewise. Do not use BP_SYM.
29578 (stpncpy): Do not use BP_SYM in weak_alias.
29579 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
29580 (PARMS): Do not use macros from bp-asm.h.
29581 (STR): Likewise.
29582 (CHR): Likewise.
29583 (strchr): Likewise. Do not use BP_SYM.
29584 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
29585 "bp-asm.h".
29586 (PARMS): Do not use macros from bp-asm.h.
29587 (STR): Likewise.
29588 (CHR): Likewise.
29589 (__strchrnul): Likewise. Do not use BP_SYM.
29590 (strchrnul): Do not use BP_SYM in weak_alias.
29591 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
29592 "bp-asm.h".
29593 (PARMS): Do not use macros from bp-asm.h.
29594 (STOP): Likewise.
29595 (strcspn): Do not use BP_SYM.
29596 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
29597 "bp-asm.h".
29598 (PARMS): Do not use macros from bp-asm.h.
29599 (STR): Likewise.
29600 (STOP): Likewise.
29601 (strpbrk): Likewise. Do not use BP_SYM.
29602 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
29603 "bp-asm.h".
29604 (PARMS): Do not use macros from bp-asm.h.
29605 (STR): Likewise.
29606 (CHR): Likewise.
29607 (strrchr): Likewise. Do not use BP_SYM.
29608 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
29609 (PARMS): Do not use macros from bp-asm.h.
29610 (SKIP): Likewise.
29611 (strspn): Do not use BP_SYM.
29612 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
29613 (PARMS): Do not use macros from bp-asm.h.
29614 (STR): Likewise.
29615 (DELIM): Likewise.
29616 (SAVE): Likewise.
29617 (FUNCTION): Likewise. Do not use BP_SYM.
29618 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
29619 aliases.
29620 (strtok_r): Likewise.
29621 (__GI___strtok_r): Likewise.
29622 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
29623 (PARMS): Do not use macros from bp-asm.h.
29624 (S1): Likewise.
29625 (S2): Likewise.
29626 (SIZE): Likewise.
29627 (__mpn_sub_n): Do not use BP_SYM.
29628 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
29629 "bp-asm.h".
29630 (PARMS): Do not use macros from bp-asm.h.
29631 (S1): Likewise.
29632 (SIZE): Likewise.
29633 (__mpn_submul_1): Do not use BP_SYM.
29634 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
29635 <bp-sym.h>.
29636 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
29637 and <bp-asm.h>.
29638 (PARMS): Do not use macros from bp-asm.h.
29639 (FLAGS): Likewise.
29640 (PTID): Likewise.
29641 (TLS): Likewise.
29642 (CTID): Likewise.
29643 (__clone): Do not use BP_SYM.
29644 (clone): Do not use BP_SYM in weak_alias.
29645 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
29646 and <bp-asm.h>.
29647 (PARMS): Do not use macros from bp-asm.h.
29648 (LEN): Likewise.
29649 (__mmap64): Do not use BP_SYM.
29650 (mmap64): Do not use BP_SYM in weak_alias.
29651 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
29652 <bp-sym.h> and <bp-asm.h>.
29653 (PARMS): Do not use macros from bp-asm.h.
29654 (__posix_fadvise64_l64): Do not use BP_SYM.
29655 * sysdeps/unix/sysv/linux/i386/semtimedop.S
29656 (PARMS): Do not use macros from bp-asm.h.
29657 (NSOPS): Likewise.
29658 (semtimedop): Do not use BP_SYM.
29659 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
29660 and <bp-asm.h>.
29661
29662 2013-02-21 Allan McRae <allan@archlinux.org>
29663
29664 * manual/message.texi (Charset conversion in gettext):
29665 Move @end statement to beginning of line.
29666
29667 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
29668
29669 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
29670 static.
29671 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
29672 Likewise.
29673
29674 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
29675 (denorm): Likewise.
29676 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
29677 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
29678
29679 2013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
29680
29681 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
29682 tail-call to the resolved function if pltexit isn't needed.
29683
29684 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
29685
29686 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
29687 or Y being zero as being unlikely.
29688 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
29689 Likewise.
29690
29691 2013-02-20 Carlos O'Donell <carlos@redhat.com>
29692
29693 * manual/nss.texi (System Databases and Name Service Switch):
29694 Remove frobnicate @pxref.
29695
29696 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
29697
29698 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
29699 __attribute__ ((unused)) to __attribute__ ((__unused__)).
29700
29701 2013-02-20 Petr Machata <pmachata@redhat.com>
29702
29703 * elf/elf.h (R_ARM_TARGET1): New macro.
29704 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
29705 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
29706 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
29707 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
29708 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
29709 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
29710 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
29711 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
29712 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
29713 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
29714 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
29715 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
29716 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
29717 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
29718 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
29719 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
29720 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
29721 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
29722 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
29723 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
29724 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
29725 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
29726 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
29727 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
29728 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
29729 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
29730 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
29731 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
29732 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
29733 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
29734 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
29735 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
29736 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
29737 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
29738 (R_ARM_THM_GOT_BREL12): Likewise.
29739 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
29740 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
29741 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
29742 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
29743 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
29744 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
29745 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
29746 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
29747 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
29748
29749 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
29750
29751 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
29752 __attribute_used__ to __attribute__ ((unused)).
29753
29754 2013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
29755
29756 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
29757 powerpc mpa.c.
29758 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
29759 comment formatting.
29760 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
29761
29762 2013-02-19 Joseph Myers <joseph@codesourcery.com>
29763
29764 [BZ #13550]
29765 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
29766 Remove macro.
29767 (ENTER): Remove both macro definitions.
29768 (LEAVE): Likewise.
29769 (CHECK_BOUNDS_LOW): Likewise.
29770 (CHECK_BOUNDS_HIGH): Likewise.
29771 (CHECK_BOUNDS_BOTH): Likewise.
29772 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
29773 (RETURN_BOUNDED_POINTER): Likewise.
29774 (RETURN_NULL_BOUNDED_POINTER): Likewise.
29775 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
29776 (POP_ERRNO_LOCATION_RETURN): Likewise.
29777 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
29778 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
29779 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
29780 macros.
29781 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
29782 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
29783 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
29784 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
29785 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
29786 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
29787 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
29788 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
29789 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
29790 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
29791 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
29792 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
29793 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
29794 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
29795 removed macros.
29796 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
29797 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
29798 macros.
29799 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
29800 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
29801 * sysdeps/i386/i586/memset.S (memset): Likewise.
29802 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
29803 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
29804 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
29805 macros.
29806 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
29807 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
29808 Change uses of L(2) to L(out).
29809 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
29810 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
29811 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
29812 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
29813 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
29814 removed macros.
29815 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
29816 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
29817 macros.
29818 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
29819 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
29820 (RETURN): Do not use macro LEAVE.
29821 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
29822 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
29823 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
29824 * sysdeps/i386/i686/memset.S (memset): Likewise.
29825 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
29826 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
29827 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
29828 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
29829 Likewise.
29830 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
29831 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
29832 L(1_2) and L(1_3) into L(1).
29833 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
29834 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
29835 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
29836 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
29837 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
29838 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
29839 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
29840 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
29841 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
29842 macros.
29843 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
29844 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
29845 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
29846 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
29847 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
29848 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
29849 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
29850 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
29851 * sysdeps/i386/strcspn.S (strcspn): Likewise.
29852 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
29853 * sysdeps/i386/strrchr.S (strrchr): Likewise.
29854 * sysdeps/i386/strspn.S (strspn): Likewise.
29855 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
29856 conditional code.
29857 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
29858 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
29859 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
29860 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
29861 L(1_3) into L(1_1).
29862 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
29863 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
29864 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
29865 macros.
29866 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
29867
29868 2013-02-19 Jakub Jelinek <jakub@redhat.com>
29869
29870 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
29871 macro.
29872
29873 2013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
29874
29875 * math/atest-exp.c (exp_mpn): Remove ROUND.
29876 * math/atest-exp2.c (exp_mpn): Likewise.
29877 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
29878
29879 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
29880 * stdlib/tst-tls-atexit-lib.c: Likewise.
29881 * stdlib/tst-tls-atexit.c: Likewise.
29882
29883 2013-02-18 Mike Frysinger <vapier@gentoo.org>
29884
29885 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
29886 and __attribute_alloc_size__.
29887
29888 2013-02-18 Mike Frysinger <vapier@gentoo.org>
29889
29890 * include/programs/xmalloc.h: Change __attribute_alloc_size to
29891 __attribute_alloc_size__.
29892 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
29893 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
29894
29895 2013-02-18 Mike Frysinger <vapier@gentoo.org>
29896
29897 * include/programs/xmalloc.h: New file.
29898 * catgets/gencat.c: Include it.
29899 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
29900 * elf/pldd.c: Likewise.
29901 * iconv/iconv_charmap.c: Likewise.
29902 * iconv/iconvconfig.c: Likewise.
29903 * iconv/strtab.c: Likewise.
29904 * locale/programs/locale.c: Likewise.
29905 * locale/programs/localedef.h: Likewise.
29906 * locale/programs/simple-hash.c: Likewise.
29907 * nscd/nscd.h: Likewise.
29908 * nss/makedb.c: Likewise.
29909 * sysdeps/generic/ldconfig.h: Likewise.
29910
29911 2013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
29912
29913 * Versions.def: Add GLIBC_2.18.
29914 * include/link.h (struct link_map): New member l_tls_dtor_count.
29915 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
29916 (__call_tls_dtors): Likewise.
29917 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
29918 __cxa_thread_atexit_impl.
29919 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
29920 Likewise.
29921 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
29922 Likewise.
29923 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
29924 Likewise.
29925 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
29926 Likewise.
29927 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
29928 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
29929 Likewise.
29930 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
29931 Likewise.
29932 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
29933 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
29934 Likewise.
29935 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
29936 (tests): Add test case tst-tls-atexit.
29937 (modules-names): Add shared library for tst-tls-atexit.
29938 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
29939 (GLIBC_PRIVATE): Add __call_tls_dtors.
29940 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
29941 for libstdc++.
29942 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
29943 * stdlib/tst-tls-atexit.c: New test case.
29944 * stdlib/tst-tls-atexit-lib.c: New test case.
29945
29946 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
29947
29948 * elf/Versions (ld): Add _dl_find_dso_for_object.
29949 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
29950 * elf/dl-open.c (_dl_find_dso_for_object): New function.
29951 (dl_open_worker): Use _dl_find_dso_for_object.
29952 * elf/dl-sym.c (do_sym): Likewise.
29953 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
29954
29955 2013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
29956
29957 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
29958 Syntactic changes only.
29959 (_dl_runtime_profile): Do a tail-call to the resolved function.
29960
29961 2013-02-17 Joseph Myers <joseph@codesourcery.com>
29962
29963 [BZ #13550]
29964 * sysdeps/x86_64/bp-asm.h: Remove file.
29965 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
29966 <bp-sym.h> and <bp-asm.h>.
29967 (__clone): Do not use BP_SYM.
29968 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
29969 <bp-sym.h> and <bp-asm.h>.
29970 * sysdeps/unix/x86_64/sysdep.S: Likewise.
29971 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
29972 "bp-asm.h".
29973 (_setjmp): Do not use BP_SYM.
29974 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
29975 "bp-asm.h".
29976 (setjmp): Do not use BP_SYM.
29977 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
29978 libc_hidden_def.
29979 (mempcpy): Do not use BP_SYM in weak_alias.
29980 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
29981 "bp-asm.h".
29982 (strchr): Do not use BP_SYM.
29983 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
29984 "bp-asm.h".
29985 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
29986 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
29987 (_start): Do not use BP_SYM.
29988 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
29989 "bp-asm.h".
29990 (strcat): Do not use BP_SYM.
29991 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
29992 "bp-asm.h".
29993 (STRCMP): Do not use BP_SYM.
29994 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
29995 "bp-asm.h".
29996 (STRCPY): Do not use BP_SYM.
29997 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
29998 "bp-asm.h".
29999 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
30000 "bp-asm.h".
30001 (FUNCTION): Do not use BP_SYM.
30002 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
30003 weak_alias.
30004 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
30005
30006 2013-02-17 Andreas Jaeger <aj@suse.de>
30007
30008 * time/Versions: Sort entries.
30009 * string/Versions: Likewise.
30010 * resolv/Versions: Likewise.
30011 * posix/Versions: Likewise.
30012 * iconv/Versions: Likewise.
30013 * elf/Versions: Likewise.
30014 * wcsmbs/Versions: Likewise.
30015
30016 2013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
30017
30018 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
30019 loop termination condition.
30020
30021 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
30022 variable to calculate EZ.
30023 (__sqr): Likewise.
30024
30025 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
30026 the lower precision input.
30027
30028 2013-02-15 Joseph Myers <joseph@codesourcery.com>
30029
30030 [BZ #13550]
30031 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
30032 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
30033 (run-via-rtld-prefix): Do not handle %-bp tests.
30034 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
30035 (all-object-suffixes): Remove .ob.
30036 (bppfx): Remove variable.
30037 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
30038 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
30039 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
30040 [$(build-bounded) = yes] (libtype.ob): Likewise.
30041 * Makerules (elide-routines.ob): Remove variable.
30042 (do-tests-clean): Do not handle *-bp.out.
30043 (common-mostlyclean): Do not handle *-bp and *-bp.out.
30044 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
30045 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
30046 (tests): Do not include $(tests-bp.out).
30047 (xtests): Do not include $(xtests-bp.out).
30048 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
30049 [$(build-bounded) = yes] ($(addprefix
30050 $(objpfx),$(binaries-bounded))): Remove rule.
30051 ($(objpfx)%-bp.out): Remove rule.
30052 * config.make.in (build-bounded): Remove variable.
30053 * crypt/Makefile [$(build-bounded) = yes]
30054 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
30055 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
30056 append to variable.
30057 [$(build-bounded) = yes] (install-lib): Likewise.
30058 [$(build-bounded) = yes] (generated): Likewise.
30059 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
30060 Remove rule.
30061 * intl/Makefile [$(build-bounded) = yes]
30062 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
30063 * math/Makefile [$(build-bounded) = yes]
30064 ($(tests:%=$(objpfx)%-bp): Likewise.
30065 * misc/Makefile [$(build-bounded) = yes]
30066 ($(objpfx)tst-tsearch-bp): Likewise.
30067 * nptl/Makeconfig (bounded-thread-library): Remove variable.
30068 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
30069 Remove dependency.
30070 * string/Makefile (o-objects.ob): Remove variable.
30071 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
30072 (CFLAGS-.ob): Remove variable.
30073 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
30074 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
30075 both definitions of variable.
30076 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
30077 (ASFLAGS-.ob): Remove variable.
30078
30079 2013-02-14 Joseph Myers <joseph@codesourcery.com>
30080
30081 [BZ #13550]
30082 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
30083 Remove __BOUNDED_POINTERS__ from condition.
30084 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
30085 * string/bits/string2.h [!__NO_STRING_INLINES &&
30086 !__BOUNDED_POINTERS__]: Likewise.
30087 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
30088 Likewise.
30089 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
30090 Remove conditional code.
30091 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
30092 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
30093 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
30094 condition.
30095
30096 [BZ #13550]
30097 * csu/libc-start.c: Do not include <bp-sym.h>.
30098 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
30099 * elf/dl-open.c: Do not include <bp-sym.h>.
30100 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
30101 * math/fegetenv.c: Do not include <bp-sym.h>.
30102 (fegetenv): Do not use BP_SYM in versioned symbols.
30103 * nptl/sysdeps/pthread/bits/libc-lockP.h
30104 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
30105 <bp-sym.h>.
30106 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
30107 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
30108 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
30109 (__pthread_mutex_destroy): Likewise.
30110 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
30111 (__pthread_mutex_lock): Likewise.
30112 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
30113 (__pthread_mutex_trylock): Likewise.
30114 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
30115 (__pthread_mutex_unlock): Likewise.
30116 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
30117 (__pthread_mutexattr_init): Likewise.
30118 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
30119 (__pthread_mutexattr_destroy): Likewise.
30120 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
30121 (__pthread_mutexattr_settype): Likewise.
30122 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
30123 (__pthread_rwlock_init): Likewise.
30124 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
30125 (__pthread_rwlock_destroy): Likewise.
30126 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
30127 (__pthread_rwlock_rdlock): Likewise.
30128 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
30129 (__pthread_rwlock_tryrdlock): Likewise.
30130 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
30131 (__pthread_rwlock_wrlock): Likewise.
30132 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
30133 (__pthread_rwlock_trywrlock): Likewise.
30134 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
30135 (__pthread_rwlock_unlock): Likewise.
30136 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
30137 (__pthread_key_create): Likewise.
30138 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
30139 (__pthread_setspecific): Likewise.
30140 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
30141 (__pthread_getspecific): Likewise.
30142 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
30143 Likewise.
30144 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
30145 (_pthread_cleanup_push_defer): Likewise.
30146 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
30147 (_pthread_cleanup_pop_restore): Likewise.
30148 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
30149 (pthread_setcancelstate): Likewise.
30150 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
30151 <bp-sym.h>.
30152 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
30153 (memchr): Do not use BP_SYM in weak_alias.
30154 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
30155 (fegetenv): Do not use BP_SYM in versioned symbols.
30156 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
30157 (fesetenv): Do not use BP_SYM in versioned symbols.
30158 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
30159 (feupdateenv): Do not use BP_SYM in versioned symbols.
30160 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
30161 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
30162 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
30163 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
30164 (open64): Do not use BP_SYM in weak_alias.
30165 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
30166 (fegetenv): Do not use BP_SYM in versioned symbols.
30167 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
30168 (fesetenv): Do not use BP_SYM in versioned symbols.
30169 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
30170 (feupdateenv): Do not use BP_SYM in versioned symbols.
30171 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
30172 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
30173 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
30174 (feraiseexcept): Do not use BP_SYM in versioned symbols.
30175 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
30176 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
30177 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
30178 <bp-sym.h>.
30179 (__libc_start_main): Do not use BP_SYM.
30180
30181 2013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
30182
30183 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
30184 redundant return line.
30185 (norm): Likewise.
30186 (denorm): Likewise.
30187 (dbl_mp): Likewise.
30188 (sub_magnitudes): Likewise.
30189 (__add): Likewise.
30190 (__sub): Likewise.
30191 (__mul): Likewise.
30192 (__inv): Likewise.
30193 (__dvd): Likewise.
30194 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
30195 (norm): Likewise.
30196 (denorm): Likewise.
30197 (dbl_mp): Likewise.
30198 (sub_magnitudes): Likewise.
30199 (__add): Likewise.
30200 (__sub): Likewise.
30201 (__mul): Likewise.
30202 (__inv): Likewise.
30203 (__dvd): Likewise.
30204
30205 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
30206 instead of __mul.
30207 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
30208 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
30209 (cc32): Likewise.
30210
30211 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
30212 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
30213 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
30214 of __mul for squares.
30215 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
30216 function
30217 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
30218 Likewise.
30219 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
30220 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
30221
30222 2013-02-13 Joseph Myers <joseph@codesourcery.com>
30223
30224 [BZ #13550]
30225 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
30226 code.
30227 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
30228 prototype or function definition. Rename ubp_* variables and
30229 parameters. Remove argv definitions conditional on
30230 [__BOUNDED_POINTERS__].
30231 * debug/backtrace.c (__backtrace): Do not use __unbounded.
30232 * elf/dl-runtime.c (_dl_fixup): Likewise.
30233 * include/set-hooks.h (RUN_HOOK): Likewise.
30234 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
30235 definition.
30236 * string/strcpy.c (strcpy): Do not use __unbounded.
30237 * sysdeps/generic/frame.h (struct layout): Likewise.
30238 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
30239 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
30240 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
30241 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
30242 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
30243 (__backtrace): Likewise.
30244 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
30245 use __ptrvalue.
30246 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
30247 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
30248 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
30249 Likewise.
30250 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
30251 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
30252 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
30253 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
30254 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
30255 Do not use __unbounded.
30256 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
30257 Rename __unboundedrlimits parameter to rlimits in prototype.
30258 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
30259 Do not use __unbounded.
30260 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
30261 not use __ptrvalue.
30262 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
30263 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
30264 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
30265 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
30266 __ptrvalue or __unbounded.
30267 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
30268 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
30269 use __unbounded.
30270 (__new_msgctl): Do not use __ptrvalue.
30271 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
30272 __unbounded.
30273 (__libc_msgrcv): Do not use __ptrvalue.
30274 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
30275 startup_info): Do not use __unbounded.
30276 (__libc_start_main): Likewise. Rename ubp_* variables and
30277 parameters. Remove argv definitions conditional on
30278 [__BOUNDED_POINTERS__].
30279 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
30280 __ptrvalue.
30281 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
30282 use __unbounded.
30283 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
30284 or __ptrvalue.
30285 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
30286 use __unbounded.
30287 (__new_shmctl): Do not use __ptrvalue.
30288 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
30289 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
30290 Likewise.
30291 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
30292 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
30293 (__libc_sigaction): Likewise.
30294 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
30295 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
30296 Likewise.
30297 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
30298
30299 2013-02-13 Ondřej Bílka <neleai@seznam.cz>
30300
30301 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
30302
30303 * string/mempcpy.c: Implement by calling memcpy.
30304
30305 2013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
30306
30307 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
30308
30309 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
30310 evaluation.
30311
30312 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
30313 values in the mantissa.
30314
30315 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
30316 minimize writes to Z.
30317 (sub_magnitudes): Simplify code a bit.
30318
30319 2013-02-12 Roland McGrath <roland@hack.frob.com>
30320
30321 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
30322 from the message. The linker prefixes all warnings with that already.
30323
30324 2013-02-12 Andreas Schwab <schwab@suse.de>
30325
30326 [BZ #15078]
30327 * posix/regexec.c (extend_buffers): Add parameter min_len.
30328 (check_matching): Pass minimum needed length.
30329 (clean_state_log_if_needed): Likewise.
30330 (get_subexp): Likewise.
30331 * posix/Makefile (tests): Add bug-regex34.
30332 (bug-regex34-ENV): Define.
30333 * posix/bug-regex34.c: New file.
30334
30335 [BZ #11561]
30336 * posix/regcomp.c (parse_bracket_exp): When looking up collating
30337 elements compare against the byte sequence of it, not its name.
30338 * posix/Makefile (tests): Add bug-regex35.
30339 (bug-regex35-ENV): Define.
30340 * posix/bug-regex35.c: New file.
30341
30342 2013-02-11 Tom de Vries <tom@codesourcery.com>
30343
30344 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
30345 comment.
30346 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
30347 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
30348 (CHECK_EOL): Add undef.
30349
30350 2013-02-11 Ondřej Bílka <neleai@seznam.cz>
30351
30352 * bits/stdlib-bsearch.h: New file.
30353 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
30354 * stdlib/stdlib.h: Likewise.
30355
30356 2013-02-11 Roland McGrath <roland@hack.frob.com>
30357
30358 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
30359 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
30360 declaration.
30361 * manual/search.texi (Array Search Function): Add missing const in
30362 lfind prototype.
30363 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
30364 declaration to use rlim_t.
30365 (Basic Scheduling Functions): Remove erroneous const from
30366 sched_getparam prototype. Remove erroneous * from
30367 sched_get_priority_max and sched_get_priority_min prototypes.
30368 (Resource Usage): Fix summary @comment on vtimes to refer to
30369 sys/vtimes.h rather than vtimes.h.
30370 Add missing *s in vtimes prototype.
30371 (Limits on Resources): Fix ulimit prototype to return long int.
30372 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
30373 prototypes to use long int rather than double.
30374 (BSD Random): Fix initstate and setstate to use char *, not void *.
30375 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
30376 prototype to make second argument 'struct aiocb64 *const[]'.
30377 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
30378 (Status of AIO Operations): Remove erroneous const in aio_return and
30379 aio_return64 prototypes.
30380 (Synchronizing I/O): Fix sync prototype to return void.
30381 * manual/startup.texi (Suboptions): Remove an erroneous const in
30382 getsubopt prototype.
30383 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
30384 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
30385 use size_t rather than int.
30386 (Scanning All Users): Likewise for getpwent_r.
30387 (Setting Groups): Add missing const to setgroups prototype.
30388 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
30389 * manual/socket.texi (Host Names): Fix gethostbyaddr and
30390 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
30391 'const void *' rather than 'const char *'.
30392 (Host Address Functions): Likewise for inet_ntop.
30393 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
30394 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
30395 ssize_t for return value.
30396 (Sending Data): Likewise for send, sendto, sendmsg.
30397 (Socket Option Functions): Add a missing const in setsockopt prototype.
30398 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
30399 use wchar_t for the argument.
30400 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
30401 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
30402 take no arguments.
30403 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
30404 double/float/long double for second argument.
30405 Fix return types of significand, significandf, significandl.
30406 * manual/filesys.texi (Setting Permissions): Use mode_t for second
30407 argument in fchmod prototype.
30408 (File Owner): Use uid_t and gid_t in fchown prototype.
30409 (File Times): Add const to utimes, futimes, and lutimes prototypes.
30410 (Making Special Files): Use mode_t and dev_t in mknod prototype.
30411 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
30412 use 'const struct dirent **' as argument types to CMP function pointer
30413 argument.
30414 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
30415 (File Times): Fix summary magic @comment for struct utimbuf and utime
30416 to refer to utime.h, not time.h.
30417 * manual/string.texi (Argz Functions): Add missing const in
30418 argz_extract and argz_next prototypes.
30419 (Finding Tokens in a String): Likewise for basename.
30420 (String/Array Comparison): Fix typo in wcscasecmp prototype.
30421 (Copying and Concatenation): Fix typo in wmemmove prototype.
30422 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
30423 (Signal Stack): Remove erroneous const in sigstack prototype.
30424 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
30425 prototype.
30426 (Simple Calendar Time): Likewise for stime.
30427 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
30428 prototype.
30429 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
30430 say sys/sysctl.h instead.
30431 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
30432 and vsyslog prototypes.
30433
30434 2013-02-11 Tom de Vries <tom@codesourcery.com>
30435
30436 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
30437 Remove.
30438
30439 2013-02-11 Roland McGrath <roland@hack.frob.com>
30440
30441 * misc/sys/mman.h: Fix typo in mremap comment.
30442
30443 2013-02-08 Roland McGrath <roland@hack.frob.com>
30444
30445 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
30446 the '\0' terminator.
30447
30448 2013-02-08 Joseph Myers <joseph@codesourcery.com>
30449
30450 [BZ #13550]
30451 * debug/segfault.c: Don't include <bp-checks.h>.
30452 * sysdeps/generic/bp-checks.h: Remove file.
30453 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
30454 (__GETDENTS): Don't use CHECK_N.
30455 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
30456 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
30457 (__getgroups): Don't use CHECK_N.
30458 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
30459 (setgroups): Don't use CHECK_N.
30460 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
30461 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
30462 (__libc_msgrcv): Don't use CHECK_N.
30463 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
30464 (__libc_msgsnd): Don't use CHECK_N.
30465 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
30466 <bp-checks.h>.
30467 (__libc_pread): Don't use CHECK_N.
30468 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
30469 include <bp-checks.h>.
30470 (__libc_pread64): Don't use CHECK_N.
30471 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
30472 include <bp-checks.h>.
30473 (__libc_pwrite): Don't use CHECK_N.
30474 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
30475 include <bp-checks.h>.
30476 (__libc_pwrite64): Don't use CHECK_N.
30477 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
30478 <bp-checks.h>.
30479 (__libc_pread): Don't use CHECK_N.
30480 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
30481 include <bp-checks.h>.
30482 (__libc_pread64): Don't use CHECK_N.
30483 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
30484 include <bp-checks.h>.
30485 (__libc_pwrite): Don't use CHECK_N.
30486 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
30487 include <bp-checks.h>.
30488 (__libc_pwrite64): Don't use CHECK_N.
30489 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
30490 (do_pread): Don't use CHECK_N.
30491 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
30492 (do_pread64): Don't use CHECK_N.
30493 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
30494 (do_pwrite): Don't use CHECK_N.
30495 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
30496 (do_pwrite64): Don't use CHECK_N.
30497 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
30498 (__libc_readv): Don't use CHECK_N.
30499 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
30500 (semop): Don't use CHECK_N.
30501 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
30502 <bp-checks.h>.
30503 (semtimedop): Don't use CHECK_N.
30504 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
30505 (__libc_pread): Don't use CHECK_N.
30506 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
30507 <bp-checks.h>.
30508 (__libc_pread64): Don't use CHECK_N.
30509 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
30510 <bp-checks.h>.
30511 (__libc_pwrite): Don't use CHECK_N.
30512 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
30513 <bp-checks.h>.
30514 (__libc_pwrite64): Don't use CHECK_N.
30515 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
30516 <bp-checks.h>.
30517 (__libc_msgrcv): Don't use CHECK_N.
30518 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
30519 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
30520 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
30521 (__libc_writev): Don't use CHECK_N.
30522
30523 2013-02-08 Roland McGrath <roland@hack.frob.com>
30524
30525 * string/strcpy.c: Removed unused variable.
30526
30527 * Makeconfig (+sysdep-includes): Define with := rather than =.
30528 Use an existing include/ subdir of each sysdeps dir before it.
30529
30530 2013-02-08 Carlos O'Donell <carlos@redhat.com>
30531
30532 * nscd/connection.c (register_traced_file): Comment function.
30533 [HAVE_INOTIFY] (union __inev): Define.
30534 [HAVE_INOTIFY] (inotify_check_files): New function.
30535 [HAVE_INOTIFY] (clear_db_cache): Likewise.
30536 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
30537 clear_db_cache.
30538 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
30539
30540 2013-02-08 Carlos O'Donell <carlos@redhat.com>
30541
30542 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
30543 loaded if not already and that a failure is permanent.
30544
30545 2013-02-08 Carlos O'Donell <carlos@redhat.com>
30546
30547 [BZ #15006]
30548 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
30549 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
30550
30551 2013-02-08 Joseph Myers <joseph@codesourcery.com>
30552
30553 [BZ #13550]
30554 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
30555 (CHECK_1_NULL_OK): Likewise.
30556 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
30557 (__fxstat): Do not use CHECK_1.
30558 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
30559 <bp-checks.h>.
30560 (___fxstat64): Do not use CHECK_1.
30561 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
30562 <bp-checks.h>.
30563 (__fxstatat): Do not use CHECK_1.
30564 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
30565 <bp-checks.h>.
30566 (__fxstatat64): Do not use CHECK_1.
30567 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
30568 <bp-checks.h>.
30569 (__fxstat): Do not use CHECK_1.
30570 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
30571 <bp-checks.h>.
30572 (__fxstatat): Do not use CHECK_1.
30573 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
30574 <bp-checks.h>.
30575 (__getresgid): Do not use CHECK_1.
30576 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
30577 <bp-checks.h>.
30578 (__getresuid): Do not use CHECK_1.
30579 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
30580 <bp-checks.h>.
30581 (__lxstat): Do not use CHECK_1.
30582 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
30583 <bp-checks.h>.
30584 (__old_msgctl): Do not use CHECK_1.
30585 (__new_msgctl): Likewise.
30586 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
30587 <bp-checks.h>.
30588 (__new_setrlimit): Do not use CHECK_1.
30589 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
30590 <bp-checks.h>.
30591 (__old_shmctl): Do not use CHECK_1.
30592 (__new_shmctl): Likewise.
30593 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
30594 <bp-checks.h>.
30595 (__xstat): Do not use CHECK_1.
30596 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
30597 (__lxstat): Do not use CHECK_1.
30598 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
30599 <bp-checks.h>.
30600 (___lxstat64): Do not use CHECK_1.
30601 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
30602 (__old_msgctl): Do not use CHECK_1.
30603 (__new_msgctl): Likewise.
30604 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
30605 <bp-checks.h>.
30606 (__gettimeofday): Do not use CHECK_1.
30607 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
30608 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
30609 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
30610 <bp-checks.h>.
30611 (__gettimeofday): Do not use CHECK_1.
30612 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
30613 (__old_shmctl): Do not use CHECK_1_NULL_OK.
30614 (__new_shmctl): Do not use CHECK_1.
30615 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
30616 <bp-checks.h>.
30617 (do_sigtimedwait): Do not use CHECK_1.
30618 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
30619 <bp-checks.h>.
30620 (do_sigwaitinfo): Do not use CHECK_1.
30621 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
30622 <bp-checks.h>.
30623 (msgctl): Do not use CHECK_1.
30624 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
30625 <bp-checks.h>.
30626 (shmctl): Do not use CHECK_1.
30627 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
30628 (ustat): Do not use CHECK_1.
30629 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
30630 <bp-checks.h>.
30631 (__fxstat): Do not use CHECK_1.
30632 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
30633 <bp-checks.h>.
30634 (__fxstatat): Do not use CHECK_1.
30635 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
30636 <bp-checks.h>.
30637 (__lxstat): Do not use CHECK_1.
30638 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
30639 <bp-checks.h>.
30640 (__xstat): Do not use CHECK_1.
30641 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
30642 (__xstat): Do not use CHECK_1.
30643 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
30644 (___xstat64): Do not use CHECK_1.
30645
30646 [BZ #13550]
30647 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
30648 definitions.
30649 (CHECK_BOUNDS_HIGH): Likewise.
30650 * string/strcpy.c: Do not include <bp-checks.h>.
30651 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
30652
30653 2013-02-07 Roland McGrath <roland@hack.frob.com>
30654
30655 * nscd/nscd-client.h (__nscd_drop_map_ref):
30656 Add __attribute__ ((unused)).
30657 * nis/nss-nisplus.h (niserr2nss): Likewise.
30658
30659 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
30660 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
30661
30662 * csu/libc-tls.c (init_static_tls, init_slotinfo):
30663 Remove inline keyword.
30664 * include/rounding-mode.h (round_away): Likewise.
30665 * libio/wfileops.c (adjust_wide_data): Likewise.
30666 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
30667 (__m128i_strloadu_tolower): Likewise.
30668 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
30669 (__m128i_strloadu_tolower): Likewise.
30670 * time/mktime.c (ydhms_diff): Likewise.
30671 * locale/elem-hash.h (elem_hash): Likewise.
30672 * locale/setlocale.c (setdata): Likewise.
30673 * posix/regex_internal.h (re_string_char_size_at): Likewise.
30674 (re_string_wchar_at): Likewise.
30675 (bitset_not, bitset_merge, bitset_mask): Likewise.
30676 [!(__GNUC__ > 3)] (inline): Remove macro.
30677 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
30678 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
30679 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
30680 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
30681 * string/memcmp.c (memcmp_bytes): Likewise.
30682 * locale/programs/locarchive.c (compute_hashval): Likewise.
30683 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
30684 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
30685 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
30686 * nss/getent.c (print_rpc, print_protocols): Likewise.
30687 (print_passwd, print_group, print_aliases): Likewise.
30688 * nis/nss-nisplus.h (niserr2nss): Likewise.
30689 * nscd/connections.c (restart_p): Likewise.
30690 Change return type to bool.
30691
30692 2013-02-05 Roland McGrath <roland@hack.frob.com>
30693
30694 * Makeconfig (all-Depend-files): Add existing
30695 $(sorted-subdirs:=/Depend) files.
30696 (all-subdirs): Remove nss.
30697 * sysdeps/unix/inet/Subdirs: Add it here instead.
30698 * hesiod/Depend: New file.
30699
30700 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
30701 instead of calling alloca.
30702
30703 * io/lseek.c (__lseek): Rename to __libc_lseek.
30704 Define __lseek as an alias.
30705
30706 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
30707
30708 2013-02-04 Carlos O'Donell <carlos@redhat.com>
30709
30710 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
30711 else clause and remove check for non-standard endianness.
30712
30713 2013-02-04 David S. Miller <davem@davemloft.net>
30714
30715 * sysdeps/sparc/fpu/libm-test-ulps: Update.
30716
30717 2013-02-04 Joseph Myers <joseph@codesourcery.com>
30718
30719 [BZ #13550]
30720 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
30721 (__ubp_memchr): Remove prototype.
30722 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
30723 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
30724 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
30725 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
30726 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
30727 Remove alias.
30728 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
30729 (__ubp_memchr): Likewise.
30730 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
30731 (__ubp_memchr): Likewise.
30732 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
30733 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
30734 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
30735 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
30736 CHECK_STRING.
30737 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
30738 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
30739 (__getcwd): Do not use CHECK_STRING.
30740 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
30741 <bp-checks.h>.
30742 (__real_chown): Do not use CHECK_STRING.
30743 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
30744 <bp-checks.h>.
30745 (fchownat): Do not use CHECK_STRING.
30746 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
30747 CHECK_STRING.
30748 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
30749 <bp-checks.h>.
30750 (__lchown): Do not use CHECK_STRING.
30751 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
30752 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
30753 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
30754 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
30755 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
30756 include <bp-checks.h>.
30757 (truncate64): Do not use CHECK_STRING.
30758 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
30759 <bp-checks.h>.
30760 (__real_chown): Do not use CHECK_STRING.
30761 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
30762 <bp-checks.h>.
30763 (__lchown): Do not use CHECK_STRING.
30764 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
30765 <bp-checks.h>.
30766 (__chown): Do not use CHECK_STRING.
30767 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
30768 <bp-checks.h>.
30769 (truncate64): Do not use CHECK_STRING.
30770 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
30771 Likewise.
30772 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
30773 (__xmknod): Do not use CHECK_STRING.
30774 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
30775 <bp-checks.h>.
30776 (__xmknodat): Do not use CHECK_STRING.
30777 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
30778 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
30779
30780 2013-02-04 Andreas Schwab <schwab@suse.de>
30781
30782 [BZ #14142]
30783 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
30784 * include/netdb.h: Likewise for h_errno.
30785 * elf/tst-stackguard1.c: Include <tls.h>.
30786
30787 2013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
30788
30789 * elf/link.h (struct link_map): Extend the l_addr comment.
30790 * include/link.h (struct link_map): Likewise.
30791
30792 2013-02-01 Joseph Myers <joseph@codesourcery.com>
30793
30794 [BZ #13550]
30795 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
30796 (BOUNDED_1): Remove macro.
30797 * debug/backtrace.c: Don't include <bp-checks.h>.
30798 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
30799 (__backtrace): Likewise.
30800 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
30801 <bp-checks.h>.
30802 (__backtrace): Don't use BOUNDED_1.
30803 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
30804 <bp-checks.h>.
30805 (__backtrace): Don't use BOUNDED_1.
30806 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
30807 (__backtrace): Don't use BOUNDED_1.
30808 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
30809 (shmat): Don't use BOUNDED_N.
30810
30811 2013-01-31 Joseph Myers <joseph@codesourcery.com>
30812
30813 [BZ #13550]
30814 * sysdeps/generic/bp-start.h: Remove file.
30815 * csu/libc-start.c: Don't include <bp-start.h>.
30816 (LIBC_START_MAIN): Set up __environ directly instead of using
30817 INIT_ARGV_and_ENVIRON.
30818 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
30819 <bp-start.h>.
30820
30821 [BZ #13550]
30822 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
30823 definitions.
30824 (CHECK_FCNTL): Likewise.
30825 (CHECK_N_PAGES): Likewise.
30826
30827 [BZ #13550]
30828 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
30829 definitions.
30830 (CHECK_SIGSET_NULL_OK): Likewise.
30831 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
30832 <bp-checks.h>.
30833 (sigpending): Don't use CHECK_SIGSET.
30834 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
30835 <bp-checks.h>.
30836 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
30837 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
30838 <bp-checks.h>.
30839 (do_sigsuspend): Don't use CHECK_SIGSET.
30840 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
30841 use CHECK_SIGSET.
30842 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
30843 (do_sigwait): Don't use CHECK_SIGSET.
30844 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
30845 use CHECK_SIGSET.
30846 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
30847 include <bp-checks.h>.
30848 (sigpending): Don't use CHECK_SIGSET.
30849 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
30850 include <bp-checks.h>.
30851 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
30852 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
30853 <bp-checks.h>.
30854 (sigpending): Don't use CHECK_SIGSET.
30855 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
30856 <bp-checks.h>.
30857 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
30858
30859 [BZ #13550]
30860 * sysdeps/generic/bp-semctl.h: Remove file.
30861 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
30862 <bp-checks.h> and <bp-semctl.h>.
30863 (__old_semctl): Don't use CHECK_SEMCTL.
30864 (__new_semctl): Likewise.
30865 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
30866 and <bp-semctl.h>.
30867 (__old_semctl): Don't use CHECK_SEMCTL.
30868 (__new_semctl): Likewise.
30869 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
30870 <bp-checks.h> and <bp-semctl.h>.
30871 (__old_semctl): Don't use CHECK_SEMCTL.
30872 (__new_semctl): Likewise.
30873 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
30874 <bp-checks.h> and <bp-semctl.h>.
30875 (semctl): Don't use CHECK_SEMCTL.
30876
30877 [BZ #13550]
30878 * Makerules (elide-bp-thunks): Remove variable.
30879 (elide-routines.oS): Don't use $(elide-bp-thunks).
30880 (elide-routines.os): Likewise.
30881 (elide-routines.o): Likewise.
30882 (elide-routines.op): Likewise.
30883 (elide-routines.og): Likewise.
30884 (objects): Don't use $(bp-thunks).
30885 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
30886 include.
30887 (common-generated): Do not add s-proto-bp.d.
30888 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
30889 (int): Likewise.
30890 (typ): Likewise.
30891 Do not generate makefile rules for bounded-pointer thunks.
30892 * sysdeps/generic/bp-thunks.h: Remove file.
30893 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
30894 * sysdeps/unix/s-proto-bp.S: Likewise.
30895
30896 [BZ #15062]
30897 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
30898 parts of result separately when argument is not close to line from
30899 -i to i and one part of argument is small.
30900 * math/k_casinhf.c (__kernel_casinhf): Likewise.
30901 * math/k_casinhl.c (__kernel_casinhl): Likewise.
30902 * math/libm-test.inc (cacos_test): Add more tests.
30903 (casin_test): Likewise.
30904 (casinh_test): Likewise.
30905 * sysdeps/i386/fpu/libm-test-ulps: Update.
30906 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30907
30908 2013-01-31 David S. Miller <davem@davemloft.net>
30909
30910 * po/de.po: Update from translation team.
30911
30912 2013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
30913
30914 * time/tzfile.c: Include stdint.h for SIZE_MAX.
30915
30916 2013-01-25 Thomas Schwinge <thomas@codesourcery.com>
30917
30918 * configure.in (_AC_PROG_CC_C89): New definition.
30919 * configure: Regenerate.
30920
30921 * configure.in (AC_PROG_CPP): New definition.
30922 * configure: Regenerate.
30923
30924 2013-01-23 Joseph Myers <joseph@codesourcery.com>
30925
30926 * debug/tst-backtrace.h: New file.
30927 * debug/tst-backtrace2.c: Include tst-backtrace.h.
30928 (ret): Remove variable.
30929 (x): Likewise.
30930 (FAIL): Remove macro.
30931 (NO_INLINE): Likewise.
30932 (fn1): Use match function instead of strstr.
30933 * debug/tst-backtrace3.c: Include tst-backtrace.h.
30934 (ret): Remove variable.
30935 (x): Likewise.
30936 (FAIL): Remove macro.
30937 (NO_INLINE): Likewise.
30938 (fn): Use match function instead of strstr.
30939 * debug/tst-backtrace4.c: Include tst-backtrace.h.
30940 (ret): Remove variable.
30941 (x): Likewise.
30942 (FAIL): Remove macro.
30943 (NO_INLINE): Likewise.
30944 (handle_signal): Use match function instead of strstr.
30945 * debug/tst-backtrace5.c: Include tst-backtrace.h.
30946 (ret): Remove variable.
30947 (x): Likewise.
30948 (FAIL): Remove macro.
30949 (NO_INLINE): Likewise.
30950 (handle_signal): Use match function instead of strstr.
30951
30952 2013-01-23 Roland McGrath <roland@hack.frob.com>
30953
30954 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
30955
30956 2013-01-23 David S. Miller <davem@davemloft.net>
30957
30958 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
30959 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
30960 argument of CAS if possible.
30961 * sysdeps/sparc/sparc64/bits/atomic.h
30962 (__arch_compare_and_exchange_val_32_acq): Likewise.
30963 (__arch_compare_and_exchange_val_64_acq): Likewise.
30964
30965 2013-01-23 Pino Toscano <toscano.pino@tiscali.it>
30966
30967 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
30968 * sysdeps/posix/ulimit.c: ... this.
30969 Include <limits.h>.
30970 * sysdeps/unix/bsd/ulimit.c: Remove file.
30971
30972 2013-01-23 Adam Conrad <adconrad@0c3.net>
30973
30974 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
30975 (LDFLAGS-tst-array5): Likewise.
30976
30977 2013-01-23 Joseph Myers <joseph@codesourcery.com>
30978
30979 [BZ #15036]
30980 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
30981 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
30982 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
30983 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
30984
30985 2013-01-21 David S. Miller <davem@davemloft.net>
30986
30987 * sysdeps/sparc/backtrace.c: New file.
30988 * sysdeps/sparc/sparc32/backtrace.h: New file.
30989 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
30990 * sysdeps/sparc/sparc64/backtrace.h: New file.
30991 * sysdeps/sparc/sparc64/backtrace.c: Delete.
30992 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
30993 -funwind-tables.
30994
30995 2013-01-21 Andreas Schwab <schwab@suse.de>
30996
30997 [BZ #15020]
30998 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
30999 closed its stdout.
31000
31001 2013-01-20 Andreas Schwab <schwab@linux-m68k.org>
31002
31003 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
31004 "mpa2.h".
31005 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
31006
31007 2013-01-18 Joseph Myers <joseph@codesourcery.com>
31008 Mark Mitchell <mark@codesourcery.com>
31009 Tom de Vries <tom@codesourcery.com>
31010 Paul Pluzhnikov <ppluzhnikov@google.com>
31011
31012 * debug/tst-backtrace2.c: New file.
31013 * debug/tst-backtrace3.c: Likewise.
31014 * debug/tst-backtrace4.c: Likewise.
31015 * debug/tst-backtrace5.c: Likewise.
31016 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
31017 (CFLAGS-tst-backtrace3.c): Likewise.
31018 (CFLAGS-tst-backtrace4.c): Likewise.
31019 (CFLAGS-tst-backtrace5.c): Likewise.
31020 (LDFLAGS-tst-backtrace2): Likewise.
31021 (LDFLAGS-tst-backtrace3): Likewise.
31022 (LDFLAGS-tst-backtrace4): Likewise.
31023 (LDFLAGS-tst-backtrace5): Likewise.
31024 (tests): Add new tests tst-backtrace2, tst-backtrace3,
31025 tst-backtrace4 and tst-backtrace5.
31026
31027 2013-01-18 Anton Blanchard <anton@samba.org>
31028 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
31029
31030 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
31031 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
31032 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
31033 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
31034 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
31035 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
31036 "+r" and remove output regs list as redundant. Add explicit inline
31037 asm to specify register of return val to work around compiler codegen
31038 bug. Remove (int) cast on return value. Add return type parameter to
31039 use in macro so that this macro does not truncate return value for
31040 64-bit values.
31041 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
31042 pass to INTERNAL_VSYSCALL_NCS.
31043 (INLINE_VSYSCALL): Add 'long int' as return type to
31044 INTERNAL_VSYSCALL_NCS macro invocation.
31045 (INTERNAL_VSYSCALL): Add 'long int' as return type to
31046 INTERNAL_VSYSCALL_NCS macro invocation.
31047 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
31048
31049 2013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
31050
31051 [BZ #14496]
31052 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
31053 Fix application of SIMD FP exception mask.
31054
31055 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
31056 mp_no from a power of two.
31057 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
31058 __mpexp_twomm1. Use __pow_mp.
31059
31060 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
31061 multiplication.
31062
31063 2013-01-17 David S. Miller <davem@davemloft.net>
31064
31065 * sysdeps/sparc/fpu/libm-test-ulps: Update.
31066
31067 2013-01-17 Joseph Myers <joseph@codesourcery.com>
31068
31069 [BZ #15023]
31070 * include/complex.h: Condition contents on [!_COMPLEX_H].
31071 (__kernel_casinhf): New prototype.
31072 (__kernel_casinh): Likewise.
31073 (__kernel_casinhl): Likewise.
31074 * math/Makefile (libm_calls): Add k_casinh.
31075 * math/k_casinh.c: New file.
31076 * math/k_casinhf.c: Likewise.
31077 * math/k_casinhl.c: Likewise.
31078 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
31079 finite nonzero arguments.
31080 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
31081 finite nonzero arguments.
31082 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
31083 finite nonzero arguments.
31084 * math/s_casinh.c: Do not include <float.h>.
31085 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
31086 * math/s_casinhf.c: Do not include <float.h>.
31087 (__casinhf): Move code for finite nonzero arguments to
31088 k_casinhf.c.
31089 * math/s_casinhl.c: Do not include <float.h>.
31090 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
31091 redefine.
31092 (__casinhl): Move code for finite nonzero arguments to
31093 k_casinhl.c.
31094 * math/libm-test.inc (cacos_test): Add more tests.
31095 * sysdeps/i386/fpu/libm-test-ulps: Update.
31096 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31097
31098 2013-01-17 Pino Toscano <toscano.pino@tiscali.it>
31099
31100 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
31101 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
31102 [!HAVE_MREMAP]: Remove [defined linux] case.
31103 * malloc/arena.c: Do not include <malloc-sysdep.h>.
31104
31105 2013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
31106
31107 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
31108
31109 2013-01-17 H.J. Lu <hongjiu.lu@intel.com>
31110
31111 * elf/elf.h (R_386_SIZE32): New relocation.
31112 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
31113 R_386_SIZE32.
31114 (elf_machine_rela): Likewise.
31115 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
31116 R_X86_64_SIZE64 and R_X86_64_SIZE32.
31117
31118 2013-01-17 Joseph Myers <joseph@codesourcery.com>
31119
31120 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
31121 (FP_FAST_FMA): Do not define.
31122 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
31123 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
31124 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
31125 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
31126 !_SOFT_FLOAT]: Likewise.
31127 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
31128 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
31129 value.
31130 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
31131 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
31132 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
31133 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
31134 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
31135 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
31136 file.
31137
31138 2013-01-16 Andreas Schwab <schwab@suse.de>
31139
31140 [BZ #14327]
31141 * include/stdlib.h (__mktemp): Add declaration.
31142 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
31143 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
31144
31145 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
31146
31147 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
31148 definitions.
31149 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
31150 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
31151 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
31152 definitions here.
31153 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
31154 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
31155 definitions.
31156 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
31157 and ONE.
31158 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
31159 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
31160 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
31161 definitions.
31162 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
31163 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
31164 definitions.
31165 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
31166
31167 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
31168
31169 2013-01-15 David S. Miller <davem@davemloft.net>
31170
31171 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
31172 trunc{,f} to libm-sysdep_routes.
31173 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
31174 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
31175 file.
31176 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
31177 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
31178 file.
31179 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
31180 file.
31181 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
31182 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
31183 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
31184 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
31185 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
31186 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
31187 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
31188 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
31189
31190 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
31191 nearbyint{,f} to libm-sysdep_routes.
31192 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
31193 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
31194 New file.
31195 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
31196 file.
31197 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
31198 New file.
31199 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
31200 file.
31201 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
31202 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
31203 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
31204 file.
31205 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
31206 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
31207 file.
31208 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
31209 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
31210 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
31211
31212 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
31213 libc_feholdexcept and libc_fesetenv.
31214
31215 2013-01-15 Mike Frysinger <vapier@gentoo.org>
31216
31217 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
31218
31219 2013-01-14 David S. Miller <davem@davemloft.net>
31220
31221 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
31222 (SPARC_ASM_VIS2_IFUNC): Likewise.
31223 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
31224 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
31225 use of 'siam' instruction.
31226 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
31227 Likewise.
31228 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
31229 Likewise.
31230 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
31231 Likewise.
31232 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
31233 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
31234 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
31235 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
31236 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
31237 file.
31238 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
31239 file.
31240 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
31241 file.
31242 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
31243 file.
31244 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
31245 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
31246 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
31247 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
31248 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
31249 new VIS2 routines.
31250 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
31251 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
31252 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
31253 Likewise.
31254 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
31255 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
31256 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
31257 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
31258 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
31259 routines to libm-sysdep_routines.
31260 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
31261
31262 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
31263 fdim/fdimf to libm-sysdep_routines.
31264 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
31265 file.
31266 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
31267 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
31268 file.
31269 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
31270 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
31271 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
31272 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
31273 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
31274 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
31275 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
31276
31277 2013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
31278
31279 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
31280 to optimize copies.
31281
31282 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
31283 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
31284 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
31285
31286 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
31287 local variable MPTWO.
31288 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
31289 Likewise.
31290
31291 2013-01-13 Mike Frysinger <vapier@gentoo.org>
31292
31293 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
31294 GLOB_NOESCAPE.
31295
31296 2013-01-13 Mike Frysinger <vapier@gentoo.org>
31297
31298 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
31299
31300 2013-01-13 Mike Frysinger <vapier@gentoo.org>
31301
31302 * manual/pattern.texi (glob_t): Document gl_flags.
31303 (glob64_t): Likewise.
31304
31305 2013-01-11 David S. Miller <davem@davemloft.net>
31306
31307 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
31308 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
31309 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
31310 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
31311 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
31312 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
31313 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
31314 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
31315 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
31316 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
31317 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
31318 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
31319 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
31320
31321 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
31322 sparc V9 rather than using V8 code.
31323 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
31324 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
31325
31326 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
31327 Move to...
31328 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
31329 Here.
31330
31331 2013-01-11 Roland McGrath <roland@hack.frob.com>
31332
31333 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
31334 not in the main loop.
31335 * configure: Regenerated.
31336
31337 2013-01-11 Joseph Myers <joseph@codesourcery.com>
31338
31339 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
31340 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
31341 to just #else.
31342 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
31343 [!__GLIBC_HAVE_LONG_LONG] case.
31344 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
31345 condition to just #else.
31346 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
31347 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
31348 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
31349 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
31350 unconditional.
31351 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
31352 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
31353 #elif condition to just #else.
31354 * sysdeps/unix/sysv/linux/sys/sysmacros.h
31355 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
31356 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
31357 #elif condition to just #else.
31358
31359 2013-01-11 Steve Ellcey <sellcey@mips.com>
31360
31361 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
31362 (EF_MIPS_ARCH_64): Fix value.
31363 (EF_MIPS_ARCH_32R2): New.
31364 (EF_MIPS_ARCH_64R2): New.
31365
31366 2013-01-11 H.J. Lu <hongjiu.lu@intel.com>
31367
31368 * Makeconfig (+link-pie-before-libc): New.
31369 (+link-pie-after-libc): Likewise.
31370 (+link-pie-tests): Likewise.
31371 (+link-pie): Rewritten.
31372 (link-before-libc): Remove $(config-LDFLAGS).
31373 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
31374 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
31375 (config-LDFLAGS): Renamed to ...
31376 (rtld-LDFLAGS): This.
31377 (rtld-tests-LDFLAGS): New macro.
31378 (link-libc-rpath-link): Likewise.
31379 (link-libc-tests-rpath-link): Likewise.
31380 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
31381 (link-libc): Prepand $(link-libc-rpath-link).
31382 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
31383 (test-program-prefix): New macro.
31384 (test-via-rtld-prefix): Likewise.
31385 (test-program-cmd): Likewise.
31386 (host-test-program-cmd): Likewise.
31387 * Makefile ($(common-objpfx)testrun.sh): Replace
31388 $(run-program-prefix) with $(test-program-prefix).
31389 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
31390 $(rtld-LDFLAGS).
31391 ($(common-objpfx)shlib.lds): Likewise.
31392 (build-module-helper): Likewise.
31393 ($(common-objpfx)format.lds): Likewise.
31394 * Rules (binaries-pie-tests): New.
31395 (binaries-pie-notests): Likewise.
31396 (binaries-pie): Rewritten.
31397 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
31398 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
31399 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
31400 (make-test-out): Replace $(host-built-program-cmd) with
31401 $(host-test-program-cmd).
31402 * config.make.in (build-hardcoded-path-in-tests): New variable.
31403 * configure.in (--enable-hardcoded-path-in-tests): New configure
31404 option.
31405 (hardcoded_path_in_tests): New AC_SUBST.
31406 * configure: Regenerated.
31407 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
31408 $(built-program-cmd) with $(test-program-cmd).
31409 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
31410 (test_program_cmd): This.
31411 * elf/Makefile ($(objpfx)order.out): Run test with
31412 $(test-program-prefix).
31413 ($(objpfx)order2.out): Likewise.
31414 ($(objpfx)tst-initorder.out): Likewise.
31415 ($(objpfx)tst-initorder2.out): Likewise.
31416 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
31417 $(test-program-cmd).
31418 ($(objpfx)tst-array1-static.out): Likewise.
31419 ($(objpfx)tst-array2.out): Likewise.
31420 ($(objpfx)tst-array3.out): Likewise.
31421 ($(objpfx)tst-array4.out): Likewise.
31422 ($(objpfx)tst-array5.out): Likewise.
31423 ($(objpfx)tst-array5-static.out): Likewise.
31424 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
31425 $(test-program-cmd).
31426 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
31427 $(run-program-prefix) with $(test-program-prefix).
31428 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
31429 (test_program_prefix): This.
31430 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
31431 $(run-program-prefix) with $(test-program-prefix).
31432 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
31433 (test_program_prefix): This.
31434 * iconvdata/tst-tables.sh: Likewise.
31435 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
31436 $(run-program-prefix) with $(test-program-prefix).
31437 ($(objpfx)tst-translit.out): Likewise.
31438 ($(objpfx)tst-gettext2.out): Likewise.
31439 ($(objpfx)tst-gettext4.out): Likewise.
31440 ($(objpfx)tst-gettext6.out): Likewise.
31441 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
31442 (test_program_prefix): This.
31443 * intl/tst-gettext2.sh: Likewise.
31444 * intl/tst-gettext4.sh Likewise.
31445 * intl/tst-gettext6.sh: Likewise.
31446 * intl/tst-translit.sh: Likewise.
31447 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
31448 with $(test-program-cmd).
31449 * libio/Makefile ($(objpfx)test-freopen.out): Replace
31450 $(run-program-prefix) with $(test-program-prefix).
31451 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
31452 (test_program_prefix): This.
31453 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
31454 $(run-program-prefix) with $(test-program-prefix).
31455 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
31456 (test_program_prefix): This.
31457 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
31458 * posix/Makefile ($(objpfx)globtest.out): Replace
31459 $(run-via-rtld-prefix) and $(test-wrapper) with
31460 $(test-program-prefix) and $(test-via-rtld-prefix).
31461 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
31462 $(test-program-prefix).
31463 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
31464 $(host-test-program-cmd).
31465 (tst-spawn-ARGS): Likewise.
31466 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
31467 $(test-program-prefix).
31468 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
31469 (test_via_rtld_prefix): This.
31470 (test_wrapper): Renamed to ...
31471 (test_program_prefix): This.
31472 (run_program_prefix): Replaced by test_program_prefix.
31473 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
31474 (test_program_prefix): This.
31475 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
31476 with $(host-test-program-cmd).
31477 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
31478 $(run-program-prefix) with $(test-program-prefix).
31479 ($(objpfx)tst-printf.out): Likewise.
31480 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
31481 $(test-program-cmd).
31482 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
31483 (test_program_prefix): This.
31484 * stdio-common/tst-unbputc.sh: Likewise.
31485 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
31486 $(run-program-prefix) with $(test-program-prefix).
31487 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
31488 (test_program_prefix): This.
31489 * string/Makefile ($(objpfx)tst-svc.out): Replace
31490 $(built-program-cmd) with $(test-program-cmd).
31491
31492 2013-01-11 Andreas Jaeger <aj@suse.de>
31493
31494 [BZ #15003]
31495 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
31496 value. Sync with Linux 3.7.
31497
31498 2013-01-10 David S. Miller <davem@davemloft.net>
31499
31500 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
31501 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
31502 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
31503
31504 2013-01-10 Roland McGrath <roland@hack.frob.com>
31505
31506 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
31507 never set.
31508 * configure: Regenerated.
31509
31510 2013-01-10 David S. Miller <davem@davemloft.net>
31511
31512 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
31513 sparc V9 rather than using V8 code.
31514 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
31515 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
31516
31517 2013-01-10 Roland McGrath <roland@hack.frob.com>
31518
31519 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
31520 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
31521 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
31522 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
31523 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
31524 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
31525 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
31526 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
31527 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
31528 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
31529 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
31530 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
31531 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
31532 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
31533 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
31534 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
31535 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
31536 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
31537 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
31538 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
31539 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
31540 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
31541 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
31542 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
31543 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
31544 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
31545 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
31546
31547 2013-01-10 David S. Miller <davem@davemloft.net>
31548
31549 * sysdeps/sparc/fpu/libm-test-ulps: Update.
31550
31551 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
31552
31553 * posix/Makefile (tests-static): New variable.
31554 (tests): Add $(tests-static).
31555 (tst-exec-static-ARGS): New variable.
31556 (tst-spawn-static-ARGS): Likewise.
31557 * posix/tst-exec-static.c: New file.
31558 * posix/tst-spawn-static.c: Likewise.
31559 * posix/tst-exec.c: Support run directly.
31560 * posix/tst-spawn.c: Likewise.
31561
31562 2013-01-10 Joseph Myers <joseph@codesourcery.com>
31563
31564 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
31565 long.
31566 * math/bits/mathcalls.h (llrint): Likewise.
31567 (llround): Likewise.
31568 * stdlib/stdlib.h (struct drand48_data): Likewise.
31569 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
31570 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
31571 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
31572 Likewise.
31573 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
31574 Likewise.
31575 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
31576 (elf_greg_t): Likewise.
31577 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
31578 (__jmp_buf): Likewise.
31579 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
31580 definitions.
31581 (llrint): Likewise, for all definitions.
31582 (llrintl): Likewise.
31583
31584 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
31585 Remove [__GNUC__] condition.
31586 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
31587 condition to just [__USE_ISOC99].
31588 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
31589
31590 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
31591
31592 [BZ #14200]
31593 * sysdeps/unix/sysv/linux/x86/bits/environments.h
31594 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
31595 defined.
31596 (_POSIX_V6_ILP32_OFF32): Likewise.
31597 (_XBS5_ILP32_OFF32): Likewise.
31598 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
31599 (__ILP32_OFFBIG_LDFLAGS): Likewise.
31600
31601 2013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
31602
31603 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
31604
31605 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
31606 doubles __mpexp_twomm1. Adjust usage.
31607 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
31608 Remove.
31609
31610 2013-01-10 Andreas Schwab <schwab@suse.de>
31611
31612 [BZ #14964]
31613 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
31614 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
31615
31616 2013-01-09 David S. Miller <davem@davemloft.net>
31617
31618 [BZ #15003]
31619 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
31620 (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
31621 (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
31622 (TCP_FASTOPEN): Define.
31623 (tcp_repair_opt): New structure.
31624 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
31625 enum values.
31626 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
31627 (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
31628 (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
31629 (tcp_cookie_transactions): New structure.
31630
31631 2013-01-09 Anton Blanchard <anton@samba.org>
31632
31633 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
31634 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
31635 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
31636 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
31637
31638 2013-01-09 Joseph Myers <joseph@codesourcery.com>
31639
31640 * include/features.h (__USE_ANSI): Remove.
31641
31642 2013-01-09 Roland McGrath <roland@hack.frob.com>
31643
31644 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
31645
31646 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
31647
31648 2013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
31649
31650 * sysdeps/s390/fpu/libm-test-ulps: Update.
31651
31652 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31653
31654 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
31655 (__acr): Likewise.
31656 (__cpy): Likewise.
31657 (norm): Likewise.
31658 (denorm): Likewise.
31659 (__mp_dbl): Likewise.
31660 (__dbl_mp): Likewise.
31661 (add_magnitudes): Likewise.
31662 (sub_magnitudes): Likewise.
31663 (__add): Likewise.
31664 (__sub): Likewise.
31665 (__mul): Likewise.
31666 (__inv): Likewise.
31667 (__dvd): Likewise.
31668 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
31669 (__acr): Likewise.
31670 (__cpy): Likewise.
31671 (norm): Likewise.
31672 (denorm): Likewise.
31673 (__mp_dbl): Likewise.
31674 (__dbl_mp): Likewise.
31675 (add_magnitudes): Likewise.
31676 (sub_magnitudes): Likewise.
31677 (__add): Likewise.
31678 (__sub): Likewise.
31679 (__mul): Likewise.
31680 (__inv): Likewise.
31681 (__dvd): Likewise.
31682 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
31683 (__acr): Likewise.
31684 (__cpy): Likewise.
31685 (norm): Likewise.
31686 (denorm): Likewise.
31687 (__mp_dbl): Likewise.
31688 (__dbl_mp): Likewise.
31689 (add_magnitudes): Likewise.
31690 (sub_magnitudes): Likewise.
31691 (__add): Likewise.
31692 (__sub): Likewise.
31693 (__mul): Likewise.
31694 (__inv): Likewise.
31695 (__dvd): Likewise.
31696
31697 2013-01-08 Joseph Myers <joseph@codesourcery.com>
31698
31699 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
31700 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
31701 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
31702 2 && __USE_EXTERN_INLINES]: Likewise.
31703
31704 2013-01-08 Andreas Jaeger <aj@suse.de>
31705
31706 [BZ# 14985]
31707 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
31708 Remove.
31709 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
31710 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
31711
31712 2013-01-07 Anton Blanchard <anton@samba.org>
31713
31714 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
31715 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
31716 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
31717 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
31718 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
31719 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
31720 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
31721 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
31722 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
31723 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
31724 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
31725 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
31726 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
31727 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
31728 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
31729 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
31730 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
31731 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
31732 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
31733 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
31734 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
31735 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
31736 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
31737 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
31738 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
31739 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
31740 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
31741 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
31742 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
31743 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
31744 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
31745 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
31746 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
31747 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
31748 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
31749 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
31750 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
31751 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
31752 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
31753 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
31754 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
31755 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
31756 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
31757
31758 2013-01-07 Joseph Myers <joseph@codesourcery.com>
31759
31760 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
31761 (__MALLOC_PMT): Likewise.
31762 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
31763 [__GNUC__], only on [_LIBC].
31764 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
31765 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
31766 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
31767 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
31768 forward declaration.
31769 (realloc_hook_ini): Likewise.
31770 (memalign_hook_ini): Likewise.
31771 (__libc_memalign): Do not use __MALLOC_PMT in variable
31772 declaration.
31773 (__libc_valloc): Likewise.
31774 (__libc_pvalloc): Likewise.
31775 (__libc_calloc): Likewise.
31776 (__posix_memalign): Likewise.
31777
31778 [BZ #14996]
31779 * math/s_casinh.c: Include <float.h>.
31780 (__casinh): Do not do computation with squaring and square root
31781 for large arguments.
31782 * math/s_casinhf.c: Include <float.h>.
31783 (__casinhf): Do not do computation with squaring and square root
31784 for large arguments.
31785 * math/s_casinhl.c: Include <float.h>.
31786 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
31787 (__casinhl): Do not do computation with squaring and square root
31788 for large arguments.
31789 * math/libm-test.inc (casin_test): Add more tests.
31790 (casinh_test): Likewise.
31791 * sysdeps/i386/fpu/libm-test-ulps: Update.
31792 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31793
31794 2013-01-04 H.J. Lu <hongjiu.lu@intel.com>
31795
31796 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
31797 (__x86_64_raw_data_cache_size): Likewise.
31798 (__x86_64_data_cache_size_half): Likewise.
31799 (__x86_64_raw_data_cache_size_half): Likewise.
31800 (__x86_64_shared_cache_size): Likewise.
31801 (__x86_64_raw_shared_cache_size): Likewise.
31802 (__x86_64_shared_cache_size_half): Likewise.
31803 (__x86_64_raw_shared_cache_size_half): Likewise.
31804 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
31805 to ...
31806 (__x86_data_cache_size): This.
31807 (__x86_64_raw_data_cache_size): Renamed to ...
31808 (__x86_raw_data_cache_size): This.
31809 (__x86_64_data_cache_size_half): Renamed to ...
31810 (__x86_data_cache_size_half): This.
31811 (__x86_64_raw_data_cache_size_half): Renamed to ...
31812 (__x86_raw_data_cache_size_half): This.
31813 (__x86_64_shared_cache_size): Renamed to ...
31814 (__x86_shared_cache_size): This.
31815 (__x86_64_raw_shared_cache_size): Renamed to ...
31816 (__x86_raw_shared_cache_size): This.
31817 (__x86_64_shared_cache_size_half): Renamed to ...
31818 (__x86_shared_cache_size_half): This.
31819 (__x86_64_raw_shared_cache_size_half): Renamed to ...
31820 (__x86_raw_shared_cache_size_half): This.
31821 * sysdeps/x86_64/memcpy.S: Updated.
31822 * sysdeps/x86_64/memset.S: Likewise.
31823 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
31824 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
31825 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
31826
31827 2013-01-04 David S. Miller <davem@davemloft.net>
31828
31829 * sysdeps/sparc/fpu/libm-test-ulps: Update.
31830
31831 2013-01-04 Andreas Schwab <schwab@linux-m68k.org>
31832
31833 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
31834 1 to avoid redefinition warning.
31835 (__USE_GNU): Don't define.
31836 (init_signaling_nan): Protoize.
31837
31838 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31839
31840 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
31841
31842 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
31843 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
31844 (__cpymn): Likewise.
31845 (norm): Remove commented code.
31846 (denorm): Likewise.
31847 (__mp_dbl): Likewise.
31848 (__inv): Likewise.
31849 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
31850 (__cpymn): Likewise.
31851 (norm): Remove commented code.
31852 (denorm): Likewise.
31853 (__mp_dbl): Likewise.
31854 (__inv): Likewise.
31855
31856 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
31857 mp_no value for 1.0 and 2.0.
31858 (norm): Use RADIXI instead of radixi.d.
31859 (denorm): Likewise.
31860 (__mul): Use 0.0 instead of zero.d.
31861 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
31862 mp_no value for 1.0 and 2.0.
31863 (norm): Use RADIXI instead of radixi.d.
31864 (denorm): Likewise.
31865 (__mul): Use 0.0 instead of zero.d.
31866
31867 2013-01-04 Joseph Myers <joseph@codesourcery.com>
31868
31869 [BZ #14994]
31870 * math/s_casinh.c (__casinh): Reduce finite argument to first
31871 quadrant then set signs of results at the end.
31872 * math/s_casinhf.c (__casinhf): Likewise.
31873 * math/s_casinhl.c (__casinhl): Likewise.
31874 * math/libm-test.inc (casin_test): Add more tests.
31875 (casinh_test): Likewise.
31876 * sysdeps/i386/fpu/libm-test-ulps: Update.
31877 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31878
31879 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
31880
31881 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
31882
31883 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
31884
31885 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
31886 declarations.
31887 (denorm): Likewise.
31888 (__mp_dbl): Likewise.
31889 (__inv): Likewise.
31890
31891 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
31892 and adjust the header comment.
31893
31894 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
31895 variable name from declaration.
31896
31897 2013-01-03 H.J. Lu <hongjiu.lu@intel.com>
31898
31899 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
31900 Initialize COMMON_CPUID_INDEX_7 element.
31901 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
31902 (CPUID_RTM): Likewise.
31903 (HAS_RTM): Likewise.
31904 (COMMON_CPUID_INDEX_7): New enum.
31905
31906 2013-01-03 Andreas Schwab <schwab@linux-m68k.org>
31907
31908 [BZ #14981]
31909 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
31910 size is zero, record memory as freed.
31911
31912 2013-01-03 Andreas Jaeger <aj@suse.de>
31913
31914 * po/ia.po: Add new Interlingua translation.
31915
31916 2012-01-03 Allan McRae <allan@archlinux.org>
31917
31918 * locale/programs/localedef.c: Fix description of '--posix' flag.
31919
31920 2013-01-02 Joseph Myers <joseph@codesourcery.com>
31921
31922 * NEWS: Update dates in second copyright notice.
31923 * README: Update copyright dates in example.
31924 * manual/libc.texinfo: Update copyright dates.
31925 * scripts/test-installation.pl: Update copyright date in --version
31926 output.
31927
31928 * hurd/ctty-input.c: Fix copyright notice formatting.
31929 * hurd/ctty-output.c: Likewise.
31930 * hurd/dtable.c: Likewise.
31931 * hurd/hurd-raise.c: Likewise.
31932 * hurd/hurdprio.c: Likewise.
31933 * hurd/msgportdemux.c: Likewise.
31934 * misc/sys/file.h: Likewise.
31935 * misc/sys/ioctl.h: Likewise.
31936 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
31937 * sysdeps/mach/hurd/chdir.c: Likewise.
31938 * sysdeps/mach/hurd/fchdir.c: Likewise.
31939 * sysdeps/mach/hurd/rename.c: Likewise.
31940 * sysdeps/mach/hurd/rmdir.c: Likewise.
31941 * sysdeps/mach/hurd/seekdir.c: Likewise.
31942 * sysdeps/mach/hurd/setsid.c: Likewise.
31943 * sysdeps/posix/wait3.c: Likewise.
31944
31945 * All files with FSF copyright notices: Update copyright dates
31946 using scripts/update-copyrights.
31947 * intl/plural.c: Regenerated.
31948 * locale/programs/charmap-kw.h: Likewise.
31949 * locale/programs/locfile-kw.h: Likewise.
31950
31951 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
31952
31953 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
31954 four values.
31955
31956 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
31957 calculation loop and add branch prediction.
31958
31959 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
31960 check access beyond bounds of m1np.
31961
31962 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
31963 MPTWO.
31964 (__inv): Remove local variable MPTWO to use the global
31965 constant.
31966 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
31967 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
31968 variable MPTWO.
31969 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
31970 MP3HALFS static const.
31971
31972 2013-01-01 David S. Miller <davem@davemloft.net>
31973
31974 * po/ca.po: Update from translation team.
31975
31976 2013-01-01 Joseph Myers <joseph@codesourcery.com>
31977
31978 * scripts/update-copyrights: New file.
31979 * Makeconfig: Reformat copyright notice.
31980 * ctype/ctype.h: Likewise.
31981 * debug/swprintf_chk.c: Likewise.
31982 * elf/dl-cache.c: Likewise.
31983 * elf/dl-debug.c: Likewise.
31984 * elf/dl-object.c: Likewise.
31985 * grp/initgroups.c: Likewise.
31986 * hurd/Makefile: Likewise.
31987 * hurd/hurd/signal.h: Likewise.
31988 * hurd/hurdfault.c: Likewise.
31989 * hurd/hurdioctl.c: Likewise.
31990 * hurd/hurdlookup.c: Likewise.
31991 * hurd/intr-msg.c: Likewise.
31992 * iconv/gconv_open.c: Likewise.
31993 * libio/swprintf.c: Likewise.
31994 * locale/lc-ctype.c: Likewise.
31995 * locale/nl_langinfo.c: Likewise.
31996 * mach/Machrules: Likewise.
31997 * mach/Makefile: Likewise.
31998 * malloc/obstack.h: Likewise.
31999 * manual/Makefile: Likewise.
32000 * manual/tsort.awk: Likewise.
32001 * misc/bits/stab.def: Likewise.
32002 * nis/nis_print_group_entry.c: Likewise.
32003 * nis/nis_table.c: Likewise.
32004 * nis/nss_compat/compat-pwd.c: Likewise.
32005 * nis/nss_compat/compat-spwd.c: Likewise.
32006 * po/Makefile: Likewise.
32007 * posix/fnmatch.c: Likewise.
32008 * posix/regex.h: Likewise.
32009 * resolv/Makefile: Likewise.
32010 * resolv/nss_dns/dns-network.c: Likewise.
32011 * resolv/res_hconf.c: Likewise.
32012 * scripts/gen-sorted.awk: Likewise.
32013 * soft-fp/soft-fp.h: Likewise.
32014 * stdio-common/printf.h: Likewise.
32015 * stdlib/monetary.h: Likewise.
32016 * stdlib/random.c: Likewise.
32017 * stdlib/random_r.c: Likewise.
32018 * sysdeps/generic/Makefile: Likewise.
32019 * sysdeps/gnu/Makefile: Likewise.
32020 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
32021 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
32022 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
32023 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
32024 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
32025 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
32026 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
32027 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
32028 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
32029 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
32030 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
32031 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
32032 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
32033 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
32034 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
32035 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
32036 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
32037 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
32038 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
32039 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
32040 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
32041 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
32042 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
32043 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
32044 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
32045 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
32046 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
32047 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
32048 * sysdeps/mach/hurd/errnos.awk: Likewise.
32049 * sysdeps/mach/hurd/fork.c: Likewise.
32050 * sysdeps/mach/hurd/getcwd.c: Likewise.
32051 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
32052 * sysdeps/mach/hurd/mmap.c: Likewise.
32053 * sysdeps/mach/hurd/utimes.c: Likewise.
32054 * sysdeps/mach/hurd/xmknod.c: Likewise.
32055 * sysdeps/posix/profil.c: Likewise.
32056 * sysdeps/posix/readdir_r.c: Likewise.
32057 * sysdeps/powerpc/bits/mathdef.h: Likewise.
32058 * sysdeps/powerpc/bits/setjmp.h: Likewise.
32059 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
32060 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
32061 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
32062 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
32063 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
32064 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
32065 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
32066 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
32067 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
32068 * sysdeps/pthread/lio_listio.c: Likewise.
32069 * sysdeps/sparc/dl-procinfo.h: Likewise.
32070 * sysdeps/unix/i386/sysdep.S: Likewise.
32071 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
32072 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
32073 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
32074 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
32075 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
32076 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
32077 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
32078 * sysdeps/unix/sysv/linux/speed.c: Likewise.
32079 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
32080 * sysdeps/wordsize-32/divdi3.c: Likewise.
32081 * time/sys/time.h: Likewise.
32082 * wcsmbs/Makefile: Likewise.
32083
32084 2013-01-01 David S. Miller <davem@davemloft.net>
32085
32086 * po/fr.po: Update from translation team.
32087
32088 * catgets/gencat.c: Update copyright year.
32089 * csu/version.c: Likewise.
32090 * debug/catchsegv.sh: Likewise.
32091 * debug/pcprofiledump.c: Likewise.
32092 * debug/xtrace.sh: Likewise.
32093 * elf/ldconfig.c: Likewise.
32094 * elf/ldd.bash.in: Likewise.
32095 * elf/pldd.c: Likewise.
32096 * elf/sotruss.ksh: Likewise.
32097 * elf/sprof.c: Likewise.
32098 * iconv/iconv_prog.c: Likewise.
32099 * iconv/iconvconfig.c: Likewise.
32100 * locale/programs/locale.c: Likewise.
32101 * locale/programs/localedef.c: Likewise.
32102 * login/programs/pt_chown.c: Likewise.
32103 * malloc/memusage.sh: Likewise.
32104 * malloc/memusagestat.c: Likewise.
32105 * malloc/mtrace.pl: Likewise.
32106 * nscd/nscd.c: Likewise.
32107 * nss/getent.c: Likewise.
32108 * nss/makedb.c: Likewise.
32109 * posix/getconf.c: Likewise.
32110
32111 2012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
32112
32113 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
32114 numbers.
32115
32116 2012-12-30 Mike Frysinger <vapier@gentoo.org>
32117
32118 * math/bits/mathcalls.h (modf): Use __nonnull.
32119
32120 2012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
32121
32122 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
32123 (split): Use macro CN instead of the bare value.
32124 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
32125 could be used.
32126 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
32127 instead of the bare value.
32128 (power1): Likewise.
32129
32130 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
32131
32132 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
32133 __ATAN_TWOM.
32134 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
32135
32136 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
32137 their values.
32138 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
32139 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
32140 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
32141 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
32142
32143 2012-12-28 Andreas Jaeger <aj@suse.de>
32144
32145 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
32146 values are from Linux 3.7.
32147
32148 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
32149 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
32150
32151 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
32152
32153 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
32154 TRUE case.
32155
32156 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
32157 (norm): Likewise.
32158 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
32159 variables with preprocessor constants.
32160 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
32161 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
32162 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
32163
32164 2012-12-27 Bruno Haible <bruno@clisp.org>
32165
32166 [BZ #14317]
32167 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
32168 only if needed.
32169
32170 2012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
32171
32172 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
32173 and use variable directly.
32174 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
32175
32176 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
32177 MPONE.
32178 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
32179 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
32180 variable MPONE.
32181 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
32182 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
32183 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
32184 include directive. Remove local variable MPONE.
32185 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
32186 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
32187 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
32188
32189 2012-12-25 David S. Miller <davem@davemloft.net>
32190
32191 * version.h (RELEASE): Set to "development".
32192 (VERSION): Set to "2.17.90".
32193 * NEWS: Add 2.18 section.
32194
32195 2012-12-21 David S. Miller <davem@davemloft.net>
32196
32197 * po/hr.po: Update from translation team.
32198
32199 2012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
32200
32201 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
32202
32203 2012-12-19 Steve Ellcey <sellcey@mips.com>
32204
32205 * NEWS: Mention new memcpy for MIPS.
32206
32207 2012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
32208
32209 * manual/contrib.texi (Contributors): Spelling correction.
32210
32211 2012-12-15 David S. Miller <davem@davemloft.net>
32212
32213 * po/ru.po: Update from translation team.
32214
32215 2012-12-13 David S. Miller <davem@davemloft.net>
32216
32217 * NEWS: Mention IFUNC testsuite enhancements.
32218
32219 * po/pl.po: Update from translation team.
32220 * po/bg.po: Likewise.
32221
32222 * manual/contrib.texi (Contributors): Update entries for Hongjiu
32223 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
32224
32225 2012-12-11 David S. Miller <davem@davemloft.net>
32226
32227 * po/sv.po: Update from translation team.
32228
32229 * po/vi.po: Update from translation team.
32230
32231 * po/cs.po: Update from translation team.
32232
32233 * po/de.po: Update from translation team.
32234 * po/eo.po: Likewise.
32235 * po/nl.po: Likewise.
32236
32237 2012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
32238
32239 [BZ #14246]
32240 * manual/argp.texi (Argp Helper Functions): Move node to follow
32241 Argp Parsing State.
32242
32243 [BZ #14872]
32244 * manual/conf.texi (Limits on File System Capacity): Mention if
32245 terminating null is included in the max size.
32246
32247 2012-12-10 Andreas Jaeger <aj@suse.de>
32248
32249 * po/cs.po: Update from translation team.
32250
32251 2012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
32252
32253 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
32254 void pointer and cast to uintptr_t.
32255 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
32256 path.
32257 * sysdeps/s390/s390-64/memcpy.S: Likewise.
32258 * sysdeps/s390/s390-64/memset.S: Likewise.
32259
32260 2012-12-08 Benno Schulenberg <bensberg@justemail.net>
32261
32262 [BZ #14833]
32263 * menual/message.texi (Message Translation): Fix typos.
32264 (Helper programs for gettext): Likewise.
32265
32266 2012-12-07 Andreas Schwab <schwab@linux-m68k.org>
32267
32268 [BZ #14898]
32269 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
32270 Change to -1.
32271
32272 2012-12-07 David S. Miller <davem@davemloft.net>
32273
32274 * po/libc.pot: Update.
32275
32276 2012-12-07 Richard Henderson <rth@redhat.com>
32277
32278 [BZ #10114]
32279 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
32280 normal/normal case to before the switch.
32281 (_FP_DIV): Likewise.
32282
32283 2012-12-06 Carlos O'Donell <carlos@systemhalted.org>
32284 Mike Frysinger <vapier@gentoo.org>
32285
32286 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
32287 check for __NR_fadvise64_64.
32288
32289 2012-12-06 Chris Metcalf <cmetcalf@tilera.com>
32290
32291 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
32292 0, not just to plain "0" as a statement.
32293 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
32294 with cw.
32295
32296 2012-12-06 Joseph Myers <joseph@codesourcery.com>
32297
32298 * NEWS: Use sourceware.org in Bugzilla URL.
32299
32300 2012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
32301
32302 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
32303 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
32304
32305 * stdio-common/tst-put-error.c (do_test): Add newline to the
32306 padded test to ensure flush.
32307
32308 2012-12-05 Jeff Law <law@redhat.com>
32309
32310 * sunrpc/etc.rpc (fedfs_admin): Add entry.
32311
32312 2012-12-05 Joseph Myers <joseph@codesourcery.com>
32313
32314 * README: Don't refer to ports add-on as distributed separately.
32315 Mention AArch64 in list of systems supported in the ports add-on.
32316
32317 * LICENSES: Add more non-FSF copyright and license notices.
32318
32319 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
32320 ((unused)).
32321
32322 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
32323
32324 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
32325 10000 as width of padded output.
32326
32327 2012-12-04 Joseph Myers <joseph@codesourcery.com>
32328
32329 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
32330
32331 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
32332 variable LX with __attribute__ ((unused)).
32333 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
32334 Likewise.
32335 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
32336 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
32337 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
32338 with __attribute__ ((unused)).
32339
32340 2012-12-04 David S. Miller <davem@abraco.davemloft.net>
32341
32342 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
32343
32344 2012-12-04 Joseph Myers <joseph@codesourcery.com>
32345
32346 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
32347 (CFLAGS-nldbl-acos.c): New variable.
32348 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
32349 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
32350 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
32351 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
32352 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
32353 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
32354 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
32355 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
32356 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
32357 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
32358 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
32359 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
32360 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
32361 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
32362 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
32363 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
32364 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
32365 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
32366 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
32367 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
32368 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
32369 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
32370 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
32371 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
32372 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
32373 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
32374 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
32375 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
32376 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
32377 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
32378 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
32379 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
32380 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
32381 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
32382 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
32383 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
32384 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
32385 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
32386 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
32387 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
32388 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
32389 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
32390 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
32391 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
32392 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
32393 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
32394 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
32395 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
32396 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
32397 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
32398 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
32399 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
32400 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
32401 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
32402 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
32403 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
32404 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
32405 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
32406 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
32407 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
32408 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
32409 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
32410 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
32411 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
32412 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
32413 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
32414 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
32415 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
32416 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
32417 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
32418 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
32419 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
32420 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
32421 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
32422 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
32423 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
32424 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
32425 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
32426 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
32427 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
32428 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
32429 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
32430 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
32431 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
32432 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
32433 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
32434 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
32435 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
32436 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
32437 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
32438 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
32439 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
32440 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
32441 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
32442 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
32443 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
32444 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
32445
32446 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
32447 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
32448
32449 [BZ #14914]
32450 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
32451 whole low double instead of just low 47 bits when splitting values
32452 into two parts.
32453
32454 2012-12-03 Allan McRae <allan@archlinux.org>
32455
32456 * manual/stdio.texi (Predefined Printf Handlers): Remove
32457 @hsep and @vsep usage.
32458
32459 2012-12-03 Mike Frysinger <vapier@gentoo.org>
32460
32461 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
32462 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
32463
32464 2012-12-03 Jeff Law <law@redhat.com>
32465
32466 * time/sys/time.h (settimeofday): Do not mark TV argument
32467 as __nonnull.
32468
32469 2012-12-01 Mike Frysinger <vapier@gentoo.org>
32470
32471 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
32472 when currently writing and seek to current position when not.
32473 * libio/Makefile (tests): Remove bug-fclose1.
32474 * libio/bug-fclose1.c: Delete.
32475
32476 2012-12-01 Joseph Myers <joseph@codesourcery.com>
32477
32478 * manual/arith.texi (feenableexcept): Fix typo.
32479 (fedisableexcept): Likewise.
32480
32481 2012-11-30 Roland McGrath <roland@hack.frob.com>
32482
32483 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
32484 second, differently-typed declaration, rather than a cast.
32485
32486 2012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
32487
32488 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
32489 * include/rpc/svc.h: ... here.
32490
32491 2012-11-30 Aurelien Jarno <aurel32@debian.org>
32492
32493 [BZ #13013]
32494 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
32495 depending n and resplen2 to catch cases where answer
32496 equals answerp2.
32497
32498 2012-11-29 Carlos O'Donell <carlos@systemhalted.org>
32499
32500 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
32501 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
32502
32503 2012-11-29 Mike Frysinger <vapier@gentoo.org>
32504
32505 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
32506
32507 2012-11-29 Roland McGrath <roland@hack.frob.com>
32508
32509 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
32510
32511 2012-11-28 Jeff Law <law@redhat.com>
32512
32513 [BZ #13761]
32514 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
32515 dataset_temporary. Track alloca usage into alloca_used.
32516 If dataset is large allocate and release it via malloc/free.
32517
32518 2012-06-04 Florian Weimer <fweimer@redhat.com>
32519
32520 [BZ #14197]
32521 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
32522
32523 2012-11-28 David S. Miller <davem@davemloft.net>
32524
32525 * sysdeps/sparc/fpu/libm-test-ulps: Update.
32526
32527 2012-11-28 Joseph Myers <joseph@codesourcery.com>
32528
32529 [BZ #14803]
32530 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
32531 of pi/2 rounded to nearest to 64 bits.
32532 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
32533 nearest to 64 bits.
32534 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
32535 bits.
32536
32537 2012-11-28 Jeff Law <law@redhat.com>
32538 Martin Osvald <mosvald@redhat.com>
32539
32540 [BZ #14889]
32541 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
32542 * sunrpc/svc.c: Include time.h.
32543 (__svc_accept_failed): New function.
32544 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
32545 any reason other than EINTR, call __svc_accept_failed.
32546 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
32547 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
32548
32549 2012-11-28 Andreas Schwab <schwab@suse.de>
32550
32551 * scripts/abilist.awk: Also handle indirect functions in .opd
32552 section.
32553
32554 2012-11-28 Joseph Myers <joseph@codesourcery.com>
32555
32556 [BZ #13881]
32557 * sysdeps/x86/fpu/powl_helper.c: New file.
32558 * sysdeps/x86/fpu/Makefile: Likewise.
32559 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
32560 (p3): New object.
32561 (__ieee754_powl): Use __powl_helper for finite arguments except
32562 integer exponents below 8.
32563 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
32564 (p3): New object.
32565 (__ieee754_powl): Use __powl_helper for finite arguments except
32566 integer exponents below 8.
32567 * math/libm-test.inc (pow_test): Add more tests and enable some
32568 previously disabled tests.
32569 * sysdeps/i386/fpu/libm-test-ulps: Update.
32570 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32571
32572 2012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
32573 Carlos O'Donell <carlos_odonell@mentor.com>
32574
32575 * nss/makedb.c (is_prime): Assert that input is odd and greater
32576 than 4. Note that fact in a comment too.
32577 (next_prime): Add 4 to input.
32578
32579 2012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
32580
32581 [BZ #11741]
32582 * libio/Makefile (tests): Add test case tst-fwrite-error.
32583 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
32584 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
32585 * libio/tst-fwrite-error.c: New test case.
32586
32587 2012-11-26 H.J. Lu <hongjiu.lu@intel.com>
32588
32589 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
32590 before casting to void *.
32591 * include/libc-internal.h (__pointer_type): New macro.
32592 (__integer_if_pointer_type_sub): Likewise.
32593 (__integer_if_pointer_type): Likewise.
32594 (cast_to_integer): Likewise.
32595 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
32596 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
32597 before casting to atomic64_t.
32598 (atomic_exchange_acq): Likewise.
32599 (__arch_exchange_and_add_body): Likewise.
32600 (__arch_add_body): Likewise.
32601 (atomic_add_negative): Likewise.
32602 (atomic_add_zero): Likewise.
32603
32604 2012-11-26 Joseph Myers <joseph@codesourcery.com>
32605
32606 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
32607 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
32608 (add_fdes): Likewise.
32609 (linear_search_fdes): Likewise.
32610 (binary_search_unencoded_fdes): Likewise.
32611
32612 2012-11-26 Andreas Schwab <schwab@linux-m68k.org>
32613
32614 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
32615
32616 2012-11-24 Adam Conrad <adconrad@0c3.net>
32617
32618 * configure.in: Autodetect C++ header directories.
32619 * configure: Regenerated.
32620
32621 2012-11-23 Mike Frysinger <vapier@gentoo.org>
32622
32623 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
32624
32625 2012-11-23 Andreas Schwab <schwab@linux-m68k.org>
32626
32627 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32628
32629 2012-11-22 Joseph Myers <joseph@codesourcery.com>
32630
32631 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
32632 LDBL_MANT_DIG == 106]: Disable some tests.
32633 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
32634 Likewise.
32635 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
32636 Likewise.
32637
32638 [BZ #14871]
32639 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
32640 input for small inputs. Return +/- pi/2 for large inputs.
32641 * math/libm-test.inc (atan_test): Add more tests.
32642
32643 * sysdeps/generic/unwind-dw2-fde-glibc.c
32644 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
32645 __attribute__ ((unused)).
32646
32647 [BZ #14645]
32648 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
32649 x * y if x and y are nonzero and z is zero.
32650
32651 [BZ #14811]
32652 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
32653 nonzero exponents with absolute value below 0x1p-117 to +/-
32654 0x1p-117.
32655
32656 [BZ #14869]
32657 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
32658 up arguments below 2**-450, not just those below 2**-500.
32659 * math/libm-test.inc (hypot_test): Add another test.
32660
32661 [BZ #14868]
32662 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
32663 Return a+b for ratio over 2**120, not 2**60.
32664 * math/libm-test.inc (hypot_test): Add another test.
32665
32666 * math/libm-test.inc (clog_test): Use
32667 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
32668 (clog10_test): Likewise.
32669
32670 [BZ #6778]
32671 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
32672
32673 2012-11-22 Andreas Schwab <schwab@suse.de>
32674
32675 * sysdeps/i386/fpu/libm-test-ulps: Update.
32676
32677 2012-11-22 Pino Toscano <toscano.pino@tiscali.it>
32678
32679 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
32680 printf output with newline.
32681
32682 2012-11-21 H.J. Lu <hongjiu.lu@intel.com>
32683
32684 [BZ #14865]
32685 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
32686 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
32687 -z nodlopen, -z initfirst and -z execstack support.
32688 * configure: Regenerated.
32689
32690 * elf/elf.h (DF_1_NODIRECT): New macro.
32691 (DF_1_IGNMULDEF): Likewise.
32692 (DF_1_NOKSYMS): Likewise.
32693 (DF_1_NOHDR): Likewise.
32694 (DF_1_EDITED): Likewise.
32695 (DF_1_NORELOC): Likewise.
32696 (DF_1_SYMINTPOSE): Likewise.
32697 (DF_1_GLOBAUDIT): Likewise.
32698 (DF_1_SINGLETON): Likewise.
32699 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
32700 DT_1_SUPPORTED_MASK bits.
32701 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
32702
32703 2012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
32704
32705 * sysdeps/unix/make-syscalls.sh: Document prefixes.
32706
32707 2012-11-20 Thomas Schwinge <thomas@codesourcery.com>
32708
32709 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
32710 macro.
32711
32712 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
32713 (sendmmsg): Move declarations...
32714 * socket/sys/socket.h: ... here.
32715 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
32716 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
32717 include it from...
32718 * socket/recvmmsg.c: ... this new file.
32719 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
32720 (sendmmsg): Rename to __sendmmsg, create weak alias and make
32721 definition of __sendmmsg hidden.
32722 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
32723 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
32724 Move ENOSYS stub into and include it from...
32725 * socket/sendmmsg.c: ... this new file.
32726 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
32727 (sysdep_routines): Move recvmmsg and sendmmsg...
32728 * socket/Makefile (routines): ... here.
32729 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
32730 (GLIBC_PRIVATE): Add __sendmmsg.
32731 * include/sys/socket.h (__sendmmsg): Add declarations.
32732 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
32733 sendmmsg.
32734
32735 2012-11-20 Joseph Myers <joseph@codesourcery.com>
32736
32737 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
32738 variable I1 with __attribute__ ((unused)).
32739 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
32740
32741 2012-11-19 Joseph Myers <joseph@codesourcery.com>
32742
32743 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
32744 DUMMY variables with __attribute__ ((unused)).
32745
32746 * bits/byteswap.h: Include <bits/types.h>.
32747 (__bswap_64): Use __uint64_t instead of unsigned long long int.
32748
32749 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
32750
32751 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
32752 string_t. Do not manually set errno.
32753 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
32754 length with __strnlen. Make sure to both set errno and return it on
32755 failure.
32756
32757 2012-11-19 David S. Miller <davem@davemloft.net>
32758
32759 With help from Joseph Myers.
32760 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
32761 very large arguments properly.
32762 * math/libm-test.inc (atan_test): New tests.
32763 (atan2_test): New tests.
32764 * sysdeps/sparc/fpu/libm-test-ulps: Update.
32765 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
32766
32767 2012-11-19 Joseph Myers <joseph@codesourcery.com>
32768
32769 [BZ #14856]
32770 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
32771 Define to 3.
32772
32773 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
32774 [POSIX] (EADDRNOTAVAIL): Likewise.
32775 [POSIX] (EAFNOSUPPORT): Likewise.
32776 [POSIX] (EALREADY): Likewise.
32777 [POSIX] (ECONNABORTED): Likewise.
32778 [POSIX] (ECONNREFUSED): Likewise.
32779 [POSIX] (ECONNRESET): Likewise.
32780 [POSIX] (EDESTADDRREQ): Likewise.
32781 [POSIX] (EDQUOT): Likewise.
32782 [POSIX] (EHOSTUNREACH): Likewise.
32783 [POSIX] (EIDRM): Likewise.
32784 [POSIX] (EISCONN): Likewise.
32785 [POSIX] (ELOOP): Likewise.
32786 [POSIX] (EMULTIHOP): Likewise.
32787 [POSIX] (ENETDOWN): Likewise.
32788 [POSIX] (ENETUNREACH): Likewise.
32789 [POSIX] (ENOBUFS): Likewise.
32790 [POSIX] (ENODATA): Likewise.
32791 [POSIX] (ENOLINK): Likewise.
32792 [POSIX] (ENOMSG): Likewise.
32793 [POSIX] (ENOPROTOOPT): Likewise.
32794 [POSIX] (ENOSR): Likewise.
32795 [POSIX] (ENOSTR): Likewise.
32796 [POSIX] (ENOTCONN): Likewise.
32797 [POSIX] (ENOTSOCK): Likewise.
32798 [POSIX] (EOPNOTSUPP): Likewise.
32799 [POSIX] (EOVERFLOW): Likewise.
32800 [POSIX] (EPROTO): Likewise.
32801 [POSIX] (EPROTONOSUPPORT): Likewise.
32802 [POSIX] (EPROTOTYPE): Likewise.
32803 [POSIX] (ESTALE): Likewise.
32804 [POSIX] (ETIME): Likewise.
32805 [POSIX] (ETXTBSY): Likewise.
32806 [POSIX] (EWOULDBLOCK): Likewise.
32807 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
32808 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
32809 [POSIX] (SEEK_CUR): Likewise.
32810 [POSIX] (SEEK_END): Likewise.
32811 [POSIX || UNIX98] (mode_t): Do not require.
32812 [POSIX] (off_t): Likewise.
32813 [POSIX] (pid_t): Likewise.
32814 [POSIX] (sys/stat.h): Do not allow header.
32815 [POSIX] (unistd.h): Likewise.
32816 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
32817 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
32818 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
32819 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
32820 require.
32821 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
32822 sigevent): Specify elements.
32823 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
32824 entry.
32825 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
32826 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
32827
32828 * conform/data/cpio.h-data [POSIX]: Disable whole file.
32829 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
32830 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
32831 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
32832 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
32833 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
32834 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
32835 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
32836 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
32837 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
32838 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
32839 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
32840 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
32841 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
32842 Likewise.
32843 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
32844 Likewise.
32845 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
32846 Likewise.
32847 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
32848 Likewise.
32849 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
32850 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
32851 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
32852 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
32853 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
32854 Specify lower bound on value.
32855 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
32856 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
32857 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
32858 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
32859 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
32860 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
32861 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
32862 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
32863 value.
32864 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
32865 as optional.
32866 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
32867 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
32868 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
32869 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
32870 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
32871 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
32872 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
32873 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
32874 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
32875 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
32876 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
32877 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
32878 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
32879 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
32880 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
32881 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
32882 entry.
32883 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
32884 optional.
32885 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
32886 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
32887 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
32888 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
32889 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
32890 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
32891 Likewise.
32892 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
32893 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
32894 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
32895 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
32896 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
32897 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
32898 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
32899 as optional.
32900 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
32901 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
32902 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
32903 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
32904 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
32905 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
32906 specify as optional.
32907 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
32908 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
32909 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
32910 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
32911 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
32912 [XPG3] (NL_LANGMAX): Likewise.
32913 [POSIX || XPG3] (NL_MSGMAX): Likewise.
32914 [POSIX || XPG3] (NL_NMAX): Likewise.
32915 [POSIX || XPG3] (NL_SETMAX): Likewise.
32916 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
32917 [XPG3] (NZERO): Likewise.
32918 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
32919 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
32920 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
32921 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
32922 (REG_ERANGE): Expect.
32923 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
32924 optional-constant.
32925 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
32926 Use (void) in prototype.
32927 [POSIX] (*_t): Allow.
32928 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
32929 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
32930 (WRDE_BADVAL): Expect.
32931
32932 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
32933 expect.
32934 [XPG3 || XPG4] (O_RSYNC): Likewise.
32935 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
32936 Likewise.
32937 [XPG3 || XPG4] (pthread_sigmask): Likewise.
32938 [XPG3 || XPG4] (sigqueue): Likewise.
32939 [XPG3 || XPG4] (sigtimedwait): Likewise.
32940 [XPG3 || XPG4] (sigwaitinfo): Likewise.
32941 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
32942 [XPG3 || XPG4] (vsnprintf): Likewise.
32943 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
32944 Likewise.
32945 [XPG3 || XPG4] (blksize_t): Likewise.
32946 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
32947 Likewise.
32948 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
32949 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
32950 [XPG3 || XPG4] (struct itimerspec): Likewise.
32951 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
32952 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
32953 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
32954 [XPG3 || XPG4] (clockid_t): Likewise.
32955 [XPG3 || XPG4] (timer_t): Likewise.
32956 [XPG3 || XPG4] (clock_getres): Likewise.
32957 [XPG3 || XPG4] (clock_gettime): Likewise.
32958 [XPG3 || XPG4] (clock_settime): Likewise.
32959 [XPG3 || XPG4] (nanosleep): Likewise.
32960 [XPG3 || XPG4] (timer_create): Likewise.
32961 [XPG3 || XPG4] (timer_delete): Likewise.
32962 [XPG3 || XPG4] (timer_gettime): Likewise.
32963 [XPG3 || XPG4] (timer_getoverrun): Likewise.
32964 [XPG3 || XPG4] (timer_settime): Likewise.
32965 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
32966 [XPG3 || XPG4] (getlogin_r): Likewise.
32967 [XPG3 || XPG4] (pread): Likewise.
32968 [XPG3 || XPG4] (pthread_atfork): Likewise.
32969 [XPG3 || XPG4] (pwrite): Likewise.
32970
32971 [BZ #14835]
32972 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
32973 <bits/siginfo.h>.
32974
32975 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
32976
32977 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
32978 finalizing MALLSTREAM.
32979
32980 * sysdeps/mach/hurd/syncfs.c: New file.
32981
32982 2012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
32983
32984 [BZ #14719]
32985 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
32986 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
32987 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
32988 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
32989 (_nss_dns_gethostbyname4_r): Likewise.
32990 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
32991 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
32992
32993 2012-11-19 Peng Haitao <penght@cn.fujitsu.com>
32994
32995 [BZ #13763]
32996 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
32997
32998 2012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
32999
33000 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
33001 * elf/cache.c (print_entry): Print ",AArch64" for
33002 FLAG_AARCH64_LIB64
33003
33004 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
33005 * elf/cache.c (print_entry): Print ",hard-float" for
33006 FLAG_ARM_LIBHF.
33007
33008 2012-11-18 David S. Miller <davem@davemloft.net>
33009
33010 With help from Joseph Myers.
33011 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
33012 cutoff to 2**-13.
33013 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
33014 cutoff to 2**-25.
33015 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
33016 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
33017 small.
33018 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
33019 * math/libm-test.inc (y0_test): New tests.
33020 (y1_test): New tests.
33021 * sysdeps/i386/fpu/libm-test-ulps: Update.
33022 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
33023 * sysdeps/sparc/fpu/libm-test-ulps: Update.
33024
33025 2012-11-18 Andreas Schwab <schwab@linux-m68k.org>
33026
33027 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
33028 64-bit targets.
33029 * configure: Regenerated.
33030
33031 2012-11-17 David S. Miller <davem@davemloft.net>
33032
33033 [BZ #14811]
33034 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
33035 nonzero exponents with absolute value below 0x1p-128 to +/-
33036 0x1p-128.
33037
33038 2012-11-17 Joseph Myers <joseph@codesourcery.com>
33039
33040 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
33041
33042 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
33043
33044 * posix/getconf-speclist.c: New file.
33045 * posix/posix-envs.def: Likewise.
33046 * posix/confstr.c (START_ENV_GROUP): New macro.
33047 (END_ENV_GROUP): Likewise.
33048 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
33049 (KNOWN_PRESENT_ENV_STRING): Likewise.
33050 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
33051 (UNKNOWN_ENVIRONMENT): Likewise.
33052 (confstr): Include posix-envs.def instead of handling
33053 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
33054 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
33055 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
33056 (END_ENV_GROUP): Likewise.
33057 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
33058 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
33059 (UNKNOWN_ENVIRONMENT): Likewise.
33060 (__sysconf): Include posix-envs.def instead of handling associated
33061 cases directly here.
33062 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
33063 preprocessing getconf-speclist.c rather than running getconf or
33064 generating empty file.
33065
33066 2012-11-16 Pino Toscano <toscano.pino@tiscali.it>
33067
33068 * scripts/check-local-headers.sh: Ignore 'mach' headers.
33069
33070 2012-11-16 Andrej Lajovic <natrij@gmail.com>
33071
33072 [BZ #14672]
33073 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
33074
33075 2012-11-16 David S. Miller <davem@davemloft.net>
33076
33077 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
33078 smaller than LDBL_EPSILON/2.0L, just return xm1.
33079
33080 2012-11-16 H.J. Lu <hongjiu.lu@intel.com>
33081
33082 * elf/tst-array1.c (init): Set constructor priority to 1000.
33083 (fini): Set destructor priority to 1000.
33084 * elf/tst-array2dep.c: Likewise.
33085
33086 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
33087
33088 [BZ #11741]
33089 * libio/fileops.c (_IO_new_file_write): Correctly return error.
33090 (_IO_new_file_xsputn): Also return EOF if none of the input
33091 data was written when overflow failed.
33092 * libio/iopadn.c (_IO_padn): Likewise.
33093 * libio/iowpadn.c (_IO_wpadn): Likewise.
33094 * stdio-common/tst-put-error.c: Add copyright notice.
33095 (do_test): Add case for printing padded string.
33096 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
33097 _IO_padn returned error.
33098 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
33099 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
33100 return EOF.
33101
33102 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
33103
33104 * libio/libioP.h: Add comment note that the references to C++
33105 bits are now obsolete.
33106
33107 2012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
33108
33109 * math/libm-test.inc (check_complex): Use asprintf.
33110
33111 2012-11-14 Joseph Myers <joseph@codesourcery.com>
33112
33113 * debug/pcprofiledump.c (print_version): Update copyright year.
33114 * malloc/memusagestat.c (print_version): Likewise.
33115
33116 2012-11-14 H.J. Lu <hongjiu.lu@intel.com>
33117
33118 [BZ #14831]
33119 * elf/Makefile (tests): Add tst-audit8.
33120 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
33121 ($(objpfx)tst-audit8.out): New target.
33122 (tst-audit8-ENV): New variable.
33123 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
33124 audit if l_reloc_result is NULL.
33125 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
33126 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
33127 * elf/tst-audit8.c: New file.
33128
33129 2012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
33130
33131 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
33132 * misc/Makefile (CFLAGS-select.c): Define.
33133 * posix/Makefile (CFLAGS-pause.c): Define.
33134
33135 2012-11-13 David S. Miller <davem@davemloft.net>
33136
33137 * crypt/Makefile: Move test targets after toplevel Rules
33138 inclusion. Grab any necessary sysdep routines when linking.
33139 * crypt/md5.c (md5_process_block): Remove define, we will always
33140 name it __md5_process_block.
33141 (md5_finish_ctx): Update md5_process_block call.
33142 (md5_stream): Likewise.
33143 (md5_process_bytes): Likewise.
33144 (md5_process_block): Rename to __md5_process_block and move to ...
33145 * crypt/md5-block.c: ... here.
33146 * crypt/sha256.c (sha256_process_block): Move to ...
33147 * crypt/sha256-block.c: ... here.
33148 * crypt/sha512.c (sha512_process_block): Move to ...
33149 * crypt/sha512-block.c: ... here.
33150 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
33151 path.
33152 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
33153 * sysdeps/sparc/sparc64/multiarch/Makefile
33154 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
33155 crypt subdir.
33156 (localedef-aux): Add md5 crypto assembler when in locale subdir.
33157 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
33158 multiarch changes.
33159 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
33160 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
33161 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
33162 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
33163 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
33164 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
33165 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
33166 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
33167 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
33168 file.
33169 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
33170 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
33171 file.
33172 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
33173
33174 2012-11-13 Joseph Myers <joseph@codesourcery.com>
33175
33176 * timezone/tzselect.ksh: Update from tzcode git revision
33177 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
33178 * timezone/zdump.c: Likewise.
33179 * timezone/zic.c: Likewise.
33180 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
33181 in TZVERSION setting, not $(PKGVERSION).
33182 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
33183 REPORT_BUGS_TO settings.
33184
33185 [BZ #14838]
33186 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
33187 macro.
33188
33189 2012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
33190
33191 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
33192 detection to immediately after _FP_ROUND().
33193 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
33194 bits are 0.
33195
33196 2012-11-11 David S. Miller <davem@davemloft.net>
33197
33198 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
33199 inttypes.h
33200 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
33201 __close rather than their public counterparts.
33202
33203 2012-11-10 Joseph Myers <joseph@codesourcery.com>
33204
33205 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
33206 file.
33207 [UNIX98] (sem_timedwait): Do not expect.
33208 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
33209 [XPG4 || UNIX98] (sockatmark): Do not expect.
33210 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
33211 (clock_getcpuclockid): Do not expect.
33212 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
33213 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
33214 Do not expect.
33215 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
33216 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
33217 [UNIX98] (vwscanf): Likewise.
33218 [UNIX98] (vswscanf): Likewise.
33219
33220 2012-11-09 Joseph Myers <joseph@codesourcery.com>
33221
33222 * timezone/version.h: Remove file.
33223 * timezone/README: Do not refer to version.h.
33224 * timezone/Makefile ($(objpfx)zic.o): New dependency on
33225 $(objpfx)version.h.
33226 ($(objpfx)zdump.o): Likewise.
33227 ($(objpfx)version.h): New target.
33228
33229 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
33230 2012i.
33231 * timezone/README: Don't mention modification to tzselect.ksh.
33232 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
33233 work on unmodified tzselect.ksh. Substitute version numbers in
33234 tzselect.ksh.
33235
33236 * Makefile (format-me): Remove.
33237 (INSTALL): Adjust indentation. Use commands directly instead of
33238 using $(format-me).
33239
33240 * aclocal.m4 (ACX_PKGVERSION): New macro.
33241 (ACX_BUGURL): Likewise.
33242 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
33243 (PKGVERSION): New AC_DEFINE_UNQUOTED.
33244 (REPORT_BUGS_TO): Likewise.
33245 * configure: Regenerated.
33246 * config.h.in (PKGVERSION): New macro.
33247 (REPORT_BUGS_TO): Likewise.
33248 * config.make.in (PKGVERSION): New variable.
33249 (PKGVERSION_TEXI): Likewise.
33250 (REPORT_BUGS_TO): Likewise.
33251 (REPORT_BUGS_TEXI): Likewise.
33252 * Makefile (format-me): Use -I$(common-objpfx)manual.
33253 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
33254 ($(common-objpfx)manual/%): New target.
33255 (manual/%): Remove target.
33256 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
33257 (print_version): Use PKGVERSION.
33258 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
33259 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
33260 and REPORT_BUGS_TO.
33261 ($(objpfx)xtrace): Likewise.
33262 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
33263 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
33264 (print_version): Use PKGVERSION.
33265 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
33266 (do_version): Use PKGVERSION.
33267 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
33268 REPORT_BUGS_TO.
33269 (common-ldd-rewrite): Likewise.
33270 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
33271 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
33272 (print_version): Use PKGVERSION.
33273 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
33274 * elf/pldd.c (argp_program_bug_address): Remove variable.
33275 (more_help): New function.
33276 (argp): Use more_help.
33277 (print_version): Use PKGVERSION.
33278 * elf/sln.c (main): Use PKGVERSION.
33279 (usage): Use REPORT_BUGS_TO.
33280 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
33281 (top level): Use PKGVERSION.
33282 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
33283 (print_version): Use PKGVERSION.
33284 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
33285 (print_version): Use PKGVERSION.
33286 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
33287 (print_version): Use PKGVERSION.
33288 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
33289 (print_version): Use PKGVERSION.
33290 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
33291 (print_version): Use PKGVERSION.
33292 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
33293 (print_version): Use PKGVERSION.
33294 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
33295 and BUGURL.
33296 ($(objpfx)memusage): Likewise.
33297 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
33298 (do_version): Use PKGVERSION.
33299 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
33300 (print_version): Use PKGVERSION.
33301 * malloc/mtrace.pl ($PACKAGE): Remove variable.
33302 ($PKGVERSION): New variable.
33303 ($REPORT_BUGS_TO): Likewise.
33304 (usage): Use $REPORT_BUGS_TO.
33305 (top level): Use $PKGVERSION.
33306 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
33307 ($(objpfx)pkgvers.texi): New rule.
33308 ($(objpfx)stamp-pkgvers): Likewise.
33309 * manual/install.texi: Include pkgvers.texi.
33310 (--with-pkgversion): Document new configure option.
33311 (--with-bugurl): Likewise.
33312 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
33313 than necessarily for this particular distribution. Use
33314 REPORT_BUGS_TO for where to report bugs.
33315 * INSTALL: Regenerated.
33316 * manual/libc.texinfo: Include pkgvers.texi.
33317 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
33318 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
33319 (print_version): Use PKGVERSION.
33320 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
33321 (print_version): Use PKGVERSION.
33322 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
33323 (print_version): Use PKGVERSION.
33324 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
33325 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
33326 macro.
33327 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
33328 (print_version): Use PKGVERSION.
33329 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
33330 (print_version): Use PKGVERSION.
33331 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
33332 and PKGVERSION.
33333
33334 * timezone/checktab.awk: Update from tzcode 2012i.
33335 * timezone/ialloc.c: Likewise.
33336 * timezone/private.h: Likewise.
33337 * timezone/scheck.c: Likewise.
33338 * timezone/tzfile.h: Likewise.
33339 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
33340 (TZVERSION): Hardcode tzcode version number.
33341 * timezone/zdump.c: Update from tzcode 2012i.
33342 * timezone/zic.c: Likewise.
33343 * timezone/version.h: New file.
33344 * timezone/README: Describe version.h. Update upstream location.
33345
33346 [BZ #14824]
33347 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
33348 (mktemp): Enable declaration.
33349 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
33350 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
33351 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
33352 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
33353 Likewise.
33354 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
33355 Likewise.
33356 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
33357 Likewise.
33358 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
33359 Likewise.
33360 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
33361 Likewise.
33362 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
33363 Likewise.
33364
33365 [BZ #14821]
33366 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
33367 offset in buffer as u_int32_t not u_long. Consistently use memcpy
33368 for copies of such integer values.
33369 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
33370 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
33371
33372 2012-11-09 Andreas Jaeger <aj@suse.de>
33373
33374 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
33375 definitions and declarations that are provided by
33376 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
33377
33378 2012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
33379
33380 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
33381 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
33382 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
33383 definition.
33384
33385 2012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
33386
33387 * elf/elf.h: Update comment before AArch64 relocations.
33388
33389 2012-11-07 David S. Miller <davem@davemloft.net>
33390
33391 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
33392 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
33393 (__start_context): Declare.
33394 (__makecontext_ret): Delete.
33395 (__makecontext): Hook up __start_context instead of
33396 __makecontext_ret.
33397 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
33398 (sysdep_routines): Add __start_context when in stdlib.
33399
33400 2012-11-07 Joseph Myers <joseph@codesourcery.com>
33401
33402 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
33403 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
33404 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
33405 hardcoded "nm".
33406 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
33407 (READELF): New variable. Use it instead of hardcoded "readelf".
33408
33409 2012-11-07 H.J. Lu <hongjiu.lu@intel.com>
33410
33411 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
33412 * sysdeps/x86/Makefile: Here.
33413 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
33414 * sysdeps/x86/tst-xmmymm.sh: This.
33415
33416 2012-11-07 Joseph Myers <joseph@codesourcery.com>
33417
33418 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
33419 expectations.
33420 [UNIX98] (pthread_barrier_t): Do not expect.
33421 [UNIX98] (pthread_barrierattr_t): Likewise.
33422 [UNIX98] (pthread_spinlock_t): Likewise.
33423 [UNIX98] (pthread_barrier_destroy): Likewise.
33424 [UNIX98] (pthread_barrier_init): Likewise.
33425 [UNIX98] (pthread_barrier_wait): Likewise.
33426 [UNIX98] (pthread_barrierattr_destroy): Likewise.
33427 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
33428 [UNIX98] (pthread_barrierattr_init): Likewise.
33429 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
33430 [UNIX98] (pthread_getcpuclockid): Likewise.
33431 [UNIX98] (pthread_mutex_timedlock): Likewise.
33432 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
33433 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
33434 [UNIX98] (pthread_sigmask): Likewise.
33435 [UNIX98] (pthread_spin_destroy): Likewise.
33436 [UNIX98] (pthread_spin_init): Likewise.
33437 [UNIX98] (pthread_spin_lock): Likewise.
33438 [UNIX98] (pthread_spin_trylock): Likewise.
33439 [UNIX98] (pthread_spin_unlock): Likewise.
33440 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
33441 Do not expect.
33442 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
33443 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
33444 [XPG3 || XPG4] (pthread_cond_t): Likewise.
33445 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
33446 [XPG3 || XPG4] (pthread_key_t): Likewise.
33447 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
33448 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
33449 [XPG3 || XPG4] (pthread_once_t): Likewise.
33450 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
33451 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
33452 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
33453 [XPG3 || XPG4] (pthread_t): Likewise.
33454
33455 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
33456 not expect.
33457 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
33458
33459 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
33460 Change function return type to int.
33461
33462 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
33463 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
33464 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
33465 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
33466 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
33467 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
33468 [!POSIX] (posix_madvise): Likewise.
33469 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
33470 && !UNIX98].
33471 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
33472 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
33473 (mode_t): Likewise.
33474 (posix_mem_offset): Likewise.
33475 (posix_typed_mem_get_info): Likewise.
33476 (posix_typed_mem_open): Likewise.
33477
33478 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
33479 Change condition to [XOPEN2K8].
33480
33481 * conform/conformtest.pl: Preprocess allow-header data with -x c
33482 instead of from stdin.
33483 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
33484 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
33485 [C99-based standards] (cerfc): Likewise.
33486 [C99-based standards] (cexp2): Likewise.
33487 [C99-based standards] (cexpm1): Likewise.
33488 [C99-based standards] (clog10): Likewise.
33489 [C99-based standards] (clog1p): Likewise.
33490 [C99-based standards] (clog2): Likewise.
33491 [C99-based standards] (clgamma): Likewise.
33492 [C99-based standards] (ctgamma): Likewise.
33493 [C99-based standards] (cerff): Likewise.
33494 [C99-based standards] (cerfcf): Likewise.
33495 [C99-based standards] (cexp2f): Likewise.
33496 [C99-based standards] (cexpm1f): Likewise.
33497 [C99-based standards] (clog10f): Likewise.
33498 [C99-based standards] (clog1pf): Likewise.
33499 [C99-based standards] (clog2f): Likewise.
33500 [C99-based standards] (clgammaf): Likewise.
33501 [C99-based standards] (ctgammaf): Likewise.
33502 [C99-based standards] (cerfl): Likewise.
33503 [C99-based standards] (cerfcl): Likewise.
33504 [C99-based standards] (cexp2l): Likewise.
33505 [C99-based standards] (cexpm1l): Likewise.
33506 [C99-based standards] (clog10l): Likewise.
33507 [C99-based standards] (clog1pl): Likewise.
33508 [C99-based standards] (clog2l): Likewise.
33509 [C99-based standards] (clgammal): Likewise.
33510 [C99-based standards] (ctgammal): Likewise.
33511 * conform/data/inttypes.h-data [C99-based standards]: Include
33512 stdint.h-data. Remove all expectations for stdint.h contents.
33513 [C99-based standards] (PRI*): Do not allow.
33514 [C99-based standards] (SCN*): Likewise.
33515 [C99-based standards] (*_t): Likewise.
33516 [C99-based-standards] (PRId8): Expect macro.
33517 [C99-based-standards] (PRIi8): Likewise.
33518 [C99-based-standards] (PRIo8): Likewise.
33519 [C99-based-standards] (PRIu8): Likewise.
33520 [C99-based-standards] (PRIx8): Likewise.
33521 [C99-based-standards] (PRIX8): Likewise.
33522 [C99-based-standards] (SCNd8): Likewise.
33523 [C99-based-standards] (SCNi8): Likewise.
33524 [C99-based-standards] (SCNo8): Likewise.
33525 [C99-based-standards] (SCNu8): Likewise.
33526 [C99-based-standards] (SCNx8): Likewise.
33527 [C99-based-standards] (PRIdLEAST8): Likewise.
33528 [C99-based-standards] (PRIiLEAST8): Likewise.
33529 [C99-based-standards] (PRIoLEAST8): Likewise.
33530 [C99-based-standards] (PRIuLEAST8): Likewise.
33531 [C99-based-standards] (PRIxLEAST8): Likewise.
33532 [C99-based-standards] (PRIXLEAST8): Likewise.
33533 [C99-based-standards] (SCNdLEAST8): Likewise.
33534 [C99-based-standards] (SCNiLEAST8): Likewise.
33535 [C99-based-standards] (SCNoLEAST8): Likewise.
33536 [C99-based-standards] (SCNuLEAST8): Likewise.
33537 [C99-based-standards] (SCNxLEAST8): Likewise.
33538 [C99-based-standards] (PRIdFAST8): Likewise.
33539 [C99-based-standards] (PRIiFAST8): Likewise.
33540 [C99-based-standards] (PRIoFAST8): Likewise.
33541 [C99-based-standards] (PRIuFAST8): Likewise.
33542 [C99-based-standards] (PRIxFAST8): Likewise.
33543 [C99-based-standards] (PRIXFAST8): Likewise.
33544 [C99-based-standards] (SCNdFAST8): Likewise.
33545 [C99-based-standards] (SCNiFAST8): Likewise.
33546 [C99-based-standards] (SCNoFAST8): Likewise.
33547 [C99-based-standards] (SCNuFAST8): Likewise.
33548 [C99-based-standards] (SCNxFAST8): Likewise.
33549 [C99-based-standards] (PRId16): Likewise.
33550 [C99-based-standards] (PRIi16): Likewise.
33551 [C99-based-standards] (PRIo16): Likewise.
33552 [C99-based-standards] (PRIu16): Likewise.
33553 [C99-based-standards] (PRIx16): Likewise.
33554 [C99-based-standards] (PRIX16): Likewise.
33555 [C99-based-standards] (SCNd16): Likewise.
33556 [C99-based-standards] (SCNi16): Likewise.
33557 [C99-based-standards] (SCNo16): Likewise.
33558 [C99-based-standards] (SCNu16): Likewise.
33559 [C99-based-standards] (SCNx16): Likewise.
33560 [C99-based-standards] (PRIdLEAST16): Likewise.
33561 [C99-based-standards] (PRIiLEAST16): Likewise.
33562 [C99-based-standards] (PRIoLEAST16): Likewise.
33563 [C99-based-standards] (PRIuLEAST16): Likewise.
33564 [C99-based-standards] (PRIxLEAST16): Likewise.
33565 [C99-based-standards] (PRIXLEAST16): Likewise.
33566 [C99-based-standards] (SCNdLEAST16): Likewise.
33567 [C99-based-standards] (SCNiLEAST16): Likewise.
33568 [C99-based-standards] (SCNoLEAST16): Likewise.
33569 [C99-based-standards] (SCNuLEAST16): Likewise.
33570 [C99-based-standards] (SCNxLEAST16): Likewise.
33571 [C99-based-standards] (PRIdFAST16): Likewise.
33572 [C99-based-standards] (PRIiFAST16): Likewise.
33573 [C99-based-standards] (PRIoFAST16): Likewise.
33574 [C99-based-standards] (PRIuFAST16): Likewise.
33575 [C99-based-standards] (PRIxFAST16): Likewise.
33576 [C99-based-standards] (PRIXFAST16): Likewise.
33577 [C99-based-standards] (SCNdFAST16): Likewise.
33578 [C99-based-standards] (SCNiFAST16): Likewise.
33579 [C99-based-standards] (SCNoFAST16): Likewise.
33580 [C99-based-standards] (SCNuFAST16): Likewise.
33581 [C99-based-standards] (SCNxFAST16): Likewise.
33582 [C99-based-standards] (PRId32): Likewise.
33583 [C99-based-standards] (PRIi32): Likewise.
33584 [C99-based-standards] (PRIo32): Likewise.
33585 [C99-based-standards] (PRIu32): Likewise.
33586 [C99-based-standards] (PRIx32): Likewise.
33587 [C99-based-standards] (PRIX32): Likewise.
33588 [C99-based-standards] (SCNd32): Likewise.
33589 [C99-based-standards] (SCNi32): Likewise.
33590 [C99-based-standards] (SCNo32): Likewise.
33591 [C99-based-standards] (SCNu32): Likewise.
33592 [C99-based-standards] (SCNx32): Likewise.
33593 [C99-based-standards] (PRIdLEAST32): Likewise.
33594 [C99-based-standards] (PRIiLEAST32): Likewise.
33595 [C99-based-standards] (PRIoLEAST32): Likewise.
33596 [C99-based-standards] (PRIuLEAST32): Likewise.
33597 [C99-based-standards] (PRIxLEAST32): Likewise.
33598 [C99-based-standards] (PRIXLEAST32): Likewise.
33599 [C99-based-standards] (SCNdLEAST32): Likewise.
33600 [C99-based-standards] (SCNiLEAST32): Likewise.
33601 [C99-based-standards] (SCNoLEAST32): Likewise.
33602 [C99-based-standards] (SCNuLEAST32): Likewise.
33603 [C99-based-standards] (SCNxLEAST32): Likewise.
33604 [C99-based-standards] (PRIdFAST32): Likewise.
33605 [C99-based-standards] (PRIiFAST32): Likewise.
33606 [C99-based-standards] (PRIoFAST32): Likewise.
33607 [C99-based-standards] (PRIuFAST32): Likewise.
33608 [C99-based-standards] (PRIxFAST32): Likewise.
33609 [C99-based-standards] (PRIXFAST32): Likewise.
33610 [C99-based-standards] (SCNdFAST32): Likewise.
33611 [C99-based-standards] (SCNiFAST32): Likewise.
33612 [C99-based-standards] (SCNoFAST32): Likewise.
33613 [C99-based-standards] (SCNuFAST32): Likewise.
33614 [C99-based-standards] (SCNxFAST32): Likewise.
33615 [C99-based-standards] (PRId64): Likewise.
33616 [C99-based-standards] (PRIi64): Likewise.
33617 [C99-based-standards] (PRIo64): Likewise.
33618 [C99-based-standards] (PRIu64): Likewise.
33619 [C99-based-standards] (PRIx64): Likewise.
33620 [C99-based-standards] (PRIX64): Likewise.
33621 [C99-based-standards] (SCNd64): Likewise.
33622 [C99-based-standards] (SCNi64): Likewise.
33623 [C99-based-standards] (SCNo64): Likewise.
33624 [C99-based-standards] (SCNu64): Likewise.
33625 [C99-based-standards] (SCNx64): Likewise.
33626 [C99-based-standards] (PRIdLEAST64): Likewise.
33627 [C99-based-standards] (PRIiLEAST64): Likewise.
33628 [C99-based-standards] (PRIoLEAST64): Likewise.
33629 [C99-based-standards] (PRIuLEAST64): Likewise.
33630 [C99-based-standards] (PRIxLEAST64): Likewise.
33631 [C99-based-standards] (PRIXLEAST64): Likewise.
33632 [C99-based-standards] (SCNdLEAST64): Likewise.
33633 [C99-based-standards] (SCNiLEAST64): Likewise.
33634 [C99-based-standards] (SCNoLEAST64): Likewise.
33635 [C99-based-standards] (SCNuLEAST64): Likewise.
33636 [C99-based-standards] (SCNxLEAST64): Likewise.
33637 [C99-based-standards] (PRIdFAST64): Likewise.
33638 [C99-based-standards] (PRIiFAST64): Likewise.
33639 [C99-based-standards] (PRIoFAST64): Likewise.
33640 [C99-based-standards] (PRIuFAST64): Likewise.
33641 [C99-based-standards] (PRIxFAST64): Likewise.
33642 [C99-based-standards] (PRIXFAST64): Likewise.
33643 [C99-based-standards] (SCNdFAST64): Likewise.
33644 [C99-based-standards] (SCNiFAST64): Likewise.
33645 [C99-based-standards] (SCNoFAST64): Likewise.
33646 [C99-based-standards] (SCNuFAST64): Likewise.
33647 [C99-based-standards] (SCNxFAST64): Likewise.
33648 [C99-based-standards] (PRIdMAX): Likewise.
33649 [C99-based-standards] (PRIiMAX): Likewise.
33650 [C99-based-standards] (PRIoMAX): Likewise.
33651 [C99-based-standards] (PRIuMAX): Likewise.
33652 [C99-based-standards] (PRIxMAX): Likewise.
33653 [C99-based-standards] (PRIXMAX): Likewise.
33654 [C99-based-standards] (SCNdMAX): Likewise.
33655 [C99-based-standards] (SCNiMAX): Likewise.
33656 [C99-based-standards] (SCNoMAX): Likewise.
33657 [C99-based-standards] (SCNuMAX): Likewise.
33658 [C99-based-standards] (SCNxMAX): Likewise.
33659 [C99-based-standards] (PRIdPTR): Likewise.
33660 [C99-based-standards] (PRIiPTR): Likewise.
33661 [C99-based-standards] (PRIoPTR): Likewise.
33662 [C99-based-standards] (PRIuPTR): Likewise.
33663 [C99-based-standards] (PRIxPTR): Likewise.
33664 [C99-based-standards] (PRIXPTR): Likewise.
33665 [C99-based-standards] (SCNdPTR): Likewise.
33666 [C99-based-standards] (SCNiPTR): Likewise.
33667 [C99-based-standards] (SCNoPTR): Likewise.
33668 [C99-based-standards] (SCNuPTR): Likewise.
33669 [C99-based-standards] (SCNxPTR): Likewise.
33670 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
33671 allow.
33672 * conform/data/stdint.h-data: Update comments to clarify
33673 requirements.
33674 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
33675 type.
33676 [C99-based standards] (INT8_MAX): Likewise.
33677 [C99-based standards] (INT16_MIN): Likewise.
33678 [C99-based standards] (INT16_MAX): Likewise.
33679 [C99-based standards] (INT32_MIN): Likewise.
33680 [C99-based standards] (INT32_MAX): Likewise.
33681 [C99-based standards] (INT64_MIN): Likewise.
33682 [C99-based standards] (INT64_MAX): Likewise.
33683 [C99-based standards] (UINT8_MAX): Likewise.
33684 [C99-based standards] (UINT16_MAX): Likewise.
33685 [C99-based standards] (UINT32_MAX): Likewise.
33686 [C99-based standards] (UINT64_MAX): Likewise.
33687 [C99-based standards] (INT_LEAST8_MIN): Likewise.
33688 [C99-based standards] (INT_LEAST8_MAX): Likewise.
33689 [C99-based standards] (INT_LEAST16_MIN): Likewise.
33690 [C99-based standards] (INT_LEAST16_MAX): Likewise.
33691 [C99-based standards] (INT_LEAST32_MIN): Likewise.
33692 [C99-based standards] (INT_LEAST32_MAX): Likewise.
33693 [C99-based standards] (INT_LEAST64_MIN): Likewise.
33694 [C99-based standards] (INT_LEAST64_MAX): Likewise.
33695 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
33696 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
33697 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
33698 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
33699 [C99-based standards] (INT_FAST8_MIN): Likewise.
33700 [C99-based standards] (INT_FAST8_MAX): Likewise.
33701 [C99-based standards] (INT_FAST16_MIN): Likewise.
33702 [C99-based standards] (INT_FAST16_MAX): Likewise.
33703 [C99-based standards] (INT_FAST32_MIN): Likewise.
33704 [C99-based standards] (INT_FAST32_MAX): Likewise.
33705 [C99-based standards] (INT_FAST64_MIN): Likewise.
33706 [C99-based standards] (INT_FAST64_MAX): Likewise.
33707 [C99-based standards] (UINT_FAST8_MAX): Likewise.
33708 [C99-based standards] (UINT_FAST16_MAX): Likewise.
33709 [C99-based standards] (UINT_FAST32_MAX): Likewise.
33710 [C99-based standards] (UINT_FAST64_MAX): Likewise.
33711 [C99-based standards] (INTPTR_MIN): Likewise.
33712 [C99-based standards] (INTPTR_MAX): Likewise.
33713 [C99-based standards] (UINTPTR_MAX): Likewise.
33714 [C99-based standards] (INTMAX_MIN): Likewise.
33715 [C99-based standards] (INTMAX_MAX): Likewise.
33716 [C99-based standards] (UINTMAX_MAX): Likewise.
33717 [C99-based standards] (PTRDIFF_MIN): Likewise.
33718 [C99-based standards] (PTRDIFF_MAX): Likewise.
33719 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
33720 [C99-based standards] (SIZE_MAX): Likewise.
33721 [C99-based standards] (WCHAR_MAX): Likewise.
33722 [C99-based standards] (WINT_MAX): Likewise.
33723 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
33724 constraint on value.
33725 [C99-based standards] (WCHAR_MIN): Likewise.
33726 [C99-based standards] (WINT_MIN): Likewise.
33727 [C99-based standards] (*_t): Allow.
33728 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
33729 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
33730 Include math.h-data and complex.h-data. Remove all expectations
33731 of math.h and complex.h contents.
33732 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
33733 at end of line.
33734 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
33735 (struct tm): Expect tag.
33736 [C99-based-standards] (wcstof): Expect function.
33737 [C99-based-standards] (wcstold): Likewise.
33738 [C99-based-standards] (wcstoll): Likewise.
33739 [C99-based-standards] (wcstoull): Likewise.
33740 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
33741 macro-int-constant. Specify type.
33742 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
33743 constraint on value.
33744 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
33745 Specify type.
33746 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
33747 Specify value.
33748 [ISO C standards]: Do not allow headers.
33749 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
33750 wcs[abcdefghijklmnopqrstuvwxyz]*.
33751 [ISO C standards] (*_t): Do not allow.
33752 * conform/data/wctype.h-data [C99-based standards] (iswblank):
33753 Expect function.
33754 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
33755 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
33756 Specify type.
33757 [ISO C standards]: Do not allow headers.
33758 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
33759 is[abcdefghijklmnopqrstuvwxyz]*.
33760 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
33761 to[abcdefghijklmnopqrstuvwxyz]*.
33762 [ISO C standards] (*_t): Do not allow.
33763 * conform/data/stdalign.h-data: New file.
33764 * conform/data/stdbool.h-data: Likewise.
33765 * conform/data/stdnoreturn.h-data: Likewise.
33766
33767 2012-11-07 Roland McGrath <roland@hack.frob.com>
33768
33769 [BZ #14815]
33770 * manual/filesys.texi (Directory Entries): Typo fix.
33771 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
33772
33773 2012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
33774
33775 * elf/elf.h (EM_AARCH64): New macro.
33776 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
33777 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
33778 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
33779 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
33780 (R_AARCH64_TLSDESC): Likewise.
33781 (NT_ARM_TLS): Likewise.
33782 (NT_ARM_HW_BREAK): Likewise.
33783 (NT_ARM_HW_WATCH): Likewise.
33784
33785 2012-11-07 Joseph Myers <joseph@codesourcery.com>
33786
33787 [BZ #14811]
33788 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
33789 (__ieee754_powl): Saturate nonzero exponents with absolute value
33790 below 0x1p-79 to +/- 0x1p-79.
33791 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
33792 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
33793 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
33794 nonzero exponents with absolute value below 0x1p-32 to +/-
33795 0x1p-32.
33796 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
33797 (__ieee754_powl): Saturate nonzero exponents with absolute value
33798 below 0x1p-79 to +/- 0x1p-79.
33799 * math/libm-test.inc (pow_test): Add more tests.
33800
33801 2012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
33802
33803 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
33804 _dl_s390_cap_flags with kernel. Increase string length.
33805 (_dl_s390_platforms): Add z196 and zEC12.
33806
33807 2012-11-07 Joseph Myers <joseph@codesourcery.com>
33808
33809 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
33810 Change XOPEN21K to XOPEN2K.
33811
33812 2012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
33813
33814 * string/memmove.c: Use memcpy when possible.
33815
33816 2012-11-06 Andreas Jaeger <aj@suse.de>
33817
33818 * po/eo.po: Update from translation team.
33819
33820 2012-11-06 Joseph Myers <joseph@codesourcery.com>
33821
33822 [BZ #14793]
33823 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
33824 exponent and small x and y exponents, scale x or y up. Increase
33825 by 2 the exponent used in scaling up.
33826 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
33827 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
33828 * math/libm-test.inc (fma_test): Add more tests.
33829 (fma_test_towardzero): Likewise.
33830 (fma_test_downward): Likewise.
33831 (fma_test_upward): Likewise.
33832
33833 2012-11-05 Joseph Myers <joseph@codesourcery.com>
33834
33835 [BZ #14805]
33836 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
33837 fenv_t *.
33838
33839 [BZ #14801]
33840 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
33841 namespace for names of struct fields.
33842 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
33843 fenv_t fields.
33844 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
33845 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
33846
33847 2012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
33848
33849 [BZ #3665]
33850 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
33851
33852 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
33853
33854 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
33855 PTR_DEMANGLE.
33856
33857 [BZ #5246]
33858 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
33859 PTR_DEMANGLE.
33860
33861 2012-11-04 Joseph Myers <joseph@codesourcery.com>
33862
33863 [BZ #14797]
33864 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
33865 definitely overflow as x * y not x * y + z.
33866 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
33867 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
33868 * math/libm-test.inc (fma_test): Add more tests.
33869 (fma_test_towardzero): Likewise.
33870 (fma_test_downward): Likewise.
33871 (fma_test_upward): Likewise.
33872
33873 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
33874
33875 [BZ #157]
33876
33877 * include/stub-tag.h: Remove file.
33878 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
33879 '#include' of it.
33880 * manual/maint.texi (Porting): Don't reference it.
33881 * Makerules ($(objpfx)stubs): Likewise.
33882 * dirent/closedir.c: Don't include <stub-tag.h>.
33883 * dirent/dirfd.c: Likewise.
33884 * dirent/fdopendir.c: Likewise.
33885 * dirent/getdents.c: Likewise.
33886 * dirent/getdents64.c: Likewise.
33887 * dirent/opendir.c: Likewise.
33888 * dirent/readdir.c: Likewise.
33889 * dirent/readdir64.c: Likewise.
33890 * dirent/readdir64_r.c: Likewise.
33891 * dirent/readdir_r.c: Likewise.
33892 * dirent/rewinddir.c: Likewise.
33893 * dirent/seekdir.c: Likewise.
33894 * dirent/telldir.c: Likewise.
33895 * gmon/profil.c: Likewise.
33896 * grp/setgroups.c: Likewise.
33897 * inet/if_index.c: Likewise.
33898 * io/access.c: Likewise.
33899 * io/chdir.c: Likewise.
33900 * io/chmod.c: Likewise.
33901 * io/chown.c: Likewise.
33902 * io/close.c: Likewise.
33903 * io/dup.c: Likewise.
33904 * io/dup2.c: Likewise.
33905 * io/dup3.c: Likewise.
33906 * io/euidaccess.c: Likewise.
33907 * io/faccessat.c: Likewise.
33908 * io/fchdir.c: Likewise.
33909 * io/fchmod.c: Likewise.
33910 * io/fchmodat.c: Likewise.
33911 * io/fchown.c: Likewise.
33912 * io/fchownat.c: Likewise.
33913 * io/fcntl.c: Likewise.
33914 * io/flock.c: Likewise.
33915 * io/fstatfs.c: Likewise.
33916 * io/fstatfs64.c: Likewise.
33917 * io/fstatvfs.c: Likewise.
33918 * io/fstatvfs64.c: Likewise.
33919 * io/futimens.c: Likewise.
33920 * io/fxstat.c: Likewise.
33921 * io/fxstat64.c: Likewise.
33922 * io/fxstatat.c: Likewise.
33923 * io/fxstatat64.c: Likewise.
33924 * io/getcwd.c: Likewise.
33925 * io/isatty.c: Likewise.
33926 * io/lchmod.c: Likewise.
33927 * io/lchown.c: Likewise.
33928 * io/link.c: Likewise.
33929 * io/linkat.c: Likewise.
33930 * io/lseek.c: Likewise.
33931 * io/lseek64.c: Likewise.
33932 * io/lxstat64.c: Likewise.
33933 * io/mkdir.c: Likewise.
33934 * io/mkdirat.c: Likewise.
33935 * io/mkfifo.c: Likewise.
33936 * io/mkfifoat.c: Likewise.
33937 * io/open.c: Likewise.
33938 * io/open64.c: Likewise.
33939 * io/openat.c: Likewise.
33940 * io/openat64.c: Likewise.
33941 * io/pipe.c: Likewise.
33942 * io/pipe2.c: Likewise.
33943 * io/poll.c: Likewise.
33944 * io/posix_fadvise.c: Likewise.
33945 * io/posix_fadvise64.c: Likewise.
33946 * io/posix_fallocate.c: Likewise.
33947 * io/posix_fallocate64.c: Likewise.
33948 * io/read.c: Likewise.
33949 * io/readlink.c: Likewise.
33950 * io/readlinkat.c: Likewise.
33951 * io/rmdir.c: Likewise.
33952 * io/sendfile.c: Likewise.
33953 * io/sendfile64.c: Likewise.
33954 * io/statfs.c: Likewise.
33955 * io/statfs64.c: Likewise.
33956 * io/statvfs.c: Likewise.
33957 * io/statvfs64.c: Likewise.
33958 * io/symlink.c: Likewise.
33959 * io/symlinkat.c: Likewise.
33960 * io/ttyname.c: Likewise.
33961 * io/ttyname_r.c: Likewise.
33962 * io/umask.c: Likewise.
33963 * io/unlink.c: Likewise.
33964 * io/unlinkat.c: Likewise.
33965 * io/utime.c: Likewise.
33966 * io/utimensat.c: Likewise.
33967 * io/write.c: Likewise.
33968 * io/xmknod.c: Likewise.
33969 * io/xmknodat.c: Likewise.
33970 * io/xstat.c: Likewise.
33971 * io/xstat64.c: Likewise.
33972 * login/getpt.c: Likewise.
33973 * login/grantpt.c: Likewise.
33974 * login/unlockpt.c: Likewise.
33975 * math/e_acoshl.c: Likewise.
33976 * math/e_acosl.c: Likewise.
33977 * math/e_asinl.c: Likewise.
33978 * math/e_atan2l.c: Likewise.
33979 * math/e_atanhl.c: Likewise.
33980 * math/e_coshl.c: Likewise.
33981 * math/e_expl.c: Likewise.
33982 * math/e_fmodl.c: Likewise.
33983 * math/e_gammal_r.c: Likewise.
33984 * math/e_hypotl.c: Likewise.
33985 * math/e_j0l.c: Likewise.
33986 * math/e_j1l.c: Likewise.
33987 * math/e_jnl.c: Likewise.
33988 * math/e_lgammal_r.c: Likewise.
33989 * math/e_log10l.c: Likewise.
33990 * math/e_log2l.c: Likewise.
33991 * math/e_logl.c: Likewise.
33992 * math/e_powl.c: Likewise.
33993 * math/e_rem_pio2l.c: Likewise.
33994 * math/e_sinhl.c: Likewise.
33995 * math/e_sqrtl.c: Likewise.
33996 * math/fclrexcpt.c: Likewise.
33997 * math/fedisblxcpt.c: Likewise.
33998 * math/feenablxcpt.c: Likewise.
33999 * math/fegetenv.c: Likewise.
34000 * math/fegetexcept.c: Likewise.
34001 * math/fegetround.c: Likewise.
34002 * math/feholdexcpt.c: Likewise.
34003 * math/fesetenv.c: Likewise.
34004 * math/fesetround.c: Likewise.
34005 * math/feupdateenv.c: Likewise.
34006 * math/fgetexcptflg.c: Likewise.
34007 * math/fraiseexcpt.c: Likewise.
34008 * math/fsetexcptflg.c: Likewise.
34009 * math/ftestexcept.c: Likewise.
34010 * math/k_cosl.c: Likewise.
34011 * math/k_rem_pio2l.c: Likewise.
34012 * math/k_sinl.c: Likewise.
34013 * math/k_tanl.c: Likewise.
34014 * math/s_asinhl.c: Likewise.
34015 * math/s_atanl.c: Likewise.
34016 * math/s_cbrtl.c: Likewise.
34017 * math/s_erfl.c: Likewise.
34018 * math/s_expm1l.c: Likewise.
34019 * math/s_log1pl.c: Likewise.
34020 * math/s_tanhl.c: Likewise.
34021 * misc/acct.c: Likewise.
34022 * misc/brk.c: Likewise.
34023 * misc/chflags.c: Likewise.
34024 * misc/chroot.c: Likewise.
34025 * misc/fchflags.c: Likewise.
34026 * misc/fgetxattr.c: Likewise.
34027 * misc/flistxattr.c: Likewise.
34028 * misc/fremovexattr.c: Likewise.
34029 * misc/fsetxattr.c: Likewise.
34030 * misc/fsync.c: Likewise.
34031 * misc/ftruncate.c: Likewise.
34032 * misc/futimes.c: Likewise.
34033 * misc/futimesat.c: Likewise.
34034 * misc/getdomain.c: Likewise.
34035 * misc/getdtsz.c: Likewise.
34036 * misc/gethostid.c: Likewise.
34037 * misc/gethostname.c: Likewise.
34038 * misc/getloadavg.c: Likewise.
34039 * misc/getpagesize.c: Likewise.
34040 * misc/getsysstats.c: Likewise.
34041 * misc/getxattr.c: Likewise.
34042 * misc/gtty.c: Likewise.
34043 * misc/ioctl.c: Likewise.
34044 * misc/lgetxattr.c: Likewise.
34045 * misc/listxattr.c: Likewise.
34046 * misc/llistxattr.c: Likewise.
34047 * misc/lremovexattr.c: Likewise.
34048 * misc/lsetxattr.c: Likewise.
34049 * misc/lutimes.c: Likewise.
34050 * misc/madvise.c: Likewise.
34051 * misc/mincore.c: Likewise.
34052 * misc/mlock.c: Likewise.
34053 * misc/mlockall.c: Likewise.
34054 * misc/mmap.c: Likewise.
34055 * misc/mprotect.c: Likewise.
34056 * misc/msync.c: Likewise.
34057 * misc/munlock.c: Likewise.
34058 * misc/munlockall.c: Likewise.
34059 * misc/munmap.c: Likewise.
34060 * misc/preadv.c: Likewise.
34061 * misc/preadv64.c: Likewise.
34062 * misc/ptrace.c: Likewise.
34063 * misc/pwritev.c: Likewise.
34064 * misc/pwritev64.c: Likewise.
34065 * misc/readv.c: Likewise.
34066 * misc/reboot.c: Likewise.
34067 * misc/remap_file_pages.c: Likewise.
34068 * misc/removexattr.c: Likewise.
34069 * misc/revoke.c: Likewise.
34070 * misc/select.c: Likewise.
34071 * misc/setdomain.c: Likewise.
34072 * misc/setegid.c: Likewise.
34073 * misc/seteuid.c: Likewise.
34074 * misc/sethostid.c: Likewise.
34075 * misc/sethostname.c: Likewise.
34076 * misc/setregid.c: Likewise.
34077 * misc/setreuid.c: Likewise.
34078 * misc/setxattr.c: Likewise.
34079 * misc/sstk.c: Likewise.
34080 * misc/stty.c: Likewise.
34081 * misc/swapoff.c: Likewise.
34082 * misc/swapon.c: Likewise.
34083 * misc/sync.c: Likewise.
34084 * misc/syncfs.c: Likewise.
34085 * misc/syscall.c: Likewise.
34086 * misc/truncate.c: Likewise.
34087 * misc/ualarm.c: Likewise.
34088 * misc/usleep.c: Likewise.
34089 * misc/ustat.c: Likewise.
34090 * misc/utimes.c: Likewise.
34091 * misc/vhangup.c: Likewise.
34092 * misc/writev.c: Likewise.
34093 * posix/_exit.c: Likewise.
34094 * posix/alarm.c: Likewise.
34095 * posix/execve.c: Likewise.
34096 * posix/fexecve.c: Likewise.
34097 * posix/fork.c: Likewise.
34098 * posix/fpathconf.c: Likewise.
34099 * posix/getaddrinfo.c: Likewise.
34100 * posix/getegid.c: Likewise.
34101 * posix/geteuid.c: Likewise.
34102 * posix/getgid.c: Likewise.
34103 * posix/getgroups.c: Likewise.
34104 * posix/getlogin.c: Likewise.
34105 * posix/getlogin_r.c: Likewise.
34106 * posix/getpgid.c: Likewise.
34107 * posix/getpid.c: Likewise.
34108 * posix/getppid.c: Likewise.
34109 * posix/getresgid.c: Likewise.
34110 * posix/getresuid.c: Likewise.
34111 * posix/getsid.c: Likewise.
34112 * posix/getuid.c: Likewise.
34113 * posix/glob64.c: Likewise.
34114 * posix/nanosleep.c: Likewise.
34115 * posix/pathconf.c: Likewise.
34116 * posix/pause.c: Likewise.
34117 * posix/posix_madvise.c: Likewise.
34118 * posix/pread.c: Likewise.
34119 * posix/pread64.c: Likewise.
34120 * posix/pwrite.c: Likewise.
34121 * posix/pwrite64.c: Likewise.
34122 * posix/sched_getaffinity.c: Likewise.
34123 * posix/sched_getp.c: Likewise.
34124 * posix/sched_gets.c: Likewise.
34125 * posix/sched_primax.c: Likewise.
34126 * posix/sched_primin.c: Likewise.
34127 * posix/sched_rr_gi.c: Likewise.
34128 * posix/sched_setaffinity.c: Likewise.
34129 * posix/sched_setp.c: Likewise.
34130 * posix/sched_sets.c: Likewise.
34131 * posix/sched_yield.c: Likewise.
34132 * posix/setgid.c: Likewise.
34133 * posix/setlogin.c: Likewise.
34134 * posix/setpgid.c: Likewise.
34135 * posix/setresgid.c: Likewise.
34136 * posix/setresuid.c: Likewise.
34137 * posix/setsid.c: Likewise.
34138 * posix/setuid.c: Likewise.
34139 * posix/sleep.c: Likewise.
34140 * posix/spawni.c: Likewise.
34141 * posix/sysconf.c: Likewise.
34142 * posix/times.c: Likewise.
34143 * posix/wait.c: Likewise.
34144 * posix/wait3.c: Likewise.
34145 * posix/wait4.c: Likewise.
34146 * posix/waitpid.c: Likewise.
34147 * resolv/gai_sigqueue.c: Likewise.
34148 * resource/getpriority.c: Likewise.
34149 * resource/getrlimit.c: Likewise.
34150 * resource/getrusage.c: Likewise.
34151 * resource/nice.c: Likewise.
34152 * resource/setpriority.c: Likewise.
34153 * resource/setrlimit.c: Likewise.
34154 * resource/ulimit.c: Likewise.
34155 * rt/aio_cancel.c: Likewise.
34156 * rt/aio_fsync.c: Likewise.
34157 * rt/aio_read.c: Likewise.
34158 * rt/aio_sigqueue.c: Likewise.
34159 * rt/aio_suspend.c: Likewise.
34160 * rt/aio_write.c: Likewise.
34161 * rt/clock_getres.c: Likewise.
34162 * rt/clock_gettime.c: Likewise.
34163 * rt/clock_nanosleep.c: Likewise.
34164 * rt/clock_settime.c: Likewise.
34165 * rt/lio_listio.c: Likewise.
34166 * rt/mq_close.c: Likewise.
34167 * rt/mq_getattr.c: Likewise.
34168 * rt/mq_notify.c: Likewise.
34169 * rt/mq_open.c: Likewise.
34170 * rt/mq_receive.c: Likewise.
34171 * rt/mq_send.c: Likewise.
34172 * rt/mq_setattr.c: Likewise.
34173 * rt/mq_timedreceive.c: Likewise.
34174 * rt/mq_timedsend.c: Likewise.
34175 * rt/mq_unlink.c: Likewise.
34176 * rt/shm_open.c: Likewise.
34177 * rt/shm_unlink.c: Likewise.
34178 * rt/timer_create.c: Likewise.
34179 * rt/timer_delete.c: Likewise.
34180 * rt/timer_getoverr.c: Likewise.
34181 * rt/timer_gettime.c: Likewise.
34182 * rt/timer_settime.c: Likewise.
34183 * setjmp/__longjmp.c: Likewise.
34184 * setjmp/setjmp.c: Likewise.
34185 * signal/kill.c: Likewise.
34186 * signal/killpg.c: Likewise.
34187 * signal/raise.c: Likewise.
34188 * signal/sigaction.c: Likewise.
34189 * signal/sigaltstack.c: Likewise.
34190 * signal/sigblock.c: Likewise.
34191 * signal/sigignore.c: Likewise.
34192 * signal/sigintr.c: Likewise.
34193 * signal/signal.c: Likewise.
34194 * signal/sigpause.c: Likewise.
34195 * signal/sigpending.c: Likewise.
34196 * signal/sigqueue.c: Likewise.
34197 * signal/sigreturn.c: Likewise.
34198 * signal/sigset.c: Likewise.
34199 * signal/sigsetmask.c: Likewise.
34200 * signal/sigstack.c: Likewise.
34201 * signal/sigsuspend.c: Likewise.
34202 * signal/sigtimedwait.c: Likewise.
34203 * signal/sigvec.c: Likewise.
34204 * signal/sigwait.c: Likewise.
34205 * signal/sigwaitinfo.c: Likewise.
34206 * signal/sysv_signal.c: Likewise.
34207 * socket/accept.c: Likewise.
34208 * socket/accept4.c: Likewise.
34209 * socket/bind.c: Likewise.
34210 * socket/connect.c: Likewise.
34211 * socket/getpeername.c: Likewise.
34212 * socket/getsockname.c: Likewise.
34213 * socket/getsockopt.c: Likewise.
34214 * socket/isfdtype.c: Likewise.
34215 * socket/listen.c: Likewise.
34216 * socket/recv.c: Likewise.
34217 * socket/recvfrom.c: Likewise.
34218 * socket/recvmsg.c: Likewise.
34219 * socket/send.c: Likewise.
34220 * socket/sendmsg.c: Likewise.
34221 * socket/sendto.c: Likewise.
34222 * socket/setsockopt.c: Likewise.
34223 * socket/shutdown.c: Likewise.
34224 * socket/sockatmark.c: Likewise.
34225 * socket/socket.c: Likewise.
34226 * socket/socketpair.c: Likewise.
34227 * stdio-common/ctermid.c: Likewise.
34228 * stdio-common/cuserid.c: Likewise.
34229 * stdio-common/remove.c: Likewise.
34230 * stdio-common/rename.c: Likewise.
34231 * stdio-common/renameat.c: Likewise.
34232 * stdio-common/tempname.c: Likewise.
34233 * stdlib/getcontext.c: Likewise.
34234 * stdlib/makecontext.c: Likewise.
34235 * stdlib/setcontext.c: Likewise.
34236 * stdlib/swapcontext.c: Likewise.
34237 * stdlib/system.c: Likewise.
34238 * streams/fattach.c: Likewise.
34239 * streams/fdetach.c: Likewise.
34240 * streams/getmsg.c: Likewise.
34241 * streams/getpmsg.c: Likewise.
34242 * streams/putmsg.c: Likewise.
34243 * streams/putpmsg.c: Likewise.
34244 * sysdeps/unix/bsd/getpt.c: Likewise.
34245 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
34246 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
34247 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
34248 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
34249 Likewise.
34250 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
34251 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
34252 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
34253 * sysvipc/msgctl.c: Likewise.
34254 * sysvipc/msgget.c: Likewise.
34255 * sysvipc/msgrcv.c: Likewise.
34256 * sysvipc/msgsnd.c: Likewise.
34257 * sysvipc/semctl.c: Likewise.
34258 * sysvipc/semget.c: Likewise.
34259 * sysvipc/semop.c: Likewise.
34260 * sysvipc/semtimedop.c: Likewise.
34261 * sysvipc/shmat.c: Likewise.
34262 * sysvipc/shmctl.c: Likewise.
34263 * sysvipc/shmdt.c: Likewise.
34264 * sysvipc/shmget.c: Likewise.
34265 * termios/tcdrain.c: Likewise.
34266 * termios/tcflow.c: Likewise.
34267 * termios/tcflush.c: Likewise.
34268 * termios/tcgetattr.c: Likewise.
34269 * termios/tcgetpgrp.c: Likewise.
34270 * termios/tcsendbrk.c: Likewise.
34271 * termios/tcsetattr.c: Likewise.
34272 * termios/tcsetpgrp.c: Likewise.
34273 * time/adjtime.c: Likewise.
34274 * time/clock.c: Likewise.
34275 * time/getitimer.c: Likewise.
34276 * time/gettimeofday.c: Likewise.
34277 * time/setitimer.c: Likewise.
34278 * time/settimeofday.c: Likewise.
34279 * time/stime.c: Likewise.
34280 * time/time.c: Likewise.
34281
34282 2012-11-04 Pino Toscano <toscano.pino@tiscali.it>
34283
34284 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
34285 /usr/old/bin.
34286
34287 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
34288 instead of spaces.
34289 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
34290
34291 2012-11-03 Joseph Myers <joseph@codesourcery.com>
34292
34293 [BZ #14796]
34294 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
34295 FE_TONEAREST before applying Dekker multiplication and Knuth
34296 addition. Clear inexact exceptions and check for exact zero
34297 results afterwards.
34298 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
34299 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
34300 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
34301 * math/libm-test.inc (fma_test): Add more tests.
34302 (fma_test_towardzero): Likewise.
34303 (fma_test_downward): Likewise.
34304 (fma_test_upward): Likewise.
34305 * sysdeps/generic/math_private.h (default_libc_fesetround): New
34306 function.
34307 (libc_fesetround): New macro.
34308 (libc_fesetroundf): Likewise.
34309 (libc_fesetroundl): Likewise.
34310 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
34311 function.
34312 (libc_fesetround_387): Likewise.
34313 (libc_fesetroundf): New macro.
34314 (libc_fesetround): Likewise.
34315 (libc_fesetroundl): Likewise.
34316 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
34317 function.
34318 (libc_fesetroundf): New macro.
34319 (libc_fesetround): Likewise.
34320 (libc_fesetroundl): Likewise.
34321 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
34322 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
34323 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
34324 libm_hidden_ver.
34325 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
34326 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
34327 libm_hidden_def.
34328 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
34329 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
34330 libm_hidden_ver.
34331 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
34332 libm_hidden_def.
34333
34334 [BZ #3439]
34335 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
34336 integer constant usable in #if and use that to give value to enum
34337 constant.
34338 (FE_DIVBYZERO): Likewise.
34339 (FE_UNDERFLOW): Likewise.
34340 (FE_OVERFLOW): Likewise.
34341 (FE_INVALID): Likewise.
34342 (FE_INVALID_SNAN): Likewise.
34343 (FE_INVALID_ISI): Likewise.
34344 (FE_INVALID_IDI): Likewise.
34345 (FE_INVALID_ZDZ): Likewise.
34346 (FE_INVALID_IMZ): Likewise.
34347 (FE_INVALID_COMPARE): Likewise.
34348 (FE_INVALID_SOFTWARE): Likewise.
34349 (FE_INVALID_SQRT): Likewise.
34350 (FE_INVALID_INTEGER_CONVERSION): Likewise.
34351 (FE_TONEAREST): Likewise.
34352 (FE_TOWARDZERO): Likewise.
34353 (FE_UPWARD): Likewise.
34354 (FE_DOWNWARD): Likewise.
34355 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
34356 (FE_DIVBYZERO): Likewise.
34357 (FE_OVERFLOW): Likewise.
34358 (FE_UNDERFLOW): Likewise.
34359 (FE_INEXACT): Likewise.
34360 (FE_TONEAREST): Likewise.
34361 (FE_DOWNWARD): Likewise.
34362 (FE_UPWARD): Likewise.
34363 (FE_TOWARDZERO): Likewise.
34364 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
34365 (FE_UNDERFLOW): Likewise.
34366 (FE_OVERFLOW): Likewise.
34367 (FE_DIVBYZERO): Likewise.
34368 (FE_INVALID): Likewise.
34369 (FE_TONEAREST): Likewise.
34370 (FE_TOWARDZERO): Likewise.
34371 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
34372 (FE_OVERFLOW): Likewise.
34373 (FE_UNDERFLOW): Likewise.
34374 (FE_DIVBYZERO): Likewise.
34375 (FE_INEXACT): Likewise.
34376 (FE_TONEAREST): Likewise.
34377 (FE_TOWARDZERO): Likewise.
34378 (FE_UPWARD): Likewise.
34379 (FE_DOWNWARD): Likewise.
34380 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
34381 (FE_DIVBYZERO): Likewise.
34382 (FE_OVERFLOW): Likewise.
34383 (FE_UNDERFLOW): Likewise.
34384 (FE_INEXACT): Likewise.
34385 (FE_TONEAREST): Likewise.
34386 (FE_DOWNWARD): Likewise.
34387 (FE_UPWARD): Likewise.
34388 (FE_TOWARDZERO): Likewise.
34389
34390 2012-11-02 Chris Metcalf <cmetcalf@tilera.com>
34391
34392 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
34393
34394 2012-11-03 Andreas Schwab <schwab@linux-m68k.org>
34395
34396 * scripts/cross-test-ssh.sh (command): Use newlines to separate
34397 commands. Quote $PWD.
34398 (blacklist_exports): Don't use remove_newlines. Replace "declare
34399 -x" by "export".
34400 (remove_newlines): Remove.
34401
34402 2012-11-02 H.J. Lu <hongjiu.lu@intel.com>
34403
34404 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
34405 * stdlib/stdlib.h (atof): Moved to ...
34406 * include/bits/stdlib-float.h: Here. New file.
34407 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
34408 * stdlib/bits/stdlib-float.h: New file.
34409 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
34410 -mno-sse -mno-mmx.
34411 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
34412 <xmmintrin.h>.
34413
34414 2012-11-02 Joseph Myers <joseph@codesourcery.com>
34415
34416 * conform/conformtest.pl (@headers): Add fenv.h.
34417 * conform/data/fenv.h-data: New file.
34418 * include/fenv.h [_ISOMAC]: Disable all contents of file except
34419 include of <math/fenv.h>.
34420
34421 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
34422 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
34423 && !UNIX98]. Enables tests for XOPEN2K8.
34424 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
34425 POSIX2008]: Likewise.
34426
34427 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
34428 (struct rusage): Do not expect type or its members.
34429
34430 [BZ #3439]
34431 * math/math.h (FP_NAN): Define macro to integer constant usable in
34432 #if and use that to give value to enum constant.
34433 (FP_INFINITE): Likewise.
34434 (FP_ZERO): Likewise.
34435 (FP_SUBNORMAL): Likewise.
34436 (FP_NORMAL): Likewise.
34437
34438 2012-11-02 Andreas Schwab <schwab@linux-m68k.org>
34439
34440 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
34441 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
34442 arguments.
34443
34444 2012-11-02 Roland McGrath <roland@hack.frob.com>
34445
34446 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
34447 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
34448 autoconf-time if not.
34449 * configure.in: Remove AC_PREREQ.
34450
34451 2012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
34452
34453 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
34454 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
34455 of the internal implementation.
34456
34457 2012-11-02 Joseph Myers <joseph@codesourcery.com>
34458
34459 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
34460 except include of <misc/sys/syslog.h>.
34461
34462 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
34463
34464 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
34465 function returns with a NULL context exit with zero.
34466
34467 2012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
34468
34469 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
34470
34471 2012-11-01 H.J. Lu <hongjiu.lu@intel.com>
34472
34473 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
34474 (run_program_cmd): This.
34475 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
34476 (tst_langinfo): New variable. Use it.
34477
34478 2012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
34479
34480 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
34481 floating point opcodes.
34482
34483 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
34484
34485 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
34486 variable.
34487
34488 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
34489
34490 * sysdeps/mach/hurd/powerpc: Remove directory.
34491 * sysdeps/mach/powerpc: Likewise.
34492
34493 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
34494
34495 * scripts/check-local-headers.sh: Ignore c++ headers.
34496
34497 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
34498
34499 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
34500 __libc_cleanup_region_start argument.
34501
34502 2012-11-01 Joseph Myers <joseph@codesourcery.com>
34503
34504 [BZ #14784]
34505 [BZ #14785]
34506 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
34507 x * y using scaling, not as x * y + z.
34508 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
34509 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
34510 * math/libm-test.inc (fma_test): Add more tests.
34511 (fma_test_towardzero): Likewise.
34512 (fma_test_downward): Likewise.
34513 (fma_test_upward): Likewise.
34514
34515 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
34516
34517 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
34518
34519 2012-10-31 Joseph Myers <joseph@codesourcery.com>
34520
34521 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
34522 New variable.
34523
34524 2012-10-31 Thomas Schwinge <thomas@codesourcery.com>
34525
34526 * rt/tst-shm.c (worker): Correct checking for mmap failure.
34527
34528 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
34529
34530 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
34531 Fix sort order.
34532 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
34533 Likewise.
34534
34535 2012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
34536
34537 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
34538 Fix the order of the list for glibc 2.17.
34539 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
34540 Likewise.
34541
34542 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
34543
34544 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34545
34546 2012-10-31 Joseph Myers <joseph@codesourcery.com>
34547
34548 [BZ #14610]
34549 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
34550 for low part of x being zero before using __atanl (y).
34551 * math/libm-test.inc (atan2_test): Add another test.
34552
34553 * manual/install.texi (Configuring and compiling): Document
34554 general use of test-wrapper and test-wrapper-env.
34555 * INSTALL: Regenerated.
34556
34557 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
34558 (__fma): Do not extract and scale down low bits on after-rounding
34559 systems when result rounded to normal precision would have normal
34560 exponent.
34561 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
34562 (__fmal): Do not extract and scale down low bits on after-rounding
34563 systems when result rounded to normal precision would have normal
34564 exponent.
34565 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
34566 (__fmal): Do not extract and scale down low bits on after-rounding
34567 systems when result rounded to normal precision would have normal
34568 exponent.
34569 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
34570 macro.
34571 (fma_test): Add more tests.
34572 (fma_test_towardzero): Likewise.
34573 (fma_test_downward): Likewise.
34574 (fma_test_upward): Likewise.
34575
34576 2012-10-30 H.J. Lu <hongjiu.lu@intel.com>
34577
34578 * sysdeps/i386/tininess.h: Renamed to ...
34579 * sysdeps/x86/tininess.h: This.
34580 * sysdeps/x86_64/tininess.h: Removed.
34581
34582 2012-10-30 Joseph Myers <joseph@codesourcery.com>
34583
34584 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
34585 input. Use $(build-program-cmd).
34586 ($(objpfx)tst-array1-static.out): Likewise.
34587 ($(objpfx)tst-array2.out): Likewise.
34588 ($(objpfx)tst-array3.out): Likewise.
34589 ($(objpfx)tst-array4.out): Likewise.
34590 ($(objpfx)tst-array5.out): Likewise.
34591 ($(objpfx)tst-array5-static.out): Likewise.
34592
34593 2012-10-30 Chris Metcalf <cmetcalf@tilera.com>
34594
34595 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
34596 if defined.
34597
34598 * nss/nsswitch.h (nss_interface_function): Provide new
34599 macro for use with NSS functions.
34600 * grp/initgroups.c: Use new macro.
34601 * nss/getXXbyYY.c: Likewise.
34602 * nss/getXXbyYY_r.c: Likewise.
34603 * nss/getXXent.c: Likewise.
34604 * nss/getXXent_r.c: Likewise.
34605 * sysdeps/posix/getaddrinfo.c: Likewise.
34606
34607 2012-10-30 Andreas Jaeger <aj@suse.de>
34608
34609 * po/ru.po: Update Russion translation from translation project.
34610
34611 2012-10-30 Joseph Myers <joseph@codesourcery.com>
34612
34613 [BZ #14152]
34614 [BZ #14783]
34615 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
34616 result and shift together with sticky bit instead of replicating
34617 round-to-nearest rounding.
34618 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
34619 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
34620 * math/libm-test.inc (fma_test): Add more tests. Do not permit
34621 missing underflow exceptions.
34622 (fma_test_towardzero): Add more tests.
34623 (fma_test_downward): Likewise.
34624 (fma_test_upward): Likewise.
34625
34626 [BZ #14047]
34627 * sysdeps/generic/tininess.h: New file.
34628 * sysdeps/i386/tininess.h: Likewise.
34629 * sysdeps/sh/tininess.h: Likewise.
34630 * sysdeps/x86_64/tininess.h: Likewise.
34631 * stdlib/tst-strtod-underflow.c: Likewise.
34632 * stdlib/tst-tininess.c: Likewise.
34633 * stdlib/strtod_l.c: Include <tininess.h>.
34634 (round_and_return): Do not set errno for exact underflow cases.
34635 Force an underflow exception when setting errno for underflow.
34636 Determine underflow based on rounding to normal precision if
34637 TININESS_AFTER_ROUNDING.
34638 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
34639 ERANGE for exact underflow cases.
34640 * stdlib/Makefile (tests): Add tst-tininess and
34641 tst-strtod-underflow.
34642 ($(objpfx)tst-tininess): Use $(link-libm).
34643 ($(objpfx)tst-strtod-underflow): Likewise.
34644
34645 2012-10-30 Andreas Jaeger <aj@suse.de>
34646
34647 [BZ#14767]
34648 * elf/Makefile (tests): Remove conditional for have-initfini-array
34649 since this is now always required and the variable does not exist
34650 anymore.
34651 (tests-static): Likewise.
34652 (modules-names): Likewise.
34653
34654 * po/eo.po: Add Esperanto translation from translation project.
34655
34656 * elf/tst-array1.c (fini_array): Make writeable so that it can be
34657 merged with constructor/destructor.
34658 (init_array): Likewise.
34659 * elf/tst-array2dep.c (fini_array): Likewise.
34660 (init_array): Likewise.
34661
34662 2012-10-29 Mike Frysinger <vapier@gentoo.org>
34663
34664 * manual/message.texi: Delete @cartouche tags.
34665
34666 2012-10-29 Pino Toscano <toscano.pino@tiscali.it>
34667
34668 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
34669 EOPNOTSUPP.
34670 * sysdeps/mach/hurd/fsync.c: Likewise.
34671
34672 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
34673 [_POSIX_REALTIME_SIGNALS]: Change condition to
34674 [_POSIX_REALTIME_SIGNALS > 0].
34675
34676 2012-10-27 Andreas Jaeger <aj@suse.de>
34677
34678 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
34679 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
34680 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
34681 [__WORDSIZE != 64]: Likewise.
34682
34683 2012-10-26 H.J. Lu <hongjiu.lu@intel.com>
34684
34685 * iconvdata/tst-table.sh: Remove ${SHELL}.
34686 * iconvdata/tst-tables.sh: Likewise.
34687
34688 2012-10-25 David S. Miller <davem@davemloft.net>
34689
34690 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
34691 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
34692 of strtoull.
34693
34694 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
34695 ifunc-impl-list.c
34696 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
34697 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
34698 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
34699 file.
34700
34701 2012-10-25 Roland McGrath <roland@hack.frob.com>
34702
34703 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
34704 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
34705 __getdirentries.
34706
34707 2012-10-25 Joseph Myers <joseph@codesourcery.com>
34708 Jim Blandy <jimb@codesourcery.com>
34709
34710 * scripts/cross-test-ssh.sh: New file.
34711 * manual/install.texi (Configuring and compiling): Document use of
34712 cross-test-ssh.sh.
34713 * INSTALL: Regenerated.
34714
34715 2012-10-25 Pino Toscano <toscano.pino@tiscali.it>
34716
34717 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
34718 EOPNOTSUPP.
34719
34720 2012-10-25 Joseph Myers <joseph@codesourcery.com>
34721
34722 * Makeconfig (run-program-prefix): Fix comment.
34723
34724 2012-10-24 Joseph Myers <joseph@codesourcery.com>
34725 Jim Blandy <jimb@codesourcery.com>
34726
34727 * Makeconfig (test-wrapper): New variable,
34728 (test-wrapper-env): Likewise.
34729 [$(cross-compiling) = yes && $(test-wrapper) != ""]
34730 (run-built-tests): Define to yes.
34731 (run-program-prefix): Use $(test-wrapper).
34732 (built-program-cmd): Likewise.
34733 * Rules (make-test-out): Use $(test-wrapper-env) and
34734 $(host-built-program-cmd).
34735 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
34736 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
34737 tst-pathopt.sh.
34738 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
34739 $(test-wrapper-env) to tst-rtld-load-self.sh.
34740 ($(objpfx)order2.out): Use $(test-wrapper).
34741 ($(objpfx)tst-initorder.out): Likewise.
34742 ($(objpfx)tst-initorder2.out): Likewise.
34743 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
34744 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
34745 (test_wrapper_env): New variable. Use it to run ld.so.
34746 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
34747 Use it to run ld.so.
34748 (test_wrapper_env): Likewise.
34749 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
34750 $(test-wrapper) to run-iconv-test.sh.
34751 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
34752 (ICONV): Use $test_wrapper.
34753 * posix/Makefile ($(objpfx)globtest.out): Pass
34754 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
34755 globtest.sh, not $(run-program-prefix).
34756 * posix/globtest.sh (run_via_rtld_prefix): New variable.
34757 (test_wrapper): Likewise.
34758 (test_wrapper_env): Likewise. Use it to run globtest with HOME
34759 set together with run_via_rtld_prefix.
34760 (run_program_prefix): Define in terms of test_wrapper and
34761 run_via_rtld_prefix.
34762
34763 2012-10-24 Roland McGrath <roland@hack.frob.com>
34764
34765 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
34766 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
34767 Targets removed.
34768
34769 [BZ #14743]
34770 * include/time.h: Remove librt_hidden_proto (clock_gettime).
34771 Declare __clock_getres, __clock_gettime, __clock_settime,
34772 __clock_nanosleep, and __clock_getcpuclockid.
34773 * rt/clock_gettime.c: Define __clock_gettime as an alias.
34774 Remove librt_hidden_def (clock_gettime).
34775 * sysdeps/unix/clock_gettime.c: Likewise.
34776 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
34777 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
34778 * rt/clock_getres.c: Define __clock_getres as an alias.
34779 * sysdeps/posix/clock_getres.c: Likewise.
34780 * rt/clock_settime.c: Define __clock_settime as an alias.
34781 * sysdeps/unix/clock_settime.c: Likewise.
34782 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
34783 * sysdeps/unix/clock_nanosleep.c: Likewise.
34784 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
34785 * rt/clock-compat.c: New file.
34786 * rt/Makefile (librt-routines): Add clock-compat and move
34787 $(clock-routines) to ...
34788 (routines): ... here, new variable.
34789 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
34790 Don't add get_clockfreq here.
34791 * rt/Versions (libc: GLIBC_2.17): New version set.
34792 Add clock_* symbols here.
34793 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
34794 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
34795 (GLIBC_2.17): Add clock_* symbols.
34796 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
34797 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
34798 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
34799 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
34800 Likewise.
34801 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
34802 Likewise.
34803 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
34804 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
34805 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
34806 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
34807 * NEWS: Mention the move.
34808
34809 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
34810 Use __open, __read, __close rather than their public counterparts.
34811 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
34812 (__get_clockfreq_via_cpuinfo): Likewise.
34813 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
34814 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
34815
34816 * config.h.in (HAVE_IFUNC): New #undef.
34817 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
34818 was successful.
34819 * configure: Regenerated.
34820
34821 2012-10-24 Mike Frysinger <vapier@gentoo.org>
34822
34823 * configure.in: Move READELF check to start of file.
34824 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
34825 libc_cv_asm_gnu_indirect_function in the process.
34826 * configure: Regenerated.
34827
34828 2012-10-24 Mike Frysinger <vapier@gentoo.org>
34829
34830 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
34831 send the output to /dev/null.
34832 (libc_cv_cc_with_libunwind): Likewise.
34833 (libc_cv_as_noexecstack): Likewise.
34834 * configure: Regenerate.
34835
34836 2012-10-24 Joseph Myers <joseph@codesourcery.com>
34837
34838 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
34839
34840 * posix/globtest.sh (TMPDIR): Do not set.
34841 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
34842 (testout): Likewise.
34843
34844 2012-10-24 Andreas Jaeger <aj@suse.de>
34845
34846 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
34847 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
34848 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
34849 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
34850 posix_fadvise64, posix_fallocate64.
34851
34852 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
34853 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
34854 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
34855 Likewise.
34856 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
34857 Likewise.
34858 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
34859
34860 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
34861 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
34862 <bits/fcntl-linux.h>.
34863 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
34864
34865 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
34866 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
34867 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
34868 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
34869 [__WORDSIZE != 64]: Likewise.
34870
34871 2012-10-23 Joseph Myers <joseph@codesourcery.com>
34872
34873 * Makeconfig (run-built-tests): New variable.
34874 * Rules [$(cross-compiling) = yes]: Change condition to
34875 [$(run-built-tests) = no].
34876 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
34877 to [$(run-built-tests) = yes].
34878 * elf/Makefile [$(cross-compiling) = no]: Likewise
34879 * grp/Makefile [$(cross-compiling) = no]: Likewise.
34880 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
34881 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
34882 * intl/Makefile [$(cross-compiling) = no]: Likewise.
34883 * io/Makefile [$(cross-compiling) = no]: Likewise.
34884 * libio/Makefile [$(cross-compiling) = no]: Likewise.
34885 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
34886 * misc/Makefile [$(cross-compiling) = no]: Likewise.
34887 * posix/Makefile [$(cross-compiling) = no]: Likewise.
34888 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
34889 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
34890 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
34891 * string/Makefile [$(cross-compiling) = no]: Likewise.
34892
34893 * posix/Makefile ($(objpfx)globtest.out): Pass
34894 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
34895 $(rtld-installed-name).
34896 * posix/globtest.sh (elf_objpfx): Remove variable.
34897 (rtld_installed_name): Likewise.
34898 (library_path): Likewise.
34899 (run_program_prefix): New variable. Use for running globtest
34900 binary.
34901
34902 2012-10-23 Jim Blandy <jimb@codesourcery.com>
34903 Joseph Myers <joseph@codesourcery.com>
34904
34905 * Makeconfig (host-built-program-cmd): New variable.
34906 * elf/Makefile (tst-stackguard1-ARGS): Use
34907 $(host-built-program-cmd).
34908 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
34909 (tst-spawn-ARGS): Likewise.
34910 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
34911
34912 2012-10-23 Joseph Myers <joseph@codesourcery.com>
34913 Jim Blandy <jimb@codesourcery.com>
34914
34915 * Makeconfig (run-via-rtld-prefix): New variable.
34916 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
34917 (built-program-cmd): Likewise.
34918
34919 2012-10-22 Andreas Jaeger <aj@suse.de>
34920
34921 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
34922 __O_RSYNC if it exists, otherwise to O_SYNC.
34923
34924 2012-10-22 Jim Blandy <jimb@codesourcery.com>
34925 Joseph Myers <joseph@codesourcery.com>
34926
34927 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
34928 /dev/null.
34929 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
34930 from /dev/null
34931 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
34932 /dev/null.
34933
34934 2012-10-22 Andreas Jaeger <aj@suse.de>
34935
34936 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
34937 Define always.
34938 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
34939
34940 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
34941 bits/fcntl-linux.h.
34942
34943 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
34944 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
34945
34946 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
34947 to __O_LARGEFILE.
34948 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
34949 to __O_LARGEFILE.
34950
34951 2012-10-21 Jim Blandy <jimb@codesourcery.com>
34952 Joseph Myers <joseph@codesourcery.com>
34953
34954 * config.make.in (NM): New variable.
34955
34956 2012-10-21 Andreas Jaeger <aj@suse.de>
34957
34958 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
34959 definitions and declarations that are provided by
34960 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
34961
34962 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
34963
34964 [BZ #14683]
34965 * elf/Makefile (tests-static): Add tst-leaks1-static.
34966 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
34967 ($(objpfx)tst-leaks1-static): New rule.
34968 ($(objpfx)tst-leaks1-static-mem): Likewise.
34969 (tst-leaks1-static-ENV): New macro.
34970 * elf/dl-open.c (dl_open_worker): Check the main application
34971 only if SHARED is defined.
34972 * elf/tst-leaks1-static.c: New file.
34973
34974 2012-10-20 Andreas Jaeger <aj@suse.de>
34975
34976 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
34977 generic values for Linux.
34978 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
34979 and declarations that are provided by <bits/fcntl-linux.h> and
34980 include <bits/fcntl-linux.h>.
34981 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
34982 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
34983
34984 2012-10-20 Roland McGrath <roland@hack.frob.com>
34985
34986 * io/fcntl.h: Move include of <bits/types.h> to the top and
34987 include it unconditionally.
34988
34989 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
34990
34991 * wcsmbs/Makefile (tests-ifunc): New variable.
34992 (tests): Add $(tests-ifunc).
34993 * wcsmbs/test-wcschr-ifunc.c: New file.
34994 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
34995 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
34996 * wcsmbs/test-wcslen-ifunc.c: Likewise.
34997 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
34998 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
34999
35000 * string/Makefile (tests-ifunc): New variable.
35001 (tests): Add $(tests-ifunc).
35002 * string/test-memccpy.c (TEST_NAME): New macro.
35003 * string/test-memchr.c (TEST_NAME): Likewise.
35004 * string/test-memcmp.c (TEST_NAME): Likewise.
35005 * string/test-memcpy.c (TEST_NAME): Likewise.
35006 * string/test-memmem.c (TEST_NAME): Likewise.
35007 * string/test-memmove.c (TEST_NAME): Likewise.
35008 * string/test-memset.c (TEST_NAME): Likewise.
35009 * string/test-rawmemchr.c (TEST_NAME): Likewise.
35010 * string/test-stpcpy.c (TEST_NAME): Likewise.
35011 * string/test-stpncpy.c (TEST_NAME): Likewise.
35012 * string/test-strcasecmp.c (TEST_NAME): Likewise.
35013 * string/test-strcasestr.c (TEST_NAME): Likewise.
35014 * string/test-strcat.c (TEST_NAME): Likewise.
35015 * string/test-strchr.c (TEST_NAME): Likewise.
35016 * string/test-strcmp.c(TEST_NAME): Likewise.
35017 * string/test-strcpy.c (TEST_NAME): Likewise.
35018 * string/test-strcspn.c (TEST_NAME): Likewise.
35019 * string/test-strlen.c (TEST_NAME): Likewise.
35020 * string/test-strncasecmp.c (TEST_NAME): Likewise.
35021 * string/test-strncmp.c (TEST_NAME): Likewise.
35022 * string/test-strncpy.c (TEST_NAME): Likewise.
35023 * string/test-strnlen.c (TEST_NAME): Likewise.
35024 * string/test-strpbrk.c (TEST_NAME): Likewise.
35025 * string/test-strrchr.c (TEST_NAME): Likewise.
35026 * string/test-strspn.c (TEST_NAME): Likewise.
35027 * string/test-strstr.c (TEST_NAME): Likewise.
35028 * string/test-bcopy-ifunc.c: New file.
35029 * string/test-bzero-ifunc.c: Likewise.
35030 * string/test-memccpy-ifunc.c: Likewise.
35031 * string/test-memchr-ifunc.c: Likewise.
35032 * string/test-memcmp-ifunc.c: Likewise.
35033 * string/test-memcpy-ifunc.c: Likewise.
35034 * string/test-memmem-ifunc.c: Likewise.
35035 * string/test-memmove-ifunc.c: Likewise.
35036 * string/test-mempcpy-ifunc.c: Likewise.
35037 * string/test-memset-ifunc.c: Likewise.
35038 * string/test-rawmemchr-ifunc.c: Likewise.
35039 * string/test-stpcpy-ifunc.c: Likewise.
35040 * string/test-stpncpy-ifunc.c: Likewise.
35041 * string/test-strcasecmp-ifunc.c: Likewise.
35042 * string/test-strcasestr-ifunc.c: Likewise.
35043 * string/test-strcat-ifunc.c: Likewise.
35044 * string/test-strchr-ifunc.c: Likewise.
35045 * string/test-strchrnul-ifunc.c: Likewise.
35046 * string/test-strcmp-ifunc.c: Likewise.
35047 * string/test-strcpy-ifunc.c: Likewise.
35048 * string/test-strcspn-ifunc.c: Likewise.
35049 * string/test-strlen-ifunc.c: Likewise.
35050 * string/test-strncasecmp-ifunc.c: Likewise.
35051 * string/test-strncat-ifunc.c: Likewise.
35052 * string/test-strncmp-ifunc.c: Likewise.
35053 * string/test-strncpy-ifunc.c: Likewise.
35054 * string/test-strnlen-ifunc.c: Likewise.
35055 * string/test-strpbrk-ifunc.c: Likewise.
35056 * string/test-strrchr-ifunc.c: Likewise.
35057 * string/test-strspn-ifunc.c: Likewise.
35058 * string/test-strstr-ifunc.c: Likewise.
35059
35060 * debug/Makefile (tests-ifunc): New variable.
35061 (tests): Add $(tests-ifunc).
35062 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
35063 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
35064 * debug/test-stpcpy_chk-ifunc.c: New file.
35065 * debug/test-strcpy_chk-ifunc.c: Likewise.
35066
35067 2012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
35068
35069 [BZ #13601]
35070 * elf/dl-load.c (open_verify): Retry read if the entire ELF
35071 header is not read in.
35072
35073 2012-10-19 Joseph Myers <joseph@codesourcery.com>
35074
35075 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
35076 script to $(SHELL) as $<. Pass $(common-objpfx) to script
35077 directly. Pass built executable to script as
35078 $(built-program-cmd).
35079 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
35080 $testprogram without using LD_LIBRARY_PATH and $ldso.
35081
35082 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
35083 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
35084 $(rtld-installed-name).
35085 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
35086 (rtld_installed_name): Likewise.
35087 (library_path): Likewise.
35088 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
35089 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
35090 $(run-program-prefix) to tst-tables.sh.
35091 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
35092 it to run tst-table-from and tst-table-to.
35093 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
35094 Pass it to tst-table.sh.
35095 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
35096 $(run-program-prefix) to tst-gettext.sh.
35097 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
35098 tst-translit.sh.
35099 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
35100 tst-gettext2.sh.
35101 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
35102 to run tst-gettext.
35103 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
35104 to run tst-gettext2.
35105 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
35106 to run tst-translit.
35107 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
35108 $(run-program-prefix) to tst-mtrace.sh.
35109 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
35110 to run tst-mtrace.
35111 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
35112 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
35113 $(rtld-installed-name).
35114 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
35115 (rtld_installed_name): Likewise.
35116 (run_program_prefix): New variable. Use it to run wordexp-test.
35117
35118 * Makeconfig (ARCH): Remove all definitions.
35119 (machine): Likewise.
35120 [ARCH]: Remove conditional code.
35121 [!objdir]: Give error.
35122 [!objdir] (objpfx): Remove.
35123 [!objdir] (common-objpfx): Likewise.
35124 [!objdir] (common-objdir): Likewise.
35125 * configure.in (config_makefile): Remove. Hardcode Makefile in
35126 AC_CONFIG_FILES call.
35127 * configure: Regenerated.
35128
35129 [BZ #13888]
35130 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
35131 or TMPDIR.
35132 (testout): Likewise.
35133
35134 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
35135 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
35136 $(rtld-installed-name).
35137 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
35138 (rtld_installed_name): Likwise.
35139 (runit): Remove function.
35140 (run_getconf): New variable, Use it for running getconf binary.
35141
35142 2012-10-18 H.J. Lu <hongjiu.lu@intel.com>
35143
35144 [BZ #14716]
35145 * string/test-memmem.c (check_result): New function.
35146 (do_one_test): Use it.
35147 (check1): New function.
35148 (test_main): Use it.
35149
35150 2012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
35151
35152 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
35153
35154 2012-10-18 Joseph Myers <joseph@codesourcery.com>
35155
35156 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
35157 (_G_LSEEK64): Likewise.
35158 (_G_MMAP64): Likewise.
35159 (_G_FSTAT64): Likewise.
35160 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
35161 (_G_LSEEK64): Likewise.
35162 (_G_MMAP64): Likewise.
35163 (_G_FSTAT64): Likewise.
35164 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
35165 unconditional. Call __mmap64 directly.
35166 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
35167 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
35168 __lseek64 directly.
35169 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
35170 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
35171 __mmap64 directly.
35172 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
35173 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
35174 __lseek64 directly.
35175 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
35176 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
35177 __lseek64 directly.
35178 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
35179 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
35180 __lseek64 directly.
35181 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
35182 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
35183 __fxstat64 directly.
35184 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
35185 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
35186 unconditional.
35187 (freopen64) [!_G_OPEN64]: Remove conditional code.
35188 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
35189 unconditional.
35190 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
35191 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
35192 unconditional.
35193 (ftello64) [!_G_LSEEK64]: Remove conditional code.
35194 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
35195 unconditional.
35196 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
35197 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
35198 unconditional.
35199 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
35200 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
35201 unconditional.
35202 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
35203 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
35204 unconditional.
35205 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
35206 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
35207 unconditional.
35208 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
35209
35210 2012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
35211
35212 [BZ #12140]
35213 * manual/memory.texi (Malloc Tunable Parameters): Add note
35214 about free list pointers overwriting some perturb bytes.
35215 Wording suggested by Roland McGrath.
35216
35217 2012-10-17 Joseph Myers <joseph@codesourcery.com>
35218
35219 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
35220 (lgamma_test): Likewise.
35221 (tgamma_test): Likewise.
35222
35223 2012-10-16 Florian Weimer <fweimer@redhat.com>
35224
35225 [BZ #14700]
35226 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
35227 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
35228
35229 2012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
35230
35231 * NEWS: Mention BZ #14716.
35232 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
35233 when removing AVAILABLE1_USES_J macro.
35234
35235 2012-10-12 H.J. Lu <hongjiu.lu@intel.com>
35236
35237 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
35238 (__bswap_64): __uint64_t for unsigned 64-bit int.
35239
35240 2012-10-12 Andreas Schwab <schwab@linux-m68k.org>
35241
35242 * include/string.h (memmem): Declare libc hidden alias.
35243 * string/memmem.c (memmem): Define libc hidden alias.
35244 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
35245 __read, __close instead of open, read, close.
35246
35247 2012-10-11 H.J. Lu <hongjiu.lu@intel.com>
35248
35249 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
35250 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
35251 global and hidden.
35252 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
35253 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
35254 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
35255 Likewise.
35256 (__rawmemchr_sse2): Likewise.
35257 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
35258 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
35259 (__strchr_sse2): Likewise.
35260 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
35261 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
35262 (__strcasecmp_sse2): Likewise.
35263 (__strncasecmp_sse2): Likewise.
35264 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
35265 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
35266 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
35267 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
35268 (__strrchr_sse2): Likewise.
35269 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
35270 ifunc-impl-list.c.
35271 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
35272 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
35273 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
35274 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
35275 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
35276 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
35277 * sysdeps/x86_64/multiarch/memset.S: Likewise.
35278 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
35279 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
35280 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
35281 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
35282 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
35283 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
35284 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
35285 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
35286 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
35287 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
35288 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
35289 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
35290 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
35291 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
35292 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
35293 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
35294 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
35295 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
35296 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
35297 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
35298 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
35299 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
35300 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
35301
35302 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
35303 global and hidden.
35304 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
35305 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
35306 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
35307 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
35308 Likewise.
35309 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
35310 Likewise.
35311 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
35312 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
35313 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
35314 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
35315 ifunc-impl-list.c.
35316 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
35317 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
35318 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
35319 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
35320 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
35321 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
35322 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
35323 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
35324 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
35325 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
35326 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
35327 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
35328 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
35329 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
35330 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
35331 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
35332 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
35333 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
35334 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
35335 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
35336 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
35337 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
35338 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
35339 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
35340 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
35341 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
35342 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
35343 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
35344 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
35345 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
35346 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
35347 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
35348 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
35349 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
35350 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
35351 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
35352 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
35353 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
35354 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
35355 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
35356 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
35357
35358 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
35359 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
35360 * include/ifunc-impl-list.h: New file.
35361 * misc/ifunc-impl-list.c: Likewise.
35362 * misc/Makefile (routines): Add ifunc-impl-list.
35363 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
35364 * string/test-string.h: Include <ifunc-impl-list.h>.
35365 (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
35366 TEST_NAME]: New variables.
35367 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
35368 are defined.
35369 (test_init): Call __libc_ifunc_impl_list to initialize
35370 func_list if TEST_IFUNC and TEST_NAME are defined.
35371
35372 * string/Makefile (strop-tests): Add bcopy and bzero.
35373 * string/test-bcopy.c: New file.
35374 * string/test-bzero.c: Likewise.
35375 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
35376 defined.
35377 * string/test-memset.c: Support bzero test if TEST_BZERO is
35378 defined.
35379 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
35380 __libc_memmove.
35381 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
35382 __libc_memset.
35383 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
35384 of memset.
35385
35386 2012-10-10 Joseph Myers <joseph@codesourcery.com>
35387
35388 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
35389 * configure: Regenerated.
35390
35391 * Makeconfig (+link-static-before-libc): Don't include
35392 $(link-static-libc).
35393
35394 * libio/libio.h (_IO_pos_t): Remove.
35395
35396 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
35397
35398 * NEWS: Add note about FIPS mode. Wording suggested by Roland
35399 McGrath.
35400
35401 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
35402
35403 * crypt/crypt-entry.c: Include fips-private.h.
35404 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
35405 * crypt/md5c-test.c (main): Tolerate disabled MD5.
35406 * sysdeps/unix/sysv/linux/fips-private.h: New file.
35407 * sysdeps/generic/fips-private.h: New file, dummy fallback.
35408
35409 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
35410
35411 * crypt/crypt-private.h: Include stdbool.h.
35412 (_ufc_setup_salt_r): Return bool.
35413 * crypt/crypt-entry.c: Include errno.h.
35414 (__crypt_r): Return NULL with EINVAL for bad salt.
35415 * crypt/crypt_util.c (bad_for_salt): New.
35416 (_ufc_setup_salt_r): Check that salt is long enough and within
35417 the specified alphabet.
35418 * crypt/badsalttest.c: New file.
35419 * crypt/Makefile (tests): Add it.
35420 ($(objpfx)badsalttest): New.
35421
35422 2012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
35423
35424 * NEWS: Add entry for BZ #14602.
35425
35426 2012-10-09 Joseph Myers <joseph@codesourcery.com>
35427
35428 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
35429 type-generic.
35430 * math/libm-test.inc: Update comment listing what functions and
35431 macros are tested.
35432 (isgreater_test): New function.
35433 (isgreaterequal_test): Likewise.
35434 (isless_test): Likewise.
35435 (islessequal_test): Likewise.
35436 (islessgreater_test): Likewise.
35437 (isunordered_test): Likewise.
35438 (main): Call the new functions.
35439
35440 2012-10-09 Roland McGrath <roland@hack.frob.com>
35441
35442 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
35443 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
35444 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
35445 * sysdeps/i386/configure: Regenerated.
35446 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
35447 * sysdeps/mach/configure: Regenerated.
35448 * sysdeps/mach/hurd/configure: Regenerated.
35449 * sysdeps/powerpc/configure: Regenerated.
35450 * sysdeps/powerpc/powerpc32/configure: Regenerated.
35451 * sysdeps/powerpc/powerpc64/configure: Regenerated.
35452 * sysdeps/s390/s390-32/configure: Regenerated.
35453 * sysdeps/s390/s390-64/configure: Regenerated.
35454 * sysdeps/sh/configure: Regenerated.
35455 * sysdeps/sparc/configure: Regenerated.
35456 * sysdeps/unix/sysv/linux/configure: Regenerated.
35457 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
35458 * sysdeps/x86_64/configure: Regenerated.
35459
35460 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
35461 defined. Don't check if MAP is NULL.
35462
35463 2012-10-09 Joseph Myers <joseph@codesourcery.com>
35464
35465 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
35466 (_G_stat64): Likewise.
35467 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
35468 (_G_stat64): Likewise.
35469 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
35470 instead of struct _G_stat64.
35471 * libio/fileops.c (mmap_remap_check): Likewise.
35472 (decide_maybe_mmap): Likewise.
35473 (_IO_new_file_seekoff): Likewise.
35474 (_IO_file_stat): Likewise.
35475 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
35476 _G_off64_t.
35477 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
35478 instead of struct _G_stat64.
35479 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
35480
35481 2012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
35482
35483 [BZ #14602]
35484 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
35485 Replace with ...
35486 (CHECK_EOL): New macro.
35487 (two_way_short_needle): Check beginning of haystack for EOL. Use
35488 CHECK_EOL.
35489 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
35490 Replace with CHECK_EOL.
35491 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
35492 Replace with CHECK_EOL.
35493
35494 2012-10-08 Joseph Myers <joseph@codesourcery.com>
35495
35496 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
35497 type-generic.
35498 * math/libm-test.inc: Update comment listing what functions and
35499 macros are tested.
35500 (finite_test): New function.
35501 (isinf_test): Likewise.
35502 (isnan_test): Likewise.
35503 (fpclassify_test): Test subnormal input.
35504 (isfinite_test): Likewise.
35505 (isnormal_test): Likewise.
35506 (main): Call the new functions.
35507
35508 2012-10-08 Jonathan Nieder <jrnieder@gmail.com>
35509
35510 [BZ #14660]
35511 * Makerules (%.dynsym): Force C locale when running
35512 $(OBJDUMP) --dynamic-syms.
35513
35514 2012-10-08 Andreas Schwab <schwab@linux-m68k.org>
35515
35516 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
35517 <stdint.h>.
35518
35519 2012-10-06 David S. Miller <davem@davemloft.net>
35520
35521 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
35522 upper 32-bits of the length value in %o2 since we use branch-on-register
35523 tests which consider the entire 64-bit register.
35524
35525 2012-10-06 H.J. Lu <hongjiu.lu@intel.com>
35526
35527 * string/test-strstr.c (check2): Add a test for page boundary.
35528
35529 2012-10-05 David S. Miller <davem@davemloft.net>
35530
35531 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
35532 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
35533 file.
35534 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
35535 sysdep_routines.
35536 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
35537 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
35538 and bzero when HWCAP_SPARC_CRYPTO is present.
35539
35540 2012-10-05 H.J. Lu <hongjiu.lu@intel.com>
35541
35542 [BZ #14602]
35543 * string/test-strstr.c (check2): New function.
35544 (test_main): Call check2.
35545
35546 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
35547 and bug-strchr1.
35548 * string/bug-strcasestr1.c (do_test): Moved to ...
35549 * string/test-strcasestr.c (check1): Here. New function.
35550 (do_one_test): Break out result checking code into ...
35551 (check_result): This. New function.
35552 (do_one_test): Call check_result.
35553 (test_main): Call check1.
35554 * string/bug-strchr1.c (do_test): Moved to ...
35555 * string/test-strchr.c (check1): Here. New function.
35556 (do_one_test): Break out result checking code into ...
35557 (check_result): This. New function.
35558 (do_one_test): Call check_result.
35559 (test_main): Call check1.
35560 * string/bug-strstr1.c (main): Moved to ...
35561 * string/test-strstr.c (check1): Here. New function.
35562 (do_one_test): Break out result checking code into ...
35563 (check_result): This. New function.
35564 (do_one_test): Call check_result.
35565 (test_main): Call check1.
35566 * string/bug-strcasestr1.c: Removed.
35567 * string/bug-strchr1.c: Likewise.
35568 * string/bug-strstr1.c: Likewise.
35569
35570 * elf/Makefile (dl-routines): Add hwcaps.
35571 * elf/dl-support.c (_dl_important_hwcaps): Removed.
35572 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
35573 (_dl_important_hwcaps): Moved to ...
35574 * elf/dl-hwcaps.c: Here. New file.
35575 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
35576
35577 [BZ #14557]
35578 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
35579 if IS_IN_rtld isn't defined.
35580
35581 * elf/dl-support.c (_dl_sysinfo_map): New.
35582 Include "get-dynamic-info.h" and "setup-vdso.h".
35583 (_dl_non_dynamic_init): Call setup_vdso.
35584 * elf/dynamic-link.h: Don't include <assert.h>.
35585 (elf_get_dynamic_info): Moved to ...
35586 * elf/get-dynamic-info.h: Here. New file.
35587 * elf/dynamic-link.h: Include "get-dynamic-info.h".
35588 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
35589 * elf/setup-vdso.h: Here. New file.
35590 * elf/rtld.c: Include "setup-vdso.h".
35591 (dl_main): Call setup_vdso.
35592
35593 2012-10-05 Joseph Myers <joseph@codesourcery.com>
35594
35595 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
35596 creal in comment listing functions tested. List finite, isinf,
35597 isnan, isless, islessequal, isgreater, isgreaterequal,
35598 islessgreater, isunordered, lgamma_r and pow10 as functions and
35599 macros not tested. Mention which functions not tested are aliases
35600 for other functions. Fix typo. Note that signs of NaNs are not
35601 tested.
35602
35603 * scripts/config.guess: Update from config.git.
35604 * scripts/config.sub: Likewise.
35605
35606 2012-10-04 Roland McGrath <roland@hack.frob.com>
35607
35608 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
35609 * misc/madvise.c (madvise): Renamed to __madvise.
35610 Make madvise a weak alias.
35611 * include/sys/mman.h: Declare __madvise.
35612 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
35613 * sysdeps/unix/syscalls.list
35614 (madvise): Make __madvise the strong name, and madvise a weak alias.
35615 * sysdeps/unix/sysv/linux/syscalls.list
35616 (madvise, mmap): Remove redundant entries.
35617 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
35618 * malloc/malloc.c (mtrim): Likewise.
35619 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
35620
35621 2012-10-03 Roland McGrath <roland@hack.frob.com>
35622
35623 * sysdeps/mach/hurd/dl-cache.c: File removed.
35624 * config.h.in (USE_LDCONFIG): New #undef.
35625 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
35626 * configure: Regenerated.
35627 * elf/Makefile (dl-routines): Add dl-cache only under
35628 [$(use-ldconfig) = yes].
35629 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
35630 cache on [USE_LDCONFIG].
35631 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
35632 [USE_LDCONFIG].
35633 * elf/rtld.c (dl_main): Likewise.
35634
35635 2012-10-03 Pino Toscano <toscano.pino@tiscali.it>
35636
35637 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
35638 _SC_LEVEL4_CACHE_LINESIZE.
35639
35640 2012-10-03 Roland McGrath <roland@hack.frob.com>
35641
35642 * sysdeps/unix/bsd/confstr.h: File removed.
35643
35644 2012-10-02 Alexandre Oliva <aoliva@redhat.com>
35645
35646 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
35647 sys/sdt-config.h.
35648
35649 2012-10-02 Roland McGrath <roland@hack.frob.com>
35650
35651 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
35652 Make 'mapoff' field ElfW(Off) rather than off_t.
35653
35654 2012-10-02 Dmitry V. Levin <ldv@altlinux.org>
35655
35656 * nscd/Makefile: Remove nscd-cflags and all its users.
35657 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
35658 (CFLAGS-nonlib): Add compiler flags for nscd modules.
35659
35660 [BZ #10631]
35661 * malloc.c (malloc_printerr): Clarify error message.
35662
35663 2012-10-02 H.J. Lu <hongjiu.lu@intel.com>
35664
35665 [BZ #14648]
35666 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
35667 Set bit_FMA_Usable if FMA is supported.
35668 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
35669 macro.
35670 (bit_FMA4_Usable): Updated.
35671 (index_FMA_Usable): New macro.
35672 (CPUID_FMA): Likewise
35673 (HAS_FMA): Defined with bit_FMA_Usable.
35674
35675 2012-10-01 Roland McGrath <roland@hack.frob.com>
35676
35677 * bits/types.h (__swblk_t): Type removed.
35678 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
35679 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
35680 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
35681 (__SWBLK_T_TYPE): Likewise.
35682 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
35683 (__SWBLK_T_TYPE): Likewise.
35684 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
35685 (__SWBLK_T_TYPE): Likewise.
35686 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
35687 (__SWBLK_T_TYPE): Likewise.
35688
35689 2012-10-01 Patsy Franklin <pfrankli@redhat.com>
35690 Honza Horak <hhorak@redhat.com>
35691
35692 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
35693 (xdr_mapname): Use YPMAXMAP as maxsize.
35694 (xdr_peername): Use YPMAXPEER as maxsize.
35695 (xdr_keydat): Use YPAXRECORD as maxsize.
35696 (xdr_valdat): Use YPMAXRECORD as maxsize.
35697
35698 2012-10-01 Roland McGrath <roland@hack.frob.com>
35699
35700 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
35701
35702 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
35703 * csu/init-first.c: ... here.
35704 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
35705 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
35706 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
35707 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
35708 * sysdeps/i386/init-first.c: File removed.
35709 * sysdeps/sh/init-first.c: File removed.
35710
35711 2012-10-01 Joseph Myers <joseph@codesourcery.com>
35712
35713 [BZ #14645]
35714 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
35715 if x * y might underflow to zero and z is zero.
35716 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
35717 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
35718 * math/libm-test.inc (min_subnorm_value): New variable.
35719 (fma_test): Add more tests.
35720 (fma_test_towardzero): Likewise.
35721 (fma_test_downward): Likewise
35722 (fma_test_upward): Likewise.
35723 (initialize): Set min_subnorm_value.
35724
35725 2012-09-29 Joseph Myers <joseph@codesourcery.com>
35726
35727 [BZ #14638]
35728 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
35729 0 + 0.
35730 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
35731 mode for addition resulting in exact zero.
35732 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
35733 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
35734 exact 0 + 0.
35735 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
35736 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
35737 * math/libm-test.inc (fma_test): Add more tests.
35738 (fma_test_towardzero): New function.
35739 (fma_test_downward): Likewise.
35740 (fma_test_upward): Likewise.
35741 (main): Call the new functions.
35742
35743 2012-09-28 David S. Miller <davem@davemloft.net>
35744
35745 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
35746
35747 2012-09-28 Roland McGrath <roland@hack.frob.com>
35748
35749 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
35750 instead of SIGALRM.
35751
35752 * sysdeps/gnu/_G_config.h: Moved to ...
35753 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
35754 * sysdeps/mach/hurd/_G_config.h: Moved to ...
35755 * sysdeps/generic/_G_config.h: ... here.
35756
35757 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
35758
35759 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
35760
35761 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
35762 Conditionalize target on [libnss_test1.so-version].
35763
35764 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
35765
35766 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
35767 (elfobjdir): Move out of conditionals.
35768
35769 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
35770 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
35771 (__nss_lookup_function): Conditionalize label remove_from_tree on
35772 [!DO_STATIC_NSS || SHARED], matching its only use.
35773
35774 2012-09-28 David S. Miller <davem@davemloft.net>
35775
35776 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
35777 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
35778 file.
35779 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
35780 sysdep_routines.
35781 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
35782 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
35783 when HWCAP_SPARC_CRYPTO is present.
35784
35785 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
35786
35787 * io/tst-mknodat.c: Create a FIFO instead of a socket.
35788
35789 2012-09-28 Andreas Schwab <schwab@linux-m68k.org>
35790
35791 [BZ #6530]
35792 * stdio-common/vfprintf.c (process_string_arg): Revert
35793 2000-07-22 change.
35794
35795 2011-09-28 Jonathan Nieder <jrnieder@gmail.com>
35796
35797 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
35798 for testcase.
35799 * stdio-common/tst-sprintf.c: Include <locale.h>
35800 (main): Test sprintf's handling of incomplete multibyte
35801 characters.
35802
35803 2012-09-28 H.J. Lu <hongjiu.lu@intel.com>
35804
35805 * elf/dl-runtime.c (VERSYMIDX): Removed.
35806 * elf/dl-version.c (VERSYMIDX): Likewise.
35807 * elf/do-rel.h (VERSYMIDX): Likewise.
35808 (VALIDX): Likewise.
35809 * elf/dynamic-link.h (VERSYMIDX): Likewise.
35810 * elf/rtld.c (VALIDX): Likewise.
35811 (ADDRIDX): Likewise.
35812 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
35813 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
35814 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
35815 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
35816 (VALIDX): Likewise.
35817 (ADDRIDX): Likewise.
35818
35819 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
35820
35821 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
35822
35823 2012-09-28 Dmitry V. Levin <ldv@altlinux.org>
35824
35825 [BZ #11438]
35826 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
35827 to global scope.
35828 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
35829 addresses are in the same scope as 192.0.2/24.
35830 * posix/gai.conf: Document new scope table defaults.
35831
35832 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
35833
35834 [BZ #5298]
35835 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
35836 for ftell. Compute offsets from write pointers instead.
35837 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
35838
35839 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
35840
35841 [BZ #14543]
35842 * libio/Makefile (tests): New test case tst-fseek.
35843 * libio/tst-fseek.c: New test case to verify that fseek/ftell
35844 combination works in wide mode.
35845 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
35846 state when the external buffer state changes.
35847
35848 2012-09-27 David S. Miller <davem@davemloft.net>
35849
35850 [BZ #14376]
35851 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
35852 pass reloc->r_addend in as the 'high' argument to
35853 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
35854
35855 * sysdeps/sparc/fpu/libm-test-ulps: Update.
35856
35857 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
35858
35859 * rt/tst-aio2.c: Include <pthread.h>.
35860 * rt/tst-aio3.c: Likewise.
35861
35862 2012-09-27 Steve Ellcey <sellcey@mips.com>
35863
35864 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
35865
35866 2012-09-27 H.J. Lu <hongjiu.lu@intel.com>
35867
35868 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
35869 contents on [SHARED].
35870
35871 2012-09-26 Marek Polacek <polacek@redhat.com>
35872
35873 [BZ #14530]
35874 [BZ #13741]
35875 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
35876 for C++ and GCC <4.3 as well as for non GCC compilers.
35877
35878 2012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
35879
35880 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
35881
35882 2012-09-25 Roland McGrath <roland@hack.frob.com>
35883
35884 * Makefile.in (all, install): Declare with .PHONY.
35885 Reported by Michael Hope <michael.hope@linaro.org>.
35886
35887 2012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
35888
35889 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
35890 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
35891 system header.
35892 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
35893 Likewise.
35894 (sydep_routines): Add the new and the internal functions.
35895 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
35896 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
35897 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
35898 (GLIBC_2.17): Add the new function.
35899 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
35900 (GLIBC_2.17): Likewise.
35901 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
35902 (GLIBC_2.17): Likewise.
35903 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
35904 (GLIBC_2.17): Likewise.
35905 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
35906
35907 2012-09-25 Alan Modra <amodra@gmail.com>
35908
35909 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
35910 Add release barrier before setting once_control to say
35911 initialisation is done. Add hints on lwarx. Use macro in
35912 place of isync.
35913 (clear_once_control): Add release barrier.
35914
35915 2012-09-25 Joseph Myers <joseph@codesourcery.com>
35916
35917 [BZ #13629]
35918 * math/s_clog.c (__clog): Handle more values close to |z| = 1
35919 specially.
35920 * math/s_clog10.c (__clog10): Likewise.
35921 * math/s_clog10f.c (__clog10f): Likewise.
35922 * math/s_clog10l.c (__clog10l): Likewise.
35923 * math/s_clogf.c (__clogf): Likewise.
35924 * math/s_clogl.c (__clogl): Likewise.
35925 * math/Makefile (libm-calls): Add x2y2m1.
35926 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
35927 (__x2y2m1): Likewise.
35928 (__x2y2m1l): Likewise.
35929 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
35930 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
35931 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
35932 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
35933 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
35934 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
35935 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
35936 * sysdeps/i386/fpu/libm-test-ulps: Update.
35937 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35938
35939 [BZ #14621]
35940 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
35941 int as type of variable DEPTH.
35942 (glob): Use size_t instead of int as type of variables NEWCOUNT
35943 and OLD_PATHC.
35944
35945 2012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
35946
35947 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
35948 Add s_sincosf-sse2.
35949 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
35950 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
35951 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
35952 macros for using routine as __sincosf_ia32.
35953 Use macro for function declaration and weak_alias.
35954 * sysdeps/i386/fpu/libm-test-ulps: Update.
35955
35956 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
35957 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
35958
35959 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
35960 subnormal argument.
35961 * math/s_cexpf.c (__cexpf): Likewise.
35962 * math/s_csinf.c (__csinf): Likewise.
35963 * math/s_csinhf.c (__csinhf): Likewise.
35964 * math/s_ctanf.c (__ctanf): Likewise.
35965 * math/s_ctanhf.c (__ctanhf): Likewise.
35966 * math/s_ccosh.c (__ccoshf): Likewise.
35967 * math/s_cexp.c (__cexpl): Likewise.
35968 * math/s_csin.c (__csin): Likewise.
35969 * math/s_csinh.c (__csinh): Likewise.
35970 * math/s_ctan.c (__ctan): Likewise.
35971 * math/s_ctanh.c (ctanh): Likewise.
35972 * math/s_ccoshl.c (__ccoshl): Likewise.
35973 * math/s_cexpl.c (__cexpl): Likewise.
35974 * math/s_csinl.c (__csinl): Likewise.
35975 * math/s_csinhl.c (__csinhl): Likewise.
35976 * math/s_ctanl.c (__ctanl): Likewise.
35977 * math/s_ctanhl.c (__ctanhl): Likewise.
35978
35979 2012-09-25 Joseph Myers <joseph@codesourcery.com>
35980
35981 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
35982 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
35983 (_IO_off_t): Define to __off_t, not _G_off_t.
35984 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
35985 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
35986 (_IO_wint_t): Define to wint_t, not _G_wint_t.
35987 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
35988 type of __dummy and __dummy2 fields.
35989 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
35990 (_G_ssize_t): Likewise.
35991 (_G_off_t): Likewise.
35992 (_G_pid_t): Likewise.
35993 (_G_uid_t): Likewise.
35994 (_G_wchar_t): Likewise.
35995 (_G_wint_t): Likewise.
35996 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
35997 (_G_ssize_t): Likewise.
35998 (_G_off_t): Likewise.
35999 (_G_pid_t): Likewise.
36000 (_G_uid_t): Likewise.
36001 (_G_wchar_t): Likewise.
36002 (_G_wint_t): Likewise.
36003 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
36004 (_G_ssize_t): Likewise.
36005 (_G_off_t): Likewise.
36006 (_G_pid_t): Likewise.
36007 (_G_uid_t): Likewise.
36008 (_G_wchar_t): Likewise.
36009 (_G_wint_t): Likewise.
36010
36011 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
36012
36013 * malloc/arena.c: Include malloc-sysdep.h.
36014 (shrink_heap): Use check_may_shrink_heap to decide if madvise
36015 is sufficient to shrink the heap or an unmap is needed.
36016 * sysdeps/generic/malloc-sysdep.h: New file. Define
36017 new function check_may_shrink_heap.
36018 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
36019 new function check_may_shrink_heap.
36020
36021 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
36022
36023 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
36024 comments.
36025
36026 2012-09-24 Dmitry V. Levin <ldv@altlinux.org>
36027
36028 * catgets/test-gencat.sh: Add "set -e".
36029 * elf/tst-pathopt.sh: Likewise.
36030 * grp/tst_fgetgrent.sh: Likewise.
36031 * iconvdata/run-iconv-test.sh: Likewise.
36032 * intl/tst-gettext.sh: Likewise.
36033 * intl/tst-gettext2.sh: Likewise.
36034 * intl/tst-gettext4.sh: Likewise.
36035 * intl/tst-gettext6.sh: Likewise.
36036 * intl/tst-translit.sh: Likewise.
36037 * io/ftwtest-sh: Likewise.
36038 * libio/test-freopen.sh: Likewise.
36039 * malloc/tst-mtrace.sh: Likewise.
36040 * posix/globtest.sh: Likewise.
36041 * posix/tst-getconf.sh: Likewise.
36042 * posix/wordexp-tst.sh: Likewise.
36043 * stdio-common/tst-printf.sh: Likewise.
36044 * stdio-common/tst-unbputc.sh: Likewise.
36045 * stdlib/tst-fmtmsg.sh: Likewise.
36046 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
36047 * catgets/Makefile: Do not specify -e option when running
36048 testsuite shell scripts.
36049 * elf/Makefile: Likewise.
36050 * grp/Makefile: Likewise.
36051 * iconvdata/Makefile: Likewise.
36052 * intl/Makefile: Likewise.
36053 * io/Makefile: Likewise.
36054 * libio/Makefile: Likewise.
36055 * malloc/Makefile: Likewise.
36056 * posix/Makefile: Likewise.
36057 * stdio-common/Makefile: Likewise.
36058 * stdlib/Makefile: Likewise.
36059 * sysdeps/x86_64/Makefile: Likewise.
36060
36061 * io/ftwtest-sh: Add copyright header.
36062 * posix/globtest.sh: Likewise.
36063 * posix/tst-getconf.sh: Likewise.
36064 * posix/wordexp-tst.sh: Likewise.
36065 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
36066
36067 2012-09-24 H.J. Lu <hongjiu.lu@intel.com>
36068
36069 [BZ #13679]
36070 * Makeconfig (+link): Defined as $(+link-static) if
36071 $(build-shared) isn't yes.
36072 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
36073 isn't yes.
36074 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
36075
36076 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
36077
36078 [BZ #14562]
36079 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
36080 new chunk size with MALLOC_ALIGN_MASK.
36081
36082 2012-09-24 Joseph Myers <joseph@codesourcery.com>
36083
36084 [BZ #5044]
36085 * stdio-common/printf_fphex.c: Include <stdbool.h> and
36086 <rounding-mode.h>.
36087 (__printf_fphex): Determine rounding using get_rounding_mode and
36088 round_away.
36089 * stdio-common/tst-printf-round.c (struct hex_test): New
36090 structure.
36091 (hex_tests): New variable.
36092 (test_hex_in_one_mode): New function.
36093 (do_test): Also run tests for hex float output.
36094
36095 2012-09-21 Joseph Myers <joseph@codesourcery.com>
36096
36097 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
36098 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
36099 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
36100 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
36101 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
36102 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
36103 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
36104 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
36105
36106 2012-09-20 Joseph Myers <joseph@codesourcery.com>
36107
36108 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
36109 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
36110 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
36111 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
36112
36113 2012-09-19 Dmitry V. Levin <ldv@altlinux.org>
36114
36115 [BZ #14579]
36116 * elf/rtld.c (dl_main): Limit the check for self loading to normal
36117 mode only.
36118 * elf/tst-rtld-load-self.sh: New test.
36119 * elf/Makefile: Run it.
36120
36121 2012-09-18 Joseph Myers <joseph@codesourcery.com>
36122
36123 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
36124 (tst-writev-ENV): Remove.
36125 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
36126
36127 2012-09-17 Chris Metcalf <cmetcalf@tilera.com>
36128
36129 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
36130
36131 2012-09-17 Joseph Myers <joseph@codesourcery.com>
36132
36133 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
36134 unconditional.
36135 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
36136 Likewise.
36137 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
36138 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
36139 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
36140 Likewise.
36141
36142 2012-09-14 H.J. Lu <hongjiu.lu@intel.com>
36143
36144 [BZ #14587]
36145 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
36146 * config.make.in (have-cpp-asm-debuginfo): Removed.
36147 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
36148 * configure: Regenerated.
36149
36150 2012-09-14 Joseph Myers <joseph@codesourcery.com>
36151
36152 [BZ #5044]
36153 * stdio-common/printf_fp.c: Include <stdbool.h> and
36154 <rounding-mode.h>.
36155 (___printf_fp): Determine rounding using get_rounding_mode and
36156 round_away.
36157 * stdio-common/tst-printf-round.c: New file.
36158 * stdio-common/Makefile (tests): Add tst-printf-round.
36159 (link-libm): New variable.
36160 ($(objpfx)tst-printf-round): Depend in $(link-libm).
36161
36162 2012-09-13 H.J. Lu <hongjiu.lu@intel.com>
36163
36164 [BZ #14576]
36165 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
36166 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
36167 Likewise.
36168 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
36169 Likewise.
36170
36171 2012-09-13 Joseph Myers <joseph@codesourcery.com>
36172
36173 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
36174 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
36175 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
36176 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
36177
36178 2012-09-12 Joseph Myers <joseph@codesourcery.com>
36179
36180 [BZ #14518]
36181 * include/rounding-mode.h: New file.
36182 * sysdeps/generic/get-rounding-mode.h: Likewise.
36183 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
36184 * stdlib/strtod_l.c: Include <rounding-mode.h>.
36185 (MAX_VALUE): New macro.
36186 (MIN_VALUE): Likewise.
36187 (overflow_value): New function.
36188 (underflow_value): Likewise.
36189 (round_and_return): Use overflow_value and underflow_value to
36190 determine return values in overflow and underflow cases. Use
36191 round_away to determine rounding depending on rounding mode.
36192 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
36193 determine return values in overflow and underflow cases.
36194 * stdlib/tst-strtod-round.c: Include <fenv.h>.
36195 (struct test_results): New structure.
36196 (struct test): Use struct test_results to store expected results
36197 for all rounding modes.
36198 (TEST): Include expected results for all rounding modes.
36199 (test_in_one_mode): New function.
36200 (do_test): Use test_in_one_mode to compute and check results.
36201 Check results for all rounding modes.
36202 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
36203 $(link-libm).
36204
36205 2012-12-09 Allan McRae <allan@archlinux.org>
36206
36207 * sysdeps/i386/fpu/libm-test-ulps: Update
36208
36209 2012-09-11 Joseph Myers <joseph@codesourcery.com>
36210
36211 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
36212 (_G_int32_t): Likewise.
36213 (_G_uint16_t): Likewise.
36214 (_G_uint32_t): Likewise.
36215 (_G_HAVE_BOOL): Likewise.
36216 (_G_HAVE_ATEXIT): Likewise.
36217 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
36218 (_G_HAVE_IO_FILE_OPEN): Likewise.
36219 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
36220 (_G_int32_t): Likewise.
36221 (_G_uint16_t): Likewise.
36222 (_G_uint32_t): Likewise.
36223 (_G_HAVE_BOOL): Likewise.
36224 (_G_HAVE_ATEXIT): Likewise.
36225 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
36226 (_G_HAVE_IO_FILE_OPEN): Likewise.
36227 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
36228 (_G_int32_t): Likewise.
36229 (_G_uint16_t): Likewise.
36230 (_G_uint32_t): Likewise.
36231 (_G_HAVE_BOOL): Likewise.
36232 (_G_HAVE_ATEXIT): Likewise.
36233 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
36234 (_G_HAVE_IO_FILE_OPEN): Likewise.
36235
36236 2012-09-11 H.J. Lu <hongjiu.lu@intel.com>
36237
36238 * csu/libc-tls.c: Update copyright years.
36239
36240 2012-09-10 Joseph Myers <joseph@codesourcery.com>
36241
36242 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
36243 [!_G_USING_THUNKS]: Remove conditional code.
36244 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
36245 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
36246
36247 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
36248 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
36249 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
36250 (_G_VTABLE_LABEL_PREFIX): Likewise.
36251 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
36252 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
36253 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
36254 (_G_VTABLE_LABEL_PREFIX): Likewise.
36255 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
36256 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
36257 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
36258 (_G_VTABLE_LABEL_PREFIX): Likewise.
36259 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
36260
36261 2012-09-10 H.J. Lu <hongjiu.lu@intel.com>
36262
36263 * libio/Makefile: Include ../Makeconfig before tests.
36264 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
36265 only if $(build-shared) is yes.
36266
36267 * iconv/gconv_db.c: Update copyright years.
36268
36269 2012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
36270
36271 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
36272 unwind info if defined PIC. Fix special cases description.
36273 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
36274
36275 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
36276 DP_HI_MASK entry.
36277 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
36278
36279 2012-09-07 H.J. Lu <hongjiu.lu@intel.com>
36280
36281 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
36282
36283 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
36284 is NULL.
36285
36286 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
36287 (LDLIBS-tst-chk4): This.
36288 (LDFLAGS-tst-chk5): Renamed to ...
36289 (LDLIBS-tst-chk5): This.
36290 (LDFLAGS-tst-chk6): Renamed to ...
36291 (LDLIBS-tst-chk6): This.
36292 (LDFLAGS-tst-lfschk4): Renamed to ...
36293 (LDLIBS-tst-lfschk4): This.
36294 (LDFLAGS-tst-lfschk5): Renamed to ...
36295 (LDLIBS-tst-lfschk5): This.
36296 (LDFLAGS-tst-lfschk6): Renamed to ...
36297 (LDLIBS-tst-lfschk6): This.
36298
36299 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
36300 on $(common-objpfx)soversions.mk.
36301
36302 2012-09-07 Joseph Myers <joseph@codesourcery.com>
36303
36304 [BZ #10014]
36305 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
36306 example host name.
36307
36308 2012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
36309
36310 * malloc/arena.c (arena_get_retry): New function that gets
36311 another arena for the caller to try its request on.
36312 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
36313 current arena cannot fulfill the request.
36314 (__libc_memalign): Likewise.
36315 (__libc_memalign): Likewise.
36316 (__libc_pvalloc): Likewise.
36317 (__libc_calloc): Likewise.
36318
36319 2012-09-05 John Tobey <john.tobey@gmail.com>
36320
36321 [BZ #13542]
36322 * manual/arith.texi (Operations on Complex): Fix description
36323 of carg branch cut.
36324
36325 2012-09-06 Joseph Myers <joseph@codesourcery.com>
36326
36327 [BZ #10014]
36328 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
36329 host name.
36330
36331 [BZ #10038]
36332 * manual/memory.texi (Memory): Make order of menu items match
36333 order of sections.
36334
36335 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
36336
36337 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
36338 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
36339 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
36340
36341 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
36342
36343 * csu/libc-tls.c (static_dtv): Renamed to ...
36344 (_dl_static_dtv): This. Make it global.
36345 (_dl_initial_dtv): Removed.
36346 (__libc_setup_tls): Updated.
36347 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
36348 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
36349 DL_INITIAL_DTV.
36350
36351 2012-09-06 Petr Machata <pmachata@redhat.com>
36352
36353 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
36354 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
36355 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
36356 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
36357
36358 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
36359
36360 [BZ #14545]
36361 * csu/libc-tls.c (_dl_initial_dtv): New variable.
36362 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
36363 freeing dtv[-1].
36364
36365 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
36366
36367 [BZ #14544]
36368 * Makeconfig (link-static-before-libc): Replace $(+prector)
36369 with $(+prectorT).
36370 (link-static-after-libc): Replace $(+postctor) with
36371 $(+postctorT).
36372 (link-bounded): Replace $(+prector)/$(+postctor) with
36373 $(+prectorT)/$(+postctorT).
36374 (+prectorT): New macro.
36375 (+postctorT): Likewise.
36376
36377 2012-09-06 Joseph Myers <joseph@codesourcery.com>
36378
36379 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
36380 (round_str): Handle values above the maximum for IBM long double
36381 as inexact.
36382 * stdlib/tst-strtod-round.c (tests): Regenerated.
36383
36384 2012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
36385
36386 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
36387 assembler flag.
36388 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
36389 zarch_nohighgprs around the zarch optimized routines.
36390 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
36391 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
36392 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
36393 for zarch.
36394
36395 2012-09-05 David S. Miller <davem@davemloft.net>
36396
36397 * sysdeps/sparc/fpu/libm-test-ulps: Update.
36398
36399 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
36400 (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
36401 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
36402 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
36403 entries.
36404
36405 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
36406
36407 * malloc/arena.c: Fold copyright years.
36408 * malloc/mcheck.c, malloc/memusage.c: Likewise.
36409
36410 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
36411
36412 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
36413
36414 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
36415
36416 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
36417
36418 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
36419
36420 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
36421 change internal state upon failure.
36422
36423 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
36424
36425 * malloc/mcheck.c (mcheck_check_all): Fix typo.
36426 * malloc/memusage.c (mmap): Likewise.
36427 (mmap64, mremap): Likewise. Adjust name in comment.
36428
36429 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
36430
36431 * libio/fileops.c: Fix typos in comments.
36432 * libio/oldfileops.c: Likewise.
36433 * libio/wfileops.c: Likewise.
36434
36435 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
36436
36437 [BZ #1349]
36438 * malloc/Makefile (tests): Add tst-malloc-usable test case.
36439 (tst-malloc-usable-ENV): Set environment for test case.
36440 * malloc/hooks.c (malloc_check_get_size): New function to get
36441 requested size.
36442 * malloc/malloc.c (musable): Use malloc_check_get_size.
36443 * malloc/tst-malloc-usable.c: New test case.
36444
36445 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
36446
36447 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
36448
36449 2012-09-05 Allan McRae <allan@archlinux.org>
36450
36451 [BZ #13966]
36452 * configure.in (CXX_SYSINCLUDES): Use compiler output to
36453 determine header location.
36454 * configure: Regenerated.
36455
36456 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
36457
36458 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
36459 float format.
36460 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
36461 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
36462 format.
36463 (test): Regenerate.
36464
36465 2012-09-04 David S. Miller <davem@davemloft.net>
36466
36467 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
36468 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
36469 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
36470
36471 2012-09-04 Florian Weimer <fweimer@redhat.com>
36472
36473 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
36474 failures.
36475
36476 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
36477
36478 2012-09-04 Joseph Myers <joseph@codesourcery.com>
36479
36480 [BZ #9914]
36481 * libio/iogetdelim.c: Include <limits.h>.
36482 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
36483 + len + 1 would overflow.
36484
36485 2012-09-03 Andreas Jaeger <aj@suse.de>
36486
36487 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
36488 * sysdeps/i386/fpu/libm-test-ulps: Update.
36489
36490 2012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
36491
36492 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
36493 Add s_sinf-sse2, s_conf-sse2.
36494
36495 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
36496 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
36497 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
36498 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
36499
36500 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
36501 for using routine as __sinf_ia32.
36502 Use macro for function declaration and weak_alias.
36503 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
36504 for using routine as __cosf_ia32.
36505 Use macro for function declaration and weak_alias.
36506
36507 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
36508 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
36509
36510 * sysdeps/x86_64/fpu/s_sinf.S: New file.
36511 * sysdeps/x86_64/fpu/s_cosf.S: New file.
36512 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
36513
36514 * math/libm-test.inc (cos_test): Add more test cases.
36515 (sin_test): Likewise.
36516 (sincos_test): Likewise.
36517
36518 2012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
36519
36520 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
36521 (IFUNC_RESOLVE): Make pointers to the specialized implementations
36522 hidden.
36523 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
36524
36525 2012-09-02 H.J. Lu <hongjiu.lu@intel.com>
36526
36527 [BZ #14538]
36528 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
36529 first element of the GOT.
36530 (elf_machine_load_address): Return the difference between
36531 the runtime address of _DYNAMIC and elf_machine_dynamic ().
36532
36533 2012-09-01 Allan McRae <allan@archlinux.org>
36534
36535 [BZ #13412]
36536 * configure.in (AWK): Require gawk version 3.0 or later.
36537 * configure: Regenerated.
36538
36539 2012-09-01 Joseph Myers <joseph@codesourcery.com>
36540
36541 * sysdeps/unix/sysv/linux/kernel-features.h
36542 (__ASSUME_POSIX_CPU_TIMERS): Remove.
36543 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
36544 [__NR_clock_getres]: Make code unconditional.
36545 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
36546 (clock_getcpuclockid): Remove code left unreachable by removal of
36547 conditionals.
36548 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
36549 code unconditional.
36550 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
36551 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
36552 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
36553 Make code unconditional.
36554 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
36555 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
36556 * sysdeps/unix/sysv/linux/clock_settime.c
36557 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
36558 conditional code.
36559 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
36560 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
36561
36562 2012-08-29 H.J. Lu <hongjiu.lu@intel.com>
36563
36564 [BZ #14476]
36565 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
36566 scripts/test-installation.pl.
36567
36568 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
36569 and $ld_so_version if it is set.
36570
36571 2012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
36572
36573 [BZ #14516]
36574 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
36575 failure if reading from procfs failed.
36576 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
36577
36578 2012-08-27 Joseph Myers <joseph@codesourcery.com>
36579
36580 * sysdeps/unix/sysv/linux/kernel-features.h
36581 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
36582 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
36583 Remove conditional code.
36584 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
36585 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
36586 Remove conditional code.
36587 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
36588 * sysdeps/unix/sysv/linux/i386/fxstat.c
36589 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
36590 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
36591 * sysdeps/unix/sysv/linux/i386/fxstatat.c
36592 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
36593 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
36594 * sysdeps/unix/sysv/linux/i386/lxstat.c
36595 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
36596 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
36597 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
36598 Remove conditional code.
36599 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
36600 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
36601 Remove conditional code.
36602 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
36603 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
36604 <kernel-features.h>.
36605 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
36606 Remove.
36607 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
36608 Remove conditional code.
36609 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
36610 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
36611 Remove conditional.
36612
36613 2012-08-27 Mike Frysinger <vapier@gentoo.org>
36614
36615 [BZ #5400]
36616 * NEWS: Add fixed bug number.
36617
36618 2012-08-27 Joseph Myers <joseph@codesourcery.com>
36619
36620 [BZ #14519]
36621 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
36622 underflowing exponent in case of negative sign.
36623 * stdlib/tst-strtod-round-data: Add more tests.
36624 * stdlib/tst-strtod-round.c (tests): Regenerated.
36625
36626 [BZ #3479]
36627 * stdlib/strtod_l.c (NDIG): Remove.
36628 (HEXNDIG): Likewise.
36629 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
36630 smallest representable value.
36631 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
36632 lie within an exact representation of 1/2 ulp of the result.
36633 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
36634 unconditionally.
36635 (TENS_P9_IDX): Define unconditionally.
36636 (TENS_P9_SIZE): Likewise.
36637 (TENS_P10_IDX): Likewise.
36638 (TENS_P10_SIZE): Likewise.
36639 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
36640 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
36641 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
36642 entries for 10^2^13 and 10^2^14.
36643 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
36644 (TENS_P13_IDX): Define.
36645 (TENS_P13_SIZE): Likewise.
36646 (TENS_P14_IDX): Likewise.
36647 (TENS_P14_SIZE): Likewise.
36648 (_fpioconst_pow10): Change array size to
36649 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
36650 unconditional.
36651 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
36652 1024]: Add entries for 10^2^13 and 10^2^14.
36653 [LAST_POW10 > _LAST_POW10]: Remove #error.
36654 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
36655 (_fpioconst_pow10): Change array size to
36656 FPIOCONST_POW10_ARRAY_SIZE.
36657 * stdlib/gen-fpioconst.c: New file.
36658 * stdlib/gen-tst-strtod-round.c: Likewise.
36659 * stdlib/tst-strtod-round-data: Likewise.
36660 * stdlib/tst-strtod-round.c: Likewise.
36661 * stdlib/Makefile (tests): Add tst-strtod-round.
36662
36663 [BZ #14459]
36664 * stdlib/strtod_l.c: Include <stdint.h>.
36665 (NDEBUG): Do not define.
36666 (round_and_return): Change EXPONENT parameter to type intmax_t.
36667 Rearrange calculations to avoid internal overflow possibilities.
36668 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
36669 Rearrange calculations to avoid internal overflow possibilities.
36670 Assert that number fits inside MPNSIZE limbs.
36671 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
36672 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
36673 calculations and add assertions to avoid internal overflow
36674 possibilities. Add casts to avoid signed/unsigned operations.
36675 * stdlib/tst-strtod-overflow.c: New file.
36676 * stdlib/Makefile (tests): Add tst-strtod-overflow.
36677
36678 2012-08-25 Marek Polacek <polacek@redhat.com>
36679
36680 * time/time.h: Fix some typos in comments.
36681
36682 2012-08-23 Roland McGrath <roland@hack.frob.com>
36683
36684 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
36685 * posix/tst-rfc3484-2.c: Likewise.
36686 * posix/tst-rfc3484-3.c: Likewise.
36687
36688 2012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
36689
36690 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
36691 (EF_ARM_ABI_FLOAT_HARD): Likewise.
36692
36693 2012-08-23 Joseph Myers <joseph@codesourcery.com>
36694
36695 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
36696 #include of fxstatat64.c.
36697
36698 2012-08-22 Roland McGrath <roland@hack.frob.com>
36699
36700 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
36701 * shadow/getspent_r.c: Likewise.
36702 * shadow/getspnam.c: Likewise.
36703 * shadow/getspnam_r.c: Likewise.
36704 * gshadow/getsgent.c: Likewise.
36705 * gshadow/getsgent_r.c: Likewise.
36706 * gshadow/getsgnam.c: Likewise.
36707 * gshadow/getsgnam_r.c: Likewise.
36708 * inet/getnetbyad.c: Likewise.
36709 * inet/getnetbyad_r.c: Likewise.
36710 * inet/getnetbynm.c: Likewise.
36711 * inet/getnetbynm_r.c: Likewise.
36712 * inet/getnetent.c: Likewise.
36713 * inet/getnetent_r.c: Likewise.
36714 * inet/getproto.c: Likewise.
36715 * inet/getproto_r.c: Likewise.
36716 * inet/getprtent.c: Likewise.
36717 * inet/getprtent_r.c: Likewise.
36718 * inet/getprtname.c: Likewise.
36719 * inet/getprtname_r.c: Likewise.
36720 * inet/getrpcbyname.c: Likewise.
36721 * inet/getrpcbyname_r.c: Likewise.
36722 * inet/getrpcbynumber.c: Likewise.
36723 * inet/getrpcbynumber_r.c: Likewise.
36724 * inet/getrpcent.c: Likewise.
36725 * inet/getrpcent_r.c: Likewise.
36726 * inet/getaliasent.c: Likewise.
36727 * inet/getaliasent_r.c: Likewise.
36728 * inet/getaliasname.c: Likewise.
36729 * inet/getaliasname_r.c: Likewise.
36730 * nscd/getgrgid_r.c: Likewise.
36731 * nscd/getgrnam_r.c: Likewise.
36732 * nscd/gethstbyad_r.c: Likewise.
36733 * nscd/gethstbynm3_r.c: Likewise.
36734 * nscd/getpwnam_r.c: Likewise.
36735 * nscd/getpwuid_r.c: Likewise.
36736 * nscd/getsrvbynm_r.c: Likewise.
36737 * nscd/getsrvbypt_r.c: Likewise.
36738 * nscd/gai.c: Likewise.
36739
36740 * configure.in (build_nscd): New substituted variable, set
36741 by --disable-build-nscd and defaults to $use_nscd.
36742 * configure: Regenerated.
36743 * config.make.in (build-nscd): New substituted variable.
36744 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
36745 Change conditional to require [$(build-nscd) = yes] as well.
36746 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
36747
36748 [BZ# 13696]
36749 * configure.in (use_nscd): New substituted variable, set by
36750 --disable-nscd. If enabled, define USE_NSCD.
36751 * configure: Regenerated.
36752 * config.h.in: Add USE_NSCD.
36753 * config.make.in (use-nscd): New substituted variable.
36754 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
36755 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
36756 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
36757 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
36758 (CFLAGS-getgrnam_r.c): Likewise.
36759 (CFLAGS-initgroups.c): Likewise.
36760 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
36761 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
36762 Variables removed.
36763 * inet/getnetgrent_r.c
36764 (nscd_setnetgrent): New function, broken out of ...
36765 (setnetgrent): ... here. Call it.
36766 (innetgr): Conditionalize nscd bits on [USE_NSCD].
36767 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
36768 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
36769 * nscd/Makefile (routines, aux): Move definitions after include of
36770 Makeconfig. Conditionalize on [$(use-nscd) != no].
36771 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
36772 Conditionalize on [USE_NSCD].
36773 (is_nscd, nscd_init_cb): Likewise.
36774 (nss_load_library): Conditionalize init callback on [USE_NSCD].
36775 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
36776 * nss/nss_db/db-init.c: Likewise.
36777 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
36778 [USE_NSCD].
36779 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
36780 (make_request): Use it.
36781 (cache_valid_p): New function.
36782 (__check_pf): Use it.
36783 * NEWS: Add item for --disable-nscd.
36784
36785 2012-08-22 Dmitry V. Levin <ldv@altlinux.org>
36786
36787 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
36788 to support sed >= 4.2.1-20-ga9bf076.
36789 * configure: Regenerated.
36790
36791 2012-08-22 Roland McGrath <roland@hack.frob.com>
36792
36793 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
36794 Conditionalize whole body on [IREL].
36795
36796 2012-08-22 Jeff Law <law@redhat.com>
36797
36798 [BZ #14505]
36799 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
36800 if the family is PF_UNSPEC.
36801
36802 2012-08-22 Mike Frysinger <vapier@gentoo.org>
36803
36804 * Makerules (lib-version): Rename from V.
36805 (install-lib-nosubdir): Change V to lib-version.
36806
36807 2012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
36808
36809 [BZ #14252]
36810 * powerpc32/power6/wcschr.c: New file.
36811 * powerpc32/power6/wcscpy.c: New file.
36812 * powerpc32/power6/wcsrchr.c: New file.
36813 * powerpc64/power6/wcschr.c: New file.
36814 * powerpc64/power6/wcscpy.c: New file.
36815 * powerpc64/power6/wcsrchr.c: New file.
36816
36817 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
36818
36819 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
36820 (two_way_short_needle): Use it.
36821 * string/strstr.c (AVAILABLE1_USES_J): Define.
36822 * string/strcasestr.c: Likewise.
36823
36824 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
36825 array references.
36826 * string/strcasestr.c (TOLOWER): Make side-effect safe.
36827
36828 [BZ #11607]
36829 * NEWS: Add an entry.
36830 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
36831 define their defaults.
36832 (two_way_short_needle): Detect end-of-string on-the-fly.
36833 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
36834 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
36835 * string/bug-strcasestr1.c: New test.
36836 * string/Makefile: Run it.
36837
36838 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
36839
36840 [BZ #11607]
36841 * string/str-two-way.h (two_way_short_needle): Optimize matching of
36842 the first character.
36843
36844 2012-08-21 Roland McGrath <roland@hack.frob.com>
36845
36846 * csu/elf-init.c (__libc_csu_irel): Function removed.
36847 * csu/libc-start.c (apply_irel): New function.
36848 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
36849
36850 2012-08-21 Joseph Myers <joseph@codesourcery.com>
36851
36852 * sysdeps/unix/sysv/linux/kernel-features.h
36853 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
36854 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
36855 <kernel-features.h>.
36856 [__NR_fadvise64_64]: Make code unconditional.
36857 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
36858 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
36859 !__NR_fadvise64_64)]: Likewise.
36860 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
36861 !__NR_fadvise64_64))]: Likewise.
36862 [__NR_fadvise64]: Make code unconditional.
36863 [!__NR_fadvise64]: Remove conditional code.
36864 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
36865 <kernel-features.h>.
36866 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
36867 unconditional.
36868 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
36869 conditional code.
36870 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
36871 not include <kernel-features.h>.
36872 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
36873 unconditional.
36874 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
36875 conditional code.
36876 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
36877 include <kernel-features.h>.
36878 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
36879 unconditional.
36880 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
36881 conditional code.
36882
36883 2012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
36884
36885 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
36886 slight instruction rearrangements per scrollpipe analysis.
36887 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
36888
36889 2012-08-20 Roland McGrath <roland@hack.frob.com>
36890
36891 * manual/syslog.texi (syslog; vsyslog, closelog):
36892 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
36893 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
36894
36895 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
36896 DSOCAPS to match condition on defining it.
36897
36898 2012-08-20 Joseph Myers <joseph@codesourcery.com>
36899
36900 * sysdeps/unix/sysv/linux/kernel-features.h
36901 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
36902 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
36903 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
36904 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
36905 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
36906 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
36907 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
36908 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
36909 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
36910 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
36911
36912 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
36913 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
36914
36915 * sysdeps/unix/sysv/linux/kernel-features.h
36916 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
36917 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
36918 unconditional.
36919 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
36920 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
36921 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
36922 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
36923 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
36924 Make code unconditional.
36925 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
36926 (__mmap64) [!__NR_mmap2]: Likewise.
36927 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
36928 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
36929 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
36930 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
36931 [__NR_mmap2]: Make code unconditional.
36932 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
36933 (__mmap64) [!__NR_mmap2]: Likewise.
36934
36935 2012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
36936
36937 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
36938
36939 2012-08-18 Andreas Jaeger <aj@suse.de>
36940
36941 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
36942
36943 2012-08-18 Mike Frysinger <vapier@gentoo.org>
36944
36945 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
36946 * include/unistd.h (__have_sock_cloexec): Likewise.
36947 (__have_pipe2): Likewise.
36948 (__have_dup3): Likewise.
36949
36950 2012-08-18 Mike Frysinger <vapier@gentoo.org>
36951
36952 [BZ #9685]
36953 * include/unistd.h (__have_pipe2): Change define into an extern int.
36954 (__have_dup3): Likewise.
36955 * socket/have_sock_cloexec.c: Include fcntl.h.
36956 (__have_pipe2): New variable.
36957 (__have_dup3): Likewise.
36958
36959 2012-08-17 Mike Frysinger <vapier@gentoo.org>
36960
36961 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
36962
36963 2012-08-17 Marek Polacek <polacek@redhat.com>
36964
36965 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
36966 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
36967
36968 2012-08-17 Roland McGrath <roland@hack.frob.com>
36969
36970 * configure.in: Add AC_SUBST for sysheaders.
36971 * configure: Regenerated.
36972 * config.make.in (sysheaders): New substituted variable.
36973
36974 * sysdeps/unix/mkfifo.c: Moved ...
36975 * sysdeps/posix/mkfifo.c: ... here.
36976 * sysdeps/unix/mkfifoat.c: Moved ...
36977 * sysdeps/posix/mkfifoat.c: ... here.
36978
36979 * sysdeps/unix/utime.c: Moved ...
36980 * sysdeps/posix/utime.c: ... here.
36981
36982 * sysdeps/unix/time.c: Moved ...
36983 * sysdeps/posix/time.c: ... here.
36984 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
36985 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
36986
36987 * sysdeps/unix/nice.c: Moved ...
36988 * sysdeps/posix/nice.c: ... here.
36989
36990 * sysdeps/unix/alarm.c: Moved ...
36991 * sysdeps/posix/alarm.c: ... here.
36992
36993 * intl/Makefile ($(codeset_mo)): Depend on the input file.
36994
36995 2012-08-17 Jeff Law <law@redhat.com>
36996
36997 * intl/Makefile (codeset_mo): New variable.
36998 ($(codeset_mo)): New target.
36999 (tst-codeset.out): Depend on that. Remove explicit rule.
37000 (tst-gettext3.out, tst-gettext5.out): Likewise.
37001 (LOCPATH-ENV, tst-codeset-ENV): New variables.
37002 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
37003 * intl/tst-codeset.sh: Remove.
37004 * intl/tst-gettext3.sh: Likewise.
37005 * intl/tst-gettext5.sh: Likewise.
37006
37007 2012-08-17 Roland McGrath <roland@hack.frob.com>
37008
37009 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
37010 * sysdeps/unix/syscalls.list: ... here.
37011
37012 * sysdeps/posix/getaddrinfo.c
37013 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
37014 (gaiconf_init, gaiconf_reload): Use them.
37015 [!_STATBUF_ST_NSEC]
37016 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
37017 Define using time_t rather than struct timespec.
37018
37019 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
37020 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
37021 Macros removed.
37022 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
37023 [!NO_THREADS].
37024 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
37025 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
37026 Likewise.
37027
37028 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
37029 __libc_cleanup_push argument.
37030
37031 * bits/param.h: New file.
37032 * misc/sys/param.h: New file.
37033 * include/sys/param.h: New file.
37034 * misc/Makefile (headers): Add bits/param.h.
37035 * sysdeps/generic/sys/param.h: File removed.
37036 * sysdeps/unix/sysv/linux/bits/param.h: New file.
37037 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
37038 * sysdeps/mach/hurd/bits/param.h: New file.
37039 * sysdeps/mach/hurd/sys/param.h: File removed.
37040
37041 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
37042 last change.
37043
37044 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
37045 [_IO_MTSAFE_IO].
37046 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
37047 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
37048 New macros.
37049
37050 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
37051 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
37052 rather than -D_IO_MTSAFE_IO conditionally.
37053 * stdio-common/Makefile (CPPFLAGS): Likewise.
37054 * wcsmbs/Makefile (CPPFLAGS): Likewise.
37055 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
37056 Use $(libio-mtsafe).
37057 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
37058 of -D_IO_MTSAFE_IO.
37059 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
37060 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
37061 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
37062 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
37063 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
37064 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
37065 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
37066 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
37067 (CFLAGS-fread_u_chk.c): Likewise.
37068 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
37069 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
37070 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
37071 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
37072 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
37073 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
37074 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
37075 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
37076 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
37077
37078 * libio/Makefile: Test [$(libc-reentrant) = yes]
37079 instead of [$(filter %REENTRANT, $(defines)) nonempty].
37080
37081 * Makeconfig
37082 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
37083 * sysdeps/pthread/configure: File removed.
37084 * sysdeps/pthread/Makeconfig: New file.
37085 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
37086 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
37087
37088 2012-08-16 Gary Benson <gbenson@redhat.com>
37089
37090 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
37091 unmapping the first object in a namespace.
37092
37093 2012-08-16 Roland McGrath <roland@hack.frob.com>
37094
37095 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
37096 (__internal_setnetgrent): ... this. Add internal_function to
37097 definition. Add libc_hidden_def.
37098 (setnetgrent): Update caller.
37099 (internal_endnetgrent): Renamed to ...
37100 (__internal_endnetgrent): ... this. Add internal_function to
37101 definition. Add libc_hidden_def.
37102 (endnetgrent): Update caller.
37103 (internal_getnetgrent_r): Renamed to ...
37104 (__internal_getnetgrent_r): ... this. Add internal_function to
37105 definition. Add libc_hidden_def.
37106 (__getnetgrent_r): Update caller.
37107 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
37108
37109 2012-08-16 Joseph Myers <joseph@codesourcery.com>
37110
37111 * stdlib/longlong.h: Update from GCC.
37112
37113 2012-08-16 Roland McGrath <roland@hack.frob.com>
37114
37115 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
37116 on _QL, which is set by umul_ppmm but never used.
37117 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
37118 variables, which are set by GMP macros but never used.
37119 * stdio-common/_itowa.c (_itowa): Likewise.
37120 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
37121 * stdlib/mod_1.c (mpn_mod_1): Likewise.
37122
37123 2012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
37124
37125 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
37126 struct La_sh_regs is not constant.
37127 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
37128 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
37129 and struct La_sparc64_regs are not constant.
37130
37131 2012-08-16 Joseph Myers <joseph@codesourcery.com>
37132
37133 * sysdeps/unix/sysv/linux/kernel-features.h
37134 (__ASSUME_POSIX_TIMERS): Remove.
37135 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
37136 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
37137 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
37138 Make code unconditional.
37139 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
37140 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
37141 Make code unconditional.
37142 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
37143 * sysdeps/unix/sysv/linux/clock_nanosleep.c
37144 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
37145 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
37146 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
37147 Make code unconditional.
37148 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
37149 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
37150 (__libc_missing_posix_timers): Remove.
37151
37152 2012-08-15 Roland McGrath <roland@hack.frob.com>
37153
37154 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
37155 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
37156
37157 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
37158
37159 * elf/dl-sym.c: Include <stdlib.h>.
37160
37161 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
37162 constants, which avoids warnings in 32-bit builds.
37163
37164 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
37165 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
37166
37167 * misc/lseek.c: File moved to ...
37168 * io/lseek.c: ... here.
37169
37170 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
37171
37172 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
37173 shifting LEN more than 31 bits at once.
37174
37175 2012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
37176
37177 [BZ #14195]
37178 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
37179 segmentation fault for a case of two empty input strings.
37180 * string/test-strncasecmp.c (check1): Renamed to...
37181 (bz12205): ...this.
37182 (bz14195): Add new testcase for two empty input strings and N > 0.
37183 (test_main): Call new testcase, adapt for renamed function.
37184
37185 2012-08-15 Andreas Jaeger <aj@suse.de>
37186
37187 [BZ #14090]
37188 * crypt/md5test2.c: New test, based on test supplied by Serge
37189 Belyshev <belyshev@depni.sinp.msu.ru>.
37190 * crypt/Makefile (xtests): Add md5test-giant..
37191 * crypt/Makefile ($(objpfx)md5test-giant): Add.
37192
37193 2012-08-15 Paul Eggert <eggert@cs.ucla.edu>
37194
37195 [BZ #14090]
37196 * crypt/md5.c (md5_process_block): Don't assume the buffer
37197 length is less than 2**32.
37198 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
37199 length is less than 2**64.
37200
37201 2012-08-15 Roland McGrath <roland@hack.frob.com>
37202
37203 * string/str-two-way.h: Include <sys/param.h>.
37204 (MAX): Macro removed.
37205
37206 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
37207 Move #define and #undef of memmove to just before and after
37208 including <string.h>.
37209
37210 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
37211 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
37212 and after including <string.h>. Move declarations of
37213 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
37214 to before #include "string/memmove.c".
37215
37216 * include/dirent.h: Declare __getdirentries.
37217
37218 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
37219 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
37220
37221 2012-08-14 Mike Frysinger <vapier@gentoo.org>
37222
37223 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
37224 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
37225 * sysdeps/i386/configure: Regenerated.
37226 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
37227 STABS_CURRENT_FILE, and STABS_FUN.
37228 (END): Remove call to STABS_FUN_END.
37229 (STABS_CURRENT_FILE1): Delete.
37230 (STABS_CURRENT_FILE): Likewise.
37231 (STABS_FUN): Likewise.
37232 (STABS_FUN_END): Likewise.
37233 (STABS_FUN2): Likewise.
37234 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
37235 * sysdeps/x86_64/configure: Regenerated.
37236
37237 2012-08-14 Roland McGrath <roland@hack.frob.com>
37238
37239 * elf/dl-open.c: Include <atomic.h>.
37240 * elf/dl-lookup.c: Likewise.
37241
37242 2012-08-14 Joseph Myers <joseph@codesourcery.com>
37243
37244 * sysdeps/unix/sysv/linux/kernel-features.h
37245 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
37246 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
37247 unconditionally.
37248 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
37249 unconditionally.
37250 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
37251 condition on __ASSUME_CLONE_THREAD_FLAGS.
37252
37253 2012-08-14 Andreas Jaeger <aj@suse.de>
37254
37255 * sysdeps/i386/fpu/libm-test-ulps: Update.
37256
37257 2012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
37258
37259 * include/atomic.h (atomic_exchange_and_add): Split into ...
37260 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
37261 New atomic macros.
37262
37263 2012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
37264
37265 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
37266
37267 2012-08-13 Jeff Law <law@redhat.com>
37268
37269 * manual/stdio.texi (snprintf): Clarify handling of the trailing
37270 null byte in the output string.
37271
37272 2012-08-10 Joseph Myers <joseph@codesourcery.com>
37273
37274 * sysdeps/unix/sysv/linux/kernel-features.h
37275 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
37276 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
37277 (__ASSUME_ARG_MAX_STACK_BASED): Define.
37278 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
37279 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
37280 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
37281 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
37282
37283 2012-08-09 Jeff Law <law@redhat.com>
37284
37285 [BZ #13939]
37286 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
37287 When avoid_arena is set, don't retry in the that arena. Pick the
37288 next one, whatever it might be.
37289 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
37290 (arena_lock): Pass in new parameter to arena_get2.
37291 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
37292 arena_get2.
37293 (__libc_malloc): Unify retrying after main arena failure with
37294 __libc_memalign version.
37295 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
37296
37297 2012-08-09 H.J. Lu <hongjiu.lu@intel.com>
37298
37299 [BZ #14166]
37300 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
37301 to __redirect_strstr.
37302 (__strstr_sse42): Use typeof __redirect_strstr.
37303 (__strstr_ia32): Likewise.
37304 (__libc_strstr): New prototype.
37305 (strstr): Renamed to ...
37306 (__libc_strstr): This.
37307 (strstr): New strong alias of __libc_strstr.
37308 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
37309 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
37310 __redirect_time.
37311 Include <time.h>.
37312 (__libc_time): New prototype.
37313 (time_ifunc): Replace time with __libc_time.
37314 (time): New strong alias and hidden definition of __libc_time.
37315 (__GI_time): Remove strong alias.
37316 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
37317 Include <stddef.h>.
37318 (memmove): Redefined to __redirect_memmove.
37319 (__memmove_sse2): Use typeof __redirect_memmove.
37320 (__memmove_ssse3): Likewise.
37321 (__memmove_ssse3_back): Likewise.
37322 (__libc_memmove): New prototype.
37323 (memmove): Renamed to ...
37324 (__libc_memmove): This.
37325 (memmove): New strong alias of __libc_memmove.
37326
37327 2012-08-08 Mark Salter <msalter@redhat.com>
37328
37329 * elf/elf.h
37330 (R_MN10300_TLS_GD): Define.
37331 (R_MN10300_TLS_LD): Likewise.
37332 (R_MN10300_TLS_LDO): Likewise.
37333 (R_MN10300_TLS_GOTIE): Likewise.
37334 (R_MN10300_TLS_IE): Likewise.
37335 (R_MN10300_TLS_LE): Likewise.
37336 (R_MN10300_TLS_DTPMOD): Likewise.
37337 (R_MN10300_TLS_DTPOFF): Likewise.
37338 (R_MN10300_TLS_TPOFF): Likewise.
37339 (R_MN10300_SYM_DIFF): Likewise.
37340 (R_MN10300_ALIGN): Likewise.
37341 (R_MN10300_NUM): Update.
37342
37343 2012-08-08 Joseph Myers <joseph@codesourcery.com>
37344
37345 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
37346 Remove.
37347
37348 2012-08-08 Roland McGrath <roland@hack.frob.com>
37349
37350 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
37351
37352 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
37353 sysdeps/unix -> sysdeps/posix move.
37354 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
37355
37356 2012-08-07 Allan McRae <allan@archlinux.org>
37357
37358 [BZ #14303]
37359 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
37360 (SUNOS_CPP): Likewise.
37361 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
37362 not found.
37363 (open_input): Call CPP using execvp.
37364
37365 2012-08-07 Joseph Myers <joseph@codesourcery.com>
37366
37367 * sysdeps/unix/sysv/linux/kernel-features.h
37368 (__ASSUME_PROT_GROWSUPDOWN): Remove.
37369 (__ASSUME_NO_CLONE_DETACHED): Likewise.
37370 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
37371 (__ASSUME_WAITID_SYSCALL): Likewise.
37372 * sysdeps/unix/sysv/linux/dl-execstack.c
37373 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
37374 code unconditional.
37375 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
37376 conditional code.
37377 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
37378 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
37379 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
37380 code.
37381 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
37382 unconditional.
37383 [__ASSUME_WAITID_SYSCALL]: Likewise.
37384 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
37385
37386 2012-08-07 Roland McGrath <roland@hack.frob.com>
37387
37388 * sysdeps/unix/closedir.c: Renamed to ...
37389 * sysdeps/posix/closedir.c: ... here.
37390 * sysdeps/unix/dirfd.c: Renamed to ...
37391 * sysdeps/posix/dirfd.c: ... here.
37392 * sysdeps/unix/dirstream.h: Renamed to ...
37393 * sysdeps/posix/dirstream.h: ... here.
37394 * sysdeps/unix/fdopendir.c: Renamed to ...
37395 * sysdeps/posix/fdopendir.c: ... here.
37396 * sysdeps/unix/opendir.c: Renamed to ...
37397 * sysdeps/posix/opendir.c: ... here.
37398 * sysdeps/unix/readdir.c: Renamed to ...
37399 * sysdeps/posix/readdir.c: ... here.
37400 * sysdeps/unix/readdir_r.c: Renamed to ...
37401 * sysdeps/posix/readdir_r.c: ... here.
37402 * sysdeps/unix/rewinddir.c: Renamed to ...
37403 * sysdeps/posix/rewinddir.c: ... here.
37404 * sysdeps/unix/seekdir.c: Renamed to ...
37405 * sysdeps/posix/seekdir.c: ... here.
37406 * sysdeps/unix/telldir.c: Renamed to ...
37407 * sysdeps/posix/telldir.c: ... here.
37408 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
37409 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
37410 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
37411 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
37412
37413 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
37414 * bits/fcntl.h: ... here.
37415
37416 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
37417 not 0.
37418 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
37419 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
37420 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
37421 (struct flock): Move l_start, l_len to the beginning.
37422 Use __pid_t for l_pid.
37423 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
37424 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
37425 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
37426 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
37427 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
37428 [__USE_LARGEFILE64] (struct flock64): New type.
37429 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
37430
37431 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
37432 * bits/dirent.h: ... here.
37433
37434 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
37435 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
37436
37437 2012-08-07 Joseph Myers <joseph@codesourcery.com>
37438
37439 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
37440 Change from 2.6.0 to 2.6.16.
37441 * sysdeps/unix/sysv/linux/configure: Regenerated.
37442 * sysdeps/unix/sysv/linux/kernel-features.h
37443 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
37444 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
37445 version.
37446 (__ASSUME_UTIMES): Likewise.
37447 (__ASSUME_CLONE_STOPPED): Remove.
37448 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
37449 architectures, not kernel version.
37450 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
37451 (__ASSUME_NO_CLONE_DETACHED): Likewise.
37452 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
37453 (__ASSUME_WAITID_SYSCALL): Likewise.
37454 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
37455 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
37456 * README: State 2.6.16 as minimum Linux kernel version. Do not
37457 refer to older versions.
37458
37459 2012-08-06 Roland McGrath <roland@hack.frob.com>
37460
37461 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
37462 Define alphasort64 as an alias.
37463 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
37464 Define versionsort64 as an alias.
37465 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
37466 Define scandir64 as an alias.
37467 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
37468 Define scandirat64 as an alias.
37469 * dirent/alphasort64.c (alphasort64):
37470 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
37471 * dirent/versionsort64.c: Likewise.
37472 * dirent/scandir64.c: Likewise.
37473 * dirent/scandirat64.c: Likewise.
37474 * sysdeps/wordsize-64/alphasort.c: File removed.
37475 * sysdeps/wordsize-64/alphasort64.c: File removed.
37476 * sysdeps/wordsize-64/scandir.c: File removed.
37477 * sysdeps/wordsize-64/scandir64.c: File removed.
37478 * sysdeps/wordsize-64/scandirat.c: File removed.
37479 * sysdeps/wordsize-64/scandirat64.c: File removed.
37480 * sysdeps/wordsize-64/versionsort.c: File removed.
37481 * sysdeps/wordsize-64/versionsort64.c: File removed.
37482 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
37483 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
37484 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
37485 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
37486 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
37487 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
37488 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
37489 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
37490
37491 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
37492 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
37493 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
37494 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
37495 [defined __arch64__ || defined __sparcv9]
37496 (__INO_T_MATCHES_INO64_T): New macro.
37497 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
37498 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
37499 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
37500 * sysdeps/unix/sysv/linux/bits/dirent.h
37501 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
37502 (_DIRENT_MATCHES_DIRENT64): New macro.
37503
37504 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
37505 Define lockf64 as an alias.
37506 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
37507 Define fseeko64 as an alias.
37508 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
37509 Define ftello64 as an alias.
37510 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
37511 Define _IO_fgetpos64 and fgetpos64 as aliases.
37512 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
37513 Define _IO_fsetpos64 and fsetpos64 as aliases.
37514 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
37515 Conditionalize body on this.
37516 * libio/fseeko64.c: Likewise.
37517 * libio/ftello64.c: Likewise.
37518 * libio/iofgetpos64.c: Likewise.
37519 * libio/iofsetpos64.c: Likewise.
37520 * sysdeps/wordsize-64/lockf.c: File removed.
37521 * sysdeps/wordsize-64/lockf64.c: File removed.
37522 * sysdeps/wordsize-64/fseeko.c: File removed.
37523 * sysdeps/wordsize-64/fseeko64.c: File removed.
37524 * sysdeps/wordsize-64/ftello.c: File removed.
37525 * sysdeps/wordsize-64/ftello64.c: File removed.
37526 * sysdeps/wordsize-64/iofgetpos.c: File removed.
37527 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
37528 * sysdeps/wordsize-64/iofsetpos.c: File removed.
37529 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
37530 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
37531 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
37532 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
37533 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
37534 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
37535 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
37536 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
37537 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
37538 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
37539 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
37540
37541 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
37542 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
37543 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
37544 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
37545 [defined __arch64__ || defined __sparcv9]
37546 (__OFF_T_MATCHES_OFF64_T): New macro.
37547 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
37548 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
37549 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
37550 (__OFF_T_MATCHES_OFF64_T): New macro.
37551
37552 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
37553
37554 * stdlib/secure-getenv.c (__secure_getenv): Replace
37555 GLIBC_2_16 with GLIBC_2_17.
37556
37557 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
37558
37559 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
37560 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
37561
37562 2012-08-03 David S. Miller <davem@davemloft.net>
37563
37564 * sysdeps/sparc/fpu/libm-test-ulps: Update.
37565
37566 2012-08-03 Joseph Myers <joseph@codesourcery.com>
37567
37568 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
37569 Remove.
37570 (__ASSUME_CORRECT_SI_PID): Likewise.
37571 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
37572 (__ASSUME_TMPFS_NAME): Likewise.
37573 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
37574 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
37575 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
37576 (HAVE_AUX_SECURE): Make definition unconditional.
37577 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
37578 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
37579
37580 2012-08-03 Roland McGrath <roland@hack.frob.com>
37581
37582 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
37583 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
37584 * sysdeps/mach/hurd/eloop-threshold.h: New file.
37585 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
37586 __eloop_threshold instead of SYMLOOP_MAX.
37587
37588 * sysdeps/generic/eloop-threshold.h: New file.
37589 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
37590 of MAXSYMLINKS.
37591 * elf/chroot_canon.c (chroot_canon): Likewise.
37592
37593 2012-08-03 Joseph Myers <joseph@codesourcery.com>
37594
37595 [BZ #13717]
37596 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
37597 Change to 2.6.0 everywhere.
37598 * sysdeps/unix/sysv/linux/configure: Regenerated.
37599 * sysdeps/unix/sysv/linux/kernel-features.h
37600 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
37601 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
37602 kernel versions.
37603 (__ASSUME_POSIX_TIMERS): Define unconditionally.
37604 (__ASSUME_FUTEX_REQUEUE): Remove.
37605 (__ASSUME_STATFS64): Define unconditionally.
37606 (__ASSUME_AT_SECURE): Likewise.
37607 (__ASSUME_CORRECT_SI_PID): Likewise.
37608 (__ASSUME_TGKILL): Define without depending on kernel version for
37609 i386.
37610 (__ASSUME_UTIMES): Likewise.
37611 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
37612 kernel version.
37613 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
37614 (__ASSUME_TMPFS_NAME): Likewise.
37615 * README: Update reference to Linux kernel versions.
37616
37617 2012-08-02 Marek Polacek <polacek@redhat.com>
37618
37619 [BZ# 14150]
37620 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
37621 libc_cv_asm_type_prefix with %.
37622 * configure: Regenerated.
37623 * include/libc-symbols.h: Remove comment about
37624 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
37625 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
37626 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
37627 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
37628 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
37629 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
37630 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
37631 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
37632 * elf/tst-unique2mod1.c: Likewise.
37633 * elf/tst-unique1mod2.c: Likewise.
37634 * elf/tst-unique1mod1.c: Likewise.
37635 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
37636 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
37637 Replace ASM_TYPE_DIRECTIVE with .type.
37638 * sysdeps/s390/s390-64/sysdep.h: Likewise.
37639 * sysdeps/i386/sysdep.h: Likewise.
37640 * sysdeps/x86_64/sysdep.h: Likewise.
37641 * sysdeps/sh/sysdep.h: Likewise.
37642 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
37643 Do not define ASM_TYPE_DIRECTIVE.
37644 * sysdeps/powerpc/sysdep.h: Likewise.
37645 * sysdeps/powerpc/powerpc32/sysdep.h:
37646 Replace ASM_TYPE_DIRECTIVE with .type.
37647 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
37648 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
37649 * sysdeps/i386/fpu/e_powf.S: Likewise.
37650 * sysdeps/i386/fpu/e_expl.S: Likewise.
37651 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
37652 * sysdeps/i386/fpu/e_acosh.S: Likewise.
37653 * sysdeps/i386/fpu/e_pow.S: Likewise.
37654 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
37655 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
37656 * sysdeps/i386/fpu/s_expm1.S: Likewise.
37657 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
37658 * sysdeps/i386/fpu/e_log2.S: Likewise.
37659 * sysdeps/i386/fpu/e_log2l.S: Likewise.
37660 * sysdeps/i386/fpu/e_scalb.S: Likewise.
37661 * sysdeps/i386/fpu/e_powl.S: Likewise.
37662 * sysdeps/i386/fpu/e_log10f.S: Likewise.
37663 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
37664 * sysdeps/i386/fpu/e_logl.S: Likewise.
37665 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
37666 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
37667 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
37668 * sysdeps/i386/fpu/e_log2f.S: Likewise.
37669 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
37670 * sysdeps/i386/fpu/e_log.S: Likewise.
37671 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
37672 * sysdeps/i386/fpu/e_logf.S: Likewise.
37673 * sysdeps/i386/fpu/e_log10l.S: Likewise.
37674 * sysdeps/i386/fpu/e_atanh.S: Likewise.
37675 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
37676 * sysdeps/i386/fpu/e_log10.S: Likewise.
37677 * sysdeps/i386/fpu/s_frexp.S: Likewise.
37678 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
37679 * sysdeps/i386/fpu/s_asinh.S: Likewise.
37680 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
37681 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
37682 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
37683 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
37684 * sysdeps/i386/i686/strtok.S: Likewise.
37685 * sysdeps/i386/i386-mcount.S: Likewise.
37686 * sysdeps/i386/strtok.S: Likewise.
37687 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
37688 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
37689 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
37690 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
37691 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
37692 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
37693 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
37694 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
37695 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
37696 * sysdeps/x86_64/_mcount.S: Likewise.
37697 * sysdeps/x86_64/strtok.S: Likewise.
37698 * sysdeps/sh/_mcount.S: Likewise.
37699
37700 2012-08-01 Roland McGrath <roland@hack.frob.com>
37701
37702 * libio/iofopen.c: Include <fcntl.h>.
37703 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
37704 (_IO_fopen64, fopen64): Define as aliases.
37705 * libio/iofopen64.c: Include <fcntl.h>.
37706 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
37707 Conditionalize body on this.
37708 * sysdeps/wordsize-64/iofopen.c: File removed.
37709 * sysdeps/wordsize-64/iofopen64.c: File removed.
37710
37711 2012-08-01 Marek Polacek <polacek@redhat.com>
37712
37713 * libc/Makeconfig: Use elf in place of binfmt-subdir.
37714 Use dlfcn directly instead of a variable.
37715 (binfmt-subdir): Do not define.
37716 (dlfcn): Likewise.
37717
37718 2012-08-01 Joseph Myers <joseph@codesourcery.com>
37719
37720 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
37721 Remove all definitions.
37722 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
37723 <kernel-features.h>.
37724 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
37725 (miss_F_GETOWN_EX): Remove all definitions.
37726 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
37727 macro definition.
37728 [!__ASSUME_FCNTL64]: Remove conditional code.
37729 [__ASSUME_FCNTL64]: Make code unconditional.
37730 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
37731 <kernel-features.h>.
37732 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
37733 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
37734 (lockf64) [__NR_fcntl64]: Make code unconditional.
37735 (lockf64) [__ASSUME_FCNTL64]: Likewise.
37736
37737 * sysdeps/unix/sysv/linux/kernel-features.h
37738 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
37739 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
37740 Make code unconditional.
37741 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
37742 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
37743 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
37744 [__NR_vfork]: Make code unconditional.
37745 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
37746 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
37747 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
37748 [__NR_vfork]: Make code unconditional.
37749 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
37750 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
37751
37752 2012-08-01 Roland McGrath <roland@hack.frob.com>
37753
37754 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
37755 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
37756
37757 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
37758 Define mkstemp64 as an alias.
37759 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
37760 Define mkstemps64 as an alias.
37761 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
37762 Define mkostemp64 as an alias.
37763 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
37764 Define mkostemps64 as an alias.
37765 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
37766 Conditionalize body on this.
37767 * misc/mkostemp64.c: Likewise.
37768 * misc/mkostemps64.c: Likewise.
37769 * misc/mkstemps64.c: Likewise.
37770 * sysdeps/wordsize-64/mkstemp64.c: File removed.
37771 * sysdeps/wordsize-64/mkostemp64.c: File removed.
37772 * sysdeps/wordsize-64/mkostemp.c: File removed.
37773 * sysdeps/wordsize-64/mkstemp.c: File removed.
37774 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
37775 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
37776 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
37777 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
37778
37779 [BZ #14138]
37780 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
37781 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
37782 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
37783 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
37784
37785 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
37786 compat_symbol macros from <shlib-compat.h> rather than the underlying
37787 default_symbol_version and symbol_version macros, so that DEFAULT
37788 lines in shlib-versions are respected.
37789 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
37790
37791 2012-08-01 Florian Weimer <fweimer@redhat.com>
37792
37793 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
37794 Declare with warn_unused_result.
37795 (setgid, setregid, setegid, setresgid): Likewise.
37796 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
37797 Likewise.
37798 * WUR-REPORT: Remove set*id functions.
37799
37800 2012-07-31 Pino Toscano <toscano.pino@tiscali.it>
37801
37802 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
37803
37804 2012-07-31 Roland McGrath <roland@hack.frob.com>
37805
37806 [BZ #10191]
37807 * include/sys/socket.h (__libc_accept, __libc_accept4):
37808 Add attribute_hidden.
37809 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
37810
37811 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
37812 use of PTR_MANGLE.
37813 * inet/getnetgrent_r.c (setup): Likewise.
37814
37815 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
37816
37817 2012-07-31 David S. Miller <davem@davemloft.net>
37818
37819 * sysdeps/sparc/fpu/libm-test-ulps: Update.
37820
37821 2012-07-31 Joseph Myers <joseph@codesourcery.com>
37822
37823 [BZ #13629]
37824 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
37825 value between 1.0 and 2.0 and smaller part has absolute value less
37826 than 1.0.
37827 * math/s_clog10.c (__clog10): Likewise.
37828 * math/s_clog10f.c (__clog10f): Likewise.
37829 * math/s_clog10l.c (__clog10l): Likewise.
37830 * math/s_clogf.c (__clogf): Likewise.
37831 * math/s_clogl.c (__clogl): Likewise.
37832 * math/libm-test.inc (clog_test): Add more tests.
37833 (clog10_test): Likewise.
37834 * sysdeps/i386/fpu/libm-test-ulps: Update.
37835 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37836
37837 2012-07-31 Florian Weimer <fweimer@redhat.com>
37838
37839 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
37840 Exit with zero in case no suitable GID is found, and write a
37841 message to standard error.
37842
37843 2012-07-30 Roland McGrath <roland@hack.frob.com>
37844
37845 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
37846 rather than to 1.
37847 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
37848 (MAXPATHLEN): Removed.
37849 (NOGROUP, NODEV): New macros.
37850 (setbit, clrbit, isset, isclr): New macros.
37851 (howmany, roundup, powerof2): New macros.
37852 (DEV_BSIZE): New macro.
37853
37854 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
37855 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
37856
37857 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
37858 definition on [!__NO_LONG_DOUBLE_MATH].
37859
37860 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
37861 PTR_MANGLE and PTR_DEMANGLE.
37862
37863 * socket/accept4.c (accept4): Rename to __libc_accept4.
37864 Define accept4 as a weak alias.
37865
37866 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
37867 on [_DIRENT_HAVE_D_TYPE].
37868 * io/ftw.c (ftw_dir): Likewise.
37869
37870 * io/xmknod.c (__xmknod): Don't check PATH for being null.
37871
37872 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
37873
37874 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
37875 Use the BSD numbers rather than the arbitrary ones we had.
37876 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
37877 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
37878 (SIGXCPU, SIGXFSZ): New macros.
37879 (_NSIG): Now 32.
37880
37881 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
37882 initializer on [_LIBC_REENTRANT].
37883
37884 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
37885 definitions inside [_POSIX_MAPPED_FILES].
37886
37887 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
37888
37889 * dirent/opendir.c: Include <fcntl.h>.
37890
37891 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
37892 (__libc_getspecific): Likewise.
37893 (__libc_key_create): Likewise.
37894
37895 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
37896 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
37897 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
37898 (tmpfile64): Define as alias.
37899 * sysdeps/wordsize-64/tmpfile.c: File removed.
37900 * sysdeps/wordsize-64/tmpfile64.c: File removed.
37901 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
37902 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
37903
37904 * stdio-common/vfscanf.c: Include <stdbool.h>.
37905 * nss/makedb.c: Likewise.
37906 * stdio-common/_i18n_number.h: Likewise.
37907 * argp/argp-help.c: Likewise.
37908 * posix/wordexp.c: Likewise.
37909 * sysdeps/posix/spawni.c: Likewise.
37910 * nss/nss_files/files-initgroups.c: Likewise.
37911 * stdio-common/reg-modifier.c: Include <stdlib.h>.
37912 * nss/nss_files/files-initgroups.c: Likewise.
37913 * nss/nss_db/db-netgrp.c: Likewise.
37914 * nss/nss_db/db-initgroups.c: Likewise.
37915 * io/fchmodat.c: Include <sys/stat.h>.
37916
37917 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
37918 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
37919
37920 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
37921 [HAVE_MMAP].
37922
37923 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
37924 Add multiple inclusion protection.
37925
37926 2012-07-27 David S. Miller <davem@davemloft.net>
37927
37928 * sysdeps/sparc/fpu/libm-test-ulps: Update.
37929
37930 2012-07-27 Gary Benson <gbenson@redhat.com>
37931
37932 [BZ #14298]
37933 * elf/rtld.c: Include <stap-probe.h>.
37934 (dl_main): Added static probes "init_start" and "init_complete".
37935 * elf/dl-load.c: Include <stap-probe.h>.
37936 (lose): Take new parameter "nsid".
37937 Added static probe "map_failed".
37938 (_dl_map_object_from_fd): Pass namespace id to lose.
37939 Added static probe "map_start".
37940 (open_verify): Pass namespace id to lose.
37941 * elf/dl-open.c: Include <stap-probe.h>.
37942 (dl_open_worker) Added static probes "map_complete", "reloc_start"
37943 and "reloc_complete".
37944 * elf/dl-close.c: Include <stap-probe.h>.
37945 (_dl_close_worker): Added static probes "unmap_start" and
37946 "unmap_complete".
37947 * elf/rtld-debugger-interface.txt: New file documenting the above.
37948
37949 2012-07-26 Roland McGrath <roland@hack.frob.com>
37950
37951 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
37952 rather than a string variable.
37953 * sunrpc/rpc_main.c (h_output): Likewise.
37954 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
37955
37956 2012-07-26 Pino Toscano <toscano.pino@tiscali.it>
37957
37958 * inet/check_native.c: New file.
37959
37960 2012-07-26 Joseph Myers <joseph@codesourcery.com>
37961
37962 [BZ #13629]
37963 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
37964 if larger part has absolute value 1.0.
37965 * math/s_clog10.c (__clog10): Likewise.
37966 * math/s_clog10f.c (__clog10f): Likewise.
37967 * math/s_clog10l.c (__clog10l): Likewise.
37968 * math/s_clogf.c (__clogf): Likewise.
37969 * math/s_clogl.c (__clogl): Likewise.
37970 * math/libm-test.inc (clog_test): Add more tests.
37971 (clog10_test): Likewise.
37972 * sysdeps/i386/fpu/libm-test-ulps: Update.
37973 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37974
37975 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
37976 (pltexit): Likewise.
37977 (La_regs): Likewise.
37978 (La_retval): Likewise.
37979 (int_retval): Likewise.
37980 Update #error for removed macros to refer only to definitions in
37981 tst-audit.h.
37982 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
37983 macro.
37984 (pltexit): Likewise.
37985 (La_regs): Likewise.
37986 (La_retval): Likewise.
37987 (int_retval): Likewise.
37988 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
37989 macro.
37990 (pltexit): Likewise.
37991 (La_regs): Likewise.
37992 (La_retval): Likewise.
37993 (int_retval): Likewise.
37994 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
37995 macro.
37996 (pltexit): Likewise.
37997 (La_regs): Likewise.
37998 (La_retval): Likewise.
37999 (int_retval): Likewise.
38000 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
38001 macro.
38002 (pltexit): Likewise.
38003 (La_regs): Likewise.
38004 (La_retval): Likewise.
38005 (int_retval): Likewise.
38006 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
38007 macro.
38008 (pltexit): Likewise.
38009 (La_regs): Likewise.
38010 (La_retval): Likewise.
38011 (int_retval): Likewise.
38012 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
38013 macro.
38014 (pltexit): Likewise.
38015 (La_regs): Likewise.
38016 (La_retval): Likewise.
38017 (int_retval): Likewise.
38018 * sysdeps/generic/tst-audit.h: Update comment to refer only to
38019 macro definitions in tst-audit.h.
38020 * sysdeps/i386/tst-audit.h: New file.
38021 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
38022 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
38023 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
38024 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
38025 * sysdeps/sh/tst-audit.h: Likewise.
38026 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
38027 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
38028 * sysdeps/x86_64/tst-audit.h: Likewise.
38029
38030 2012-07-26 Andreas Jaeger <aj@suse.de>
38031
38032 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
38033 ptrace.
38034
38035 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
38036 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
38037 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
38038 PTRACE_O_MASK.
38039 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
38040 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
38041 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
38042
38043 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
38044 value.
38045
38046 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
38047 _sigsys.
38048 (si_call_addr, si_syscall, si_arch): Define new macro.
38049 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
38050 _sigsys.
38051 (si_call_addr, si_syscall, si_arch): Define new marcro.
38052 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
38053 _sigsys.
38054 (si_call_addr, si_syscall, si_arch): Define new macro.
38055 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
38056 _sigsys.
38057 (si_call_addr, si_syscall, si_arch): Define new macro.
38058
38059 2012-07-25 Joseph Myers <joseph@codesourcery.com>
38060
38061 [BZ #13717]
38062 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
38063 Change to 2.4.21 where previously 2.4.1.
38064 * sysdeps/unix/sysv/linux/configure: Regenerated.
38065 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
38066 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
38067 Linux kernel version.
38068 (__ASSUME_STD_AUXV): Remove.
38069 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
38070 kernel version.
38071 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
38072 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
38073 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
38074 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
38075 (__ASSUME_NETLINK_SUPPORT): Likewise.
38076 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
38077 (__no_netlink_support): Remove conditional definition.
38078 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
38079 Remove.
38080 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
38081 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
38082 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
38083 (if_nameindex_ioctl): Remove.
38084 (if_nameindex_netlink): Do not handle __no_netlink_support.
38085 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
38086 code.
38087 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
38088 Remove conditional code.
38089 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
38090 code.
38091 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
38092 unconditional.
38093 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
38094 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
38095 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
38096 Remove.
38097 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
38098 [!__ASSUME_STD_AUXV]: Remove conditional code.
38099 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
38100 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
38101 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
38102 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
38103 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
38104 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
38105 code.
38106 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
38107 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
38108 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
38109 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
38110 conditional code.
38111 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
38112 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
38113 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
38114 code.
38115 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
38116 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
38117 conditional code.
38118 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
38119 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
38120 code unconditional.
38121 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
38122 conditional code.
38123 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
38124 unconditional.
38125 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
38126 conditional code.
38127 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
38128 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
38129 unconditional.
38130 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
38131 conditional code.
38132 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
38133 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
38134 code unconditional.
38135 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
38136 conditional code.
38137 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
38138 unconditional.
38139 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
38140 conditional code.
38141 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
38142 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
38143 code unconditional.
38144 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
38145 conditional code.
38146 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
38147 unconditional.
38148 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
38149 conditional code.
38150
38151 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
38152
38153 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
38154 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
38155 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
38156 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
38157 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
38158 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
38159 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
38160 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
38161 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
38162 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
38163 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
38164 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
38165 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
38166 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
38167 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
38168 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
38169 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
38170 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
38171 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
38172 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
38173 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
38174 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
38175 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
38176
38177 2012-07-25 Florian Weimer <fweimer@redhat.com>
38178
38179 * Versions.def: Add GLIBC_2.17.
38180 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
38181 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
38182 Introduce __libc_secure_getenv.
38183 * stdlib/Versions (2.17): Add secure_getenv
38184 (GLIBC_PRIVATE): Add __libc_secure_getenv.
38185 * stdlib/secure-getenv.c: Rename __secure_getenv to
38186 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
38187 symbol __secure_getenv for GLIBC_2.0.
38188 * stdlib/tst-secure-getenv.c: New.
38189 * stdlib/Makefile (tests): Add testcase.
38190 * manual/startup.texi (Environment Access): Document
38191 secure_getenv.
38192 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
38193 __libc_secure_getenv.
38194 * inet/ruserpass.c (ruserpass): Likewise.
38195 * malloc/mtrace.c (mtrace): Likewise.
38196 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
38197 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
38198 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
38199 * sysdeps/posix/tempname.c: Likewise. Evaluate
38200 HAVE_SECURE_GETENV.
38201 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
38202 __secure_getenv to __libc_secure_getenv.
38203 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
38204 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
38205 Likewise.
38206 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
38207 Likewise.
38208 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
38209 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
38210 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
38211 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
38212 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
38213 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
38214 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
38215
38216 2012-07-25 Joseph Myers <joseph@codesourcery.com>
38217
38218 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
38219 (struct La_i86_retval): Likewise.
38220 (struct La_x86_64_regs): Likewise.
38221 (struct La_x86_64_retval): Likewise.
38222 (struct La_x32_regs): Likewise.
38223 (struct La_x32_retval): Likewise.
38224 (struct La_ppc32_regs): Likewise.
38225 (struct La_ppc32_retval): Likewise.
38226 (struct La_ppc64_regs): Likewise.
38227 (struct La_ppc64_retval): Likewise.
38228 (struct La_sh_regs): Likewise.
38229 (struct La_sh_retval): Likewise.
38230 (struct La_s390_32_regs): Likewise.
38231 (struct La_s390_32_retval): Likewise.
38232 (struct La_s390_64_regs): Likewise.
38233 (struct La_s390_64_retval): Likewise.
38234 (struct La_sparc32_regs): Likewise.
38235 (struct La_sparc32_retval): Likewise.
38236 (struct La_sparc64_regs): Likewise.
38237 (struct La_sparc64_retval): Likewise.
38238 (struct audit_ifaces): Remove architecture-specific pltenter and
38239 pltexit members.
38240 * sysdeps/i386/ldsodefs.h: New file.
38241 * sysdeps/powerpc/ldsodefs.h: Likewise.
38242 * sysdeps/s390/ldsodefs.h: Likewise.
38243 * sysdeps/sh/ldsodefs.h: Likewise.
38244 * sysdeps/sparc/ldsodefs.h: Likewise.
38245 * sysdeps/x86_64/ldsodefs.h: Likewise.
38246
38247 2012-07-25 Marek Polacek <polacek@redhat.com>
38248
38249 [BZ #6808]
38250 * math/libm-test.inc (yn_test): Add another test.
38251 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
38252 to ERANGE when the result is +-Inf.
38253 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
38254 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
38255 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
38256 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
38257
38258 2012-07-24 Joseph Myers <joseph@codesourcery.com>
38259
38260 * conform/data/time.h-data (NULL): Use macro-constant. Require
38261 equal to 0.
38262 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
38263 clock_t.
38264 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
38265
38266 2012-07-23 Thomas Schwinge <thomas@codesourcery.com>
38267
38268 * configure.in <sysdeps resolving>: Correct printing
38269 Implies_before.
38270 * configure: Regenerate.
38271
38272 2012-07-22 Thomas Schwinge <thomas@codesourcery.com>
38273
38274 * math/w_ilogb.c: Include <limits.h>.
38275 * math/w_ilogbl.c: Likewise.
38276
38277 2012-07-20 Joseph Myers <joseph@codesourcery.com>
38278
38279 * manual/lang.texi (__va_copy): Document primarily as ISO C99
38280 va_copy. Document allowing for unavailable va_copy only as
38281 pre-C99 compatibility.
38282 * manual/string.texi (Copying and Concatenation): Use va_copy
38283 instead of __va_copy in concat example.
38284
38285 2012-07-20 Pino Toscano <toscano.pino@tiscali.it>
38286
38287 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
38288 (__sendto): Use create_address_port. Initialize APORT and deallocate
38289 it if not null.
38290
38291 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
38292 with O_NOLINK passed to __file_name_lookup.
38293
38294 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
38295 with O_NOLINK passed to __file_name_lookup.
38296
38297 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
38298 negative N or less than NGIDS.
38299
38300 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
38301 type to string_t. Set ERANGE as errno and return it if NAME is not big
38302 enough. Use memcpy instead of strncpy.
38303
38304 2012-07-20 Joseph Myers <joseph@codesourcery.com>
38305
38306 * elf/Makefile (check-data): Remove.
38307 (localplt.data): New vpath directive.
38308 ($(objpfx)check-localplt.out): Use localplt.data from vpath
38309 instead of $(check-data).
38310 * scripts/data/localplt-generic.data: Move to ...
38311 * sysdeps/generic/localplt.data: ... here.
38312 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
38313 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
38314 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
38315 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
38316 ... here.
38317 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
38318 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
38319 ... here.
38320 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
38321 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
38322 ... here.
38323 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
38324 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
38325 ... here.
38326 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
38327 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
38328 ... here.
38329 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
38330 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
38331 ... here.
38332
38333 2012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38334
38335 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
38336 PPC32 and PPC64 files.
38337 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
38338 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
38339
38340 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
38341
38342 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
38343 __makecontext_ret to ...
38344 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
38345 ... here and call exit if uc_link is NULL. New file.
38346 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
38347 __makecontext_ret.S.
38348 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
38349 __makecontext_ret to ...
38350 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
38351 ... here and call exit if uc_link is NULL. New file.
38352 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
38353 __makecontext_ret.S.
38354
38355 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
38356
38357 * elf/elf.h (R_390_IRELATIVE): New definition.
38358 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
38359 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
38360 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
38361 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
38362 (elf_machine_lazy_rel): Likewise.
38363 * sysdeps/s390/dl-irel.h: New file.
38364 * sysdeps/s390/s390-64/memcpy.S: New asm code.
38365 * sysdeps/s390/s390-64/memset.S: New asm code.
38366 * sysdeps/s390/s390-64/memcmp.S: New asm code.
38367 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
38368 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
38369 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
38370 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
38371 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
38372 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
38373 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
38374 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
38375 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
38376 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
38377 * sysdeps/s390/s390-32/memcpy.S: New asm code.
38378 * sysdeps/s390/s390-32/memset.S: New asm code.
38379 * sysdeps/s390/s390-32/memcmp.S: New asm code.
38380
38381 2012-07-17 Marek Polacek <polacek@redhat.com>
38382
38383 [BZ #14349]
38384 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
38385 * sysdeps/s390/s390-64/configure.in: Likewise.
38386 * sysdeps/sparc/configure.in: Likewise.
38387 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
38388 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
38389 * sysdeps/i386/configure.in: Likewise.
38390 * sysdeps/x86_64/configure.in: Likewise.
38391 * sysdeps/sh/configure.in: Likewise.
38392 * sysdeps/s390/s390-32/configure: Regenerated.
38393 * sysdeps/s390/s390-64/configure: Likewise.
38394 * sysdeps/x86_64/configure: Likewise.
38395 * sysdeps/sh/configure: Likewise.
38396 * sysdeps/powerpc/powerpc64/configure: Likewise.
38397 * sysdeps/powerpc/powerpc32/configure: Likewise.
38398 * sysdeps/sparc/configure: Likwise.
38399 * sysdeps/i386/configure: Likewise.
38400
38401 * elf/dl-open.c: Comment fixes.
38402
38403 2012-07-17 Joseph Myers <joseph@codesourcery.com>
38404
38405 * Makefile [CXX] (check-data): Remove.
38406 [CXX] (c++-types.data): New vpath directive.
38407 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
38408 vpath. Do not allow for C++ type data being missing.
38409 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
38410 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
38411 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
38412 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
38413 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
38414 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
38415 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
38416 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
38417 ... here.
38418 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
38419 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
38420 ... here.
38421 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
38422 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
38423 ... here.
38424 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
38425 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
38426 ... here.
38427 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
38428 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
38429 ... here.
38430 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
38431 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
38432 ... here.
38433 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
38434 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
38435 ... here.
38436 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
38437 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
38438
38439 * elf/tls-macros.h (TLS_LE): Move architecture-specific
38440 definitions to architecture-specific files.
38441 (TLS_IE): Likewise.
38442 (TLS_LD): Likewise.
38443 (TLS_GD): Likewise.
38444 * sysdeps/i386/tls-macros.h: New file.
38445 * sysdeps/powerpc/tls-macros.h: Likewise.
38446 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
38447 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
38448 * sysdeps/sh/tls-macros.h: Likewise.
38449 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
38450 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
38451 * sysdeps/x86_64/tls-macros.h: Likewise.
38452
38453 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
38454
38455 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
38456 zero value for regular exit case.
38457
38458 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
38459 (__start_context): Preserve zero value for regular exit case.
38460
38461 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
38462 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
38463
38464 * manual/setjmp.texi (setcontext): Clarify normal process
38465 termination when uc_link is the null pointer.
38466 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
38467 exit call.
38468
38469 2012-07-16 Andreas Schwab <schwab@linux-m68k.org>
38470
38471 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
38472 preprocessor. Test for each exception mask separately.
38473
38474 2012-07-16 Andreas Jaeger <aj@suse.de>
38475
38476 * po/ru.po: Update from translation team.
38477
38478 2012-07-15 Joseph Myers <joseph@codesourcery.com>
38479
38480 * conform/data/string.h-data (NULL): Use macro-constant. Require
38481 equal to 0.
38482 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
38483 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
38484 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
38485 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
38486 [ISO || ISO99 || ISO11] (*_t): Do not allow.
38487
38488 2012-07-13 Andreas Jaeger <aj@suse.de>
38489
38490 * po/fr.po: Update from translation team.
38491
38492 2012-07-12 Marek Polacek <polacek@redhat.com>
38493
38494 [BZ #14173]
38495 * math/libm-test.inc (yn_test): Add test for BZ #14173.
38496 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
38497 loop condition.
38498
38499 2012-07-12 Joseph Myers <joseph@codesourcery.com>
38500
38501 [BZ #13717]
38502 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
38503 Change to 2.4.1 where previously 2.4.0.
38504 * sysdeps/unix/sysv/linux/configure: Regenerated.
38505 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
38506 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
38507 version.
38508 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
38509 (__ASSUME_AT_CLKTCK): Remove.
38510 (__ASSUME_AT_PAGESIZE): Likewise.
38511 (__ASSUME_AT_XID): Likewise.
38512 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
38513 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
38514 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
38515 unconditionally.
38516 (HAVE_AUX_PAGESIZE): Likewise.
38517 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
38518 [__ASSUME_AT_CLKTCK]: Make code unconditional.
38519 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
38520
38521 2012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
38522
38523 [BZ #14307]
38524 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
38525 the temporary buffer used to invoke __gethostbyname2_r,
38526 __gethostbyaddr_r and gethostbyname4_r to make room for struct
38527 host_data / struct gaih_addrtuple.
38528 * resolv/nss_dns/dns-host.c (global scope): Move definition of
38529 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
38530 header file nss/nsswitch.h.
38531 * nss/nsswitch.h (global scope): Add definition of implementation
38532 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
38533 resolv/nss_dns/dns-host.c).
38534
38535 2012-07-11 Andreas Jaeger <aj@suse.de>
38536
38537 * po/fr.po: Update from translation team.
38538
38539 * po/sv.po: Update from translation team
38540 * po/fr.po: Another update from translation team.
38541
38542 2012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38543
38544 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
38545 for subnormals or multiply small sinh result by itself.
38546 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
38547 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38548
38549 2012-07-11 David S. Miller <davem@davemloft.net>
38550
38551 * sysdeps/sparc/fpu/libm-test-ulps: Update.
38552
38553 2012-07-10 Andreas Schwab <schwab@linux-m68k.org>
38554
38555 [BZ #14347]
38556 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
38557 (INTERNAL_MARK): Shift it here.
38558
38559 2012-07-10 Marek Polacek <polacek@redhat.com>
38560
38561 [BZ #14151]
38562 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
38563 libc_cv_asm_global_directive with .globl.
38564 * configure: Regenerated.
38565 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
38566 with .globl.
38567 * sysdeps/i386/configure: Regenerated.
38568 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
38569 with .globl.
38570 * sysdeps/x86_64/configure: Regenerated.
38571 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
38572 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
38573 * elf/tst-unique2mod2.c: Likewise.
38574 * elf/tst-unique2mod1.c: Likewise.
38575 * elf/tst-unique1mod2.c: Likewise.
38576 * elf/tst-unique1mod1.c: Likewise.
38577 * sysdeps/s390/s390-32/sysdep.h: Likewise.
38578 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
38579 * sysdeps/s390/s390-64/sysdep.h: Likewise.
38580 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
38581 * sysdeps/mach/sysdep.h: Likewise.
38582 * sysdeps/i386/sysdep.h: Likewise.
38583 * sysdeps/i386/i386-mcount.S: Likewise.
38584 * sysdeps/x86_64/_mcount.S: Likewise.
38585 * sysdeps/x86_64/sysdep.h: Likewise.
38586 * sysdeps/sh/_mcount.S: Likewise.
38587 * sysdeps/sh/sysdep.h: Likewise.
38588 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
38589 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
38590 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
38591 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
38592 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
38593 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
38594 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
38595 * locale/localeinfo.h: Likewise.
38596 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
38597 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
38598
38599 2012-07-09 Roland McGrath <roland@hack.frob.com>
38600
38601 [BZ #14336]
38602 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
38603 system".
38604 * manual/message.texi (The Uniforum approach): Likewise.
38605 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
38606 (glibc iconv Implementation): Likewise.
38607
38608 2012-07-09 Joseph Myers <joseph@codesourcery.com>
38609
38610 [BZ #14337]
38611 * math/s_clog.c (__clog): Avoid scaling a value down where that
38612 could result in underflow.
38613 * math/s_clog10.c (__clog10): Likewise.
38614 * math/s_clog10f.c (__clog10f): Likewise.
38615 * math/s_clog10l.c (__clog10l): Likewise.
38616 * math/s_clogf.c (__clogf): Likewise.
38617 * math/s_clogl.c (__clogl): Likewise.
38618 * math/libm-test.inc (clog_test): Add more tests.
38619 (clog10_test): Likewise.
38620 * sysdeps/i386/fpu/libm-test-ulps: Update.
38621 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38622
38623 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
38624
38625 [BZ #14283]
38626 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
38627 by 7 not 8 to examine high bit of fractional part.
38628
38629 [BZ #14042]
38630 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
38631 for call to __mcount_internal.
38632 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
38633 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
38634 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
38635
38636 2012-07-06 Joseph Myers <joseph@codesourcery.com>
38637
38638 [BZ #14154]
38639 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
38640 approximation for values within 0x1p-13f of an odd multiple of
38641 pi/4.
38642 * math/libm-test.inc (tan_test): Do not allow spurious underflow
38643 exception. Add more tests.
38644 * sysdeps/i386/fpu/libm-test-ulps: Update.
38645
38646 [BZ #6778]
38647 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
38648 inputs and return -1 for them. Do not check for +Inf in case not
38649 reachable for +Inf.
38650 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
38651 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
38652 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
38653 and return -1 for them. Do not check for +Inf in case not
38654 reachable for +Inf.
38655 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
38656 define.
38657 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
38658 and return -1 for them. Do not check for +Inf in case not
38659 reachable for +Inf.
38660 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
38661 spurious underflow.
38662 * sysdeps/i386/fpu/libm-test-ulps: Update.
38663 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38664
38665 2012-07-06 Mike Frysinger <vapier@gentoo.org>
38666
38667 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
38668
38669 2012-07-05 Joseph Myers <joseph@codesourcery.com>
38670
38671 [BZ #14157]
38672 [BZ #14331]
38673 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
38674 could result in spurious underflow. Scale down values above
38675 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
38676 * math/s_csqrtf.c (__csqrtf): Likewise.
38677 * math/s_csqrtl.c (__csqrtl): Likewise.
38678 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
38679 spurious underflow.
38680 * sysdeps/i386/fpu/libm-test-ulps: Update.
38681 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38682
38683 2012-07-04 Andreas Schwab <schwab@linux-m68k.org>
38684
38685 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
38686 xopen-msg.sed.
38687 * catgets/xopen-msg.awk: New file.
38688 * catgets/xopen-msg.sed: Removed.
38689
38690 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
38691 po2text.sed.
38692 * intl/po2test.awk: New file.
38693 * intl/po2test.sed: Removed.
38694
38695 2012-07-04 Joseph Myers <joseph@codesourcery.com>
38696
38697 [BZ #14328]
38698 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
38699 or multiply small sinh result by itself.
38700 * math/s_ctanf.c (__ctanf): Likewise.
38701 * math/s_ctanh.c (__ctanh): Likewise.
38702 * math/s_ctanhf.c (__ctanhf): Likewise.
38703 * math/s_ctanhl.c (__ctanhl): Likewise.
38704 * math/s_ctanl.c (__ctanl): Likewise.
38705 * math/libm-test.inc (ctan_test_tonearest): New function.
38706 (ctan_test_towardzero): Likewise.
38707 (ctan_test_downward): Likewise.
38708 (ctan_test_upward): Likewise.
38709 (ctanh_test_tonearest): Likewise.
38710 (ctanh_test_towardzero): Likewise.
38711 (ctanh_test_downward): Likewise.
38712 (ctanh_test_upward): Likewise.
38713 (main): Call these new functions.
38714 * sysdeps/i386/fpu/libm-test-ulps: Update.
38715 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38716
38717 2012-07-03 Mike Frysinger <vapier@gentoo.org>
38718
38719 * .gitignore: Delete /ports entry.
38720
38721 2012-07-03 Andreas Jaeger <aj@suse.de>
38722
38723 * po/bg.po: Update from translation team.
38724 * po/cs.po: Likewise.
38725 * po/de.po: Likewise.
38726 * po/hr.po: Likewise.
38727 * po/nl.pl: Likewise.
38728 * po/pl.po: Likewise.
38729 * po/vi.po: Likewise.
38730
38731 2012-07-03 Joseph Myers <joseph@codesourcery.com>
38732
38733 * Makeconfig [!+link] (+link-before-libc): New variable.
38734 [!+link] (+link-after-libc): Likewise.
38735 [!+link] (+link-tests): Likewise.
38736 [!+link] (+link): Define in terms of $(+link-before-libc) and
38737 $(+link-after-libc).
38738 [!+link-static] (+link-static-before-libc): New variable.
38739 [!+link-static] (+link-static-after-libc): Likewise.
38740 [!+link-static] (+link-static-tests): Likewise.
38741 [!+link-static] (+link-static): Define in terms of
38742 $(+link-static-before-libc) and $(+link-static-after-libc).
38743 [build-shared] (link-libc-before-gnulib): New variable.
38744 [build-shared] (link-libc-tests): Likewise.
38745 [build-shared] (link-libc): Define in terms of
38746 $(link-libc-before-gnulib).
38747 [!build-shared] (link-libc-tests): New variable.
38748 (link-libc-static-tests): New variable.
38749 [!gnulib] (gnulib-arch): New variable.
38750 [!gnulib] (gnulib-tests): Likewise.
38751 [!gnulib] (static-gnulib-arch): Likewise.
38752 [!gnulib] (static-gnulib-tests): Likewise.
38753 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
38754 Define with "=" instead of ":=".
38755 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
38756 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
38757 * Rules (binaries-all-notests): New variable.
38758 (binaries-all-tests): Likewise.
38759 (binaries-static-notests): Likewise.
38760 (binaries-static-tests): Likewise.
38761 (binaries-all): Define using $(binaries-all-notests) and
38762 $(binaries-all-tests).
38763 (binaries-static): Define using $(binaries-static-notests) and
38764 $(binaries-static-tests).
38765 (binaries-shared-tests): New variable.
38766 (binaries-shared-notests): Likewise.
38767 (binaries-shared): Remove variable.
38768 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
38769 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
38770 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
38771 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
38772 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
38773 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
38774 * elf/Makefile (sln-modules): New variable.
38775 (extra-objs): Add $(sln-modules:=.o).
38776 (ldconfig-modules): Add static-stubs.
38777 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
38778 * elf/static-stubs.c: New file.
38779
38780 [BZ #14283]
38781 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
38782 by 7 not 8 to examine high bit of fractional part. Use volatile
38783 variables when splitting into final array of floats if
38784 __FLT_EVAL_METHOD__ != 0.
38785 * math/libm-test.inc (cos_test): Add another test.
38786 (sin_test): Likewise.
38787 * sysdeps/i386/fpu/libm-test-ulps: Update.
38788
38789 [BZ #14273]
38790 * math/libm-test.inc (cosh_test): Add more tests.
38791
38792 * version.h (RELEASE): Set to "development".
38793 (VERSION): Set to "2.16.90".
38794
38795 2012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
38796
38797 * NEWS: Update copyright. Remove last-updated date.
38798 Mention math library bug fixes and timezone data changes.
38799 * README: Mention GNU/Hurd, x32, and HPPA support status.
38800
38801 2012-06-28 Thomas Schwinge <thomas@codesourcery.com>
38802
38803 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
38804
38805 2012-06-27 Andreas Jaeger <aj@suse.de>
38806
38807 * manual/contrib.texi (Contributors): Add Samuel Thibault.
38808
38809 2012-06-25 Andreas Jaeger <aj@suse.de>
38810
38811 * sysdeps/s390/fpu/libm-test-ulps: Update.
38812
38813 2012-06-23 Andreas Schwab <schwab@linux-m68k.org>
38814 Thomas Schwinge <thomas@codesourcery.com>
38815
38816 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
38817 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
38818 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
38819 fanotify_mark.
38820
38821 2012-06-23 Thomas Schwinge <thomas@codesourcery.com>
38822
38823 * sysdeps/mach/start.c: Remove file.
38824 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
38825 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
38826 * sysdeps/sh/init-first.c: Likewise.
38827
38828 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
38829 registers for frame unwinding purposes, add CFI directives.
38830 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
38831 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
38832 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
38833 Likewise.
38834
38835 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
38836 __fortify_fail returning.
38837 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
38838
38839 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
38840 sysdeps/sh/____longjmp_chk.S.
38841 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
38842 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
38843 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
38844 (gen-as-const-headers): Append sigaltstack-offsets.sym.
38845
38846 * sysdeps/sh/abort-instr.h: New file.
38847 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
38848 process in case exit returns.
38849
38850 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
38851 initialize the GOT register before use.
38852
38853 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
38854 calculation of ARGC > 4.
38855
38856 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
38857 meaningful names to some local labels.
38858
38859 2012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
38860 Kaz Kojima <kkojima@rr.iij4u.or.jp>
38861
38862 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
38863 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
38864 (__arch_compare_and_exchange_val_16_acq): Likewise.
38865 (__arch_compare_and_exchange_val_32_acq): Likewise.
38866 (atomic_exchange_and_add): Fix gUSA sequence.
38867 (atomic_add): Likewise.
38868 (atomic_add_negative): Likewise.
38869 (atomic_add_zero): Likewise.
38870 (atomic_bit_test_set): Likewise.
38871
38872 2012-06-22 Andreas Schwab <schwab@redhat.com>
38873
38874 [BZ #13579]
38875 * include/link.h (struct link_map): Add l_free_initfini.
38876 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
38877 l_initfini.
38878 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
38879 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
38880 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
38881 set.
38882
38883 2012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
38884
38885 * configure.in: Use AC_LANG_SOURCE.
38886 * configure: Regenerate.
38887
38888 2012-06-22 Roland McGrath <roland@hack.frob.com>
38889
38890 * configure.in (libc_cv_localstatedir): New substituted variable.
38891 * configure: Regenerated.
38892 * config.make.in (localstatedir): New variable, substituted from
38893 libc_cv_localstatedir.
38894 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
38895 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
38896 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
38897 * sysdeps/gnu/configure: Regenerated.
38898
38899 2012-06-21 Jeff Law <law@redhat.com>
38900
38901 [BZ #14277]
38902 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
38903 free. Simplify list management for _LIBC case.
38904
38905 2012-06-21 Joseph Myers <joseph@codesourcery.com>
38906
38907 [BZ #14273]
38908 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
38909 Clear sign bit of 64-bit integer value before comparing against
38910 overflow value.
38911
38912 * sysdeps/mach/configure: Regenerated.
38913
38914 2012-06-21 H.J. Lu <hongjiu.lu@intel.com>
38915
38916 [BZ #14278]
38917 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
38918
38919 2012-06-21 Jeff Law <law@redhat.com>
38920
38921 [BZ #13882]
38922 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
38923 uint16_t for elements in the "seen" array to avoid char overflows.
38924 * elf/dl-fini.c (_dl_sort_fini): Likewise.
38925 * elf/dl-open.c (dl_open_worker): Likewise.
38926
38927 2012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
38928
38929 * scripts/list-sources.sh: Scan PORTS for translations.
38930 * po/libc.pot: Regenerated.
38931
38932 2012-06-21 Andreas Jaeger <aj@suse.de>
38933
38934 [BZ #12194]
38935 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
38936 warning.
38937 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
38938 * bits/byteswap-16.h (__bswap_16): Likewise.
38939 * bits/byteswap.h (__bswap_constant_16): Likewise.
38940
38941 2012-06-18 H.J. Lu <hongjiu.lu@intel.com>
38942
38943 [BZ #14117]
38944 * sysdeps/i386/fpu_control.h: Removed.
38945 * sysdeps/x86_64/fpu_control.h: Moved to ...
38946 * sysdeps/x86/fpu_control.h: Here.
38947
38948 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
38949 (_FPU_SETCW): Likewise.
38950
38951 2012-06-15 H.J. Lu <hongjiu.lu@intel.com>
38952
38953 [BZ #14117]
38954 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
38955 * sysdeps/x86/fpu/bits/mathinline.h: This.
38956 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
38957
38958 [BZ #14050]
38959 [BZ #14117]
38960 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
38961 functions if __x86_64__ is defined.
38962
38963 2012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
38964
38965 * string/endian.h: Add !__ASSEMBLER__ condition for including
38966 conversion interfaces.
38967
38968 2012-06-15 Joseph Myers <joseph@codesourcery.com>
38969
38970 [BZ #14241]
38971 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
38972 of ABS(x) in calculating zero to negative powers other than odd
38973 integers.
38974 * math/libm-test.inc (pow_test): Add more tests.
38975
38976 2012-06-15 Andreas Jaeger <aj@suse.de>
38977
38978 * manual/contrib.texi (Contributors): Update entry of Liubov
38979 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
38980 Machado Filho.
38981
38982 2012-06-15 Cyril Hrubis <metan@ucw.cz>
38983
38984 * string/string.h: Add __wur to GNU version of strerror_r.
38985
38986 2012-06-14 H.J. Lu <hongjiu.lu@intel.com>
38987
38988 [BZ #14229]
38989 * string/Makefile (tests): Add tst-strtok_r.
38990 * string/tst-strtok_r.c: New file.
38991 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
38992 RAX_LP/RDX_LP on SAVE_PTR.
38993
38994 2012-06-14 Roland McGrath <roland@hack.frob.com>
38995
38996 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
38997
38998 2012-06-14 Joseph Myers <joseph@codesourcery.com>
38999
39000 * libm_test.inc (csqrt_test): Allow more spurious underflow
39001 exceptions.
39002 (j0_test): Likewise.
39003 (j1_test): Likewise.
39004 (y0_test): Likewise.
39005 (y1_test): Likewise.
39006
39007 2012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
39008
39009 * po/Makefile (libc.pot): Use UTF-8 charset.
39010
39011 2012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
39012
39013 [BZ #14210]
39014 Suppress sign-conversion warning from FD_SET.
39015 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
39016 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
39017 not unsigned long int.
39018 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
39019
39020 2012-06-12 H.J. Lu <hongjiu.lu@intel.com>
39021
39022 [BZ #14050]
39023 [BZ #14117]
39024 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
39025 __extern_always_inline instead of __extern_inline.
39026 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
39027 (__signbit): Likewise.
39028 (__signbitl): Support C++ namespace.
39029 (lrintf): New inline function.
39030 (lrint): Likewise.
39031 (llrintf): Likewise.
39032 (llrint): Likewise.
39033 (fmaxf): Likewise.
39034 (fmax): Likewise.
39035 (fminf): Likewise.
39036 (fmin): Likewise.
39037 (rint): Likewise.
39038 (rintf): Likewise.
39039 (ceil): Likewise.
39040 (ceilf): Likewise.
39041 (floor): Likewise.
39042 (floorf): Likewise.
39043 (nearbyint): Likewise.
39044 (nearbyintf): Likewise.
39045
39046 2012-06-12 Thomas Schwinge <thomas@codesourcery.com>
39047
39048 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
39049 non-default versions.
39050
39051 2012-06-11 Roland McGrath <roland@hack.frob.com>
39052
39053 [BZ #14218]
39054 * manual/argp.texi (Argp): Reword argp_parse description slightly.
39055
39056 2012-06-09 Thomas Schwinge <thomas@codesourcery.com>
39057
39058 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
39059 (FE_UPWARD, FE_DOWNWARD): Don't define.
39060 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
39061 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
39062
39063 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
39064 reading it.
39065 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
39066 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
39067
39068 2012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
39069
39070 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
39071 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
39072 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
39073 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
39074
39075 2012-06-06 H.J. Lu <hongjiu.lu@intel.com>
39076
39077 [BZ #14117]
39078 * sysdeps/i386/fpu/bits/fenv.h: Removed.
39079 * sysdeps/i386/fpu/Implies: New file.
39080 * sysdeps/x86_64/fpu/Implies: Likewise.
39081 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
39082 * sysdeps/x86/fpu/bits/fenv.h: This.
39083
39084 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
39085 __SSE_MATH__.
39086
39087 2012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
39088
39089 [BZ #14134]
39090 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
39091 character 0xffff that matches the last element of the
39092 conversion table.
39093
39094 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
39095
39096 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
39097 fmodl commit.
39098
39099 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
39100
39101 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
39102 values higher than 25.6283.
39103
39104 2012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
39105
39106 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
39107 subnormal exponent extraction and add some __builtin_expect.
39108 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
39109 Fix for subnormal mantissa calculation.
39110
39111 2012-06-04 Mike Frysinger <vapier@gentoo.org>
39112
39113 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
39114 cpu2 is -1 and errno is not ENOSYS.
39115
39116 2012-06-04 H.J. Lu <hongjiu.lu@intel.com>
39117
39118 [BZ #14117]
39119 * sysdeps/i386/i486/bits/string.h: Renamed to ...
39120 * sysdeps/x86/bits/string.h: This.
39121 * sysdeps/x86_64/bits/string.h: Removed.
39122
39123 * sysdeps/i386/i486/bits/string.h: Define inline functions only
39124 if not compiling for x86-64, but compiling for >= i486.
39125
39126 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
39127 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
39128
39129 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
39130 New macro from Linux kernel 3.4.0.
39131 (FP_XSTATE_MAGIC2): Likewise.
39132 (FP_XSTATE_MAGIC2_SIZE): Likewise.
39133 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
39134 (struct _fpx_sw_bytes): New struct.
39135 (struct _xsave_hdr): Likewise.
39136 (struct _ymmh_state): Likewise.
39137 (struct _xstate): Likewise.
39138
39139 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
39140 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
39141 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
39142 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
39143 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
39144 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
39145
39146 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
39147 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
39148 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
39149 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
39150 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
39151 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
39152
39153 2012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
39154
39155 [BZ #13743]
39156 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
39157 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
39158 (sysdep_headers): Include sys/platform/ppc.h.
39159 * sysdeps/powerpc/test-gettimebase.c: Test for
39160 __ppc_get_timebase() to catch future ISA opcode/insn changes.
39161 * manual/Makefile (appendices): Include platform.texi.
39162 * manual/contrib.texi (Contributors): Update @node pointers.
39163 * manual/maint.texi (Maintenance): Likewise.
39164 (Platform): New node.
39165 * manual/platform.texi: New file. Document the new features.
39166
39167 2012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
39168 Jakub Jelinek <jakub@redhat.com>
39169
39170 [BZ #14188]
39171 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
39172 where __builtin_expect is unavailable.
39173
39174 2012-06-03 David S. Miller <davem@davemloft.net>
39175
39176 * stdlib/longlong.h: Updated from GCC.
39177
39178 2012-06-02 Andreas Schwab <schwab@linux-m68k.org>
39179
39180 [BZ #14042]
39181 * sysdeps/powerpc/powerpc32/mcount.c: New file.
39182 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
39183 __mcount_internal.
39184 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
39185 (GLIBC_2.16): Likewise.
39186
39187 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
39188
39189 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
39190
39191 2012-06-01 Joseph Myers <joseph@codesourcery.com>
39192
39193 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
39194 (default-abi): New variable.
39195 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
39196 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
39197 variable.
39198 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
39199 Likewise.
39200 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
39201 Likewise.
39202 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
39203 Likewise.
39204
39205 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
39206 definition. Document in comment.
39207
39208 2012-06-01 David S. Miller <davem@davemloft.net>
39209
39210 * stdlib/longlong.h: Updated from GCC.
39211
39212 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
39213
39214 [BZ #14117]
39215 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
39216 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
39217 sys/debugreg.h sys/io.h here.
39218 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
39219 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
39220 sys/io.h.
39221 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
39222 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
39223 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
39224 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
39225 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
39226 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
39227
39228 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
39229 Define only if __x86_64__ is defined.
39230
39231 2012-06-01 Joseph Myers <joseph@codesourcery.com>
39232
39233 [BZ #14048]
39234 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
39235 Use int64_t for variable i.
39236 * math/libm-test.inc (fmod_test): Add more tests.
39237
39238 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
39239 z computation is not scheduled after fetestexcept.
39240 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
39241 Use math_force_eval instead of asm to ensure calculation scheduled
39242 before exception test.
39243 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
39244 Ensure a1 + u.d computation is not scheduled after fetestexcept.
39245
39246 2012-06-01 Aurelien Jarno <aurelien@aurel32.net>
39247
39248 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
39249 computation is not scheduled after fetestexcept.
39250
39251 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
39252
39253 [BZ #14117]
39254 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
39255 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
39256
39257 2012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
39258
39259 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
39260 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
39261
39262 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
39263
39264 [BZ #14117]
39265 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
39266 <bits/wordsize.h>.
39267 (__WCHAR_MIN): Support __WORDSIZE == 64.
39268 (__WCHAR_MAX): Likewise.
39269
39270 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
39271 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
39272
39273 [BZ #14183]
39274 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
39275 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
39276
39277 [BZ #14117]
39278 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
39279 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
39280
39281 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
39282 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
39283
39284 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
39285 Defined to 1 if __x86_64__ isn't defined.
39286 (_STAT_VER_LINUX_OLD): New.
39287 (st_atime): Remove duplicate.
39288 (st_mtime): Likewise.
39289 (st_ctime): Likewise.
39290
39291 2012-05-31 David S. Miller <davem@davemloft.net>
39292
39293 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
39294 entries.
39295
39296 2012-06-01 Andreas Schwab <schwab@linux-m68k.org>
39297
39298 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
39299 gen-libm-test.pl.
39300
39301 [BZ #14132]
39302 * elf/dl-reloc.c: Include <_itoa.h>.
39303 (_dl_reloc_bad_type): Remove use of INTUSE.
39304 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
39305 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
39306 * stdio-common/psiginfo.c (psiginfo): Likewise.
39307 * stdio-common/psignal.c (psignal): Likewise.
39308 * string/strsignal.c (strsignal): Likewise.
39309 * include/signal.h (_sys_siglist): Declare hidden proto.
39310 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
39311 INTVARDEF with libc_hidden_data_def.
39312 * stdio-common/itoa-udigits.c: Likewise.
39313 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
39314 (_itoa_lower_digits_internal): Remove declaration.
39315 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
39316 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
39317 (_sys_sigabbrev_internal): Remove aliases.
39318 (_sys_siglist): Define hidden alias.
39319
39320 2012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
39321
39322 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
39323 bits/sysctl.h.
39324
39325 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
39326
39327 [BZ #14117]
39328 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
39329 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
39330
39331 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
39332 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
39333 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
39334 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
39335 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
39336 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
39337
39338 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
39339 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
39340 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
39341
39342 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
39343 with __addr.
39344 (insw): Likewise.
39345 (insl): Likewise.
39346 (outsb): Likewise.
39347 (outsw): Likewise.
39348 (outsl): Likewise.
39349
39350 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
39351 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
39352 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
39353
39354 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
39355 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
39356 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
39357 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
39358 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
39359 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
39360
39361 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
39362 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
39363
39364 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
39365 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
39366
39367 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
39368 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
39369 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
39370
39371 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
39372 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
39373 to ...
39374 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
39375
39376 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
39377 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
39378 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
39379
39380 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
39381 for x86-64.
39382 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
39383
39384 2012-05-31 Joseph Myers <joseph@codesourcery.com>
39385
39386 * math/math.h (M_El): Use two more decimal places.
39387 (M_LOG2El): Likewise.
39388 (M_LOG10El): Likewise.
39389 (M_LN2l): Likewise.
39390 (M_LN10l): Likewise.
39391 (M_PIl): Likewise.
39392 (M_PI_2l): Likewise.
39393 (M_PI_4l): Likewise.
39394 (M_1_PIl): Likewise.
39395 (M_2_PIl): Likewise.
39396 (M_2_SQRTPIl): Likewise.
39397 (M_SQRT2l): Likewise.
39398 (M_SQRT1_2l): Likewise.
39399
39400 2012-05-31 David S. Miller <davem@davemloft.net>
39401
39402 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
39403 values between float registers.
39404 * sysdeps/sparc/sparc64/memset.S: Likewise.
39405 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
39406
39407 2012-05-31 Mike Frysinger <vapier@gentoo.org>
39408
39409 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
39410 -D_FORTIFY_SOURCE=1.
39411 (CPPFLAGS-tst-longjmp_chk.c): Define.
39412 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
39413 (CPPFLAGS-tst-longjmp_chk2.c): Define.
39414 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
39415 CFLAGS-tst-wchar-h.c.
39416
39417 2012-05-31 Marek Polacek <polacek@redhat.com>
39418
39419 [BZ #14132]
39420 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
39421 __endmntent_internal): Remove declaration.
39422 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
39423 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
39424 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
39425
39426 2012-05-30 David S. Miller <davem@davemloft.net>
39427
39428 * sysdeps/sparc/sparc32/soft-fp/q_util.c
39429 (___Q_simulate_exceptions): Use real FP ops rather than writing
39430 into the %fsr.
39431 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
39432 Likewise.
39433
39434 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
39435
39436 [BZ #14117]
39437 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
39438 * sysdeps/x86/bits/xtitypes.h: This.
39439
39440 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
39441 * sysdeps/x86/bits/wordsize.h: This.
39442
39443 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
39444 * sysdeps/x86/bits/huge_vall.h: This.
39445
39446 * sysdeps/i386/bits/select.h: Removed.
39447 * sysdeps/x86_64/bits/select.h: Renamed to ...
39448 * sysdeps/x86/bits/select.h: This.
39449
39450 * sysdeps/i386/bits/setjmp.h: Removed.
39451 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
39452 * sysdeps/x86/bits/setjmp.h: This.
39453
39454 * sysdeps/i386/bits/mathdef.h: Removed.
39455 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
39456 * sysdeps/x86/bits/mathdef.h: This.
39457
39458 2012-05-30 Andreas Schwab <schwab@linux-m68k.org>
39459
39460 [BZ #14132]
39461 * include/sys/socket.h (__connect_internal)
39462 (__libc_sa_len_internal): Remove declaration.
39463 (__connect, __libc_sa_len): Declare hidden_proto.
39464 (SA_LEN): Remove use of INTUSE.
39465 * socket/connect.c: Add libc_hidden_def.
39466 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
39467 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
39468 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
39469 alias.
39470 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
39471 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
39472 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
39473 of adding _internal alias.
39474
39475 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
39476
39477 [BZ #14117]
39478 * sysdeps/i386/bits/link.h: Removed.
39479 * sysdeps/i386/bits/linkmap.h: Likewise.
39480 * sysdeps/x86_64/bits/link.h: Renamed to ...
39481 * sysdeps/x86/bits/link.h: This.
39482 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
39483 * sysdeps/x86/bits/linkmap.h: This.
39484
39485 * sysdeps/i386/bits/endian.h: Removed.
39486 * sysdeps/x86_64/bits/endian.h: Renamed to ...
39487 * sysdeps/x86/bits/endian.h: This.
39488
39489 * sysdeps/i386/bits/byteswap.h: Removed.
39490 * sysdeps/i386/bits/byteswap-16.h: Likewise.
39491 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
39492 * sysdeps/x86/bits/byteswap.h: This.
39493 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
39494 * sysdeps/x86/bits/byteswap-16.h: This.
39495 * sysdeps/i386/Implies: Add x86.
39496 * sysdeps/x86_64/Implies: Likewise.
39497
39498 2012-05-30 David S. Miller <davem@davemloft.net>
39499
39500 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
39501 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
39502 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
39503 (FP_TRAPPING_EXCEPTIONS): Define.
39504 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
39505 (FP_TRAPPING_EXCEPTIONS): Define.
39506 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
39507 subnormals only when inexact has been signalled or underflow
39508 exceptions are enabled.
39509 (_FP_PACK_CANONICAL): Likewise.
39510
39511 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
39512
39513 [BZ #14183]
39514 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
39515 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
39516
39517 2012-05-30 Richard Henderson <rth@twiddle.net>
39518
39519 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
39520 with #ifndef NOT_IN_libc.
39521
39522 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
39523 marked to avoid plt entry.
39524
39525 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
39526
39527 [BZ #14112]
39528 * Makeconfig (default-abi): New macro.
39529 (abi-includes): Likewise.
39530 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
39531 $(abi-$(default-abi)-lib-soname) for soname if defined.
39532 ($(common-objpfx)gnu/lib-names.stmp): Generate from
39533 abi-variants.
39534 * Makefile (installed-stubs): Likewise.
39535 * include/stubs-biarch.h: Removed.
39536 * scripts/lib-names.awk: Only handle one library at a time.
39537 * scripts/soversions.awk: Remove WORDSIZE support.
39538 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
39539 entries.
39540 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
39541 Removed.
39542 (syscall-list-default-condition): Likewise.
39543 (syscall-list-default-condition): Likewise.
39544 (syscall-list-includes): Likewise.
39545 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
39546 syscall-list-* with abi-*. Handle undefined abi-variants.
39547 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
39548 * sysdeps/unix/sysv/linux/i386/Implies: New file.
39549 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
39550 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
39551 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
39552 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
39553 Removed.
39554 (syscall-list-32-options): Likewise.
39555 (syscall-list-32-condition): Likewise.
39556 (syscall-list-64-options): Likewise.
39557 (syscall-list-64-condition): Likewise.
39558 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
39559 macro.
39560 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
39561 Renamed to ...
39562 (abi-*): This.
39563 (abi-64-ld-soname): New macro.
39564 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
39565 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
39566 Renamed to ...
39567 (abi-*): This.
39568 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
39569 * sysdeps/x86_64/x32/shlib-versions: Likewise.
39570
39571 2012-05-30 Joseph Myers <joseph@codesourcery.com>
39572
39573 * sysdeps/unix/sysv/linux/kernel-features.h
39574 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
39575 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
39576 include <kernel-features.h>.
39577 [!__NR_ftruncate64]: Remove conditional code.
39578 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
39579 [__NR_ftruncate64]: Make code unconditional.
39580 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
39581 * sysdeps/unix/sysv/linux/truncate64.c: Do not
39582 include <kernel-features.h>.
39583 [!__NR_ftruncate64]: Remove conditional code.
39584 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
39585 [__NR_ftruncate64]: Make code unconditional.
39586 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
39587 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
39588 include <kernel-features.h>.
39589 [!__NR_ftruncate64]: Remove conditional code.
39590 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
39591 [__NR_ftruncate64]: Make code unconditional.
39592 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
39593 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
39594 include <kernel-features.h>.
39595 [!__NR_ftruncate64]: Remove conditional code.
39596 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
39597 [__NR_ftruncate64]: Make code unconditional.
39598 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
39599
39600 * configure.in (libc_cv_fpie): Weaken to a compile test using
39601 LIBC_TRY_CC_OPTION.
39602 * configure: Regenerated.
39603
39604 2012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
39605
39606 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
39607 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
39608 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
39609 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
39610 Refreshed.
39611 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
39612 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
39613 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
39614 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
39615 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
39616 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
39617 Refreshed.
39618
39619 2012-05-27 David S. Miller <davem@davemloft.net>
39620
39621 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
39622 (___Q_zero): New.
39623 (__Q_simulate_exceptions): Return void. Change to simulate
39624 exceptions by writing into the %fsr.
39625 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
39626 (__Qp_handle_exceptions): Likewise.
39627 (numbers): Delete.
39628 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
39629 __Qp_handle_exceptions.
39630 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
39631 __Qp_handle_exceptions.
39632 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
39633 as unused and give dummy FP_RND_NEAREST initializer.
39634 (FP_INHIBIT_RESULTS): Define.
39635 (___Q_simulate_exceptions): Update declaration.
39636 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
39637 formatting.
39638 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
39639 as unused and give dummy FP_RND_NEAREST initializer.
39640 (__Qp_handle_exceptions): Update declaration.
39641 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
39642 formatting.
39643
39644 2012-05-27 Thomas Schwinge <thomas@codesourcery.com>
39645
39646 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
39647 the temporary FPU control word.
39648 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
39649 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
39650 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
39651 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
39652 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
39653 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
39654 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
39655 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
39656 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
39657 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
39658 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
39659
39660 2012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
39661
39662 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
39663 fields.
39664
39665 2012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
39666
39667 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
39668 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
39669 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
39670 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
39671 Likewise.
39672 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
39673 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
39674 Likewise.
39675
39676 2012-05-27 Ulrich Drepper <drepper@gmail.com>
39677
39678 * po/h.po: Update from translation team.
39679
39680 2012-05-26 Andreas Schwab <schwab@linux-m68k.org>
39681
39682 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
39683
39684 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
39685 handling of denormals.
39686 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
39687 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
39688 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
39689 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
39690 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
39691 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
39692 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
39693 Likewise.
39694
39695 2012-05-26 Marek Polacek <polacek@redhat.com>
39696
39697 [BZ #14152]
39698 * math/libm-test.inc (fma_test): Don't always expect underflow
39699 exception.
39700
39701 2012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
39702
39703 [BZ #12416]
39704 * elf/tst-execstack.c: Include stackinfo.h.
39705 (do_test): Adjust test case to ensure that pthread_getattr_np
39706 behaviour remains the same after marking stack executable.
39707
39708 2012-05-25 Joseph Myers <joseph@codesourcery.com>
39709
39710 * sysdeps/unix/sysv/linux/kernel-features.h
39711 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
39712 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
39713 kernel-features.h.
39714 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
39715 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
39716 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
39717 kernel-features.h.
39718 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
39719 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
39720
39721 2012-05-25 H.J. Lu <hongjiu.lu@intel.com>
39722
39723 * configure.in: Define the default includes to being none.
39724 * configure: Regenerated.
39725
39726 2012-05-25 Roland McGrath <roland@hack.frob.com>
39727
39728 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
39729 * sysdeps/x86_64/setjmp.S: Likewise.
39730 * sysdeps/i386/bsd-setjmp.S: Likewise.
39731 * sysdeps/i386/bsd-_setjmp.S: Likewise.
39732 * sysdeps/i386/setjmp.S: Likewise.
39733 * sysdeps/i386/__longjmp.S: Likewise.
39734 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
39735 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
39736
39737 * include/stap-probe.h: New file.
39738 * configure.in: Handle --enable-systemtap.
39739 * configure: Regenerated.
39740 * config.h.in (USE_STAP_PROBE): New #undef.
39741 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
39742 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
39743 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
39744
39745 2012-05-25 Joseph Myers <joseph@codesourcery.com>
39746
39747 [BZ #13717]
39748 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
39749 to 2.4.0 where earlier.
39750 * sysdeps/unix/sysv/linux/configure: Regenerated.
39751 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
39752 <kernel-features.h>.
39753 [__ASSUME_32BITUIDS]: Make code unconditional.
39754 [!__ASSUME_32BITUIDS]: Remove conditional code.
39755 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
39756 <kernel-features.h>.
39757 [__ASSUME_32BITUIDS]: Make code unconditional.
39758 [!__ASSUME_32BITUIDS]: Remove conditional code.
39759 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
39760 [__ASSUME_32BITUIDS]: Make code unconditional.
39761 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
39762 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
39763 <kernel-features.h>.
39764 [__ASSUME_32BITUIDS]: Make code unconditional.
39765 [!__ASSUME_32BITUIDS]: Remove conditional code.
39766 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
39767 <kernel-features.h>.
39768 [__ASSUME_32BITUIDS]: Make code unconditional.
39769 [!__ASSUME_32BITUIDS]: Remove conditional code.
39770 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
39771 <kernel-features.h>.
39772 [__ASSUME_32BITUIDS]: Make code unconditional.
39773 [!__ASSUME_32BITUIDS]: Remove conditional code.
39774 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
39775 <kernel-features.h>.
39776 [__ASSUME_32BITUIDS]: Make code unconditional.
39777 [!__ASSUME_32BITUIDS]: Remove conditional code.
39778 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
39779 <kernel-features.h>.
39780 [__ASSUME_32BITUIDS]: Make code unconditional.
39781 [!__ASSUME_32BITUIDS]: Remove conditional code.
39782 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
39783 <kernel-features.h>.
39784 [__ASSUME_32BITUIDS]: Make code unconditional.
39785 [!__ASSUME_32BITUIDS]: Remove conditional code.
39786 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
39787 <kernel-features.h>.
39788 [__ASSUME_32BITUIDS]: Make code unconditional.
39789 [!__ASSUME_32BITUIDS]: Remove conditional code.
39790 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
39791 <kernel-features.h>.
39792 [__ASSUME_32BITUIDS]: Make code unconditional.
39793 [!__ASSUME_32BITUIDS]: Remove conditional code.
39794 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
39795 <kernel-features.h>.
39796 [__ASSUME_32BITUIDS]: Make code unconditional.
39797 [!__ASSUME_32BITUIDS]: Remove conditional code.
39798 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
39799 <kernel-features.h>.
39800 [__ASSUME_32BITUIDS]: Make code unconditional.
39801 [!__ASSUME_32BITUIDS]: Remove conditional code.
39802 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
39803 <kernel-features.h>.
39804 [__NR_setresgid] (__setresgid): Do not declare.
39805 [__ASSUME_32BITUIDS]: Make code unconditional.
39806 [!__ASSUME_32BITUIDS]: Remove conditional code.
39807 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
39808 <kernel-features.h>.
39809 [__NR_setresuid] (__setresuid): Do not declare.
39810 [__ASSUME_32BITUIDS]: Make code unconditional.
39811 [!__ASSUME_32BITUIDS]: Remove conditional code.
39812 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
39813 <kernel-features.h>.
39814 [__ASSUME_32BITUIDS]: Make code unconditional.
39815 [!__ASSUME_32BITUIDS]: Remove conditional code.
39816 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
39817 <kernel-features.h>.
39818 [__ASSUME_32BITUIDS]: Make code unconditional.
39819 [!__ASSUME_32BITUIDS]: Remove conditional code.
39820 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
39821 <kernel-features.h>.
39822 [__ASSUME_32BITUIDS]: Make code unconditional.
39823 [!__ASSUME_32BITUIDS]: Remove conditional code.
39824 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
39825 <kernel-features.h>.
39826 [__ASSUME_32BITUIDS]: Make code unconditional.
39827 [!__ASSUME_32BITUIDS]: Remove conditional code.
39828 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
39829 <kernel-features.h>.
39830 [__ASSUME_32BITUIDS]: Make code unconditional.
39831 [!__ASSUME_32BITUIDS]: Remove conditional code.
39832 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
39833 <kernel-features.h>.
39834 [__ASSUME_32BITUIDS]: Make code unconditional.
39835 [!__ASSUME_32BITUIDS]: Remove conditional code.
39836 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
39837 <kernel-features.h>.
39838 [__ASSUME_32BITUIDS]: Make code unconditional.
39839 [!__ASSUME_32BITUIDS]: Remove conditional code.
39840 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
39841 <kernel-features.h>.
39842 [__ASSUME_32BITUIDS]: Make code unconditional.
39843 [!__ASSUME_32BITUIDS]: Remove conditional code.
39844 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
39845 <kernel-features.h>.
39846 [__ASSUME_32BITUIDS]: Make code unconditional.
39847 [!__ASSUME_32BITUIDS]: Remove conditional code.
39848 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
39849 <kernel-features.h>.
39850 [__ASSUME_32BITUIDS]: Make code unconditional.
39851 [!__ASSUME_32BITUIDS]: Remove conditional code.
39852 * sysdeps/unix/sysv/linux/kernel-features.h
39853 (__ASSUME_SETRESUID_SYSCALL): Remove.
39854 (__ASSUME_SETRESGID_SYSCALL): Likewise.
39855 (__ASSUME_32BITUIDS): Likewise.
39856 (__ASSUME_LDT_WORKS): Likewise.
39857 (__ASSUME_O_DIRECTORY): Likewise.
39858 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
39859 architecture but not kernel version.
39860 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
39861 (__ASSUME_MMAP2_SYSCALL): Likewise.
39862 (__ASSUME_STAT64_SYSCALL): Likewise.
39863 (__ASSUME_IPC64): Likewise.
39864 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
39865 <kernel-features.h>.
39866 [__ASSUME_32BITUIDS]: Make code unconditional.
39867 [!__ASSUME_32BITUIDS]: Remove conditional code.
39868 * sysdeps/unix/sysv/linux/opendir.c: Do not include
39869 <kernel-features.h>.
39870 [__ASSUME_O_DIRECTORY]: Make code unconditional.
39871 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
39872 132096]: Remove conditional code.
39873 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
39874 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
39875 <kernel-features.h>.
39876 [__ASSUME_32BITUIDS]: Make code unconditional.
39877 [!__ASSUME_32BITUIDS]: Remove conditional code.
39878 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
39879 <kernel-features.h>.
39880 [__ASSUME_32BITUIDS]: Make code unconditional.
39881 [!__ASSUME_32BITUIDS]: Remove conditional code.
39882 * sysdeps/unix/sysv/linux/setegid.c: Do not include
39883 <kernel-features.h>.
39884 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
39885 unconditional.
39886 (__setresgid): Do not declare.
39887 [__ASSUME_32BITUIDS]: Make code unconditional.
39888 [!__ASSUME_32BITUIDS]: Remove conditional code.
39889 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
39890 <kernel-features.h>.
39891 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
39892 unconditional.
39893 (__setresuid): Do not declare.
39894 [__ASSUME_32BITUIDS]: Make code unconditional.
39895 [!__ASSUME_32BITUIDS]: Remove conditional code.
39896 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
39897 <kernel-features.h>.
39898 [__ASSUME_32BITUIDS]: Make code unconditional.
39899 [!__ASSUME_32BITUIDS]: Remove conditional code.
39900 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
39901 <kernel-features.h>.
39902 [__ASSUME_32BITUIDS]: Make code unconditional.
39903 [!__ASSUME_32BITUIDS]: Remove conditional code.
39904
39905 2012-05-25 Richard Henderson <rth@twiddle.net>
39906
39907 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
39908 dl_hwcap to ifunc resolver.
39909 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
39910 elf_ifunc_invoke.
39911 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
39912 dl_hwcap to ifunc resolver.
39913 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
39914
39915 2012-05-24 Joseph Myers <joseph@codesourcery.com>
39916
39917 [BZ #14153]
39918 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
39919 for |x| <= 2**-26, not 2**-57.
39920 * math/libm-test.inc (acos_test): Do not allow spurious underflow
39921 exception.
39922
39923 2012-05-24 Jeff Law <law@redhat.com>
39924
39925 * stdio-common/Makefile (tests): Add bug25.
39926 * stdio-common/bug25.c: New test.
39927
39928 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
39929
39930 [BZ #13576]
39931 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
39932 multiple of MALLOC_ALIGNMENT in size.
39933 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
39934
39935 2012-05-24 Joseph Myers <joseph@codesourcery.com>
39936
39937 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
39938 Require >= 256.
39939 (FILENAME_MAX): Use macro-int-constant.
39940 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
39941 (_IOFBF): Use macro-int-constant.
39942 (_IOLBF): Likewise.
39943 (_IONBF): Likewise.
39944 (SEEK_CUR): Likewise.
39945 (SEEK_END): Likewise.
39946 (SEEK_SET): Likewise.
39947 (TMP_MAX): Likewise.
39948 (EOF): Use macro-int-constant. Require < 0.
39949 (NULL): Use macro-constant. Require == 0.
39950 (stdin): Require type to be FILE *.
39951 (stdout): Likewise.
39952 (stderr): Likewise.
39953 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
39954 macro-int-constant.
39955 (EXIT_SUCCESS): Likewise.
39956 (NULL): Use macro-constant. Require == 0.
39957 (RAND_MAX): Use macro-int-constant.
39958 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
39959 [C99-based standards] (strtof): Require function.
39960 [C99-based standards] (strtold): Likewise.
39961 [C99-based standards] (strtoll): Likewise.
39962 [C99-based standards] (strtoull): Likewise.
39963 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
39964 [ISO || ISO99 || ISO11] (limits.h): Likewise.
39965 [ISO || ISO99 || ISO11] (math.h): Likewise.
39966 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
39967 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
39968 [ISO || ISO99 || ISO11] (*_t): Do not allow.
39969
39970 2012-05-24 Andreas Schwab <schwab@linux-m68k.org>
39971
39972 [BZ #14132]
39973 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
39974 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
39975 * intl/dgettext.c (DCGETTEXT): Likewise.
39976 * intl/gettext.c (DCGETTEXT): Likewise.
39977 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
39978 * posix/regex_internal.h (gettext): Likewise.
39979 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
39980 Remove declaration.
39981 * include/argz.h (__argz_count_internal)
39982 (__argz_stringify_internal): Remove declaration.
39983 (__argz_count, __argz_stringify): Declare hidden proto.
39984 * intl/dcgettext.c: Remove use of INTDEF.
39985 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
39986 * string/argz-stringify.c: Likewise.
39987 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
39988 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
39989 Declare hidden proto.
39990 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
39991 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
39992 Declare hidden proto.
39993 * include/stdio.h (__asprintf_internal): Don't declare.
39994 (__asprintf): Don't define as macro. Declare hidden proto.
39995 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
39996 (__fsetlocking): Declare hidden proto.
39997 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
39998 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
39999 hidden proto.
40000 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
40001 (_IO_setlinebuf): Remove use of INTUSE.
40002 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
40003 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
40004 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
40005 Remove declaration.
40006 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
40007 (_IO_do_flush): Remove use of INTUSE.
40008 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
40009 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
40010 (_IO_adjust_column, _IO_least_wmarker)
40011 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
40012 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
40013 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
40014 (_IO_default_doallocate, _IO_wdefault_doallocate)
40015 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
40016 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
40017 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
40018 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
40019 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
40020 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
40021 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
40022 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
40023 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
40024 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
40025 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
40026 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
40027 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
40028 proto.
40029 (_IO_flush_all_internal, _IO_adjust_column_internal)
40030 (_IO_default_uflow_internal, _IO_default_finish_internal)
40031 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
40032 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
40033 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
40034 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
40035 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
40036 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
40037 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
40038 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
40039 (_IO_file_close_internal, _IO_file_close_it_internal)
40040 (_IO_file_underflow_internal, _IO_file_overflow_internal)
40041 (_IO_file_init_internal, _IO_file_attach_internal)
40042 (_IO_file_fopen_internal, _IO_file_read_internal)
40043 (_IO_file_sync_internal, _IO_file_seek_internal)
40044 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
40045 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
40046 (_IO_str_underflow_internal, _IO_str_overflow_internal)
40047 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
40048 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
40049 (_IO_list_all_internal, _IO_link_in_internal)
40050 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
40051 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
40052 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
40053 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
40054 (_IO_do_write_internal, _IO_padn_internal)
40055 (_IO_getline_info_internal, _IO_getline_internal)
40056 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
40057 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
40058 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
40059 (_IO_vfscanf_internal, _IO_vfprintf_internal)
40060 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
40061 (_IO_init_internal, _IO_un_link_internal): Don't declare.
40062 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
40063 with libc_hidden_ver, remove use of INTUSE.
40064 * libio/genops.c: Likewise.
40065 * libio/freopen.c: Likewise.
40066 * libio/freopen64.c: Likewise.
40067 * libio/iofclose.c: Likewise.
40068 * libio/iofdopen.c: Likewise.
40069 * libio/iofflush.c: Likewise.
40070 * libio/iofflush_u.c: Likewise.
40071 * libio/iofgets.c: Likewise.
40072 * libio/iofgets_u.c: Likewise.
40073 * libio/iofopen.c: Likewise.
40074 * libio/iofopncook.c: Likewise.
40075 * libio/iofread.c: Likewise.
40076 * libio/iofread_u.c: Likewise.
40077 * libio/ioftell.c: Likewise.
40078 * libio/iofwrite.c: Likewise.
40079 * libio/iogetline.c: Likewise.
40080 * libio/iogets.c: Likewise.
40081 * libio/iogetwline.c: Likewise.
40082 * libio/iopadn.c: Likewise.
40083 * libio/iopopen.c: Likewise.
40084 * libio/ioseekoff.c: Likewise.
40085 * libio/ioseekpos.c: Likewise.
40086 * libio/iosetbuffer.c: Likewise.
40087 * libio/iosetvbuf.c: Likewise.
40088 * libio/ioungetc.c: Likewise.
40089 * libio/ioungetwc.c: Likewise.
40090 * libio/iovdprintf.c: Likewise.
40091 * libio/iovsprintf.c: Likewise.
40092 * libio/iovsscanf.c: Likewise.
40093 * libio/memstream.c: Likewise.
40094 * libio/obprintf.c: Likewise.
40095 * libio/oldfileops.c: Likewise.
40096 * libio/oldiofclose.c: Likewise.
40097 * libio/oldiofdopen.c: Likewise.
40098 * libio/oldiofopen.c: Likewise.
40099 * libio/oldiopopen.c: Likewise.
40100 * libio/oldstdfiles.c: Likewise.
40101 * libio/putc.c: Likewise.
40102 * libio/setbuf.c: Likewise.
40103 * libio/setlinebuf.c: Likewise.
40104 * libio/stdfiles.c: Likewise.
40105 * libio/strops.c: Likewise.
40106 * libio/vasprintf.c: Likewise.
40107 * libio/vscanf.c: Likewise.
40108 * libio/vsnprintf.c: Likewise.
40109 * libio/vswprintf.c: Likewise.
40110 * libio/wfiledoalloc.c: Likewise.
40111 * libio/wfileops.c: Likewise.
40112 * libio/wgenops.c: Likewise.
40113 * libio/wmemstream.c: Likewise.
40114 * libio/wstrops.c: Likewise.
40115 * libio/__fpurge.c: Likewise.
40116 * libio/__fsetlocking.c: Likewise.
40117 * assert/assert.c: Likewise.
40118 * debug/fgets_chk.c: Likewise.
40119 * debug/fgets_u_chk.c: Likewise.
40120 * debug/fread_chk.c: Likewise.
40121 * debug/fread_u_chk.c: Likewise.
40122 * debug/gets_chk.c: Likewise.
40123 * debug/obprintf_chk.c: Likewise.
40124 * debug/vasprintf_chk.c: Likewise.
40125 * debug/vdprintf_chk.c: Likewise.
40126 * debug/vsnprintf_chk.c: Likewise.
40127 * debug/vsprintf_chk.c: Likewise.
40128 * malloc/mtrace.c: Likewise.
40129 * misc/error.c: Likewise.
40130 * misc/syslog.c: Likewise.
40131 * stdio-common/asprintf.c: Likewise.
40132 * stdio-common/fxprintf.c: Likewise.
40133 * stdio-common/getw.c: Likewise.
40134 * stdio-common/isoc99_fscanf.c: Likewise.
40135 * stdio-common/isoc99_scanf.c: Likewise.
40136 * stdio-common/isoc99_vfscanf.c: Likewise.
40137 * stdio-common/isoc99_vscanf.c: Likewise.
40138 * stdio-common/isoc99_vsscanf.c: Likewise.
40139 * stdio-common/printf-prs.c: Likewise.
40140 * stdio-common/printf_fp.c: Likewise.
40141 * stdio-common/printf_fphex.c: Likewise.
40142 * stdio-common/printf_size.c: Likewise.
40143 * stdio-common/putw.c: Likewise.
40144 * stdio-common/scanf.c: Likewise.
40145 * stdio-common/sprintf.c: Likewise.
40146 * stdio-common/tmpfile.c: Likewise.
40147 * stdio-common/vfprintf.c: Likewise.
40148 * stdio-common/vfscanf.c: Likewise.
40149 * stdlib/strfmon_l.c: Likewise.
40150 * sunrpc/openchild.c: Likewise.
40151 * sunrpc/xdr_stdio.c: Likewise.
40152 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
40153 * sysdeps/mach/hurd/tmpfile.c: Likewise.
40154
40155 2012-05-24 Roland McGrath <roland@hack.frob.com>
40156
40157 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
40158
40159 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
40160 in the third column, to generate for the shared library an IFUNC
40161 that uses _dl_vdso_vsym.
40162 * Makerules (COMPILE.c, compile-stdin.c): New variables.
40163 * Makeconfig (object-suffixes-noshared): New variable.
40164
40165 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
40166 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
40167 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
40168 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
40169
40170 [BZ #14132]
40171 * include/sys/time.h (__gettimeofday): Remove macro.
40172 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
40173 * time/gettimeofday.c (__gettimeofday): Remove #undef.
40174 Remove INTDEF.
40175 (__gettimeofday): Add libc_hidden_def.
40176 (gettimeofday): Add libc_hidden_weak.
40177 * sysdeps/mach/gettimeofday.c: Likewise.
40178 * sysdeps/posix/gettimeofday.c: Likewise.
40179 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
40180 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
40181 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
40182 (__gettimeofday_internal): Remove strong_alias.
40183 (__gettimeofday): Add libc_hidden_def.
40184 (gettimeofday): Add libc_hidden_weak.
40185 * sysdeps/unix/syscalls.list (gettimeofday):
40186 Remove __gettimeofday_internal alias.
40187
40188 2012-05-24 Daniel Jacobowitz <drow@false.org>
40189 H.J. Lu <hongjiu.lu@intel.com>
40190
40191 [BZ #12495]
40192 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
40193 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
40194 (largebin_index_32_big): New.
40195 (largebin_index): Use it for 16-byte alignment.
40196 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
40197 correction with front_misalign.
40198
40199 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
40200
40201 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
40202 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
40203 Likewise.
40204 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
40205 Likewise.
40206 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
40207 Likewise.
40208 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
40209 Likewise.
40210 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
40211 Likewise.
40212 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
40213 Likewise.
40214 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
40215 Likewise.
40216 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
40217 Likewise.
40218 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
40219 Likewise.
40220 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
40221 Likewise.
40222 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
40223 Likewise.
40224 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
40225 Likewise.
40226
40227 * scripts/data/c++-types-x32-linux-gnu.data: New file.
40228 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
40229
40230 2012-05-24 Joseph Myers <joseph@codesourcery.com>
40231
40232 [BZ #10846]
40233 [BZ #14036]
40234 * math/libm-test.inc (exp_test): Add test from bug 14036.
40235 (pow_test): Add test from bug 10846.
40236
40237 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
40238 and other flags.
40239 (special_function): Do not include flags in test name.
40240 (parse_args): Likewise.
40241 * sysdeps/i386/fpu/libm-test-ulps: Update.
40242 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
40243 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
40244 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
40245 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40246
40247 * math/gen-libm-test.pl (%beautify): Add entries for underflow
40248 exceptions.
40249 * math/libm-test.inc ("Philosophy"): Update comment about
40250 exception testing.
40251 (UNDERFLOW_EXCEPTION): New macro.
40252 (UNDERFLOW_EXCEPTION_OK): Likewise.
40253 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
40254 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
40255 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
40256 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
40257 (INVALID_EXCEPTION_OK): Update value.
40258 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
40259 (OVERFLOW_EXCEPTION_OK): Likewise.
40260 (IGNORE_ZERO_INF_SIGN): Likewise.
40261 (test_exceptions): Handle underflow exceptions.
40262 (acos_test): Update for underflow exception expectations.
40263 (cexp_test): Likewise.
40264 (clog_test): Likewise.
40265 (clog10_test): Likewise.
40266 (csqrt_test): Likewise.
40267 (ctan_test): Likewise.
40268 (ctanh_test): Likewise.
40269 (exp_test): Likewise.
40270 (exp10_test): Likewise.
40271 (exp2_test): Likewise.
40272 (expm1_test): Likewise.
40273 (fma_test): Likewise.
40274 (j0_test): Likewise.
40275 (jn_test): Likewise.
40276 (nexttoward_test): Likewise.
40277 (pow_test): Likewise.
40278 (scalbn_test): Likewise.
40279 (scalbln_test): Likewise.
40280 (tan_test): Likewise.
40281 (y1_test): Likewise.
40282 * sysdeps/i386/fpu/libm-test-ulps: Update.
40283 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40284
40285 2012-05-23 David S. Miller <davem@davemloft.net>
40286
40287 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
40288 (__libc_sigaction): Remove unused local variables.
40289
40290 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
40291
40292 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
40293
40294 2012-05-23 Paul Eggert <eggert@cs.ucla.edu>
40295
40296 mktime: avoid signed integer overflow
40297 * time/mktime.c (__mktime_internal): Do not mishandle the case
40298 where diff == INT_MIN.
40299
40300 mktime: simplify computation of average
40301 * time/mktime.c (ranged_convert): Use new time_t_avg function
40302 instead of rolling our own (probably-slower) code.
40303
40304 mktime: do not assume signed right shift propagates sign bit
40305 * time/mktime.c (isdst_differ): New static function.
40306 (__mktime_internal): No need to normalize tm_isdst now.
40307 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
40308 tm_isdst values.
40309
40310 mktime: merge another wrapv change from gnulib
40311 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
40312 from some compilers.
40313
40314 mktime: remove incorrect attempt at unusual arithmetics
40315 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
40316 The code didn't really work on such machines anyway.
40317 (TYPE_MINIMUM): Assume two's complement.
40318 (twos_complement_arithmetic): Verify that long_int and time_t
40319 are two's complement (or unsigned, in the latter case).
40320
40321 mktime: check signed shifts on long_int and time_t, too
40322 * time/mktime.c (SHR): Check that shifts work as desired
40323 on the types long_int and time_t too, as SHR is used on
40324 such types.
40325
40326 mktime: do not assume 'long' is wide enough
40327 * time/mktime.c (verify): Move decl up.
40328 (long_int): New type.
40329 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
40330 to remove assumption in the code that 'long' is wide enough to
40331 store year values. This assumption is not true on x32 and on
40332 some non-glibc platforms.
40333
40334 mktime: merge wrapv change from gnulib
40335 * time/mktime.c (WRAPV): New macro.
40336 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
40337 (guess_time_tm, __mktime_internal): Do not assume that signed
40338 integer overflow wraps around; modern compilers generate code
40339 where this assumption is no longer valid.
40340
40341 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
40342
40343 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
40344 Replace "jmp L(pseudo_end)" with "ret".
40345 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
40346 Likewise.
40347
40348 2012-05-23 Andreas Jaeger <aj@suse.de>
40349
40350 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
40351 * sysdeps/unix/sysv/linux/poll.c: Remove file.
40352
40353 2012-05-23 Andreas Jaeger <aj@suse.de>
40354 Maximilian Attems <max@stro.at>
40355
40356 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
40357 New macros.
40358
40359 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
40360
40361 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
40362 code so that pseudo_end is just ret and the stack pointer is
40363 correct also for static library in error case.
40364
40365 2012-05-23 Joseph Myers <joseph@codesourcery.com>
40366
40367 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
40368 move to syscalls.list.
40369 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
40370 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
40371 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
40372 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
40373
40374 * manual/install.texi (Running make install): Do not mention Linux
40375 kernel version for which pt_chown is not needed.
40376 (Linux): Do not mention problems with nscd with 2.0 kernels.
40377 * INSTALL: Regenerated.
40378
40379 2012-05-23 Andreas Jaeger <aj@suse.de>
40380
40381 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
40382 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
40383 macro.
40384 * sysdeps/unix/sysv/linux/s390/bits/mman.h
40385 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
40386 * sysdeps/unix/sysv/linux/sh/bits/mman.h
40387 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
40388 * sysdeps/unix/sysv/linux/i386/bits/mman.h
40389 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
40390 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
40391 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
40392 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
40393 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
40394 * sysdeps/unix/sysv/linux/bits/in.h
40395 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
40396
40397 2012-05-22 Roland McGrath <roland@hack.frob.com>
40398
40399 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
40400 (PREPARE_VERSION): Just use assert instead, it will be elided
40401 under [NDEBUG] anyway.
40402
40403 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
40404
40405 * sysdeps/unix/sysv/linux/Makefile: Include
40406 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
40407 (sysdep_routines): Remove sysctl.
40408 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
40409 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
40410 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
40411 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
40412 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
40413
40414 2012-05-22 Andreas Jaeger <aj@suse.de>
40415
40416 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
40417 that pseudo_end is just ret and the stack pointer is correct also
40418 for static library in error case.
40419
40420 2012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
40421
40422 [BZ #14122]
40423 * nss/nsswitch.c (defconfig_entries): New variable.
40424 (__nss_database_lookup): Don't leak defconfig entries.
40425 (nss_parse_service_list): Don't leak on error paths.
40426 (free_database_entries): New function.
40427 (free_defconfig): New function.
40428 (free_mem): Move common code to free_database_entries.
40429
40430 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
40431
40432 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
40433 Add arch_prctl.
40434 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
40435
40436 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
40437 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
40438 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
40439 New macro.
40440 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
40441 (INTERNAL_SYSCALL_TYPES): Likewise.
40442 (LOAD_ARGS_TYPES_[1-6]): Likewise.
40443 (LOAD_REGS_TYPES_[1-6]): Likewise.
40444 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
40445 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
40446
40447 2012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40448
40449 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
40450 copysignl for GLIBC_2_0.
40451 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
40452 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
40453 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
40454 logbl for GLIBC_2_0.
40455 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
40456 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
40457
40458 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
40459
40460 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
40461 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
40462
40463 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
40464 Use "neg %eax".
40465
40466 * time/mktime.c: Update copyright years.
40467
40468 2012-05-22 Paul Eggert <eggert@cs.ucla.edu>
40469
40470 mktime: merge comment-quoting-style change from gnulib
40471 * time/mktime.c: Quote 'like this' in comments.
40472 The GNU coding standards suggest that we no longer quote `like this',
40473 as "`" and "'" are typically rendered asymmetrically nowadays.
40474 The typical gnulib style is to quote 'like this' when quoting
40475 code, and "like this" when quoting English.
40476
40477 * time/mktime.c (compile-command): Add "-I.".
40478
40479 mktime: merge mktime-internal.h change from gnulib
40480 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
40481
40482 mktime: merge time_r change from gnulib
40483 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
40484
40485 mktime: merge DEBUG change from gnulib
40486 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
40487 case system <time.h> has a #define.
40488
40489 mktime: merge <sys/types.h> change from gnulib
40490 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
40491 since <time.t> is now guaranteed to define time_t.
40492
40493 mktime: merge HAVE_CONFIG_H change from gnulib
40494 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
40495
40496 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
40497
40498 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
40499 Use "neg %eax".
40500
40501 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
40502 __rlim_t cast.
40503 (struct rusage): Use anonymous union to pad each field to
40504 __syscall_slong_t.
40505
40506 2012-05-21 David S. Miller <davem@davemloft.net>
40507
40508 * Makefules (o-iterator): Remove .s cases.
40509 (compile-command.s): Delete.
40510 (COMPILE.s): Delete.
40511 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
40512
40513 2012-05-21 Joseph Myers <joseph@codesourcery.com>
40514
40515 * configure.in (libc_cv_predef_stack_protector): Only consider
40516 "foobar" and "__stack_chk_fail" lines in libc_undefs.
40517 * configure: Regenerated.
40518
40519 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
40520
40521 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
40522 New macro. Use R*LP on int and pointer.
40523 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
40524 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
40525 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
40526 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
40527
40528 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
40529 [__WORDSIZE_TIME64_COMPAT32] instead of
40530 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
40531 (struct utmp): Likewise.
40532 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
40533 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
40534 Renamed to ...
40535 (__WORDSIZE_TIME64_COMPAT32): This.
40536 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
40537 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
40538 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
40539 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
40540 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
40541 (__WORDSIZE_TIME64_COMPAT32): New macro.
40542
40543 2012-05-21 Andreas Jaeger <aj@suse.de>
40544
40545 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
40546 only if [SHARED]. Add prototype for __wcschr_ia32.
40547
40548 2012-05-21 Roland McGrath <roland@hack.frob.com>
40549
40550 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
40551 of %rbp unmolested in the jmp_buf while mangling the low bits.
40552 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
40553 unmolested high bits of %rbp while demangling the low bits.
40554 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
40555
40556 2012-05-21 Andreas Jaeger <aj@suse.de>
40557
40558 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
40559 * sunrpc/svc_simple.c: Use it for registerrpc.
40560 * sunrpc/xcrypt.c: Use it for passwd2des.
40561
40562 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
40563
40564 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
40565
40566 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
40567 Don't define if [__SYSCALL_WORDSIZE != 32].
40568 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
40569 New macro.
40570
40571 2012-05-21 Bruno Haible <bruno@clisp.org>
40572 Andreas Jaeger <aj@suse.de>
40573
40574 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
40575 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
40576 inptr and inend for must_buffer_ch.
40577 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
40578 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
40579 * stdio-common/Makefile (tests): Remove bug15.
40580 (bug15-ENV): Remove macro.
40581 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
40582 anymore.
40583
40584 2012-05-19 Andreas Jaeger <aj@suse.de>
40585 Roland McGrath <roland@hack.frob.com>
40586
40587 * manual/contrib.texi: Completely rewritten. It contains now an
40588 alphabetical list of contributors and their contributions.
40589
40590 2012-05-21 Richard Henderson <rth@twiddle.net>
40591
40592 * misc/getauxval.c (__getauxval): Use unsigned long int.
40593 * misc/sys/auxv.h: Include <sys/cdefs.h>.
40594 (getauxval): Use unsigned long int.
40595
40596 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
40597
40598 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
40599
40600 2012-05-21 Roland McGrath <roland@hack.frob.com>
40601
40602 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
40603 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
40604 __alignof__ (long double).
40605
40606 2012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40607
40608 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40609
40610 2012-05-20 Richard Henderson <rth@twiddle.net>
40611
40612 * misc/getauxval.c: New file.
40613 * misc/sys/auxv.h: New file.
40614 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
40615 (routines): Add getauxval.
40616 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
40617 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
40618 * elf/dl-sysdep.c (_dl_auxv): Remove.
40619 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
40620 * elf/dl-support.c (_dl_auxv): New variable.
40621 (_dl_aux_init): Initialize it.
40622 * manual/startup.texi (Auxiliary Vector): New node.
40623 * sysdeps/generic/bits/hwcap.h: New file.
40624 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
40625 * sysdeps/powerpc/sysdep.h: ... here. Include it.
40626 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
40627 * sysdeps/sparc/sysdep.h: ... here. Include it.
40628 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
40629 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
40630 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
40631 Update.
40632 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
40633 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
40634 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
40635 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
40636 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
40637 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
40638 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
40639 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
40640
40641 2012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40642
40643 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40644
40645 2012-05-19 David S. Miller <davem@davemloft.net>
40646
40647 * sysdeps/sparc/fpu/libm-test-ulps: Update.
40648
40649 2012-05-19 Joseph Myers <joseph@codesourcery.com>
40650
40651 [BZ #14123]
40652 * math/s_ccosh.c: Include <float.h>
40653 (__ccosh): Avoid internal overflow calculating sinh and cosh
40654 values before multiplying by sin and cos values.
40655 * math/s_ccoshf.c: Likewise.
40656 * math/s_ccoshl.c: Likewise.
40657 * math/s_csin.c: Likewise.
40658 * math/s_csinf.c: Likewise.
40659 * math/s_csinl.c: Likewise.
40660 * math/s_csinh.c: Likewise.
40661 * math/s_csinhf.c: Likewise.
40662 * math/s_csinhl.c: Likewise.
40663 * math/libm-test.inc (ccos_test): Add more tests.
40664 (ccosh_test): Likewise.
40665 (csin_test): Likewise.
40666 (csinh_test): Likewise.
40667 * sysdeps/i386/fpu/libm-test-ulps: Update.
40668 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40669
40670 2012-05-19 H.J. Lu <hongjiu.lu@intel.com>
40671
40672 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
40673 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
40674
40675 * sysdeps/x86_64/x32/_itoa.h: Add comment.
40676
40677 2012-05-19 Joseph Myers <joseph@codesourcery.com>
40678
40679 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
40680 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
40681 * sysdeps/powerpc/soft-fp/Versions: Likewise.
40682 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
40683 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
40684 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
40685 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
40686 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
40687 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
40688 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
40689 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
40690 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
40691 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
40692 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
40693 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
40694 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
40695 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
40696 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
40697 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
40698 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
40699 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
40700 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
40701 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
40702 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
40703 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
40704 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
40705 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
40706 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
40707 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
40708 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
40709 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
40710
40711 2012-05-18 Andreas Jaeger <aj@suse.de>
40712
40713 * csu/.gitignore: Delete.
40714
40715 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
40716
40717 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
40718 (timex): Use __syscall_slong_t.
40719
40720 2012-05-18 Andreas Jaeger <aj@suse.de>
40721 Carlos O'Donell <carlos_odonell@mentor.com>
40722
40723 * manual/install.texi (Configuring and compiling): Update
40724 description about files modified in the source directory.
40725 * INSTALL: Regenerated.
40726
40727 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
40728
40729 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
40730 value. Use "or" to set return value to -1.
40731 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
40732 negate return value.
40733
40734 2012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
40735
40736 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
40737 (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
40738 failure if the compiler has Graphite support disabled.
40739 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
40740 Likewise.
40741 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
40742 (CFLAGS-memmove.c): Likewise.
40743 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
40744 Likewise.
40745
40746 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
40747
40748 * sysdeps/x86_64/x32/_itoa.h: New file.
40749
40750 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
40751 getdents system call only if kernel and user dirents have the
40752 same d_ino and d_off.
40753
40754 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
40755 LLONG_MAX != LONG_MAX.
40756 (_itoa_word): Use _ITOA_WORD_TYPE on value.
40757 (_fitoa_word): Likewise.
40758
40759 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
40760 years.
40761 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
40762 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
40763 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
40764
40765 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
40766 include <bits/wordsize.h>. Check __x86_64__ instead of
40767 __WORDSIZE.
40768 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
40769 if __x86_64__ is defined. Use anonymous union on fpstate.
40770
40771 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
40772 anonymous union.
40773
40774 2012-05-18 Andreas Schwab <schwab@linux-m68k.org>
40775
40776 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
40777 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
40778 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
40779 Refer to _rtld_local_ro instead of _rtld_global_ro.
40780 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
40781 Likewise.
40782 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
40783 Likewise.
40784 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
40785 Likewise.
40786 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
40787 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
40788 of _rtld_global, and rtld_progname instead of _dl_argv[0].
40789
40790 * sysdeps/powerpc/powerpc32/dl-machine.c
40791 (__elf_machine_runtime_setup) [PROF]: Don't reference
40792 _dl_prof_resolve.
40793
40794 2012-05-18 Andreas Jaeger <aj@suse.de>
40795
40796 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
40797 function only available for GCCs before 3.4 since GCC 3.4
40798 introduced a builtin.
40799 (lrint): Likewise.
40800 (llrintf): Likewise.
40801 (llrint): Likewise.
40802 (fmaxf): Likewise.
40803 (fmax): Likewise.
40804 (fminf): Likewise.
40805 (fmin): Likewise.
40806 (rint): Likewise.
40807 (rintf): Likewise.
40808 (nearbyint): Likewise.
40809 (nearbyintf): Likewise.
40810 (ceil): Likewise.
40811 (ceilf): Likewise.
40812 (floor): Likewise.
40813 (floorf): Likewise.
40814
40815 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
40816
40817 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
40818 on both fields and cast pointer to __syscall_ulong_t.
40819
40820 * bits/types.h (__fsword_t): New type.
40821 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
40822 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
40823 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
40824 (__FSWORD_T_TYPE): Likewise.
40825 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
40826 (__FSWORD_T_TYPE): Likewise.
40827 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
40828 (__FSWORD_T_TYPE): Likewise.
40829 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
40830 (__FSWORD_T_TYPE): Likewise.
40831 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
40832 __SWORD_TYPE with __fsword_t.
40833 (statfs64): Likewise.
40834
40835 2012-05-17 David S. Miller <davem@davemloft.net>
40836
40837 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
40838
40839 2012-05-17 Andreas Jaeger <aj@suse.de>
40840
40841 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
40842 warning.
40843
40844 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
40845
40846 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
40847
40848 2012-05-17 Andreas Jaeger <aj@suse.de>
40849
40850 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
40851 when it is used.
40852
40853 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
40854
40855 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
40856
40857 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
40858
40859 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
40860 * sysdeps/x86_64/tst-mallocalign1.c: New file.
40861
40862 2012-05-17 Andreas Jaeger <aj@suse.de>
40863 Carlos O'Donell <carlos_odonell@mentor.com>
40864
40865 [BZ #14059]
40866 * sysdeps/x86_64/multiarch/init-arch.h
40867 (bit_YMM_Usable): Rename to...
40868 (bit_AVX_Usable): ... this.
40869 (bit_FMA4_Usable): New macro.
40870 (bit_XMM_state): New macro.
40871 (bit_YMM_state): New macro.
40872 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
40873 [__ASSEMBLER__] (index_AVX_Usable): ... this.
40874 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
40875 (CPUID_OSXSAVE): New macro.
40876 (CPUID_AVX): New macro.
40877 (CPUID_FMA4): New macro.
40878 (index_YMM_Usable): Rename to...
40879 (index_AVX_Usable): ... this.
40880 (HAS_AVX): Use HAS_ARCH_FEATURE.
40881 (HAS_FMA4): Likewise.
40882 (HAS_YMM_USABLE): Remove.
40883 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
40884 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
40885 are present.
40886 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
40887 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
40888 * sysdeps/x86_64/multiarch/Makefile: Likewise.
40889 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
40890 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
40891
40892 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
40893
40894 * math/libm-test.c: Support platforms without multiple rounding modes.
40895 * math/bug-nextafter.c: Support platforms without FP exceptions.
40896 * math/bug-nexttoward.c: Likewise.
40897 * math/test-fenv.c: Likewise.
40898 * math/test-misc.c: Likewise.
40899 * stdlib/bug-getcontext.c: Likewise.
40900
40901 2012-05-17 Andreas Jaeger <aj@suse.de>
40902
40903 * manual/examples/search.c (critter_cmp): Change signature to
40904 avoid warnings.
40905 * manual/string.texi (Collation Functions): Likewise.
40906
40907 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
40908
40909 * bits/types.h: Fold copyright years.
40910 * bits/typesizes.h: Likewise.
40911 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
40912 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
40913 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
40914 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
40915 * time/time.h: Likewise.
40916
40917 2012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
40918
40919 [BZ #208]
40920 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
40921 in instead of returning them. Return void.
40922 (__libc_mallinfo): Accumulate over all arenas.
40923 (__malloc_stats): Adjust for change in int_mallinfo interface.
40924
40925 2012-05-16 Roland McGrath <roland@hack.frob.com>
40926
40927 [BZ #10375]
40928 * configure.in (NM): Add AC_CHECK_TOOL for it.
40929 (libc_extra_cflags): New substituted variable.
40930 Check for -fstack-protector being used implicitly.
40931 * configure: Regenerated.
40932 * config.make.in (config-extra-cflags): New variable,
40933 gets @libc_extra_cflags@.
40934 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
40935
40936 [BZ #10375]
40937 * configure.in: Check for _FORTIFY_SOURCE being predefined.
40938 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
40939 * configure: Regenerated.
40940 * config.make.in (CPPUNDEFS): New substituted variable.
40941 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
40942 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
40943 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
40944
40945 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
40946
40947 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
40948 (mq_attr): Use __syscall_slong_t.
40949
40950 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
40951
40952 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
40953 Check __x86_64__ instead of __WORDSIZE.
40954 (_STAT_VER_LINUX): Likewise.
40955 (stat): Check __x86_64__ instead of __WORDSIZE. Use
40956 __syscall_ulong_t and __syscall_slong_t.
40957 (stat64): Likewise.
40958
40959 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
40960
40961 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
40962
40963 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
40964
40965 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
40966
40967 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
40968
40969 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
40970 __syscall_ulong_t.
40971
40972 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
40973 include <bits/wordsize.h>. Check __x86_64__ instead of
40974 __WORDSIZE.
40975 (greg_t): Use "__extension__ long long int" if __x86_64__ is
40976 defined.
40977 (mcontext_t): Replace "unsigned long" with "unsigned long long".
40978
40979 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
40980 include <bits/wordsize.h>. Check __x86_64__ instead of
40981 __WORDSIZE.
40982 (user_regs_struct): Use "__extension__ unsigned long long"
40983 instead of "unsigned long" if __x86_64__ is defined.
40984 (user): Likewise. Pad after pointer field if __ILP32__ is
40985 defined.
40986
40987 2012-05-16 Joseph Myers <joseph@codesourcery.com>
40988
40989 * configure.in (makeinfo): Require version 4.5 or later. Allow
40990 versions 5 to 9.
40991 * configure: Regenerated.
40992 * manual/install.texi (texinfo): Increase version requirement to
40993 4.5 or later.
40994 * INSTALL: Regenerated.
40995
40996 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
40997
40998 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
40999
41000 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
41001
41002 * sysdeps/x86_64/x32/ffs.c: New file.
41003
41004 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
41005 __syscall_ulong_t.
41006 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
41007 defined. Use __syscall_ulong_t.
41008 (shminfo): Use __syscall_ulong_t.
41009 (shm_info): Likewise.
41010
41011 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
41012 __syscall_ulong_t.
41013
41014 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
41015 <bits/wordsize.h>.
41016 (msgqnum_t): Use __syscall_ulong_t.
41017 (msglen_t): Likewise.
41018 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
41019 __syscall_ulong_t.
41020
41021 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
41022 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
41023
41024 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
41025
41026 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
41027 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
41028
41029 * sysvipc/sys/msg.h (msgbuf): Replace long int with
41030 __syscall_slong_t.
41031
41032 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
41033 include <bits/wordsize.h>. Check __x86_64__ instead of
41034 __WORDSIZE.
41035
41036 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
41037 "unsigned long long int" if __x86_64__ is defined.
41038 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
41039
41040 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
41041 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
41042 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
41043
41044 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
41045 <stdint.h>.
41046 (GET_PC): Cast to uintptr_t first.
41047 (GET_FRAME): Likewise.
41048 (GET_STACK): Likewise.
41049
41050 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
41051 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
41052 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
41053 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
41054 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
41055 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
41056 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
41057 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
41058 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
41059 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
41060 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
41061 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
41062 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
41063 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
41064 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
41065 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
41066 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
41067 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
41068 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
41069 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
41070 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
41071 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
41072 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
41073 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
41074 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
41075 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
41076 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
41077 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
41078 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
41079
41080 2012-05-16 Andreas Schwab <schwab@linux-m68k.org>
41081
41082 * Makerules (+depfiles): Also collect depfiles from .oS in
41083 $(extra-objs).
41084 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
41085 .oS, $(libnldbl-routines)).
41086
41087 * Makerules (native-compile-mkdep-flags): Define.
41088 * sunrpc/Makefile (extra-objs): Add $(addprefix
41089 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
41090 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
41091 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
41092 calling $(make-target-directory).
41093
41094 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
41095
41096 * bits/types.h (__snseconds_t): Removed.
41097 * time/time.h (struct timespec): Replace __snseconds_t with
41098 __syscall_slong_t.
41099 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
41100 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
41101 Likewise.
41102 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
41103 (__SNSECONDS_T_TYPE): Likewise.
41104 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
41105 (__SNSECONDS_T_TYPE): Likewise.
41106 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
41107 (__SNSECONDS_T_TYPE): Likewise.
41108
41109 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
41110
41111 * sysdeps/mach/hurd/bits/typesizes.h
41112 (__SYSCALL_SLONG_TYPE): New macro.
41113 (__SYSCALL_ULONG_TYPE): Likewise.
41114
41115 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
41116
41117 * bits/types.h (__syscall_slong_t): New type.
41118 (__syscall_ulong_t): Likewise.
41119
41120 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
41121 (__SYSCALL_ULONG_TYPE): Likewise.
41122 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
41123 (__SYSCALL_SLONG_TYPE): Likewise.
41124 (__SYSCALL_ULONG_TYPE): Likewise.
41125 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
41126 (__SYSCALL_SLONG_TYPE): Likewise.
41127 (__SYSCALL_ULONG_TYPE): Likewise.
41128 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
41129 (__SYSCALL_SLONG_TYPE): Likewise.
41130 (__SYSCALL_ULONG_TYPE): Likewise.
41131
41132 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
41133
41134 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
41135 Add sigaltstack-offsets.sym.
41136 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
41137 <sigaltstack-offsets.h>.
41138 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
41139 longjmp_msg pointer.
41140 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
41141 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
41142 signal stack.
41143 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
41144
41145 2012-05-15 Joseph Myers <joseph@codesourcery.com>
41146
41147 * elf/stackguard-macros.h: Remove file.
41148 * sysdeps/generic/stackguard-macros.h: New file.
41149 * sysdeps/i386/stackguard-macros.h: Likewise.
41150 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
41151 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
41152 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
41153 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
41154 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
41155 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
41156 * sysdeps/x86_64/stackguard-macros.h: Likewise.
41157 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
41158 <elf/stackguard-macros.h>.
41159
41160 [BZ #14109]
41161 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
41162 __aligned__ in attribute.
41163 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
41164 (gregset_t): Likewise.
41165
41166 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
41167
41168 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
41169 * sysdeps/x86_64/64/Implies-after: Here. New file.
41170 * sysdeps/x86_64/x32/Implies-after: New file.
41171
41172 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
41173
41174 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
41175 and access return value for _dl_profile_fixup. Use R10_LP to
41176 load frame size.
41177
41178 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
41179
41180 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
41181
41182 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
41183
41184 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
41185 * sysdeps/x86_64/x32/sysdep.h: New file.
41186
41187 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
41188
41189 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
41190 * sysdeps/x86_64/setjmp.S: Likewise.
41191
41192 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
41193
41194 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
41195 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
41196 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
41197 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
41198 remove unused global constant.
41199
41200 2012-05-15 Chris Metcalf <cmetcalf@tilera.com>
41201
41202 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
41203 include of <not-cancel.h>.
41204
41205 2012-05-15 Roland McGrath <roland@hack.frob.com>
41206
41207 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
41208
41209 2012-05-15 Jeff Law <law@redhat.com>
41210 Andreas Jaeger <aj@suse.de>
41211
41212 [BZ #13594]
41213 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
41214 out from...
41215 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
41216 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
41217 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
41218 code changing __hst_map_handle.map.
41219
41220 2012-05-15 Roland McGrath <roland@hack.frob.com>
41221
41222 * configure.in (sysnames): Look for Implies-before and Implies-after
41223 files.
41224 * configure: Regenerated.
41225
41226 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
41227
41228 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
41229 8-byte data alignment with LP_SIZE alignment.
41230
41231 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
41232
41233 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
41234 into R10_LP.
41235
41236 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
41237
41238 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
41239
41240 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
41241
41242 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
41243 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
41244 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
41245 Likewise.
41246 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
41247
41248 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
41249
41250 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
41251 (stackinfo_sub_sp): Likewise.
41252
41253 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
41254
41255 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
41256 RAX_LP.
41257
41258 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
41259
41260 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
41261 into R*_LP.
41262
41263 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
41264
41265 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
41266 sizes into R*_LP.
41267
41268 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
41269
41270 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
41271
41272 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
41273
41274 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
41275 into R11_LP and load __x86_64_shared_cache_size_half into
41276 R8_LP.
41277
41278 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
41279
41280 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
41281 R8_LP.
41282
41283 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
41284
41285 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
41286 logb for POWER7.
41287 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
41288 logbf for POWER7.
41289 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
41290 logbl for POWER7.
41291 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
41292 powerpc32/power7/fpu/s_logb.c via #include.
41293 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
41294 powerpc32/power7/fpu/s_logbf.c via #include.
41295 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
41296 powerpc32/power7/fpu/s_logbl.c via #include.
41297
41298 2012-05-15 Joseph Myers <joseph@codesourcery.com>
41299
41300 * README.libm: Remove file.
41301
41302 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
41303
41304 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
41305 count for x32. Use R*_LP and omit operand-size suffix.
41306
41307 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
41308
41309 * shlib-versions: Move x86_64-.*-linux.* entries to ...
41310 * sysdeps/x86_64/64/shlib-versions: Here. New file.
41311 * sysdeps/x86_64/x32/shlib-versions: New file.
41312
41313 2012-05-14 Roland McGrath <roland@hack.frob.com>
41314
41315 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
41316 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
41317 Use _dl_fatal_printf instead.
41318
41319 2012-05-14 Joseph Myers <joseph@codesourcery.com>
41320
41321 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
41322 set if not set by the user. Do not allow for being unset.
41323 * sysdeps/unix/sysv/linux/configure: Regenerated.
41324
41325 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
41326
41327 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
41328 the `q' suffix from lea and replace .quad with ASM_ADDR.
41329
41330 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
41331
41332 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
41333 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
41334 instead of $17.
41335 (PTR_DEMANGLE): Likewise.
41336
41337 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
41338
41339 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
41340 (LP_OP): Likewise.
41341 (ASM_ADDR): Likewise.
41342 (RAX_LP): Likewise.
41343 (RBP_LP): Likewise.
41344 (RBX_LP): Likewise.
41345 (RCX_LP): Likewise.
41346 (RDI_LP): Likewise.
41347 (RSI_LP): Likewise.
41348 (RSP_LP): Likewise.
41349 (R8_LP): Likewise.
41350 (R9_LP): Likewise.
41351 (R10_LP): Likewise.
41352 (R10_LP): Likewise.
41353 (R11_LP): Likewise.
41354 (R12_LP): Likewise.
41355 (R13_LP): Likewise.
41356 (R14_LP): Likewise.
41357 (R15_LP): Likewise.
41358
41359 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
41360
41361 * sysdeps/x86_64/x32/dl-machine.h: New file.
41362
41363 2012-05-14 Andreas Jaeger <aj@suse.de>
41364
41365 * manual/Makefile (subdir): Remove export of subdir.
41366 (all): Remove target.
41367 (.PHONY): Remove all from list.
41368 (mkinstalldirs): Remove.
41369 (.PHONY): Remove installdirs from list.
41370 ($(inst_infodir)/libc.info): Use make-target-directory.
41371 (installdirs): Remove.
41372 (subdir_%): Remove.
41373 (glibc-targets): Remove.
41374 (lib): Remove.
41375 (stubs): Remove.
41376 ($(objpfx)stubs ../po/manual.pot): Remove.
41377 ($(objpfx)stamp%): Remove.
41378 (make-target-directory): Remove.
41379 (subdir_install): Remove.
41380 (routines): Remove.
41381 (aux): Remove.
41382 (sources): Remove.
41383 (objects): Remove.
41384 (headers): Remove.
41385
41386 [BZ #13750]
41387 * manual/.gitignore: Remove, it's not needed anymore.
41388 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
41389 all files in it.
41390 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
41391 directory.
41392 (texis): Renamed to $(objpfx)texis.
41393 (texis-path): New, contains path to generated files.
41394 (chapters.%): Use texis-path for complete path, add extra argument
41395 libc-texinfo.sh.
41396 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
41397 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
41398 (summary,texi, stamp-summary): Use complete path of
41399 files. Generate files in build dir.
41400 (dir-add.texi): Build in build dir.
41401 (libm-err.texi,stamp-libm-err): Likewise.
41402 (version.texi, stamp-version): Likewise.
41403 (.%c.texi): Likewise.
41404 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
41405 (mostlyclean): Remove target.
41406 (realclean): Remove target.
41407 (generated): Add new variable with contents from mostlyclean and
41408 realclean, remove entries duplicated in common-mostlyclean, add
41409 stamp-libm-err and stamp-version.
41410 (generated-dirs): Add libc directory.
41411 ($(inst_infodir)/libc.info): Install files from build dir.
41412
41413 * manual/install.texi (Configuring and compiling): Adjust since
41414 the info files are not part of the tar ball anymore.
41415
41416 2012-05-14 Andreas Jaeger <aj@suse.de>
41417
41418 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
41419 variable.
41420
41421 2012-05-14 Joseph Myers <joseph@codesourcery.com>
41422
41423 [BZ #13717]
41424 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
41425 to 2.2.0 where earlier.
41426 * sysdeps/unix/sysv/linux/configure: Regenerated.
41427 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
41428 Remove conditional code.
41429 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
41430 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
41431 Remove conditional code.
41432 [!__NR_lchown]: Likewise.
41433 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
41434 [__NR_lchown]: Likewise.
41435 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
41436 comment referencing __ASSUME_LCHOWN_SYSCALL.
41437 * sysdeps/unix/sysv/linux/i386/sigaction.c
41438 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
41439 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
41440 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
41441 Remove conditional code.
41442 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
41443 (__protocol_available): Remove #if 0 code.
41444 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
41445 conditional code.
41446 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
41447 * sysdeps/unix/sysv/linux/kernel-features.h
41448 (__ASSUME_GETCWD_SYSCALL): Don't define.
41449 (__ASSUME_REALTIME_SIGNALS): Likewise.
41450 (__ASSUME_PREAD_SYSCALL): Likewise.
41451 (__ASSUME_PWRITE_SYSCALL): Likewise.
41452 (__ASSUME_POLL_SYSCALL): Likewise.
41453 (__ASSUME_LCHOWN_SYSCALL): Likewise.
41454 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
41455 non-SPARC.
41456 (__ASSUME_SIOCGIFNAME): Don't define.
41457 (__ASSUME_MSG_NOSIGNAL): Likewise.
41458 (__ASSUME_SENDFILE): Define unconditionally.
41459 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
41460 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
41461 conditional code.
41462 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
41463 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
41464 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
41465 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
41466 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
41467 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
41468 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
41469 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
41470 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
41471 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
41472 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
41473 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
41474 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
41475 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
41476 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
41477 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
41478 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
41479 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
41480 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
41481 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
41482 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
41483 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
41484 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
41485 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
41486 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
41487 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
41488 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
41489 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
41490 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
41491 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
41492 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
41493 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
41494 Remove conditional code.
41495 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
41496 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
41497 Remove conditional code.
41498 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
41499 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
41500 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
41501 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
41502 Remove conditional code.
41503 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
41504 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
41505 Remove conditional code.
41506 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
41507 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
41508 Remove conditional code.
41509 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
41510 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
41511 Remove conditional code.
41512 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
41513 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
41514 Remove conditional code.
41515 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
41516 * sysdeps/unix/sysv/linux/sh/pwrite64.c
41517 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
41518 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
41519 * sysdeps/unix/sysv/linux/sigaction.c
41520 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
41521 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
41522 * sysdeps/unix/sysv/linux/sigpending.c
41523 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
41524 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
41525 * sysdeps/unix/sysv/linux/sigprocmask.c
41526 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
41527 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
41528 * sysdeps/unix/sysv/linux/sigsuspend.c
41529 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
41530 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
41531 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
41532 (__libc_missing_rt_sigs): Remove.
41533 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
41534 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
41535 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
41536 Remove conditional code.
41537 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
41538 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
41539 return 1.
41540 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
41541 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
41542 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
41543 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
41544
41545 2012-05-14 Andreas Jaeger <aj@suse.de>
41546
41547 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
41548 it's not used in glibc.
41549 (__coshm1): Likewise.
41550 (__acosh1p): Likewise.
41551 (__sgn): Likewise.
41552
41553 * manual/string.texi (Copying and Concatenation): Add missing
41554 variable in concat example.
41555 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
41556
41557 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
41558
41559 [BZ #14103]
41560 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
41561 __builtin_clzl with __builtin_clzll.
41562
41563 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
41564
41565 [BZ #14104]
41566 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
41567 libc_freeres_ptr.
41568
41569 2012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
41570
41571 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
41572 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
41573 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
41574 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
41575
41576 2012-05-14 Mike Frysinger <vapier@gentoo.org>
41577
41578 * NEWS: Update ia64 info.
41579
41580 2012-05-12 Andreas Schwab <schwab@linux-m68k.org>
41581
41582 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
41583 used as bcopy.
41584
41585 2012-05-12 Thomas Schwinge <thomas@codesourcery.com>
41586
41587 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
41588 * sysdeps/unix/syscalls.list (dup3): Likewise.
41589 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
41590 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
41591
41592 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
41593
41594 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
41595 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
41596
41597 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
41598
41599 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
41600 thread pointer.
41601 (TLS_IE): Use mov/add instead of movq/addq to load thread
41602 pointer.
41603 (TLS_GD_PREFIX): New.
41604 (TLS_GD): Use it.
41605
41606 2012-05-11 David S. Miller <davem@davemloft.net>
41607
41608 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
41609 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
41610 (_FPU_SETCW): Likewise.
41611
41612 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
41613
41614 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
41615 is 32-byte aligned.
41616
41617 2012-05-11 Andreas Schwab <schwab@linux-m68k.org>
41618
41619 [BZ #11837]
41620 * iconvdata/gb18030.c: Update tables.
41621 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
41622 characters specially.
41623 (BODY for TO_LOOP): Add encoding of missing ranges.
41624
41625 2012-05-11 Thomas Schwinge <thomas@codesourcery.com>
41626
41627 [BZ #13673]
41628 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
41629 * sysdeps/mach/hurd/dup3.c: Likewise.
41630 * sysdeps/mach/hurd/readlinkat.c: Likewise.
41631 * sysdeps/powerpc/memmove.c:: Likewise.
41632
41633 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
41634
41635 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
41636 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
41637
41638 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
41639
41640 * elf/elf.h (R_X86_64_RELATIVE64): New.
41641 (R_X86_64_NUM): Updated.
41642 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
41643 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
41644 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
41645 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
41646 tst-quad1pie tst-quad2pie
41647 (modules-names): Add tst-quadmod1 tst-quadmod2.
41648 ($(objpfx)tst-quad1): New dependency.
41649 ($(objpfx)tst-quad2): Likewise.
41650 ($(objpfx)tst-quad1pie): Likewise.
41651 ($(objpfx)tst-quad2pie): Likewise.
41652 * sysdeps/x86_64/tst-quad1.c: New file.
41653 * sysdeps/x86_64/tst-quad1pie.c: New file.
41654 * sysdeps/x86_64/tst-quad2.c: Likewise.
41655 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
41656 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
41657 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
41658 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
41659 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
41660
41661 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
41662
41663 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
41664 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
41665 * streams/stropts.h (t_scalar_t): Define type.
41666
41667 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
41668 (_PATH_PRESERVE): Set to "/var/lib".
41669 (_PATH_RWHODIR): Set to "/var/spool/rwho".
41670
41671 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
41672 instead of int.
41673
41674 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
41675 if __dir_mkfile succeeded.
41676
41677 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
41678 checking for _hurd_dtablesize. Unlock it right after having
41679 finished _hurd_dtable allocation.
41680
41681 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
41682
41683 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
41684 * sysdeps/mach/hurd/configure: Regenerated.
41685 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
41686 special-casing to...
41687 * sysdeps/gnu/configure.in: ... this new file.
41688 * sysdeps/unix/sysv/linux/configure: Regenerated.
41689 * sysdeps/gnu/configure: New generated file.
41690
41691 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
41692 for Linux: use nsec instead of usec, as well as:
41693 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
41694 members of type struct timespec.
41695 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
41696 New macros.
41697 (struct stat64): Likewise.
41698 (_STATBUF_ST_NSEC): New macro.
41699 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
41700
41701 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
41702 __strtoul_internal rather than strtoul.
41703
41704 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
41705
41706 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
41707 and reject them.
41708
41709 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
41710
41711 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
41712 which preserves existing values.
41713 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
41714
41715 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
41716
41717 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
41718 TIMEOUT values. Return EINVAL for NFDS values either negative or
41719 greater than FD_SETSIZE.
41720
41721 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
41722
41723 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
41724 allocated, call __vm_protect to finish enabling the existing space, and
41725 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
41726 allocate the remainder.
41727
41728 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
41729
41730 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
41731 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
41732
41733 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
41734
41735 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
41736 sysdeps/mach/hurd/readlink.c.
41737
41738 * posix/tst-sysconf.c (posix_options): Only use
41739 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
41740 _POSIX_SYNCHRONIZED_IO when they are defined
41741 * sysdeps/mach/hurd/bits/posix_opt.h:
41742 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
41743 (_XOPEN_REALTIME): Undefine macro.
41744 (_XOPEN_REALTIME_THREADS): Undefine macro.
41745 (_XOPEN_SHM): Undefine macro.
41746 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
41747 macro to -1.
41748 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
41749 macro to -1.
41750 (_POSIX_ASYNC_IO): Undefine macro.
41751 (_POSIX_PRIORITIZED_IO): Undefine macro.
41752 (_POSIX_SPIN_LOCKS): Define macro to -1.
41753
41754 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
41755 SA_NODEFER, SA_RESETHAND.
41756 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
41757 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
41758 F_DUPFD_CLOEXEC.
41759
41760 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
41761
41762 * elf/Makefile (pldd-modules): Define unconditionally.
41763
41764 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
41765
41766 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
41767
41768 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
41769
41770 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
41771 Return ENOENT when name is empty.
41772 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
41773
41774 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
41775
41776 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
41777
41778 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
41779
41780 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
41781
41782 Fix mlock in all cases except non-readable pages.
41783 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
41784 instead of VM_PROT_ALL as parameter to __vm_wire function.
41785
41786 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
41787 (__mkdir): When path is `/', just fail with EEXIST.
41788 * sysdeps/mach/hurd/mkdirat.c: Likewise.
41789
41790 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
41791
41792 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
41793 <sys/uio.h> (for writev).
41794 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
41795 and <sys/param.h> (for MIN).
41796
41797 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
41798
41799 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
41800 REQUESTED_TIME. Properly set the remaining time and return EINTR
41801 if interrupted.
41802
41803 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
41804
41805 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
41806 Depend on against $(link-rpcuserlibs).
41807
41808 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
41809
41810 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
41811 (__libc_stack_end): Do not use attribute_relro.
41812 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
41813 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
41814 to libthread-provided value.
41815 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
41816 attribute_relro.
41817
41818 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
41819
41820 [BZ #3748]
41821 * bits/libc-lock.h (__libc_once_get): New macro.
41822 * sysdeps/mach/bits/libc-lock.h: Likewise.
41823 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
41824 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
41825 instead of using implementation details.
41826
41827 * libio/fileops.c: Unconditionally include <kernel-features.h>.
41828 * libio/freopen.c: Likewise.
41829 * libio/freopen64.c: Likewise.
41830 * misc/syslog.c: Likewise.
41831 * nscd/connections.c: Likewise.
41832 * nscd/netgroupcache.c: Likewise.
41833 * sysdeps/posix/getcwd.c: Likewise.
41834
41835 2012-05-10 Roland McGrath <roland@hack.frob.com>
41836
41837 * math/w_ilogbf.c: Add #include <limits.h>.
41838
41839 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
41840
41841 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
41842 path instead of returning without unlocking.
41843
41844 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
41845 immediate-write ioctls.
41846 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
41847
41848 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
41849
41850 * sysdeps/mach/hurd/i386/init-first.c (init): Use
41851 __builtin_frame_address instead of making assumptions about the
41852 location of the return address relative to DATA. Force early load of
41853 the return address.
41854 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
41855 __builtin_frame_address.
41856
41857 dup3 for GNU Hurd.
41858 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
41859 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
41860 implement dup3 and do some further code clean-ups.
41861 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
41862 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
41863
41864 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
41865
41866 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
41867
41868 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
41869 HURD_CRITICAL_END around holding _hurd_dtable_lock.
41870 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
41871 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
41872 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
41873 d->port.lock.
41874
41875 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
41876 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
41877 when handler == SIG_ERR, not when handler != SIG_ERR.
41878
41879 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
41880
41881 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
41882 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
41883 definitions.
41884
41885 accept4 for GNU Hurd.
41886 * include/sys/socket.h (__libc_accept4): New prototype.
41887 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
41888 to implement __libc_accept4.
41889 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
41890 __libc_accept4.
41891 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
41892
41893 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
41894 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
41895 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
41896 signal-defines.sym.
41897
41898 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
41899
41900 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
41901
41902 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
41903
41904 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
41905 assertion on O_CLOEXEC flag.
41906 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
41907 * hurd/intern-fd.c: Likewise.
41908 * hurd/port2fd.c: Likewise.
41909
41910 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
41911
41912 [BZ #3906]
41913 * bits/in.h (IPV6_PKTINFO): Define new macro.
41914 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
41915
41916 2012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
41917
41918 [BZ #13954]
41919 [BZ #13955]
41920 [BZ #13956]
41921 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
41922 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
41923 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
41924 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
41925 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
41926 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
41927 * math/libm-test.inc (logb_test) : Additional logb tests.
41928
41929 2012-05-09 Andreas Schwab <schwab@linux-m68k.org>
41930 Andreas Jaeger <aj@suse.de>
41931
41932 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
41933 * configure: Regenerated.
41934 * config.h.in (LINK_OBSOLETE_RPC): New macro.
41935 * config.make.in (link-obsolete-rpc): New substituted variable.
41936 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
41937 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
41938 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
41939 (shared-only-routines): Don't set it under [link-obsolete-rpc],
41940 so that libc.a contains the symbols.
41941 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
41942 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
41943 * sunrpc/auth_none.c: Likewise.
41944 * sunrpc/auth_unix.c: Likewise.
41945 * sunrpc/authdes_prot.c: Likewise.
41946 * sunrpc/authuxprot.c: Likewise.
41947 * sunrpc/clnt_gen.c: Likewise.
41948 * sunrpc/clnt_perr.c: Likewise.
41949 * sunrpc/clnt_raw.c: Likewise.
41950 * sunrpc/clnt_simp.c: Likewise.
41951 * sunrpc/clnt_tcp.c: Likewise.
41952 * sunrpc/clnt_udp.c: Likewise.
41953 * sunrpc/clnt_unix.c: Likewise.
41954 * sunrpc/des_crypt.c: Likewise.
41955 * sunrpc/des_soft.c: Likewise.
41956 * sunrpc/get_myaddr.c: Likewise.
41957 * sunrpc/key_call.c: Likewise.
41958 * sunrpc/key_prot.c: Likewise.
41959 * sunrpc/netname.c: Likewise.
41960 * sunrpc/pm_getmaps.c: Likewise.
41961 * sunrpc/pm_getport.c: Likewise.
41962 * sunrpc/pmap_clnt.c: Likewise.
41963 * sunrpc/pmap_prot.c: Likewise.
41964 * sunrpc/pmap_prot2.c: Likewise.
41965 * sunrpc/pmap_rmt.c: Likewise.
41966 * sunrpc/publickey.c: Likewise.
41967 * sunrpc/rpc_cmsg.c: Likewise.
41968 * sunrpc/rpc_common.c: Likewise.
41969 * sunrpc/rpc_dtable.c: Likewise.
41970 * sunrpc/rpc_prot.c: Likewise.
41971 * sunrpc/rpc_thread.c: Likewise.
41972 * sunrpc/rtime.c: Likewise.
41973 * sunrpc/svc.c: Likewise.
41974 * sunrpc/svc_auth.c: Likewise.
41975 * sunrpc/svc_raw.c: Likewise.
41976 * sunrpc/svc_run.c: Likewise.
41977 * sunrpc/svc_tcp.c: Likewise.
41978 * sunrpc/svc_udp.c: Likewise.
41979 * sunrpc/svc_unix.c: Likewise.
41980 * sunrpc/svcauth_des.c: Likewise.
41981 * sunrpc/xcrypt.c: Likewise.
41982 * sunrpc/xdr.c: Likewise.
41983 * sunrpc/xdr_array.c: Likewise.
41984 * sunrpc/xdr_float.c: Likewise.
41985 * sunrpc/xdr_intXX_t.c: Likewise.
41986 * sunrpc/xdr_mem.c: Likewise.
41987 * sunrpc/xdr_rec.c: Likewise.
41988 * sunrpc/xdr_ref.c: Likewise.
41989 * sunrpc/xdr_sizeof.c: Likewise.
41990 * sunrpc/xdr_stdio.c: Likewise.
41991
41992 2012-05-10 Roland McGrath <roland@hack.frob.com>
41993
41994 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
41995 change. Update copyright years.
41996
41997 2012-05-10 Joseph Myers <joseph@codesourcery.com>
41998
41999 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
42000
42001 2012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
42002 Joseph Myers <joseph@codesourcery.com>
42003 Paul Pluzhnikov <ppluzhnikov@google.com>
42004
42005 [BZ #14012]
42006 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
42007 requiring rpcgen.
42008 [cross-compiling] (extra-libs): Likewise.
42009 [cross-compiling] (extra-libs-others): Likewise.
42010 [cross-compiling] (librpcsvc-routines): Likewise.
42011 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
42012 [cross-compiling] (omit-deps): Likewise.
42013 (sunrpc-CPPFLAGS): New variable.
42014 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
42015 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
42016 (cross-rpcgen-objs): New variable.
42017 (extra-objs): Append $(cross-rpcgen-objs).
42018 ($(cross-rpcgen-objs)): New rule.
42019 ($(objpfx)cross-rpcgen): Likewise.
42020 (rpcgen-cmd): Define to use $(built-program-file). Expand
42021 comment.
42022 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
42023 ($(objpfx)x%.stmp): Likewise.
42024 * sunrpc/proto.h [IS_IN_build] (_): Define.
42025 [IS_IN_build] (_libc_intl_domainname): Likewise.
42026
42027 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
42028
42029 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
42030 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
42031 and R_X86_64_TPOFF64.
42032
42033 2012-05-10 Joseph Myers <joseph@codesourcery.com>
42034
42035 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
42036 sysdeps/unix/sysv/syscalls.list.
42037 (stime): Likewise.
42038 (utime): Likewise.
42039 * sysdeps/unix/sysv/syscalls.list: Remove file.
42040
42041 2012-05-10 Paul Eggert <eggert@cs.ucla.edu>
42042
42043 [BZ #3440]
42044 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
42045 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
42046 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
42047 (__LC_IDENTIFICATION): Make these macros useful in #if
42048 expressions, as required by C99.
42049
42050 2012-05-10 Andreas Schwab <schwab@linux-m68k.org>
42051
42052 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
42053 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
42054 after this.
42055
42056 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
42057
42058 * stdlib/longlong.h: Updated from GCC.
42059
42060 2012-05-09 Andreas Jaeger <aj@suse.de>
42061
42062 * nscd/nscd.c (run_modes): Make named enum, reorder so that
42063 default is first entry.
42064 (run_mode): Set type.
42065 (main): Remove informal message about syslog.
42066 (options): Fix typo.
42067
42068 [BZ #14053]
42069 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
42070 to asm.
42071 (lrint): Likewise.
42072 (llrintf): Likewise.
42073 (llrint): Likewise.
42074 (rint): Likewise.
42075 (rintf): Likewise.
42076 (nearbyint): Likewise.
42077 (nearbyintf): Likewise.
42078
42079 2012-05-09 Andreas Jaeger <aj@suse.de>
42080 Pedro Alves <palves@redhat.com>
42081
42082 * nscd/nscd.c (run_mode): Use enum.
42083 (main): Cleanup coding style issue.
42084
42085 2012-05-09 Alexandre Oliva <aoliva@redhat.com>
42086 Andreas Jaeger <aj@suse.de>
42087
42088 * nscd/nscd.c (go_background): Replaced with...
42089 (run_mode): ... this.
42090 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
42091 (options): Add -F --foreground.
42092 (main): Implement it.
42093 (parse_opt): Parse it.
42094
42095 2012-05-09 Andreas Jaeger <aj@suse.de>
42096
42097 [BZ #14083]
42098 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
42099 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
42100 -Wconversion warning.
42101 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
42102 Likewise.
42103
42104 2012-05-09 Joseph Myers <joseph@codesourcery.com>
42105
42106 * conform/data/locale.h-data (NULL): Use macro-constant. Require
42107 == 0.
42108 (LC_ALL): Use macro-int-constant.
42109 (LC_COLLATE): Likewise.
42110 (LC_CTYPE): Likewise.
42111 (LC_MESSAGES): Likewise.
42112 (LC_MONETARY): Likewise.
42113 (LC_NUMERIC): Likewise.
42114 (LC_TIME): Likewise.
42115 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
42116 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
42117 [ISO || ISO99 || ISO11] (*_t): Do not allow.
42118 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
42119 Specify type.
42120 [C99-based standards] (float_t): Expect type.
42121 [C99-based standards] (double_t): Expect type.
42122 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
42123 type.
42124 [C99-based standards] (HUGE_VALL): Likewise.
42125 [C99-based standards] (INFINITY): Likewise.
42126 [C99-based standards] (NAN): Likewise.
42127 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
42128 [C99-based standards] (FP_NAN): Likewise.
42129 [C99-based standards] (FP_NORMAL): Likewise.
42130 [C99-based standards] (FP_SUBNORMAL): Likewise.
42131 [C99-based standards] (FP_ZERO): Likewise.
42132 [C99-based standards] (FP_FAST_FMA): Use
42133 optional-macro-int-constant. Specify type. Require == 1.
42134 [C99-based standards] (FP_FAST_FMAF): Likewise.
42135 [C99-based standards] (FP_FAST_FMAL): Likewise.
42136 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
42137 [C99-based standards] (FP_ILOGBNAN): Likewise.
42138 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
42139 Specify type.
42140 [C99-based standards] (MATH_ERREXCEPT): Likewise.
42141 [C99-based standards] (math_errhandling): Specify type.
42142 [ISO99 || ISO11] (signgam): Do not allow.
42143 [non-C99-based standards] (copysignf): Do not allow.
42144 [non-C99-based standards] (exp2f): Likewise.
42145 [non-C99-based standards] (log2f): Likewise.
42146 [non-C99-based standards] (modff): Allow.
42147 [non-C99-based standards] (erff): Do not allow.
42148 [non-C99-based standards] (erfcf): Likewise.
42149 [non-C99-based standards] (gammaf): Likewise.
42150 [non-C99-based standards] (hypotf): Likewise.
42151 [non-C99-based standards] (j0f): Likewise.
42152 [non-C99-based standards] (j1f): Likewise.
42153 [non-C99-based standards] (jnf): Likewise.
42154 [non-C99-based standards] (lgammaf): Likewise.
42155 [non-C99-based standards] (tgammaf): Likewise.
42156 [non-C99-based standards] (y0f): Likewise.
42157 [non-C99-based standards] (y1f): Likewise.
42158 [non-C99-based standards] (ynf): Likewise.
42159 [non-C99-based standards] (isnanf): Likewise.
42160 [non-C99-based standards] (acoshf): Likewise.
42161 [non-C99-based standards] (asinhf): Likewise.
42162 [non-C99-based standards] (atanhf): Likewise.
42163 [non-C99-based standards] (cbrtf): Likewise.
42164 [non-C99-based standards] (expm1f): Likewise.
42165 [non-C99-based standards] (ilogbf): Likewise.
42166 [non-C99-based standards] (log1pf): Likewise.
42167 [non-C99-based standards] (logbf): Likewise.
42168 [non-C99-based standards] (nextafterf): Likewise.
42169 [non-C99-based standards] (remainderf): Likewise.
42170 [non-C99-based standards] (rintf): Likewise.
42171 [non-C99-based standards] (scalbf): Likewise.
42172 [non-C99-based standards] (copysignl): Likewise.
42173 [non-C99-based standards] (exp2l): Likewise.
42174 [non-C99-based standards] (log2l): Likewise.
42175 [non-C99-based standards] (modfl): Allow.
42176 [non-C99-based standards] (erfl): Do not allow.
42177 [non-C99-based standards] (erfcl): Likewise.
42178 [non-C99-based standards] (gammal): Likewise.
42179 [non-C99-based standards] (hypotl): Likewise.
42180 [non-C99-based standards] (j0l): Likewise.
42181 [non-C99-based standards] (j1l): Likewise.
42182 [non-C99-based standards] (jnl): Likewise.
42183 [non-C99-based standards] (lgammal): Likewise.
42184 [non-C99-based standards] (tgammal): Likewise.
42185 [non-C99-based standards] (y0l): Likewise.
42186 [non-C99-based standards] (y1l): Likewise.
42187 [non-C99-based standards] (ynl): Likewise.
42188 [non-C99-based standards] (isnanl): Likewise.
42189 [non-C99-based standards] (acoshl): Likewise.
42190 [non-C99-based standards] (asinhl): Likewise.
42191 [non-C99-based standards] (atanhl): Likewise.
42192 [non-C99-based standards] (cbrtl): Likewise.
42193 [non-C99-based standards] (expm1l): Likewise.
42194 [non-C99-based standards] (ilogbl): Likewise.
42195 [non-C99-based standards] (log1pl): Likewise.
42196 [non-C99-based standards] (logbl): Likewise.
42197 [non-C99-based standards] (nextafterl): Likewise.
42198 [non-C99-based standards] (remainderl): Likewise.
42199 [non-C99-based standards] (rintl): Likewise.
42200 [non-C99-based standards] (scalbl): Likewise.
42201 [ISO || ISO99 || ISO11] (*_t): Do not allow.
42202 [non-C99-based standards] (FP_*): Do not allow.
42203 [C99-based standards] (FP_*): Change to
42204 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
42205 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
42206 allow.
42207 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
42208 (SIG_ERR): Likewise.
42209 [X/Open-based standards] (SIG_HOLD): Likewise.
42210 (SIG_IGN): Likewise.
42211 (SIGABRT): Use macro-int-constant. Specify type. Require
42212 positive value.
42213 (SIGFPE): Likewise.
42214 (SIGILL): Likewise.
42215 (SIGINT): Likewise.
42216 (SIGSEGV): Likewise.
42217 (SIGTER): Likewise.
42218 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
42219 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
42220 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
42221 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
42222 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
42223 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
42224 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
42225 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
42226 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
42227 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
42228 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
42229 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
42230 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
42231 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
42232 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
42233 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
42234 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
42235 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
42236 [X/Open-based standards] (SIGTRAP): Likewise.
42237 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
42238 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
42239 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
42240 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
42241 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
42242 allow.
42243
42244 2012-05-08 Ian Wienand <ianw@vmware.com>
42245
42246 [BZ #14080]
42247 * time/tzset.c (__tzset_parse_tz): Update default rules for
42248 daylight time changes in the Energy Policy Act of 2005.
42249
42250 2012-05-09 Andreas Jaeger <aj@suse.de>
42251
42252 [BZ #13983]
42253 * elf/ldconfig.c (parse_conf): Change string to make clear that
42254 ldconfig only issued a warning if ld.so.conf does not exist.
42255
42256 2012-05-08 David S. Miller <davem@davemloft.net>
42257
42258 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
42259 movxtod instead of popping the value on the stack.
42260
42261 * sysdeps/sparc/fpu/libm-test-ulps: Update.
42262
42263 2012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
42264
42265 * config.h.in: Add HAVE_ARM_PCS_VFP.
42266
42267 2012-05-08 Roland Mc Grath <roland@hack.frob.com>
42268
42269 [BZ #13979]
42270 * include/features.h: Warn if user requests __FORTIFY_SOURCE
42271 checking but the checks are disabled for any reason.
42272
42273 2012-05-08 H.J. Lu <hongjiu.lu@intel.com>
42274
42275 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
42276 and ELF64_R_TYPE with ELFW(R_TYPE).
42277
42278 2012-05-08 Joseph Myers <joseph@codesourcery.com>
42279
42280 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
42281 (ulimit): Likewise.
42282
42283 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
42284 (settimeofday): Likewise.
42285
42286 2012-05-08 Mike Frysinger <vapier@gentoo.org>
42287
42288 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
42289 a struct th_u2 inside the union, and move tu_block/tu_code into
42290 a new th_u3 union of tu_block/tu_code inside of that. Move
42291 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
42292 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
42293 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
42294 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
42295 (th_stuff): Change to th_u1.tu_stuff.
42296 (th_data): Define.
42297 (th_msg): Change to th_u1.th_u2.tu_data.
42298
42299 2012-05-07 David S. Miller <davem@davemloft.net>
42300
42301 * sysdeps/sparc/fpu/libm-test-ulps: Update.
42302
42303 [BZ #14074]
42304 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
42305 (SETUP_PIC_REG): Use it.
42306 (SETUP_PIC_REG_LEAF): Use it.
42307
42308 2012-05-07 Joseph Myers <joseph@codesourcery.com>
42309
42310 [BZ #13885]
42311 [BZ #13923]
42312 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
42313 USE_AS_EXPM1L.
42314 (EXPL_FINITE): Likewise.
42315 (FLDLOG): Likewise.
42316 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
42317 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
42318 e_expl.S.
42319 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
42320 USE_AS_EXPM1L.
42321 (EXPL_FINITE): Likewise.
42322 (FLDLOG): Likewise.
42323 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
42324 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
42325 e_expl.S.
42326 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
42327 test of -max_value argument for long double.
42328 * sysdeps/i386/fpu/libm-test-ulps: Update.
42329 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42330
42331 2012-05-06 David S. Miller <davem@davemloft.net>
42332
42333 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
42334 quad soft-float symbols whose references which are compiler
42335 generated.
42336 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
42337
42338 2012-05-06 Joseph Myers <joseph@codesourcery.com>
42339
42340 [BZ #13884]
42341 [BZ #13914]
42342 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
42343 USE_AS_EXP10L.
42344 (EXPL_FINITE): Likewise.
42345 (FLDLOG): Likewise.
42346 (c0): Likewise.
42347 (c1): Likewise.
42348 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
42349 Adjust comments for base varying.
42350 (__expl_finite): Change alias to EXPL_FINITE.
42351 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
42352 e_expl.S.
42353 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
42354 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
42355 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
42356 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
42357 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
42358 USE_AS_EXP10L.
42359 (EXPL_FINITE): Likewise.
42360 (FLDLOG): Likewise.
42361 (c0): Likewise.
42362 (c1): Likewise.
42363 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
42364 Adjust comments for base varying.
42365 (__expl_finite): Change alias to EXPL_FINITE.
42366 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
42367 tests for bugs.
42368 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
42369
42370 [BZ #14064]
42371 * math/libm-test.inc (check_float_internal): Correct ulp
42372 calculation for subnormal expected results.
42373
42374 2012-05-06 Andreas Jaeger <aj@suse.de>
42375
42376 * Makeconfig (+math-flags): New, set to -frounding-math.
42377 (+cflags): Add +math-flags so that all of glibc gets compiled with
42378 it.
42379
42380 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
42381
42382 2012-05-05 Joseph Myers <joseph@codesourcery.com>
42383
42384 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
42385 Disable one test.
42386
42387 [BZ #13787]
42388 [BZ #13922]
42389 [BZ #14036]
42390 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
42391 (__ieee754_expl): Allow for and saturate large arguments.
42392 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
42393 (u_threshold): Likewise.
42394 (__exp): Call __ieee754_exp before checking for overflow and
42395 underflow.
42396 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
42397 (u_threshold): Likewise.
42398 (__expf): Call __ieee754_expf before checking for overflow and
42399 underflow.
42400 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
42401 (u_threshold): Likewise.
42402 (__expl): Call __ieee754_expl before checking for overflow and
42403 underflow.
42404 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
42405 (__ieee754_expl): Allow for and saturate large arguments.
42406 * math/libm-test.inc (exp_test): Add another test. Do not allow
42407 missing overflow exception on overflow.
42408 (expm1_test): Do not allow missing overflow exception on overflow.
42409
42410 * sysdeps/i386/fpu/e_expl.c: Move to ...
42411 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
42412 rather than using inline asm.
42413 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
42414 * sysdeps/x86_64/fpu/e_expl.S: Copy from
42415 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
42416
42417 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
42418 (nice): Likewise.
42419 (poll): Likewise.
42420 (signal): Likewise.
42421 (time): Likewise.
42422 (times): Likewise.
42423
42424 2012-05-04 Joseph Myers <joseph@codesourcery.com>
42425
42426 * sysdeps/unix/syscalls.list (adjtime): Add entry from
42427 sysdeps/unix/common/syscalls.list.
42428 (fchmod): Likewise.
42429 (fchown): Likewise.
42430 (ftruncate): Likewise.
42431 (getrusage): Likewise.
42432 (gettimeofday): Likewise.
42433 (setpgid): Likewise.
42434 (setregid): Likewise.
42435 (setreuid): Likewise.
42436 (sigaction): Likewise.
42437 (truncate): Likewise.
42438 (vhangup): Likewise.
42439 * sysdeps/unix/common/syscalls.list: Remove file.
42440 * sysdeps/unix/bsd/Implies: Don't include unix/common.
42441 * sysdeps/unix/sysv/linux/Implies: Likewise.
42442
42443 2012-05-04 H.J. Lu <hongjiu.lu@intel.com>
42444
42445 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
42446 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
42447 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
42448 Moved to ...
42449 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
42450 Here.
42451 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
42452 to ...
42453 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
42454 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
42455 to ...
42456 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
42457 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
42458 to ...
42459 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
42460 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
42461 to ...
42462 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
42463 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
42464 to ...
42465 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
42466 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
42467 to ...
42468 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
42469 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
42470 to ...
42471 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
42472 Here.
42473 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
42474 to ...
42475 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
42476 Here.
42477 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
42478 to ...
42479 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
42480 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
42481 Moved to ...
42482 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
42483 Here.
42484 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
42485 to ...
42486 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
42487
42488 2012-05-04 Joseph Myers <joseph@codesourcery.com>
42489
42490 * sysdeps/unix/common/bits/dirent.h: Remove file.
42491 * sysdeps/unix/common/bits/fcntl.h: Likewise.
42492
42493 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
42494 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
42495 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
42496 * sysdeps/unix/bsd/isatty.c: Likewise.
42497 * sysdeps/unix/bsd/tcdrain.c: Likewise.
42498 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
42499 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
42500
42501 2012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
42502
42503 [BZ #13563]
42504 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
42505 long double comparison inaccuracies.
42506 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
42507 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
42508
42509 2012-05-04 Andreas Schwab <schwab@linux-m68k.org>
42510
42511 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
42512 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
42513
42514 2012-05-04 Joseph Myers <joseph@codesourcery.com>
42515
42516 [BZ #14049]
42517 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
42518 nonzero digits before rounding a hex value.
42519 * stdlib/tst-strtod.c (tests): Add another test.
42520
42521 2012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
42522
42523 * sysdeps/s390/fpu/libm-test-ulps: Update.
42524
42525 2012-05-03 Andreas Jaeger <aj@suse.de>
42526
42527 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
42528 does not get optimized out.
42529 (malloc_opt_barrier): New.
42530
42531 2012-05-03 Andreas Jaeger <aj@suse.de>
42532 Roland McGrath <roland@hack.frob.com>
42533
42534 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
42535 intermediate file deletion.
42536 (generated): Add .symlist files.
42537
42538 2012-05-03 Joseph Myers <joseph@codesourcery.com>
42539
42540 [BZ #13775]
42541 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
42542 Redirect under this condition.
42543 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
42544 [__USE_GNU] (__dprintf_chk): Not under this condition.
42545 [__USE_GNU] (__vdprintf_chk): Likewise.
42546 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
42547 under this condition.
42548 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
42549 [__USE_XOPEN2K8] (dprintf): Define under this condition.
42550 [__USE_XOPEN2K8] (vdprintf): Likewise.
42551 [__USE_GNU] (__dprintf_chk): Not under this condition.
42552 [__USE_GNU] (__vdprintf_chk): Likewise.
42553 [__USE_GNU] (dprintf): Likewise.
42554 [__USE_GNU] (vdprintf): Likewise.
42555
42556 2012-05-03 Roland McGrath <roland@hack.frob.com>
42557
42558 * elf/Makefile (common-generated): Set this instead of generated for
42559 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
42560 $(all-built-dso)-derived lists.
42561
42562 2012-05-03 Andreas Jaeger <aj@suse.de>
42563
42564 * sysdeps/i386/fpu/libm-test-ulps: Update.
42565
42566 * FAQ: Removed.
42567 * FAQ.in: Likewise.
42568 * scripts/gen-FAQ.pl: Likewise.
42569 * manual/install.texi (Installation): Point to online location of
42570 FAQ.
42571 * Makefile (files-for-dist): Remove FAQ.
42572 (FAQ): Remove.
42573
42574 2012-05-02 Allan McRae <allan@archlinux.org>
42575
42576 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
42577 (LDFLAGS-reldepmod5.so): Likewise.
42578 (LDFLAGS-reldep6mod1.so): Likewise.
42579 (LDFLAGS-reldep6mod4.so): Likewise.
42580 (LDFLAGS-reldep8mod3.so): Likewise.
42581 (LDFLAGS-unload4mod1.so): Likewise.
42582 (LDFLAGS-unload4mod2.so): Likewise.
42583 (LDFLAGS-tst-initorder): Likewise.
42584 (LDFLAGS-tst-initordera2.so): Likewise.
42585 (LDFLAGS-tst-initordera3.so): Likewise.
42586 (LDFLAGS-tst-initordera4.so): Likewise.
42587 (LDFLAGS-tst-initorderb2.so): Likewise.
42588 (LDFLAGS-noload): Likewise.
42589 (LDFLAGS-next): Likewise.
42590 (LDFLAGS-order2mod1.so): Likewise.
42591 (LDFLAGS-order2mod2.so): Likewise.
42592 (LDFLAGS-tst-initorder2): Likewise.
42593 (LDFLAGS-tst-initorder2a.so): Likewise.
42594 (LDFLAGS-tst-initorder2b.so): Likewise.
42595 (LDFLAGS-tst-initorder2c.so): Likewise.
42596 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
42597
42598 2012-05-02 David S. Miller <davem@davemloft.net>
42599
42600 * sysdeps/sparc/fpu/libm-test-ulps: Update.
42601
42602 2012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
42603
42604 [BZ #14055]
42605 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
42606
42607 2012-05-02 Andreas Jaeger <aj@suse.de>
42608
42609 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
42610 since we manipulate rounding mode.
42611 (CPPFLAGS-test-idouble.c): Likewise.
42612 (CPPFLAGS-test-ifloat.c): Likewise.
42613 (CFLAGS-test-ldouble.c): Likewise.
42614 (CFLAGS-test-double.c): Likewise.
42615 (CFLAGS-test-float.c): Likewise.
42616 (CFLAGS-test-misc.c): Likewise.
42617 (CFLAGS-test-test-fenv.c): Likewise.
42618
42619 2012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
42620
42621 [BZ #2550]
42622 [BZ #2570]
42623 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
42624 comparisons to determine direction to adjust input.
42625
42626 2012-05-01 Roland McGrath <roland@hack.frob.com>
42627
42628 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
42629 output to the target.
42630
42631 * scripts/localplt.awk: New file.
42632 * elf/Makefile ($(objpfx)check-localplt): Target removed.
42633 (check-localplt-CFLAGS): Variable removed.
42634 ($(all-built-dso:=.jmprel)): New static pattern rule.
42635 (generated): Add those targets.
42636 (localplt-built-dso): New variable.
42637 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
42638
42639 * elf/check-localplt.c: File removed.
42640
42641 * scripts/check-execstack.awk: New file.
42642 * elf/Makefile ($(objpfx)check-execstack): Target removed.
42643 (check-execstack-CFLAGS): Variable removed.
42644 ($(objpfx)check-execstack.h): Target removed.
42645 ($(objpfx)execstack-default): New target.
42646 (generated): Add that instead of check-execstack.h.
42647 ($(all-built-dso:=.phdr)): New static pattern rule.
42648 (generated): Add those targets.
42649 * elf/check-execstack.c: File removed.
42650
42651 * scripts/check-textrel.awk: New file.
42652 * elf/Makefile ($(objpfx)check-textrel): Target removed.
42653 (check-textrel-CFLAGS): Variable removed.
42654 (all-built-dso): Use := to define.o
42655 ($(all-built-dso:=.dyn)): New static pattern rule.
42656 (generated): Add those targets.
42657 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
42658 * config.make.in (READELF): New substituted variable.
42659 * elf/check-textrel.c: File removed.
42660
42661 2012-05-01 Joseph Myers <joseph@codesourcery.com>
42662
42663 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
42664 allow.
42665 * conform/data/ctype.h-data [C99-based standards] (isblank):
42666 Expect function.
42667 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
42668 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
42669 [ISO || ISO99 || ISO11] (*_t): Do not allow.
42670 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
42671 Specify type. Require positive value.
42672 (EILSEQ): Likewise.
42673 (ERANGE): Likewise.
42674 [ISO || POSIX] (EILSEQ): Do not expect.
42675 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
42676 Specify type. Require positive value.
42677 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
42678 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
42679 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
42680 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
42681 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
42682 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
42683 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
42684 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
42685 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
42686 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
42687 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
42688 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
42689 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
42690 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
42691 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
42692 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
42693 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
42694 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
42695 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
42696 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
42697 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
42698 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
42699 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
42700 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
42701 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
42702 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
42703 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
42704 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
42705 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
42706 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
42707 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
42708 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
42709 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
42710 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
42711 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
42712 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
42713 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
42714 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
42715 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
42716 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
42717 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
42718 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
42719 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
42720 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
42721 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
42722 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
42723 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
42724 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
42725 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
42726 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
42727 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
42728 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
42729 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
42730 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
42731 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
42732 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
42733 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
42734 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
42735 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
42736 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
42737 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
42738 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
42739 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
42740 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
42741 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
42742 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
42743 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
42744 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
42745 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
42746 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
42747 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
42748 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
42749 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
42750 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
42751 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
42752 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
42753 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
42754 Require >= 2.
42755 (FLT_ROUNDS): Expect as macro, not constant.
42756 (FLT_MANT_DIG): Use macro-int-constant.
42757 (DBL_MANT_DIG): Likewise.
42758 (LDBL_MANT_DIG): Likewise.
42759 (FLT_DIG): Likewise.
42760 (DBL_DIG): Likewise.
42761 (LDBL_DIG): Likewise.
42762 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
42763 (DBL_MIN_EXP): Likewise.
42764 (LDBL_MIN_EXP): Likewise.
42765 (FLT_MAX_EXP): Use macro-int-constant.
42766 (DBL_MAX_EXP): Likewise.
42767 (LDBL_MAX_EXP): Likewise.
42768 (FLT_MAX_10_EXP): Likewise.
42769 (DBL_MAX_10_EXP): Likewise.
42770 (LDBL_MAX_10_EXP): Likewise.
42771 (FLT_MAX): Use macro-constant.
42772 (DBL_MAX): Likewise.
42773 (LDBL_MAX): Likewise.
42774 (FLT_EPSILON): Use macro-constant. Give upper bound.
42775 (DBL_EPSILON): Likewise.
42776 (LDBL_EPSILON): Likewise.
42777 (FLT_MIN): Likewise.
42778 (DBL_MIN): Likewise.
42779 (LDBL_MIN): Likewise.
42780 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
42781 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
42782 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
42783 [ISO11] (FLT_HAS_SUBNORM): Likewise.
42784 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
42785 [ISO11] (DBL_DECIMAL_DIG): Likewise.
42786 [ISO11] (FLT_DECIMAL_DIG): Likewise.
42787 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
42788 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
42789 [ISO11] (FLT_TRUE_MIN): Likewise.
42790 [ISO11] (LDBL_TRUE_MIN): Likewise.
42791 [ISO || ISO99 || ISO11] (*_t): Do not allow.
42792 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
42793 (SCHAR_MIN): Use macro-int-constant. Specify type.
42794 (SCHAR_MAX): Likewise.
42795 (UCHAR_MAX): Likewise.
42796 (CHAR_MIN): Likewise.
42797 (CHAR_MAX): Likewise.
42798 (MB_LEN_MAX): Use macro-int-constant.
42799 (SHRT_MIN): Use macro-int-constant. Specify type.
42800 (SHRT_MAX): Likewise.
42801 (USHRT_MAX): Likewise.
42802 (INT_MAX): Likewise.
42803 (INT_MIN): Use macro-int-constant. Specify type. Make upper
42804 bound negative.
42805 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
42806 bound with "U".
42807 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
42808 bound with "L".
42809 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
42810 bound negative. Suffix upper bound with "L".
42811 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
42812 bound with "UL".
42813 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
42814 Specify type.
42815 [C99-based standards] (LLONG_MAX): Likewise.
42816 [C99-based standards] (ULLONG_MAX): Likewise.
42817 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
42818 == 0.
42819 [ISO11] (max_align_t): Require type.
42820 [ISO || ISO99 || ISO11] (*_t): Do not allow.
42821
42822 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
42823 from $CFLAGS, without defining away __attribute__ calls.
42824 (checknamespace): Use $CFLAGS_namespace.
42825
42826 * conform/conformtest.pl (@keywords): Only include C99 keywords
42827 for standards based on C99 or C11.
42828
42829 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
42830 Disable tests.
42831 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
42832 UNIX98]: Likewise.
42833
42834 * conform/conformtest.pl: Handle "macro-int-constant" and test for
42835 usability of symbols in #if.
42836
42837 * conform/conformtest.pl: If macro or constant types start
42838 "promoted:", expect the symbol to be of the following type
42839 promoted by the integer promotions.
42840
42841 * conform/conformtest.pl: Parse all "constant" and "macro" lines
42842 in one place. Also handle "macro-constant".
42843
42844 * conform/conformtest.pl: Only accept expected macro values with
42845 "==". Parse all "macro" lines in one place.
42846 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
42847
42848 * conform/conformtest.pl: Handle braced types on "constant" lines
42849 instead of handling "typed-constant".
42850 * conform/data/signal.h-data: Use "constant" instead of
42851 "typed-constant".
42852
42853 * conform/conformtest.pl: Handle "optional-" at start of lines in
42854 one place rather than duplicating several cases. Handle each
42855 format of "macro" line with initial "optional-".
42856
42857 * conform/conformtest.pl: Only accept expected constant or
42858 optional-constant values with "==". Parse all "constant" lines in
42859 one place. Parse all "optional-constant" lines in one place.
42860 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
42861 * conform/data/fmtmsg.h-data: Likewise.
42862 * conform/data/netinet/in.h-data: Likewise.
42863 * conform/data/tar.h-data: Likewise.
42864 * conform/data/limits.h-data: Use "==" form on "constant" and
42865 "optional-constant" lines.
42866
42867 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
42868 Use -std=c99 for XOPEN2K.
42869 (@knownproblems): Remove.
42870 (newtoken): Don't check %isknown.
42871
42872 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
42873 Do not expect macro.
42874 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
42875 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
42876 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
42877 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
42878 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
42879 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
42880 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
42881 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
42882 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
42883 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
42884 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
42885 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
42886 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
42887 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
42888 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
42889 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
42890 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
42891 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
42892 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
42893 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
42894 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
42895 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
42896 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
42897 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
42898 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
42899 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
42900 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
42901 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
42902 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
42903 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
42904 [XPG3] (acosh): Likewise.
42905 [XPG3] (asinh): Likewise.
42906 [XPG3] (atanh): Likewise.
42907 [XPG3] (cbrt): Likewise.
42908 [XPG3] (expm1): Likewise.
42909 [XPG3] (ilogb): Likewise.
42910 [XPG3] (log1p): Likewise.
42911 [XPG3] (logb): Likewise.
42912 [XPG3] (nextafter): Likewise.
42913 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
42914 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
42915 [XPG3] (remainder): Likewise.
42916 [XPG3] (rint): Likewise.
42917 [XPG3 || XPG4 || UNIX98] (round): Likewise.
42918 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
42919 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
42920 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
42921 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
42922 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
42923 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
42924 [UNIX98 || XOPEN2K] (scalb): Expect.
42925 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
42926 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
42927 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
42928 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
42929 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
42930 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
42931 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
42932 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
42933 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
42934 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
42935 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
42936 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
42937 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
42938 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
42939 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
42940 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
42941 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
42942 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
42943 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
42944 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
42945 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
42946 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
42947 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
42948 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
42949 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
42950 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
42951 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
42952 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
42953 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
42954 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
42955 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
42956 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
42957 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
42958 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
42959 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
42960 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
42961 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
42962 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
42963 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
42964 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
42965 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
42966 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
42967 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
42968 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
42969 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
42970 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
42971 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
42972 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
42973 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
42974 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
42975 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
42976 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
42977 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
42978 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
42979 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
42980 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
42981 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
42982 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
42983 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
42984 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
42985 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
42986 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
42987 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
42988 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
42989 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
42990 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
42991 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
42992 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
42993 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
42994 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
42995 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
42996 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
42997 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
42998 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
42999 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
43000 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
43001 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
43002 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
43003 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
43004 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
43005 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
43006 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
43007 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
43008 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
43009 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
43010 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
43011 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
43012 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
43013 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
43014 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
43015 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
43016 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
43017 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
43018 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
43019 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
43020 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
43021 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
43022 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
43023 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
43024 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
43025 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
43026 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
43027 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
43028 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
43029 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
43030 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
43031 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
43032 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
43033 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
43034 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
43035 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
43036 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
43037 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
43038 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
43039 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
43040 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
43041 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
43042 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
43043 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
43044 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
43045 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
43046 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
43047 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
43048 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
43049 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
43050 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
43051 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
43052 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
43053 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
43054 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
43055 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
43056 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
43057 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
43058 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
43059 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
43060 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
43061 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
43062
43063 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
43064 _XOPEN_SOURCE_EXTENDED for XPG4.
43065
43066 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
43067
43068 * Makeconfig (localtime): Remove variable.
43069 (inst_localtime-file): Likewise.
43070
43071 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
43072
43073 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
43074 Update.
43075 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
43076 Update.
43077 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
43078 Update.
43079 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
43080 Update.
43081 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
43082 Update.
43083 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
43084 Update.
43085 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
43086 Update.
43087 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
43088 Update.
43089 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
43090 Update.
43091
43092 2012-05-01 Joseph Myers <joseph@codesourcery.com>
43093
43094 [BZ #2550]
43095 [BZ #2570]
43096 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
43097 comparisons to determine direction to adjust input.
43098 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
43099 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
43100 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
43101 Likewise.
43102 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
43103 Likewise.
43104 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
43105 Likewise.
43106 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
43107 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
43108 Likewise.
43109 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
43110 Likewise.
43111 * math/libm-test.inc (nexttoward_test): Add more tests.
43112
43113 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
43114
43115 [BZ #14040]
43116 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
43117 in version GLIBC_2.1, not GLIBC_2.0.
43118 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
43119 Likewise.
43120
43121 2012-04-30 Joseph Myers <joseph@codesourcery.com>
43122
43123 [BZ #13942]
43124 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
43125 (1 - x) * (1 + x).
43126 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
43127 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
43128 * math/libm-test.inc (acos_test): Add more tests.
43129 (asin_test): Likewise.
43130 * sysdeps/i386/fpu/libm-test-ulps: Update.
43131 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43132
43133 [BZ #14034]
43134 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
43135 of square root.
43136 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
43137 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
43138 * math/libm-test.inc (acos_test_tonearest): New function.
43139 (acos_test_towardzero): Likewise.
43140 (acos_test_downward): Likewise.
43141 (acos_test_upward): Likewise.
43142 (asin_test_tonearest): Likewise.
43143 (asin_test_towardzero): Likewise.
43144 (asin_test_downward): Likewise.
43145 (asin_test_upward): Likewise.
43146 (main): Call the new functions.
43147 * sysdeps/i386/fpu/libm-test-ulps: Update.
43148 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
43149
43150 [BZ #13884]
43151 [BZ #13924]
43152 * math/e_exp10.c: Include <float.h>.
43153 (__ieee754_exp10): Handle underflow here rather than multiplying
43154 large negative argument by M_LN10.
43155 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
43156 of __ieee754_expf.
43157 * math/e_exp10l.c: Include <float.h>.
43158 (__ieee754_exp10l): Handle underflow here rather than multiplying
43159 large negative argument by M_LN10l.
43160 * math/libm-test.inc (exp10_test): Add another test. Do not allow
43161 spurious overflow exception on underflow.
43162
43163 2012-04-29 Marek Polacek <polacek@redhat.com>
43164
43165 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
43166 (__fortify_function): New macro.
43167 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
43168 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
43169 __extern_always_inline.
43170 * libio/bits/stdio2.h: Likewise.
43171 * libio/bits/stdio.h: Likewise.
43172 * string/string.h: Likewise.
43173 * string/bits/string3.h: Likewise.
43174 * include/stdio.h: Likewise.
43175 * stdlib/bits/stdlib.h: Likewise.
43176 * stdlib/stdlib.h: Likewise.
43177 * rt/bits/mqueue2.h: Likewise.
43178 * rt/mqueue.h: Likewise.
43179 * posix/bits/unistd.h: Likewise.
43180 * posix/unistd.h: Likewise.
43181 * io/bits/poll2.h: Likewise.
43182 * io/bits/fcntl2.h: Likewise.
43183 * io/fcntl.h: Likewise.
43184 * io/sys/poll.h: Likewise.
43185 * misc/bits/syslog.h: Likewise.
43186 * misc/bits/syslog-ldbl.h: Likewise.
43187 * misc/sys/syslog.h: Likewise.
43188 * socket/bits/socket2.h: Likewise.
43189 * socket/sys/socket.h: Likewise.
43190 * debug/tst-chk1.c: Likewise.
43191 * wcsmbs/bits/wchar2.h: Likewise.
43192 * wcsmbs/bits/wchar-ldbl.h: Likewise.
43193 * wcsmbs/wchar.h: Likewise.
43194
43195 2012-04-29 Andreas Jaeger <aj@suse.de>
43196
43197 * Makerules (tests): Remove enable-check-abi protection.
43198 (check-abi-warn): Remove.
43199 (check-abi-%): Remove check-abi-warn usage.
43200
43201 * configure.in: Remove check-abi configure option.
43202 * configure: Regenerated.
43203 * config.make.in (enable-check-abi): Remove.
43204
43205 2012-04-28 Andreas Schwab <schwab@linux-m68k.org>
43206
43207 [BZ #14033]
43208 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
43209 double functions to double *_finite functions.
43210
43211 [BZ #13941]
43212 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
43213 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
43214 LDBL_MIN_EXP.
43215 * stdio-common/Makefile (tests): Add tst-sprintf3.
43216 * stdio-common/tst-sprintf3.c: New file.
43217
43218 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
43219 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
43220
43221 2012-04-28 Joseph Myers <joseph@codesourcery.com>
43222
43223 * conform/conformtest.pl: Remove duplicate typed-constant
43224 handling.
43225
43226 2012-04-28 David S. Miller <davem@davemloft.net>
43227
43228 * Makerules (%.abilist): Add vpath on sysdep_dirs.
43229 (check-abi-%): Remove AWK script prerequisite and explicit
43230 abilist directory.
43231 (check-abi): Rewrite to just diff the symlist with the abilist.
43232 (config-tls, config-abi-config): Delete, no longer used.
43233 (update-abi-%): Remove AWK script and explicit abilist directory.
43234 (update-abi): Rewrite to simply compare and conditionally copy the
43235 symlist and the sysdep abilist file. Remove update-abi-config
43236 checks.
43237 * abilist/ld.abilist: Remove.
43238 * abilist/libBrokenLocale.abilist: Remove.
43239 * abilist/libanl.abilist: Remove.
43240 * abilist/libcrypt.abilist: Remove.
43241 * abilist/libdl.abilist: Remove.
43242 * abilist/librt.abilist: Remove.
43243 * abilist/libthread_db.abilist: Remove.
43244 * abilist/libutil.abilist: Remove.
43245 * scripts/extract-abilist.awk: Remove.
43246 * scripts/merge-abilist.awk: Remove.
43247 * sysdeps/generic/libcidn.abilist: New file.
43248 * sysdeps/generic/libnss_compat.abilist: New file.
43249 * sysdeps/generic/libnss_db.abilist: New file.
43250 * sysdeps/generic/libnss_dns.abilist: New file.
43251 * sysdeps/generic/libnss_files.abilist: New file.
43252 * sysdeps/generic/libnss_hesiod.abilist: New file.
43253 * sysdeps/generic/libnss_nis.abilist: New file.
43254 * sysdeps/generic/libnss_nisplus.abilist: New file.
43255 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
43256 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
43257 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
43258 file.
43259 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
43260 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
43261 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
43262 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
43263 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
43264 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
43265 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
43266 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
43267 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
43268 file.
43269 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
43270 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
43271 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
43272 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
43273 file.
43274 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
43275 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
43276 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
43277 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
43278 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
43279 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
43280 file.
43281 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
43282 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
43283 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
43284 file.
43285 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
43286 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
43287 New file.
43288 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
43289 New file.
43290 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
43291 New file.
43292 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
43293 New file.
43294 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
43295 New file.
43296 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
43297 New file.
43298 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
43299 New file.
43300 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
43301 New file.
43302 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
43303 New file.
43304 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
43305 New file.
43306 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
43307 New file.
43308 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
43309 New file.
43310 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
43311 New file.
43312 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
43313 file.
43314 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
43315 New file.
43316 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
43317 New file.
43318 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
43319 file.
43320 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
43321 New file.
43322 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
43323 New file.
43324 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
43325 file.
43326 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
43327 New file.
43328 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
43329 New file.
43330 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
43331 New file.
43332 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
43333 New file.
43334 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
43335 New file.
43336 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
43337 New file.
43338 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
43339 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
43340 file.
43341 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
43342 New file.
43343 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
43344 file.
43345 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
43346 file.
43347 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
43348 file.
43349 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
43350 file.
43351 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
43352 file.
43353 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
43354 New file.
43355 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
43356 file.
43357 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
43358 file.
43359 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
43360 New file.
43361 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
43362 file.
43363 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
43364 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
43365 file.
43366 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
43367 New file.
43368 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
43369 file.
43370 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
43371 file.
43372 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
43373 file.
43374 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
43375 file.
43376 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
43377 file.
43378 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
43379 New file.
43380 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
43381 file.
43382 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
43383 file.
43384 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
43385 New file.
43386 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
43387 file.
43388 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
43389 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
43390 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
43391 file.
43392 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
43393 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
43394 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
43395 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
43396 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
43397 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
43398 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
43399 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
43400 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
43401 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
43402 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
43403 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
43404 file.
43405 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
43406 New file.
43407 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
43408 file.
43409 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
43410 file.
43411 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
43412 file.
43413 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
43414 file.
43415 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
43416 file.
43417 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
43418 New file.
43419 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
43420 New file.
43421 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
43422 file.
43423 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
43424 New file.
43425 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
43426 file.
43427 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
43428 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
43429 file.
43430 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
43431 New file.
43432 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
43433 file.
43434 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
43435 file.
43436 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
43437 file.
43438 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
43439 file.
43440 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
43441 file.
43442 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
43443 New file.
43444 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
43445 New file.
43446 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
43447 file.
43448 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
43449 New file.
43450 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
43451 file.
43452
43453 2012-04-28 Joseph Myers <joseph@codesourcery.com>
43454
43455 * conform/conformtest.pl: Fix typo in handling typed-constant from
43456 allow-header.
43457
43458 2012-04-27 Joseph Myers <joseph@codesourcery.com>
43459
43460 * README: Cut down references to pre-2.6 Linux kernels and
43461 Linuxthreads. Update lists of configurations in libc and ports
43462 and sort alphabetically. Say "or newer" with Linux kernel version
43463 requirements.
43464
43465 * config.h.in [IS_IN_build]: Allow compiling without optimization.
43466
43467 2012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
43468
43469 [BZ #887]
43470 * math/libm-test.inc (logb_test_downward): New test to expose
43471 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
43472 rounding mode.
43473
43474 2012-04-27 Joseph Myers <joseph@codesourcery.com>
43475
43476 [BZ #14027]
43477 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
43478 to be done.
43479 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
43480 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
43481
43482 2012-04-26 Joseph Myers <joseph@codesourcery.com>
43483
43484 * sysdeps/unix/i386/brk.S: Remove file.
43485 * sysdeps/unix/i386/dl-brk.S: Likewise.
43486 * sysdeps/unix/i386/pipe.S: Likewise.
43487 * sysdeps/unix/i386/sigreturn.S: Likewise.
43488 * sysdeps/unix/i386/syscall.S: Likewise.
43489 * sysdeps/unix/i386/vfork.S: Likewise.
43490 * sysdeps/unix/i386/wait.S: Likewise.
43491
43492 * sysdeps/unix/common/tcsendbrk.c: Move to ...
43493 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
43494
43495 * configure.in (arm*-none*): Do not allow without
43496 --enable-hacker-mode.
43497 (netbsd*): Remove case setting base_os.
43498 (386bsd*): Likewise.
43499 (freebsd*): Likewise.
43500 (bsdi*): Likewise.
43501 (osf*): Likewise.
43502 (sunos*): Likewise.
43503 (ultrix*): Likewise.
43504 (newsos*): Likewise.
43505 (dynix*): Likewise.
43506 (*bsd*): Likewise.
43507 (sysv*): Likewise.
43508 (isc*): Likewise.
43509 (esix*): Likewise.
43510 (sco*): Likewise.
43511 (minix*): Likewise.
43512 (irix4*): Likewise.
43513 (irix6*): Likewise.
43514 (solaris[2-9]*): Likewise.
43515 (none): Likewise.
43516 * configure: Regenerated.
43517
43518 2012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
43519
43520 [BZ #11521]
43521 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
43522 overflow or cancellation in calculating denominator.
43523 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
43524 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
43525 down expression to avoid unexpected rounding in newer GCCs.
43526 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
43527
43528 2012-04-26 David S. Miller <davem@davemloft.net>
43529
43530 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
43531 long-double compat symbols.
43532 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
43533 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
43534 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
43535 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
43536 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
43537 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
43538 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
43539 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
43540 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
43541 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
43542 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
43543 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
43544 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
43545
43546 2012-04-25 David S. Miller <davem@davemloft.net>
43547
43548 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
43549 HWCAP_* values only after the memory barriers have been defined.
43550 (atomic_full_barrier): Define.
43551 (atomic_read_barrier): Define.
43552 (atomic_write_barrier): Define.
43553
43554 2012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
43555
43556 * shlib-versions: Add libgcc_s version information.
43557 * sysdeps/generic/libgcc_s.h: Remove.
43558 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
43559 libgcc_s.h.
43560 * sysdeps/gnu/unwind-resume.c: Likewise.
43561 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
43562
43563 2012-04-25 David S. Miller <davem@davemloft.net>
43564
43565 * sysdeps/unix/sparc/brk.S: Delete.
43566 * sysdeps/unix/sparc/dl-brk.S: Delete.
43567 * sysdeps/unix/sparc/pipe.S: Delete.
43568 * sysdeps/unix/sparc/sysdep.S: Delete.
43569 * sysdeps/unix/sparc/sysdep.h: Delete.
43570 * sysdeps/unix/sparc/vfork.S: Delete.
43571 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
43572 (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
43573 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
43574 (ret_ERRVAL, r0, r1, MOVE): Define.
43575 (JUMPTARGET): Remove.
43576 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
43577 sysdeps/unix/sparc/sysdep.h
43578 (ENTRY, END): Remove.
43579 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
43580
43581 2012-04-25 Joseph Myers <joseph@codesourcery.com>
43582
43583 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
43584 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
43585 -DIS_IN_build.
43586
43587 * timezone/README: Update upstream location and email address for
43588 tzcode and tzdata.
43589 * timezone/zdump.c: Update from tzcode 2012b.
43590 * timezone/zic.c: Likewise.
43591
43592 * configure.in (libc_cv_as_needed): Remove test.
43593 * configure: Regenerated.
43594 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
43595 conditional definition.
43596 [$(have-as-needed) != yes] (no-as-needed): Likewise.
43597 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
43598 * config.make.in (have-as-needed): Remove variable.
43599
43600 2012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
43601 Paul Pluzhnikov <ppluzhnikov@google.com>
43602
43603 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
43604 strings correctly.
43605
43606 2012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
43607
43608 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
43609 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
43610 * sysdeps/sh/strlen.S: Likewise.
43611
43612 2012-04-24 Joseph Myers <joseph@codesourcery.com>
43613
43614 * sysdeps/unix/fork.S: Remove file.
43615 * sysdeps/unix/i386/fork.S: Likewise.
43616 * sysdeps/unix/sparc/fork.S: Likewise.
43617
43618 * sysdeps/unix/system.c: Remove file.
43619 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
43620
43621 * sysdeps/unix/getegid.S: Remove file.
43622 * sysdeps/unix/geteuid.S: Likewise.
43623
43624 2012-04-24 Roland McGrath <roland@hack.frob.com>
43625
43626 * scripts/check-localplt.awk: New file.
43627 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
43628 of diff.
43629 * scripts/data/localplt-generic.data: Add a comment.
43630
43631 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
43632 NODE when __dir_mkfile failed.
43633 * sysdeps/mach/hurd/symlinkat.c: Likewise.
43634 Reported by Ludovic Courtès <ludo@gnu.org>.
43635
43636 2012-04-24 Andreas Jaeger <aj@suse.de>
43637
43638 * Makerules (common-clean): Also remove gen-as-const-headers
43639 files.
43640
43641 2012-04-24 Joseph Myers <joseph@codesourcery.com>
43642
43643 * Makerules (native-compile): Do not change working directory for
43644 build. Use $(OUTPUT_OPTION) in command.
43645 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
43646
43647 2012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
43648
43649 [BZ #13886]
43650 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
43651 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
43652 * math/libm-test.inc (floor_test): Add more tests.
43653 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
43654
43655 2012-04-24 Joseph Myers <joseph@codesourcery.com>
43656
43657 * sysdeps/unix/getdents.c: Remove file.
43658 * sysdeps/unix/sysv/getdents.c: Likewise.
43659 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
43660
43661 * sysdeps/unix/syscalls.list (madvise): Add syscall from
43662 sysdeps/unix/mman/syscalls.list.
43663 (mmap): Likewise.
43664 (mprotect): Likewise.
43665 (msync): Likewise.
43666 (munmap): Likewise.
43667 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
43668 * sysdeps/unix/mman/syscalls.list: Remove.
43669 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
43670
43671 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
43672 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
43673 * configure: Regenerated.
43674 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
43675 $(libgcc_s_suffix).
43676 * config.make.in (libgcc_s_suffix): Remove variable.
43677
43678 2012-04-23 Joseph Myers <joseph@codesourcery.com>
43679
43680 * sysdeps/unix/sysv/gethostname.c: Move to ...
43681 * sysdeps/posix/gethostname.c: ... here.
43682
43683 * sysdeps/unix/execve.S: Remove file.
43684
43685 * sysdeps/unix/_exit.S: Remove file.
43686
43687 2012-04-23 Andreas Jaeger <aj@suse.de>
43688
43689 [BZ #13739]
43690 * manual/Makefile: Remove make dist support, there's no
43691 need for a stand-alone documentation tar ball.
43692 (TEXI2DVI): Define always, it's not in Makeconfig.
43693 (dist): Removed.
43694 (tar-it): Removed.
43695 (edition): Removed.
43696 (glibc-doc-$(edition).tar): Removed
43697 (%.Z): Removed.
43698 (%.gz): Removed.
43699 (%.uu): Removed.
43700 (ETAGS): Remove, it's in Makeconfig.
43701 (move-if-change): Remove, it's in Makeconfig.
43702
43703 2012-04-23 Paul Eggert <eggert@cs.ucla.edu>
43704
43705 [BZ #13970]
43706 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
43707 (strtod, strtof, strtold, strtol, strtoul, strtoq)
43708 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
43709 (strtod_l, strtof_l, strtold_l): Remove __wur.
43710 It is not necessarily an error to ignore strtol's return value.
43711 One can reliably look at the stored endptr to decide whether
43712 the number had valid syntax.
43713
43714 2012-04-21 Andreas Jaeger <aj@suse.de>
43715
43716 [BZ #13739]
43717 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
43718
43719 2012-04-21 Joseph Myers <joseph@codesourcery.com>
43720
43721 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
43722 * sysdeps/unix/sysv/Versions: Remove file.
43723
43724 2012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
43725
43726 [BZ #13927]
43727 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
43728
43729 2012-04-21 Nick Alcock <nick.alcock@oracle.com>
43730
43731 [BZ #7064]
43732 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
43733 version from __vm86.
43734
43735 2012-04-20 Joseph Myers <joseph@codesourcery.com>
43736
43737 * sysdeps/unix/common/lxstat.c: Remove file.
43738 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
43739
43740 * sysdeps/unix/sysv/Makefile: Remove file.
43741
43742 * sysdeps/unix/sysv/direct.h: Remove file.
43743
43744 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
43745 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
43746 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
43747 * sysdeps/unix/sysv/bits/signum.h: Likewise.
43748 * sysdeps/unix/sysv/bits/stat.h: Likewise.
43749 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
43750 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
43751
43752 * sysdeps/unix/sysv/setrlimit.c: Remove file.
43753
43754 * sysdeps/unix/xmknod.c: Remove file.
43755 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
43756
43757 * sysdeps/unix/sysv/settimeofday.c: Remove file.
43758
43759 * sysdeps/unix/sysv/i386/time.S: Remove file.
43760
43761 * sysdeps/unix/fxstat.c: Remove file.
43762 * sysdeps/unix/xstat.c: Likewise.
43763 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
43764
43765 * sysdeps/unix/sysv/sigaction.c: Remove file.
43766
43767 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
43768 (sysdep_headers): Remove variable.
43769 [termio.h not in sysdep_headers] (generated): Likewise.
43770 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
43771 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
43772 * sysdeps/unix/sysv/tcdrain.c: Likewise.
43773 * sysdeps/unix/sysv/tcflow.c: Likewise.
43774 * sysdeps/unix/sysv/tcflush.c: Likewise.
43775 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
43776 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
43777 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
43778 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
43779 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
43780
43781 * sysdeps/unix/siglist.c: Remove file.
43782
43783 * sysdeps/unix/getppid.S: Remove file.
43784
43785 * sysdeps/unix/mkdir.c: Remove file.
43786 * sysdeps/unix/rmdir.c: Likewise.
43787
43788 2012-04-19 Andreas Schwab <schwab@linux-m68k.org>
43789
43790 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
43791 ERR_MAX value.
43792 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
43793 errlist-compat value.
43794
43795 2012-04-18 David S. Miller <davem@davemloft.net>
43796
43797 * sysdeps/generic/memcopy.h (reg_char): Delete.
43798 * debug/strcat_chk.c: Use char, not reg_char.
43799 * debug/strcpy_chk.c: Likewise.
43800 * debug/strncat_chk.c: Likewise.
43801 * debug/strncpy_chk.c: Likewise.
43802 * string/memchr.c: Likewise.
43803 * string/memrchr.c: Likewise.
43804 * string/rawmemchr.c: Likewise.
43805 * string/strcat.c: Likewise.
43806 * string/strchr.c: Likewise.
43807 * string/strchrnul.c: Likewise.
43808 * string/strcmp.c: Likewise.
43809 * string/strcpy.c: Likewise.
43810 * string/strncat.c: Likewise.
43811 * string/strncmp.c: Likewise.
43812 * string/strncpy.c: Likewise.
43813
43814 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
43815
43816 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
43817 __builtin_memcopy is called when src and dest ranges are known to not
43818 overlap.
43819
43820 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
43821
43822 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
43823 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
43824 fwd_align_merge macro call.
43825 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
43826 bwd_align_merge macro call.
43827 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
43828
43829 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
43830
43831 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
43832 bwd_align_merge macros.
43833 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
43834 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
43835 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
43836
43837 2012-04-18 David S. Miller <davem@davemloft.net>
43838
43839 * sysdeps/sparc/sparc64/memcopy.h: Delete.
43840
43841 2012-04-18 Andreas Jaeger <aj@suse.de>
43842
43843 [BZ# 6794]
43844 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
43845 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
43846 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
43847
43848 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
43849 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
43850 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
43851
43852 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
43853 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
43854 Adjust for changed ldbl-128 files.
43855
43856 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
43857 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
43858 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
43859
43860 2012-04-17 David S. Miller <davem@davemloft.net>
43861
43862 * sysdeps/sparc/sparc32/memcopy.h: Delete.
43863
43864 2012-04-17 Andreas Schwab <schwab@linux-m68k.org>
43865
43866 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
43867 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
43868 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
43869 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
43870 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
43871 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
43872
43873 2012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
43874
43875 [BZ #6794]
43876 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
43877 * math/libm-test.inc: Add ilogb errno and exception tests.
43878 * math/w_ilogb.c: New file: ilogb wrapper.
43879 * math/w_ilogbf.c: New file: ilogbf wrapper.
43880 * math/w_ilogbl.c: New file: ilogbl wrapper.
43881 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
43882 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
43883 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
43884 exception being thrown with 0.0 as argument.
43885 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
43886 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
43887 exception being thrown with 0.0 as argument.
43888 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
43889 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
43890 exception being thrown with 0.0 as argument.
43891 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
43892 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
43893 exception being thrown with 0.0 as argument.
43894 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
43895 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
43896 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
43897 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
43898 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
43899 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
43900 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
43901 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
43902 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
43903
43904 2012-04-17 Petr Baudis <pasky@ucw.cz>
43905
43906 * include/sys/uio.h: Change __vector to __iovec to avoid clash
43907 with altivec.
43908
43909 2012-04-16 Marek Polacek <polacek@redhat.com>
43910
43911 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
43912
43913 2012-04-16 Marek Polacek <polacek@redhat.com>
43914
43915 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
43916 operands of fdivp instruction.
43917
43918 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
43919
43920 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
43921 * elf/tst-auditmod3b.c: Likewise.
43922 * elf/tst-auditmod4b.c: Likewise.
43923 * elf/tst-auditmod5b.c: Likewise.
43924 * elf/tst-auditmod6b.c: Likewise.
43925 * elf/tst-auditmod6c.c: Likewise.
43926 * elf/tst-auditmod7b.c: Likewise.
43927 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
43928 * sysdeps/x86_64/preconfigure.in: Likewise.
43929 * sysdeps/x86_64/preconfigure: Regenerated.
43930
43931 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
43932
43933 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
43934 __ILP32__.
43935
43936 2012-04-13 Antoine Balestrat <merkil33@gmail.com>
43937
43938 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
43939 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
43940
43941 2012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
43942
43943 [BZ #13973]
43944 * locale/iso-639.def: Fix gl language name. Spotted by
43945 Yaron Shahrabani.
43946
43947 2012-04-12 Roland McGrath <roland@hack.frob.com>
43948
43949 [BZ #2074]
43950 * libio/libio.h (__io_write_fn): Update comment.
43951
43952 2012-04-12 Petr Baudis <pasky@ucw.cz>
43953
43954 [BZ #2074]
43955 * stdio.texi (Hook Functions): The user provided writer function
43956 is not allowed to return -1.
43957
43958 2012-04-11 David S. Miller <davem@davemloft.net>
43959
43960 * sysdeps/sparc/fpu/libm-test-ulps: Update.
43961
43962 2012-04-11 Mike Frysinger <vapier@gentoo.org>
43963
43964 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
43965 Add a leading slash to rtkaio.
43966
43967 2012-04-11 Jim Meyering <meyering@redhat.com>
43968
43969 [BZ #11959]
43970 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
43971 It is not necessarily an error to ignore fwrite's return
43972 value. One can reliably use ferror to test for errors after
43973 the fact.
43974
43975 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
43976
43977 * bits/types.h (__snseconds_t): New type.
43978 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
43979
43980 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
43981 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
43982 (__SNSECONDS_T_TYPE): Likewise.
43983 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
43984 (__SNSECONDS_T_TYPE): Likewise.
43985 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
43986 (__SNSECONDS_T_TYPE): Likewise.
43987
43988 2012-04-10 Andreas Jaeger <aj@suse.de>
43989
43990 [BZ #2636]
43991 * manual/time.texi (Processor Time): Return type of times is
43992 elapsed real time since an arbitrary point in the past.
43993 (CPU Time): Move CLK_TCK from here...
43994 (Processor Time): ...to here. Correct description.
43995 * manual/conf.texi (Constants for Sysconf): Correct description of
43996 _SC_CLK_TCK.
43997
43998 2012-04-10 David S. Miller <davem@davemloft.net>
43999
44000 [BZ #13967]
44001 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
44002 where the is a gap between DT_REL(A) and DT_JMPREL.
44003
44004 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
44005
44006 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
44007 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
44008 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
44009
44010 2012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
44011
44012 * elf/dl-support.c (_dl_inhibit_cache): New variable.
44013 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
44014 (dl_main): Handle --inhibit-cache.
44015 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
44016 _dl_inhibit_cache.
44017 * elf/dl-load.c (_dl_map_object): Use it.
44018 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
44019
44020 2012-04-09 Joseph Myers <joseph@codesourcery.com>
44021
44022 [BZ #13872]
44023 * sysdeps/i386/fpu/e_powl.S (p78): New object.
44024 (__ieee754_powl): Saturate large exponents rather than testing for
44025 overflow of y*log2(x).
44026 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
44027 * math/libm-test.inc (pow_test): Do not permit spurious overflow
44028 exceptions.
44029
44030 [BZ #11521]
44031 * math/s_ctan.c: Include <float.h>.
44032 (__ctan): Avoid internal overflow or cancellation in calculating
44033 denominator.
44034 * math/s_ctanf.c: Likewise.
44035 * math/s_ctanl.c: Likewise.
44036 * math/s_ctanh.c: Likewise.
44037 * math/s_ctanhf.c: Likewise.
44038 * math/s_ctanhl.c: Likewise.
44039 * math/libm-test.inc (ctan_test): Add more tests.
44040 (ctanh_test): Likewise.
44041 * sysdeps/i386/fpu/libm-test-ulps: Update.
44042 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44043
44044 2012-04-09 Andreas Jaeger <aj@suse.de>
44045
44046 [BZ #6894]
44047 * manual/filesys.texi (Directory Entries): Mention that d_namlen
44048 is an optional BSD extension.
44049
44050 [BZ #10254]
44051 * manual/stdio.texi (Opening Streams): Document additional fopen
44052 parameters.
44053
44054 2012-04-09 Roland McGrath <roland@hack.frob.com>
44055
44056 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
44057 %eax without telling the compiler.
44058
44059 2012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
44060
44061 [BZ # 13963]
44062 * manual/install.texi: Use sourceware.org.
44063
44064 2012-04-09 Joseph Myers <joseph@codesourcery.com>
44065
44066 [BZ #13873]
44067 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
44068 (__ieee754_pow): Generate overflow and underflow using huge*huge
44069 and tiny*tiny rather than just returning constant infinity or zero
44070 for large exponents.
44071 * math/libm-test.inc (pow_test): Require overflow exceptions for
44072 applicable cases of large exponents.
44073
44074 [BZ #706]
44075 * sysdeps/i386/fpu/e_pow.S (p10): New object.
44076 (__ieee754_pow): Use iterative multiplication algorithm only for
44077 integer exponents with absolute value below 1024. Check for odd
44078 integer exponents when using algorithm for real exponents.
44079 * math/libm-test.inc (pow_test): Add more tests.
44080 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
44081
44082 2012-04-08 Joseph Myers <joseph@codesourcery.com>
44083
44084 [BZ #13705]
44085 * math/libm-test.inc (exp_test): Do not allow overflow exception
44086 on underflow test.
44087
44088 2012-04-08 Aurelien Jarno <aurelien@aurel32.net>
44089
44090 [BZ #13705]
44091 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
44092 instead of __kernel_standard_f.
44093
44094 2012-04-08 Mike Frysinger <vapier@gentoo.org>
44095
44096 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
44097 * sysdeps/x86_64/memset_chk.S: Likewise.
44098
44099 2012-04-08 Andreas Jaeger <aj@suse.de>
44100
44101 [BZ #10153]
44102 * manual/startup.texi (Environment Access): Describe return value
44103 for putenv and setenv.
44104
44105 [BZ #6895]
44106 * manual/filesys.texi (Directory Entries): Add description for
44107 DT_LNK.
44108
44109 [BZ #6890]
44110 * manual/filesys.texi (Directory Entries): Clarify that it's file
44111 system not operating system in the description of DT_UNKNOWN.
44112
44113 [BZ #6578]
44114 * manual/syslog.texi (closelog): Fix reference, it's openlog.
44115
44116 2012-04-08 Stephen Compall <s11@member.fsf.org>
44117
44118 [BZ #6649]
44119 * manual/llio.texi (Opening and Closing Files): Add cross
44120 reference to explain mode argument.
44121
44122 2012-04-07 Mike Frysinger <vapier@gentoo.org>
44123
44124 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
44125 * sysdeps/x86_64/memset_chk.S: Likewise.
44126
44127 2012-04-07 David S. Miller <davem@davemloft.net>
44128
44129 * elf/elf.h (R_SPARC_WDISP10): Define.
44130 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
44131 R_SPARC_SIZE32.
44132 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
44133 R_SPARC_SIZE64 and R_SPARC_H34.
44134
44135 2012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
44136
44137 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
44138 conditions and remove no longer applicable assertion.
44139
44140 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
44141
44142 * bits/byteswap.h: Include <features.h>.
44143 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
44144 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
44145
44146 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
44147
44148 * bits/byteswap.h (__bswap_16): Removed.
44149 Include <bits/byteswap-16.h> to get __bswap_16.
44150 * sysdeps/i386/bits/byteswap.h: Likewise.
44151 * sysdeps/s390/bits/byteswap.h: Likewise.
44152 * sysdeps/x86_64/bits/byteswap.h: Likewise.
44153 * bits/byteswap-16.h: New file.
44154 * sysdeps/i386/bits/byteswap-16.h: Likewise.
44155 * sysdeps/s390/bits/byteswap-16.h: Likewise.
44156 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
44157 * string/Makefile (headers): Add bits/byteswap-16.h.
44158
44159 2012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
44160
44161 [BZ #13895]
44162 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
44163 extra indirection.
44164 * nss/Makefile (tests-static, tests): Add tst-nss-static.
44165 * nss/tst-nss-static.c: New.
44166
44167 2012-04-06 Robert Millan <rmh@gnu.org>
44168
44169 [BZ #6486]
44170 * manual/llio.texi (File Position Primitive): lseek
44171 refers to WHENCE when it really means OFFSET.
44172
44173 2012-04-06 Andreas Jaeger <aj@suse.de>
44174
44175 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
44176 strncmp declarations.
44177
44178 * abilist/libc.abilist: Add __poll and __ppoll.
44179
44180 2012-04-05 David S. Miller <davem@davemloft.net>
44181
44182 * scripts/check-local-headers.sh: Accept a host triplet in the
44183 path matched by the exclude regexp.
44184
44185 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
44186 definition.
44187 * sysdeps/powerpc/powerpc32/dl-machine.h
44188 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
44189 * sysdeps/s390/s390-32/dl-machine.h
44190 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
44191 * sysdeps/sparc/sparc32/dl-machine.h
44192 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
44193 * sysdeps/sparc/sparc64/dl-machine.h
44194 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
44195
44196 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
44197 lazy binding.
44198 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
44199 undefined symbol errors.
44200
44201 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
44202 DT_NEEDED entries.
44203
44204 2012-04-05 Michael Matz <matz@suse.de>
44205
44206 [BZ #13592]
44207 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
44208
44209 2012-04-05 Andreas Jaeger <aj@suse.de>
44210
44211 [BZ #13908]
44212 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
44213 comment.
44214
44215 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
44216
44217 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
44218 which ROUND is no valid rounding mode.
44219
44220 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
44221
44222 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
44223 read again.
44224 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
44225
44226 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
44227
44228 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
44229 an exception using FPU order intentionally.
44230
44231 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
44232
44233 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
44234 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
44235 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
44236 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
44237
44238 2012-04-05 Simon Josefsson <simon@josefsson.org>
44239
44240 [BZ #12340]
44241 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
44242 EINVAL when BUFLEN is too smal.
44243
44244 2012-04-05 Thomas Schwinge <thomas@codesourcery.com>
44245
44246 [BZ #13553]
44247 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
44248 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
44249
44250 2012-04-03 Andreas Jaeger <aj@suse.de>
44251
44252 [BZ #13938]
44253 * manual/setjmp.texi (System V contexts): Fix sentence.
44254
44255 [BZ #13926]
44256 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
44257 New macro for this case.
44258 [!__GNUC__] (__bswap_64): New inline function for this case.
44259 * sysdeps/x86_64/bits/byteswap.h: Likewise.
44260 * bits/byteswap.h: Likewise.
44261 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
44262 ull, guard with __GLIBC_HAVE_LONG_LONG.
44263
44264 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
44265 __GLIBC_HAVE_LONG_LONG.
44266
44267 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
44268 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
44269
44270 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
44271
44272 [BZ #13691]
44273 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
44274 inptr and inend, rather than using last_ch.
44275
44276 2012-04-02 David S. Miller <davem@davemloft.net>
44277
44278 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
44279 * stdio-common/printf-parse.h (read_int): Change return type to
44280 'int', return -1 on INT_MAX overflow.
44281 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
44282 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
44283 overflows INT_MAX. Check for overflow of in-format-string precision
44284 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
44285 SIZE_MAX not INT_MAX for integer overflow test.
44286 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
44287 skip the construct in the format string but do not record anything.
44288 * stdio-common/bug22.c: Adjust to test both width/prevision
44289 INT_MAX overflow as well as total length INT_MAX overflow. Check
44290 explicitly for proper errno values.
44291
44292 2012-04-02 Thomas Schwinge <thomas@codesourcery.com>
44293
44294 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
44295 CHAR_MAX.
44296 * string/test-strcmp.c [! WIDE]: Likewise.
44297 * time/tst-mktime2.c: Likewise for INT_MAX.
44298 * string/test-string.h: #include <sys/param.h> for MIN.
44299
44300 * csu/init-first.c (__libc_init_first): Call __ctype_init.
44301 * sysdeps/i386/init-first.c (init): Likewise.
44302 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
44303 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
44304 * sysdeps/sh/init-first.c (init): Likewise.
44305
44306 2012-04-01 Ulrich Drepper <drepper@gmail.com>
44307
44308 * po/ru.po: Update from translation team.
44309 * po/vi.po: Likewise.
44310
44311 2012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
44312
44313 * resolv/nss_dns/dns-host.c: Merge copyright years.
44314
44315 2012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
44316
44317 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
44318 Optimize memcpy with prefetch if
44319 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
44320 src, dst pointers have unequal 16 byte alignments.
44321
44322 2012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
44323
44324 [BZ #13928]
44325 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
44326 from a CNAME entry and return the minimum ttl for the query.
44327 (gaih_getanswer_slice): Likewise.
44328
44329 2012-03-30 Jeff Law <law@redhat.com>
44330
44331 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
44332 due to long keys.
44333 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
44334 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
44335
44336 * resolv/nss_dns/dns-host.c: Update copyright year.
44337
44338 2012-03-30 Ulrich Drepper <drepper@gmail.com>
44339
44340 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
44341 requests to save a system call. Fix check that all bytes are sent.
44342
44343 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
44344 comments for sendmmsg.
44345
44346 2012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
44347
44348 [BZ #13691]
44349 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
44350 with only 1 character between 0x0041 and 0x01b0.
44351 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
44352 * wcsmbs/tst-mbsnrtowcs.c: New file.
44353
44354 2012-03-29 David S. Miller <davem@davemloft.net>
44355
44356 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
44357 small copies by hand.
44358
44359 2012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
44360
44361 [BZ #13761]
44362 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
44363 (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
44364 group memberships.
44365
44366 2012-03-28 David S. Miller <davem@davemloft.net>
44367
44368 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
44369 that branches into memcpy.
44370 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
44371 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
44372 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
44373 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
44374 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
44375 bits.
44376 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
44377 implementation too.
44378 * sysdeps/sparc/mempcpy.S: New file.
44379
44380 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
44381 the IFUNC routine in the libc case.
44382 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
44383
44384 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
44385 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
44386 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
44387 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
44388 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
44389 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
44390 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
44391 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
44392
44393 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
44394 loop to 256 bytes instead of 64 bytes and fix test signedness.
44395
44396 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
44397 * sysdeps/sparc/sparc32/Makefile: rather than here...
44398 * sysdeps/sparc/sparc64/Makefile: and here.
44399
44400 2012-03-28 Ulrich Drepper <drepper@gmail.com>
44401
44402 * malloc/mallocbug.c: Avoid warnings about unused variables.
44403
44404 2012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
44405
44406 [BZ #13760]
44407 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
44408 in the right place. Discard and retry query if response is
44409 larger than input buffer size.
44410
44411 2012-03-28 Joseph Myers <joseph@codesourcery.com>
44412
44413 [BZ #369]
44414 [BZ #2678]
44415 [BZ #3866]
44416 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
44417 x for large integer exponent.
44418 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
44419 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
44420 sign of result as needed afterwards.
44421 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
44422 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
44423 result for underflowing pow the same as for overflow.
44424 (__kernel_standard_l): Handle powl overflow and underflow here
44425 rather than calling __kernel_standard.
44426 * math/libm-test.inc (pow_test): Add more tests.
44427
44428 [BZ #3868]
44429 [BZ #13879]
44430 [BZ #13910]
44431 [BZ #13911]
44432 [BZ #13912]
44433 [BZ #13913]
44434 [BZ #13915]
44435 [BZ #13916]
44436 [BZ #13917]
44437 [BZ #13918]
44438 [BZ #13919]
44439 [BZ #13920]
44440 [BZ #13921]
44441 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
44442 * sysdeps/ieee754/k_standard.c: Include <float.h>.
44443 (__kernel_standard_l): New function.
44444 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
44445 __kernel_standard.
44446 * math/w_acosl.c (__acosl): Likewise.
44447 * math/w_asinl.c (__asinl): Likewise.
44448 * math/w_atan2l.c (__atan2l): Likewise.
44449 * math/w_atanhl.c (__atanhl): Likewise.
44450 * math/w_coshl.c (__coshl): Likewise.
44451 * math/w_exp10l.c (__exp10l): Likewise.
44452 * math/w_exp2l.c (__exp2l): Likewise.
44453 * math/w_fmodl.c (__fmodl): Likewise.
44454 * math/w_hypotl.c (__hypotl): Likewise.
44455 * math/w_j0l.c (__j0l, __y0l): Likewise.
44456 * math/w_j1l.c (__j1l, __y1l): Likewise.
44457 * math/w_jnl.c (__jnl, __ynl): Likewise.
44458 * math/w_lgammal.c (__lgammal): Likewise.
44459 * math/w_log10l.c (__log10l): Likewise.
44460 * math/w_log2l.c (__log2l): Likewise.
44461 * math/w_logl.c (__logl): Likewise.
44462 * math/w_powl.c (__powl): Likewise.
44463 * math/w_remainderl.c (__remainderl): Likewise.
44464 * math/w_scalbl.c (sysv_scalbl): Likewise.
44465 * math/w_sinhl.c (__sinhl): Likewise.
44466 * math/w_sqrtl.c (__sqrtl): Likewise.
44467 * math/w_tgammal.c (__tgammal): Likewise.
44468 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
44469 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
44470 * math/libm-test.inc (acos_test): Add more tests.
44471 (acosh_test): Likewise.
44472 (asin_test): Likewise.
44473 (atanh_test): Likewise.
44474 (exp_test): Likewise.
44475 (exp10_test): Likewise.
44476 (exp2_test): Likewise.
44477 (expm1_test): Likewise.
44478 (lgamma_test): Likewise.
44479 (log_test): Likewise.
44480 (log10_test): Likewise.
44481 (log1p_test): Likewise.
44482 (log2_test): Likewise.
44483 (pow_test): Do not allow some spurious overflow exceptions.
44484 (sqrt_test): Add more tests.
44485 (tgamma_test): Likewise.
44486 (y0_test): Likewise.
44487 (y1_test): Likewise.
44488 (yn_test): Likewise.
44489
44490 2012-03-27 Anton Blanchard <anton@samba.org>
44491
44492 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
44493 MAP_HUGETLB.
44494 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
44495 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
44496 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
44497
44498 2012-03-27 David S. Miller <davem@davemloft.net>
44499
44500 * conform/Makefile: Run run-conformtest.sh using $(BASH).
44501
44502 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
44503 have-as-vis3 check.
44504
44505 2012-03-27 Andreas Jaeger <aj@suse.de>
44506
44507 * sysdeps/x86_64/elf/configure.in: Moved to ...
44508 * sysdeps/x86_64/configure.in: ... here.
44509 * sysdeps/x86_64/elf/start.S: Moved to ...
44510 * sysdeps/x86_64/start.S: ... here.
44511 * sysdeps/x86_64/elf/configure: Delete.
44512
44513 * sysdeps/x86_64/configure.in: Merge contents from
44514 sysdeps/i386/configure.in (without i686 check).
44515
44516 * sysdeps/i386/elf/Versions: Merge into ...
44517 * sysdeps/i386/Versions: ... this.
44518 * sysdeps/i386/elf/Versions: Delete file.
44519 * sysdeps/i386/elf/start.S: Moved to ...
44520 * sysdeps/i386/start.S: ...here.
44521 * sysdeps/i386/elf/configure.in: Merge into...
44522 * sysdeps/i386/configure.in: ...here.
44523 * sysdeps/i386/elf/configure.in: Delete file.
44524 * sysdeps/i386/elf/configure: Delete file.
44525
44526 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
44527 * debug/backtracesyms.c: ... here.
44528 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
44529 * debug/backtracesymsfd.c: ... here.
44530 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
44531 * sysdeps/generic/ifunc-sel.h: ... here.
44532
44533 * sysdeps/unix/i386/start.c: Delete file.
44534 * sysdeps/unix/sparc/start.c: Delete file.
44535 * sysdeps/unix/start.c: Delete file.
44536
44537 * sysdeps/sh/elf/configure.in: Moved to ...
44538 * sysdeps/sh/configure.in: ... here.
44539 * sysdeps/sh/elf/start.S: Moved to ...
44540 * sysdeps/sh/start.S: ... here.
44541 * sysdeps/sh/elf/configure: Delete file.
44542
44543 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
44544 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
44545 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
44546 * sysdeps/powerpc/powerpc64/entry.h: ... here.
44547 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
44548 * sysdeps/powerpc/powerpc64/start.S: here.
44549 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
44550 * sysdeps/powerpc/powerpc64/Makefile: ... this.
44551 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
44552 * sysdeps/powerpc/powerpc64/configure.in: ... this.
44553 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
44554
44555 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
44556 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
44557 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
44558 * sysdeps/powerpc/powerpc32/start.S: ... here.
44559 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
44560 * sysdeps/powerpc/powerpc32/configure.in: ... this.
44561 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
44562
44563 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
44564 * sysdeps/powerpc/ifunc-sel.h: ... here.
44565 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
44566 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
44567
44568 * sysdeps/sparc/elf/configure.in: Moved to ...
44569 * sysdeps/sparc/configure.in: ... here.
44570 * sysdeps/sparc/elf/configure: Delete file.
44571 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
44572 * sysdeps/sparc/sparc32/start.S: ... here.
44573 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
44574 * sysdeps/sparc/sparc64/start.S: ... here.
44575 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
44576 * sysdeps/sparc/sparc32/Makefile: ... this.
44577 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
44578 * sysdeps/sparc/sparc64/Makefile: ... this.
44579
44580 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
44581 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
44582 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
44583 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
44584 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
44585 * sysdeps/s390/s390-32/setjmp.S: ... here.
44586 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
44587 * sysdeps/s390/s390-32/configure.in: ... here.
44588 * sysdeps/s390/s390-32/elf/configure: Delete file.
44589 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
44590 * sysdeps/s390/s390-32/start.S: ... here.
44591
44592 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
44593 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
44594 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
44595 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
44596 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
44597 * sysdeps/s390/s390-64/setjmp.S: ... here.
44598 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
44599 * sysdeps/s390/s390-64/configure.in: ... here
44600 * sysdeps/s390/s390-64/elf/configure: Delete file.
44601 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
44602 * sysdeps/s390/s390-64/start.S: ... here.
44603 * sysdeps/s390/s390-64/elf/configure: Delete.
44604
44605 * configure.in: Remove support for elf directories in sysdeps.
44606
44607 * configure: Regenerated.
44608 * sysdeps/i386/configure: Regenerated.
44609 * sysdeps/powerpc/powerpc32/configure: Regenerated.
44610 * sysdeps/powerpc/powerpc64/configure: Regenerated.
44611 * sysdeps/s390/s390-32/configure: Regenerated.
44612 * sysdeps/s390/s390-64/configure: Regenerated.
44613 * sysdeps/sh/configure: Regenerated.
44614 * sysdeps/sparc/configure: Regenerated.
44615 * sysdeps/x86_64/configure: Regenerated.
44616
44617 2012-03-26 Andreas Schwab <schwab@linux-m68k.org>
44618
44619 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
44620
44621 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
44622 denormal result into account.
44623
44624 2012-03-25 Roland McGrath <roland@hack.frob.com>
44625
44626 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
44627 Reported by Allan McRae <allan@archlinux.org>.
44628
44629 2012-03-23 Jeff Law <law@redhat.com>
44630
44631 * nss/getnssent.c (__nss_getent): Fix typo.
44632
44633 2012-03-23 David S. Miller <davem@davemloft.net>
44634
44635 * sysdeps/sparc/fpu/libm-test-ulps: Update.
44636
44637 2012-03-23 H.J. Lu <hongjiu.lu@intel.com>
44638
44639 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
44640 to pad to uint64_t for each field.
44641 (dl_tls_index): Replace unsigned long with uint64_t.
44642
44643 2012-03-23 Daniel Jacobowitz <dmj@google.com>
44644 Paul Pluzhnikov <ppluzhnikov@google.com>
44645
44646 [BZ #6528]
44647 * grp/Makefile (otherlibs): Don't set it.
44648 * inet/Makefile (otherlibs): Likewise.
44649 * login/Makefile (otherlibs): Likewise.
44650 * nscd/Makefile (otherlibs): Likewise.
44651 * posix/Makefile (otherlibs): Likewise.
44652 * pwd/Makefile (otherlibs): Likewise.
44653 * rt/Makefile (otherlibs): Likewise.
44654 * sunrpc/Makefile (otherlibs): Likewise.
44655 * nss/Makefile (otherlibs): Likewise.
44656 Add libnss_files to routines and static-only-routines.
44657 ($(objpfx)getent): Remove rule.
44658 * resolv/Makefile: Add libnss_dns and libresolv to routines and
44659 static-only-routines.
44660
44661 2012-03-22 Joseph Myers <joseph@codesourcery.com>
44662
44663 [BZ #13892]
44664 * math/s_cexp.c: Include <float.h>.
44665 (__cexp): Handle exp result overflowing not necessarily
44666 overflowing both real and imaginary parts of result.
44667 * math/s_cexpf.c: Likewise.
44668 * math/s_cexpl.c: Likewise.
44669 * math/libm-test.inc (cexp_test): Add more tests.
44670 * sysdeps/i386/fpu/libm-test-ulps: Update.
44671 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44672
44673 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
44674
44675 * include/link.h (ELFW): New macro.
44676 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
44677 Replace ELF64_R_TYPE with ELFW(R_TYPE).
44678
44679 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
44680
44681 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
44682 with uint64_t.
44683
44684 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
44685
44686 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
44687 declaration.
44688 (struct La_x32_retval): Likewise.
44689
44690 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
44691
44692 * sysdeps/x86_64/preconfigure.in: New file.
44693 * sysdeps/x86_64/preconfigure: New generated file.
44694
44695 2012-03-22 Joseph Myers <joseph@codesourcery.com>
44696
44697 [BZ #13824]
44698 * math/e_exp2l.c: Include <float.h>.
44699 (__ieee754_exp2l): Handle overflow and underflow cases
44700 separately. Only pass fractional part of argument to
44701 __ieee754_expl.
44702 * math/libm-test.inc (exp2_test): Add more tests.
44703
44704 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
44705 negating x to take absolute value.
44706 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
44707 Likewise.
44708 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
44709 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
44710 Likewise.
44711 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
44712 computing low part if x was negated.
44713 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
44714
44715 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
44716
44717 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
44718 la_x32_gnu_pltexit.
44719 (pltexit): Cast int_retval to ptrdiff_t.
44720 * elf/tst-auditmod3b.c: Likewise.
44721 * elf/tst-auditmod4b.c: Likewise.
44722 * elf/tst-auditmod5b.c: Likewise.
44723 * elf/tst-auditmod6b.c: Likewise.
44724 * elf/tst-auditmod6c.c: Likewise.
44725 * elf/tst-auditmod7b.c: Likewise.
44726
44727 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
44728 and x32_gnu_pltexit.
44729
44730 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
44731 __ELF_NATIVE_CLASS.
44732 (La_x32_regs): New macro.
44733 (La_x32_retval): Likewise.
44734 (la_x32_gnu_pltenter): New function prototype.
44735 (la_x32_gnu_pltexit): Likewise.
44736
44737 2012-03-21 Andreas Schwab <schwab@linux-m68k.org>
44738
44739 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
44740 exponent.
44741
44742 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
44743
44744 * configure.in (libc_cv_cc_nofma): Check for option to disable
44745 generation of FMA instructions.
44746 * configure: Regenerate.
44747 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
44748 * sysdeps/ieee754/dbl-64/Makefile: New file.
44749 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
44750 Remove brandred-fma4.
44751 (CFLAGS-brandred-fma4.c): Remove.
44752 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
44753 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
44754 define.
44755 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
44756 define.
44757
44758 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
44759
44760 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
44761 LLONG_MAX != LONG_MAX.
44762 (_itoa_word): Use _ITOA_WORD_TYPE on value.
44763 (_fitoa_word): Likewise.
44764 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
44765 LLONG_MAX != LONG_MAX.
44766 * stdio-common/_itowa.h: Include <_itoa.h>.
44767 (_itowa_word): Use _ITOA_WORD_TYPE on value.
44768 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
44769 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
44770 only if not defined.
44771 (_ITOA_WORD_TYPE): Likewise.
44772 (_itoa_word): Use _ITOA_WORD_TYPE on value.
44773 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
44774
44775 2012-03-21 David S. Miller <davem@davemloft.net>
44776
44777 * sysdeps/sparc/fpu/libm-test-ulps: Update.
44778
44779 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
44780
44781 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
44782 of x86_64 when setting libc_cv_slibdir, libdir and
44783 libc_cv_localedir.
44784 * sysdeps/unix/sysv/linux/configure: Regenerated.
44785
44786 2012-03-21 Joseph Myers <joseph@codesourcery.com>
44787
44788 * manual/lang.texi (Old Varargs): Remove section.
44789 (How Variadic): Update menu.
44790 (va_start): Do not mention varargs.h.
44791
44792 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
44793 Joseph Myers <joseph@codesourcery.com>
44794
44795 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
44796 link test.
44797 * configure: Regenerated.
44798
44799 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
44800
44801 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
44802 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
44803 conformtest.pl
44804
44805 2012-03-21 Joseph Myers <joseph@codesourcery.com>
44806
44807 * NOTES: Remove.
44808 * Makefile (files-for-dist): Remove NOTES.
44809 (NOTES): Remove rule.
44810 * README: Don't refer to NOTES.
44811 * manual/creature.texi: Don't include macros.texi.
44812 * manual/intro.texi (creature.texi): Remove comment referring to
44813 NOTES.
44814
44815 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
44816 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
44817 * configure: Regenerated.
44818 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
44819 LIBC_TRY_CC_OPTION.
44820 (libc_cv_as_i686): Likewise.
44821 (libc_cv_cc_avx): Likewise.
44822 (libc_cv_cc_sse2avx): Likewise.
44823 (libc_cv_cc_fma4): Likewise.
44824 (libc_cv_cc_novzeroupper): Likewise.
44825 * sysdeps/i386/configure: Regenerated.
44826
44827 [BZ #13883]
44828 * sysdeps/i386/fpu/s_cexp.S: Remove.
44829 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
44830 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
44831 * math/libm-test.inc (cexp_test): Add more tests.
44832 * sysdeps/i386/fpu/libm-test-ulps: Update.
44833 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44834
44835 2012-03-21 Allan McRae <allan@archlinux.org>
44836
44837 * timezone/Makefile: Do not install iso3166.tab and zone.tab
44838
44839 2012-03-21 Joseph Myers <joseph@codesourcery.com>
44840
44841 [BZ #13871]
44842 * math/w_exp2.c: Do not include <float.h>.
44843 (o_threshold, u_threshold): Remove.
44844 (__exp2): Calculate result before checking finiteness and calling
44845 __kernel_standard.
44846 * math/w_exp2f.c: Likewise.
44847 * math/w_exp2l.c: Likewise.
44848 * math/libm-test.inc (exp2_test): Require overflow exception for
44849 1e6 input.
44850
44851 [BZ #3866]
44852 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
44853 range of signed 64-bit integers before using fistpll. Remove
44854 checks for whether integers fit in mantissa bits.
44855 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
44856 the range of signed 32-bit integers before using fistpl. Remove
44857 checks for whether integers fit in mantissa bits.
44858 * sysdeps/i386/fpu/e_powl.S (p64): New object.
44859 (__ieee754_powl): Test for y outside the range of signed 64-bit
44860 integers before using fistpll. Reduce 64-bit values to 63-bit
44861 ones as needed.
44862 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
44863 divide-by-zero is raised for zero to large negative powers.
44864 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
44865 (__ieee754_powl): Test for y outside the range of signed 64-bit
44866 integers before using fistpll. Reduce 64-bit values to 63-bit
44867 ones as needed.
44868 * math/libm-test.inc (pow_test): Add more tests.
44869
44870 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
44871
44872 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
44873 <stdio-common/_itoa.h>.
44874 * debug/segfault.c: Likewise.
44875 * elf/dl-cache.c: Likewise.
44876 * elf/dl-minimal.c: Likewise.
44877 * elf/dl-misc.c: Likewise.
44878 * elf/dl-sysdep.c: Likewise.
44879 * elf/dl-version.c: Likewise.
44880 * elf/rtld.c: Likewise.
44881 * hurd/hurdsock.c: Likewise.
44882 * hurd/lookup-retry.c: Likewise.
44883 * malloc/malloc.c: Likewise.
44884 * malloc/mtrace.c: Likewise.
44885 * nscd/nscd_getgr_r.c: Likewise.
44886 * nscd/nscd_getpw_r.c: Likewise.
44887 * nscd/nscd_getserv_r.c: Likewise.
44888 * posix/getopt_init.c: Likewise.
44889 * posix/wordexp.c: Likewise.
44890 * stdio-common/_itoa.c: Likewise.
44891 * stdio-common/printf_fphex.c: Likewise.
44892 * stdio-common/vfprintf.c: Likewise.
44893 * string/_strerror.c: Likewise.
44894 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
44895 * sysdeps/i386/i686/hp-timing.h: Likewise.
44896 * sysdeps/mach/_strerror.c: Likewise.
44897 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
44898 * sysdeps/mach/hurd/sethostid.c: Likewise.
44899 * sysdeps/mach/hurd/xmknodat.c: Likewise.
44900 * sysdeps/mach/xpg-strerror.c: Likewise.
44901 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
44902 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
44903 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
44904 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
44905 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
44906 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
44907 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
44908 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
44909 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
44910 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
44911 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
44912 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
44913 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
44914 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
44915 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
44916 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
44917 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
44918 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
44919 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
44920 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
44921 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
44922
44923 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
44924
44925 * stdio-common/_itoa.h: Moved to ...
44926 * sysdeps/generic/_itoa.h: Here.
44927
44928 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
44929
44930 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
44931 instead of "_itoa.h" and "_itowa.h".
44932 * stdio-common/vfprintf.: Likewise.
44933
44934 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
44935
44936 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
44937 <bits/wordsize.h>.
44938 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
44939 (__signbit): Likwise.
44940 (llrintf): Likwise.
44941 (llrint): Likwise.
44942
44943 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
44944
44945 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
44946 __WORDSIZE != 64.
44947
44948 2012-03-20 Joseph Myers <joseph@codesourcery.com>
44949
44950 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
44951 OVERFLOW_EXCEPTION_OK.
44952 * math/libm-test.inc ("Philosophy"): Update comment about
44953 exception testing.
44954 (OVERFLOW_EXCEPTION): Define.
44955 (OVERFLOW_EXCEPTION_OK): Likewise.
44956 (INVALID_EXCEPTION_OK): Renumber.
44957 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
44958 (IGNORE_ZERO_INF_SIGN): Likewise.
44959 (test_exceptions): Handle FE_OVERFLOW.
44960 (exp10_test): Expect overflow exceptions.
44961 (exp2_test): Likewise.
44962 (expm1_test): Likewise.
44963 (nextafter_test): Likewise.
44964 (pow_test): Likewise.
44965 (scalbn_test): Likewise.
44966 (scalbln_test): Likewise.
44967
44968 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
44969
44970 * sysdeps/x86_64/bits/atomic.h
44971 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
44972 64bit integer.
44973 (atomic_exchange_acq): Likewise.
44974 (__arch_exchange_and_add_body): Likewise.
44975 (__arch_add_body): Likewise.
44976 (atomic_add_negative): Likewise.
44977 (atomic_add_zero): Likewise.
44978
44979 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
44980
44981 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
44982 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
44983
44984 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
44985
44986 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
44987 Check __x86_64__ instead of __WORDSIZE.
44988
44989 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
44990
44991 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
44992
44993 2012-03-19 David S. Miller <davem@davemloft.net>
44994
44995 * sysdeps/sparc/fpu/libm-test-ulps: Update.
44996
44997 * sysdeps/sparc/fpu/fenv_private.h: New file.
44998 * sysdeps/sparc/fpu/math_private.h: Use it.
44999 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
45000 Remove.
45001 (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
45002 (libc_feholdexcept_setroundl): Remove.
45003 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
45004 Remove.
45005 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
45006 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
45007
45008 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
45009
45010 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
45011 int64_t instead of long int.
45012 (INSERT_WORDS64): Likwise.
45013
45014 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
45015
45016 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
45017 _Unwind_GetCFA return to _Unwind_Ptr first.
45018
45019 2012-03-19 Joseph Myers <joseph@codesourcery.com>
45020
45021 [BZ #13629]
45022 * math/s_clog.c: Include <float.h>.
45023 (__clog): Scale large or subnormal inputs.
45024 * math/s_clogf.c: Likewise.
45025 * math/s_clogl.c: Likewise.
45026 * math/s_clog10.c: Include <float.h>.
45027 (M_LOG10_2): Define.
45028 (__clog10): Scale large or subnormal inputs.
45029 * math/s_clog10f.c: Likewise.
45030 * math/s_clog10l.c: Likewise.
45031 * math/libm-test.inc (clog_test): Add more tests.
45032 (clog10_test): Likewise.
45033 * sysdeps/i386/fpu/libm-test-ulps: Update.
45034 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45035
45036 [BZ #11451]
45037 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
45038 x and y.
45039 * math/libm-test.inc (atan2_test): Add another test.
45040
45041 * Makerules (common-objdir-compile): Remove.
45042 * sysdeps/unix/Makefile (config-generated): Do not add
45043 $(unix-generated) to variable.
45044 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
45045 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
45046 Remove rule.
45047 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
45048 Likewise.
45049 [generic bits/local_lim.h] (before-compile): Do not append to
45050 variable.
45051 [generic bits/local_lim.h] (common-generated): Likewise.
45052 [generic sys/param.h] (before-compile): Do not append to variable.
45053 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
45054 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
45055 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
45056 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
45057 include.
45058 [generic sys/param.h] (sys/param.h-includes): Remove variable.
45059 [generic sys/param.h] (sys/param.h-includes): Remove rule.
45060 [generic sys/param.h] ($(addprefix
45061 $(common-objpfx),$(sys/param.h-includes))): Likewise.
45062 [generic sys/param.h] (common-generated): Do not append to
45063 variable.
45064 [generic sys/param.h] (sysdep_headers): Likewise.
45065 [generic bits/errno.h] (before-compile): Do not append to
45066 variable.
45067 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
45068 rule.
45069 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
45070 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
45071 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
45072 [generic bits/errno.h] (common-generated): Do not append to
45073 variable.
45074 [generic bits/ioctls.h] (before-compile): Do not append to
45075 variable.
45076 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
45077 rule.
45078 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
45079 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
45080 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
45081 rule.
45082 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
45083 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
45084 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
45085 [generic bits/ioctls.h] (common-generated): Do not append to
45086 variable.
45087 [generic sys/syscall.h] (syscall.h): Remove variable.
45088 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
45089 rule.
45090 [generic sys/syscall.h] (before-compile): Do not append to
45091 variable.
45092 [generic sys/syscall.h] (common-generated): Likewise.
45093 * sysdeps/unix/errnos-tmpl.c: Remove file.
45094 * sysdeps/unix/errnos.awk: Likewise.
45095 * sysdeps/unix/ioctls-tmpl.c: Likewise.
45096 * sysdeps/unix/ioctls.awk: Likewise.
45097 * sysdeps/unix/mk-local_lim.c: Likewise.
45098 * sysdeps/unix/snarf-ioctls: Likewise.
45099
45100 2012-03-19 Richard Henderson <rth@twiddle.net>
45101
45102 * sysdeps/i386/fpu/fenv_private.h: New file.
45103 * sysdeps/i386/fpu/math_private.h: Use it.
45104 (math_opt_barrier, math_force_eval): Remove.
45105 (libc_feholdexcept_setround_53bit): Remove.
45106 (libc_feupdateenv_53bit): Remove.
45107 * sysdeps/x86_64/fpu/math_private.h: Likewise.
45108 (math_opt_barrier, math_force_eval): Remove.
45109 (libc_feholdexcept): Remove.
45110 (libc_feholdexcept_setround): Remove.
45111 (libc_fetestexcept, libc_fesetenv): Remove.
45112 (libc_feupdateenv_test): Remove.
45113 (libc_feupdateenv, libc_feholdsetround): Remove.
45114 (libc_feresetround): Remove.
45115
45116 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
45117 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
45118
45119 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
45120 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
45121 (libc_feupdateenv_testl): New.
45122 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
45123 (libc_feupdateenv_testf): New.
45124 (libc_feupdateenv): Use libc_feupdateenv_test.
45125 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
45126 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
45127
45128 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
45129 (libc_feholdsetroundf, libc_feholdsetroundl): New.
45130 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
45131 (libc_feresetround_noex): New.
45132 (libc_feresetround_noexf): New.
45133 (libc_feresetround_noexl): New.
45134 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
45135 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
45136 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
45137 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
45138 SET_RESTORE_ROUND.
45139 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
45140 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
45141 (__cos): Likewise.
45142 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
45143 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
45144 SET_RESTORE_ROUND_NOEX.
45145 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
45146 SET_RESTORE_ROUND_NOEXF.
45147 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
45148 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
45149 (libc_feholdsetroundf): New.
45150 (libc_feresetround, libc_feresetroundf): New.
45151
45152 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
45153 (libc_feholdexcept_setround_53bit): Convert from macro to function.
45154 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
45155
45156 * sysdeps/generic/math_private.h: Include <fenv.h>.
45157 (default_libc_feholdexcept): New.
45158 (default_libc_feholdexcept_setround): New.
45159 (default_libc_fesetenv, default_libc_feupdateenv): New.
45160 (libc_feholdexcept): Only define if undefined.
45161 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
45162 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
45163 (libc_feholdexcept_setroundl): Likewise.
45164 (libc_feholdexcept_setround_53bit): Likewise.
45165 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
45166 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
45167 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
45168 (libc_feupdateenv_53bit): Likewise.
45169 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
45170 (libc_feholdexcept): Convert from macro to inline function.
45171 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
45172 (libc_fesetenv, libc_feupdateenv): Likewise.
45173
45174 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
45175 not previously defined.
45176 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
45177 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
45178 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
45179 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
45180 * sysdeps/ieee754/flt-32/math_private.h: New file.
45181 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
45182 math_private.h below SET_FLOAT_WORD.
45183 (__isnan, __isinf_ns, __finite): Remove.
45184 (__isnanf, __isinf_nsf, __finitef): Remove.
45185
45186 2012-03-18 Andreas Schwab <schwab@linux-m68k.org>
45187
45188 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
45189
45190 2012-03-17 David S. Miller <davem@davemloft.net>
45191
45192 [BZ #6471]
45193 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
45194 for 2.16.
45195
45196 2012-03-16 David S. Miller <davem@davemloft.net>
45197
45198 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
45199 warnings.
45200
45201 [BZ #6471]
45202 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
45203 properly.
45204 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
45205 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
45206 sysdep_routines when subdir is sysvipc.
45207 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
45208 __getshmlba helper.
45209
45210 * sysdeps/sparc/fpu/libm-test/ulps: Update.
45211
45212 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
45213
45214 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
45215 [__LP64__].
45216
45217 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
45218
45219 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
45220 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
45221 (__lround): Renamed to ...
45222 (__llround): This. Replace long int with long long int.
45223 Define lround functions as aliases of llround functions.
45224 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
45225
45226 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
45227
45228 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
45229 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
45230 adresses to uintptr_t. Replace "long int" and "unsigned long
45231 int" with "greg_t" on va_arg.
45232
45233 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
45234
45235 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
45236 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
45237
45238 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
45239 Move e_machine check before EI_CLASS check. Handle x32
45240 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
45241 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
45242 SKIP_EM_IA_64 and include
45243 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
45244
45245 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
45246 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
45247 (add_system_dir): New macro.
45248
45249 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
45250 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
45251
45252 2012-03-16 Joseph Myers <joseph@codesourcery.com>
45253
45254 [BZ #2551]
45255 [BZ #2552]
45256 [BZ #2553]
45257 [BZ #2554]
45258 [BZ #2562]
45259 [BZ #2563]
45260 [BZ #2565]
45261 [BZ #2566]
45262 [BZ #2576]
45263 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
45264 (y0): Likewise.
45265 * math/w_j0f.c (j0f): Likewise.
45266 (y0f): Likewise.
45267 * math/w_j0l.c (__j0l): Likewise.
45268 (__y0l): Likewise.
45269 * math/w_j1.c (j1): Likewise.
45270 (y1): Likewise.
45271 * math/w_j1f.c (j1f): Likewise.
45272 (y1f): Likewise.
45273 * math/w_j1l.c (__j1l): Likewise.
45274 (__y1l): Likewise.
45275 * math/w_jn.c (jn): Likewise.
45276 (yn): Likewise.
45277 * math/w_jnf.c (jnf): Likewise.
45278 (ynf): Likewise.
45279 * math/w_jnl.c (__jnl): Likewise.
45280 (__ynl): Likewise.
45281 * math/libm-test.inc (j0_test): Add more tests.
45282 (j1_test): Likewise.
45283 (jn_test): Likewise. Add trailing semicolon to existing test.
45284 (y0_test): Likewise.
45285 (y1_test): Likewise.
45286 * sysdeps/i386/fpu/libm-test-ulps: Update.
45287 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45288
45289 [BZ #13851]
45290 [BZ #13854]
45291 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
45292 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
45293 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
45294 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
45295 (__tanl): Set errno for infinite argument.
45296 * sysdeps/i386/fpu/mptan.c: Remove.
45297 * sysdeps/i386/fpu/s_tan.S: Likewise.
45298 * sysdeps/i386/fpu/s_tanl.S: Likewise.
45299 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
45300 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
45301 * math/libm-test.inc (tan_test): Add more tests and enable more
45302 tests for double and long double.
45303 * sysdeps/i386/fpu/libm-test-ulps: Update.
45304 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45305
45306 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
45307
45308 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
45309 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
45310
45311 2012-03-16 Roland McGrath <roland@hack.frob.com>
45312
45313 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
45314 * configure.in: Use it for both main tree and add-ons.
45315 * configure: Regenerated.
45316
45317 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
45318
45319 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
45320
45321 2012-03-16 Joseph Myers <joseph@codesourcery.com>
45322
45323 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
45324 in comment.
45325
45326 [BZ #13851]
45327 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
45328 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
45329 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
45330 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
45331 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
45332 infinite argument.
45333 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
45334 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
45335 != 0 for prec == 2.
45336 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
45337 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
45338 * sysdeps/i386/fpu/s_cosl.S: Likewise.
45339 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
45340 * sysdeps/i386/fpu/s_sinl.S: Likewise.
45341 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
45342 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
45343 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
45344 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
45345 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
45346 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
45347 * math/libm-test.inc (cos_test): Add more tests and enable more
45348 tests for long double.
45349 (sin_test): Likewise.
45350 (sincos_test): Likewise.
45351 * sysdeps/i386/fpu/libm-test-ulps: Update.
45352 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45353
45354 2012-03-16 David S. Miller <davem@davemloft.net>
45355
45356 * sysdeps/sparc/fpu/math_private.h: New file.
45357
45358 2012-03-15 David S. Miller <davem@davemloft.net>
45359
45360 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
45361 file.
45362 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
45363 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
45364 file.
45365 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
45366 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
45367 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
45368 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
45369 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
45370 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
45371 sysdep routines.
45372 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
45373
45374 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
45375 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
45376
45377 * sysdeps/sparc/sparc-ifunc.h: New file.
45378 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
45379 sparc-ifunc.h
45380 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
45381 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
45382 Likewise.
45383 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
45384 Likewise.
45385 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
45386 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
45387 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
45388 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
45389 Likewise.
45390 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
45391 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
45392 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
45393 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
45394 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
45395 Likewise.
45396 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
45397 Likewise.
45398 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
45399 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
45400 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
45401 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
45402 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
45403 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
45404 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
45405 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
45406 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
45407 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
45408 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
45409 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
45410 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
45411 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
45412 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
45413 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
45414 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
45415 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
45416 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
45417 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
45418 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
45419 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
45420 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
45421 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
45422
45423 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
45424
45425 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
45426 scaling.
45427 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
45428
45429 2012-03-15 Andreas Jaeger <aj@suse.de>
45430
45431 [BZ #13852]
45432 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
45433 ieee754/flt-32 implementation for sin, cos and sincos.
45434 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
45435 * sysdeps/i386/fpu/s_cosf.S: Likewise.
45436 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
45437 * sysdeps/i386/fpu/s_sinf.S: Likewise.
45438 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
45439 ieee754/flt-32 implementation for tan.
45440
45441 * math/libm-test.inc (cos_test): Enable some large input tests for
45442 float as well
45443 (sin_test): Likewise.
45444 (sincos_test): Likewise.
45445 (tan_test): Add tests for large input.
45446
45447 * sysdeps/i386/fpu/libm-test-ulps: Update.
45448
45449 2012-03-15 Andreas Jaeger <aj@suse.de>
45450
45451 [BZ #13658]
45452 * math/libm-test.inc (cos_test): Add more test cases.
45453 (sin_test): Likewise.
45454 (sincos_test): Likewise.
45455
45456 2012-03-15 Andreas Jaeger <aj@suse.de>
45457
45458 [BZ #13837]
45459 * math/libm-test.inc (cos_test): Add a test case for large input
45460 value.
45461 (sin_test): Likewise.
45462 (sincos_test): Likewise.
45463
45464 2012-03-15 Andreas Jaeger <aj@suse.de>
45465 Joseph Myers <joseph@codesourcery.com>
45466
45467 [BZ #13658]
45468 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
45469 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
45470 * sysdeps/i386/fpu/branred.c: Likewise.
45471 * sysdeps/i386/fpu/dosincos.c: Likewise.
45472 * sysdeps/i386/fpu/mpa.c: Likewise.
45473 * sysdeps/i386/fpu/s_cos.S: Likewise.
45474 * sysdeps/i386/fpu/s_sin.S: Likewise.
45475 * sysdeps/i386/fpu/s_sincos.S: Likewise.
45476 * sysdeps/i386/fpu/sincos32.c: Likewise.
45477
45478 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
45479 Define.
45480 (libc_feupdateenv_53bit): Define.
45481 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
45482 Define.
45483 (libc_feupdateenv_53bit): Define.
45484
45485 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
45486 53 bit (without extend i386 double precision).
45487
45488 * math/libm-test.inc (sincos_test): Add tests for large input.
45489 (sin): Likewise.
45490 (cos): Likewise.
45491
45492 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
45493
45494 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
45495
45496 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
45497
45498 2012-03-15 David S. Miller <davem@davemloft.net>
45499
45500 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
45501 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
45502 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
45503 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
45504 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
45505 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
45506 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
45507 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
45508 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
45509 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
45510 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
45511 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
45512 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
45513 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
45514 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
45515 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
45516 file.
45517 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
45518 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
45519 file.
45520 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
45521 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
45522 file.
45523 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
45524 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
45525 file.
45526 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
45527 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
45528 fmin/fmax sysdep routines.
45529 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
45530
45531 2012-03-14 David S. Miller <davem@davemloft.net>
45532
45533 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
45534 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
45535 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
45536 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
45537 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
45538 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
45539 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
45540 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
45541 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
45542 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
45543 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
45544 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
45545 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
45546 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
45547 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
45548 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
45549 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
45550 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
45551 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
45552 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
45553 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
45554 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
45555 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
45556 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
45557 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
45558 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
45559 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
45560 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
45561 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
45562 routines.
45563 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
45564 file.
45565 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
45566 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
45567 file.
45568 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
45569 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
45570 file.
45571 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
45572 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
45573 file.
45574 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
45575 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
45576 file.
45577 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
45578 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
45579 file.
45580 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
45581 file.
45582 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
45583 file.
45584 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
45585 file.
45586 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
45587 New file.
45588 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
45589 file.
45590 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
45591 file.
45592 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
45593 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
45594 file.
45595 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
45596 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
45597 file.
45598 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
45599 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
45600 file.
45601 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
45602 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
45603 VIS3 routines.
45604
45605 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
45606 New file.
45607
45608 * sysdeps/sparc/fpu/libm-test-ulps: Update.
45609
45610 * sysdeps/sparc/configure.in: New file.
45611 * sysdeps/sparc/configure: Generate.
45612 * configure.in (libc_cv_sparc_as_vis3): Substitute.
45613 * configure: Regenerate.
45614 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
45615 * config.make.in (have-as-vis3): New.
45616 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
45617 available use -Av9d instead of -Av9a.
45618 * sysdeps/sparc/sparc64/Makefile: Likewise.
45619 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
45620 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
45621 New file.
45622 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
45623 file.
45624 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
45625 New file.
45626 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
45627 file.
45628 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
45629 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
45630 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
45631 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
45632 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
45633
45634 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
45635 fzeros/fnegs to load 0x80000000 into a float register instead of
45636 using the stack.
45637 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
45638
45639 2012-03-14 Joseph Myers <joseph@codesourcery.com>
45640
45641 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
45642 bits/syscall.h.
45643 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
45644 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
45645 ($(inst_includedir)/bits/syscall.h): Remove rule.
45646 ($(objpfx)bits/syscall.d): Include instead of
45647 $(objpfx)syscall-list.d.
45648 (generated): Change syscall-list.h and syscall-list.d to
45649 bits/syscall.h and bits/syscall.d.
45650
45651 2012-03-14 Roland McGrath <roland@hack.frob.com>
45652
45653 [BZ #13846]
45654 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
45655
45656 2012-03-14 Joseph Myers <joseph@codesourcery.com>
45657
45658 [BZ #13841]
45659 * math/s_csqrt.c: Include <float.h>.
45660 (__csqrt): Scale large or subnormal inputs.
45661 * math/s_csqrtf.c: Likewise.
45662 * math/s_csqrtl.c: Likewise.
45663 * math/libm-test.inc (csqrt_test): Add more tests.
45664 * sysdeps/i386/fpu/libm-test-ulps: Update.
45665 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45666
45667 [BZ #13840]
45668 * math/libm-test.inc (hypot_test): Add more tests.
45669
45670 2012-03-13 David S. Miller <davem@davemloft.net>
45671
45672 [BZ #13840]
45673 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
45674 double-precision for the calculation instead of scaling.
45675
45676 2012-03-13 Joseph Myers <joseph@codesourcery.com>
45677
45678 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
45679 manipulate bits before adding and subtracting TWO52[sx].
45680 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
45681 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
45682 Likewise.
45683 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
45684
45685 2012-03-13 David S. Miller <davem@davemloft.net>
45686
45687 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
45688 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
45689 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
45690 rtld-global-offsets.h
45691 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
45692
45693 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
45694 large parameters.
45695
45696 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
45697
45698 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
45699 'err' in the ifdef scope in which it is actually used.
45700
45701 * nss/nss_db/db-init.c: Include string.h
45702
45703 2012-03-12 David S. Miller <davem@davemloft.net>
45704
45705 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
45706 masking out of the most significant byte of random value used.
45707 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
45708 Fix coding style in previous change.
45709
45710 * sysdeps/unix/sysv/linux/kernel-features.h
45711 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
45712 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
45713 expression.
45714 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
45715 later.
45716
45717 2012-03-11 David S. Miller <davem@davemloft.net>
45718
45719 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
45720 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
45721 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
45722 for 'resultvar' otherwise things get truncated on 64-bit.
45723
45724 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
45725 Fix masking out of the most significant byte of random value used.
45726
45727 * sysdeps/sparc/fpu/libm-test-ulps: Update.
45728
45729 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
45730
45731 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
45732
45733 2012-03-09 David S. Miller <davem@davemloft.net>
45734
45735 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
45736 variables with appropriate CPP guards.
45737 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
45738 from the frame pointer, not the stack pointer. Correct layout
45739 comments. Fix test on resulting framesize and the management of
45740 the outregs buffer for pltexit. Preserve floating point return
45741 values across _dl_call_pltexit call.
45742 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
45743 framesize and the management of the outregs buffer for pltexit.
45744 Preserve floating point return values across _dl_call_pltexit
45745 call.
45746 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
45747 (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
45748 (la_sparc64_gnu_pltexit): New functions.
45749 (print_exit): Fix format string for return register value.
45750
45751 2012-03-10 Joseph Myers <joseph@codesourcery.com>
45752
45753 * sunrpc/Makefile (others): Add rpcgen.
45754 ($(objpfx)rpcgen): Remove special build rule and dependency on
45755 libc.
45756 * sunrpc/rpcgen.c: New file.
45757
45758 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
45759
45760 [BZ #13673]
45761 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
45762 * stdio-common/bug-vfprintf-nargs.c: Likewise.
45763 * sysdeps/i386/crti.S: Likewise.
45764 * sysdeps/i386/crtn.S: Likewise.
45765 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
45766 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
45767 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
45768 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
45769 * sysdeps/sh/crti.S: Likewise.
45770 * sysdeps/sh/crtn.S: Likewise.
45771 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
45772
45773 [BZ #13673]
45774 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
45775 with URL.
45776 * locale/programs/locfile-kw.gperf: Likewise.
45777 * locale/programs/charmap-kw.h: Regenerated.
45778 * locale/programs/locfile-kw.h: Likewise.
45779
45780 [BZ #13673]
45781 * intl/plural.y: Replace FSF snail mail address with URL.
45782 * intl/plural.c: Regenerated.
45783
45784 2012-03-09 Richard Henderson <rth@twiddle.net>
45785
45786 * include/math_private.h: Remove file.
45787 * math/math_private.h: Move file ...
45788 * sysdeps/generic/math_private.h: ... here.
45789
45790 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
45791 * sysdeps/powerpc/fpu/math_private.h: Likewise.
45792 * sysdeps/x86_64/fpu/math_private.h: Likewise.
45793
45794 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
45795 and <math_private.h>.
45796 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
45797 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
45798 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
45799 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
45800 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
45801 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
45802 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
45803 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
45804 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
45805 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
45806 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
45807 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
45808 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
45809 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
45810 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
45811 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
45812 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
45813 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
45814 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
45815 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
45816 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
45817 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
45818 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
45819 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
45820 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
45821 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
45822 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
45823 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
45824 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
45825 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
45826 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
45827 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
45828 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
45829 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
45830 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
45831 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
45832 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
45833 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
45834 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
45835 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
45836 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
45837 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
45838 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
45839 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
45840 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
45841 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
45842 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
45843 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
45844 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
45845 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
45846 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
45847 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
45848 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
45849 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
45850 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
45851 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
45852 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
45853 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
45854 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
45855 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
45856 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
45857 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
45858 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
45859 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
45860 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
45861 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
45862 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
45863 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
45864 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
45865 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
45866 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
45867 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
45868 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
45869 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
45870 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
45871 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
45872 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
45873 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
45874 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
45875 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
45876 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
45877 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
45878 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
45879 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
45880 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
45881 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
45882 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
45883 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
45884 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
45885 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
45886 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
45887 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
45888 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
45889 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
45890 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
45891 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
45892 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
45893 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
45894 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
45895 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
45896 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
45897 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
45898 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
45899 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
45900 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
45901 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
45902 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
45903 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
45904 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
45905 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
45906 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
45907 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
45908 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
45909 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
45910 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
45911 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
45912 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
45913 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
45914 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
45915 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
45916 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
45917 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
45918 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
45919 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
45920 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
45921 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
45922 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
45923 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
45924 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
45925 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
45926 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
45927 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
45928 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
45929 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
45930 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
45931 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
45932 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
45933 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
45934 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
45935 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
45936 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
45937 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
45938 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
45939 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
45940 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
45941 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
45942 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
45943 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
45944 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
45945 * sysdeps/ieee754/k_standard.c: Likewise.
45946 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
45947 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
45948 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
45949 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
45950 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
45951 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
45952 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
45953 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
45954 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
45955 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
45956 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
45957 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
45958 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
45959 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
45960 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
45961 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
45962 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
45963 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
45964 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
45965 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
45966 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
45967 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
45968 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
45969 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
45970 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
45971 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
45972 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
45973 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
45974 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
45975 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
45976 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
45977 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
45978 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
45979 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
45980 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
45981 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
45982 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
45983 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
45984 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
45985 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
45986 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
45987 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
45988 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
45989 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
45990 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
45991 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
45992 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
45993 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
45994 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
45995 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
45996 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
45997 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
45998 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
45999 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
46000 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
46001 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
46002 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
46003 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
46004 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
46005 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
46006 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
46007 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
46008 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
46009 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
46010 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
46011 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
46012 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
46013 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
46014 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
46015 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
46016 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
46017 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
46018 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
46019 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
46020 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
46021 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
46022 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
46023 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
46024 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
46025 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
46026 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
46027 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
46028 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
46029 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
46030 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
46031 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
46032 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
46033 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
46034 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
46035 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
46036 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
46037 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
46038 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
46039 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
46040 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
46041 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
46042 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
46043 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
46044 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
46045 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
46046 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
46047 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
46048 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
46049 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
46050 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
46051 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
46052 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
46053 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
46054 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
46055 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
46056 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
46057 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
46058 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
46059 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
46060 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
46061 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
46062 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
46063 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
46064 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
46065 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
46066 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
46067 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
46068 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
46069 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
46070 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
46071 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
46072 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
46073 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
46074 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
46075 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
46076 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
46077 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
46078 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
46079 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
46080 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
46081 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
46082 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
46083 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
46084 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
46085 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
46086 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
46087 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
46088 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
46089 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
46090 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
46091 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
46092 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
46093 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
46094 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
46095 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
46096 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
46097 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
46098 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
46099 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
46100 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
46101 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
46102 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
46103 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
46104 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
46105 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
46106 * sysdeps/ieee754/s_lib_version.c: Likewise.
46107 * sysdeps/ieee754/s_matherr.c: Likewise.
46108 * sysdeps/ieee754/s_signgam.c: Likewise.
46109 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
46110 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
46111 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
46112 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
46113 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
46114 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
46115 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
46116 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
46117 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
46118 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
46119 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
46120 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
46121 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
46122 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
46123 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
46124 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
46125 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
46126 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
46127 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
46128 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
46129 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
46130
46131 2012-03-09 Joseph Myers <joseph@codesourcery.com>
46132
46133 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
46134 * sunrpc/rpc_main.c: Likewise.
46135 * sunrpc/rpc_svcout.c: Likewise.
46136
46137 2012-03-09 David S. Miller <davem@davemloft.net>
46138
46139 * include/math_private.h: New file.
46140
46141 2012-03-09 Joseph Myers <joseph@codesourcery.com>
46142
46143 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
46144 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
46145 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
46146 from <bits/socket_type.h>.
46147 (enum __socket_type): Don't define here.
46148 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
46149 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
46150 bits/socket_type.h.
46151
46152 [BZ #13566]
46153 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
46154 checking __USE_GNU.
46155
46156 * Makerules ($(inst_includedir)/%.h): New rule.
46157 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
46158 (install-others): Remove variable setting.
46159 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
46160
46161 2012-03-08 Richard Henderson <rth@twiddle.net>
46162
46163 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
46164 from macro to inline function; merge with the
46165 !__LIBC_INTERNAL_MATH_INLINES version.
46166 (__ieee754_sqrtf): Likewise.
46167
46168 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
46169 to inline function.
46170 (__rintf, __floor, __floorf): Likewise.
46171
46172 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
46173 macro to inline function.
46174 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
46175
46176 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
46177 not <math/math_private.h>.
46178
46179 2012-03-08 David S. Miller <davem@davemloft.net>
46180
46181 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
46182 copyright year.
46183 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
46184
46185 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
46186
46187 * resolv/gai_misc.c (handle_requests): Fix struct timespec
46188 normalization.
46189 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
46190 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
46191
46192 2012-03-08 Ulrich Drepper <drepper@gmail.com>
46193
46194 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
46195 be defined individually, they must be defined as a block. Define
46196 S for printing a string instead of hidint the different by using a
46197 macro for adding the 'l'.
46198 * stdio-common/tst-fphex-wide.c: Adjust.
46199
46200 2012-03-07 Marek Polacek <polacek@redhat.com>
46201
46202 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
46203
46204 2012-03-08 Marek Polacek <polacek@redhat.com>
46205
46206 [BZ #13806]
46207 * stdio-common/Makefile (tests): Add tst-fphex-wide.
46208 * stdio-common/tst-fphex.c: Define a few macros to make the
46209 test reusable. Use them.
46210 * stdio-common/tst-fphex-wide.c: New file.
46211
46212 2012-03-08 Joseph Myers <joseph@codesourcery.com>
46213
46214 [BZ #6911]
46215 * manual/macros.texi (gnusystems): New macro.
46216 (nongnusystems): Likewise.
46217 (gnulinuxhurdsystems): Likewise.
46218 (gnuhurdsystems): Likewise..
46219 (gnulinuxsystems): Likewise.
46220 * manual/charset.texi: Use new macros or @theglibc{} to refer to
46221 variants of the GNU system, not "GNU system".
46222 * manual/conf.texi: Likewise.
46223 * manual/errno.texi: Likewise. Update example of errno macro
46224 expansion.
46225 * manual/filesys.texi: Likewise.
46226 (getumask): Document as specific to GNU/Hurd.
46227 * manual/install.texi: Likewise. Reword some references to
46228 GNU/Linux.
46229 * manual/intro.texi: Likewise.
46230 * manual/io.texi: Likewise.
46231 (File Name Portability): Detail which constraints are inapplicable
46232 to all GNU systems and which are only inapplicable to GNU/Hurd.
46233 * manual/job.texi: Likewise.
46234 * manual/llio.texi: Likewise.
46235 (O_NOCTTY): Document as present on GNU/Linux.
46236 * manual/maint.texi: Likewise.
46237 * manual/memory.texi: Likewise.
46238 * manual/pattern.texi: Likewise.
46239 * manual/pipe.texi: Likewise.
46240 * manual/process.texi: Likewise.
46241 * manual/resource.texi: Likewise.
46242 (RUSAGE_CHILDREN): Remove statement about specifying a particular
46243 child on GNU/Hurd.
46244 * manual/setjmp.texi: Likewise.
46245 * manual/signal.texi: Likewise.
46246 * manual/startup.texi: Likewise.
46247 * manual/stdio.texi: Likewise.
46248 * manual/terminal.texi: Likewise.
46249 (ONLCR): Document as POSIX.
46250 (OXTABS): Document availability on GNU/Linux as XTABS.
46251 (ONOEOT): Document availability separately from other bits.
46252 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
46253 * manual/time.texi: Likewise.
46254 * manual/users.texi: Likewise.
46255 * INSTALL: Regenerated.
46256 * sysdeps/gnu/errlist.c: Regenerated.
46257
46258 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
46259 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
46260 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
46261 puts.
46262 * configure: Regenerated.
46263
46264 2012-03-07 Joseph Myers <joseph@codesourcery.com>
46265
46266 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
46267 default includes instead of AC_HEADER_CHECK.
46268 * sysdeps/i386/configure: Regenerated.
46269
46270 [BZ #10716]
46271 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
46272 * math/s_cacoshf.c (__cacoshf): Likewise.
46273 * math/s_cacoshl.c (__cacoshl): Likewise.
46274 * math/s_casinh.c (__casinh): Set signs of result from argument.
46275 * math/s_casinhf.c (__casinhf): Likewise.
46276 * math/s_casinhl.c (__casinhl): Likewise.
46277 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
46278 (casinh_test): Add more tests.
46279 * sysdeps/i386/fpu/libm-test-ulps: Update.
46280 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46281
46282 2012-03-07 Ulrich Drepper <drepper@gmail.com>
46283
46284 * po/zh_TW.po: Update from translation team.
46285
46286 * login/Makefile (distribute): Remove variable.
46287 * catgets/Makefile: Likewise.
46288 * mach/Makefile: Likewise.
46289 * malloc/Makefile: Likewise.
46290 * misc/Makefile: Likewise.
46291 * iconv/Makefile: Likewise.
46292 * nscd/Makefile: Likewise.
46293 * hurd/Makefile: Likewise.
46294 * manual/Makefile: Likewise.
46295 * locale/Makefile: Likewise.
46296 * intl/Makefile: Likewise.
46297 * conform/Makefile: Likewise.
46298 * nss/Makefile: Likewise.
46299 * time/Makefile: Likewise.
46300 * soft-fp/Makefile: Likewise.
46301 * dirent/Makefile: Likewise.
46302 * gmon/Makefile: Likewise.
46303 * po/Makefile: Likewise.
46304 * rt/Makefile: Likewise.
46305 * socket/Makefile: Likewise.
46306 * math/Makefile: Likewise.
46307 * signal/Makefile: Likewise.
46308 * debug/Makefile: Likewise.
46309 * elf/Makefile: Likewise.
46310 * timezone/Makefile: Likewise.
46311 * stdlib/Makefile: Likewise.
46312 * iconvdata/Makefile: Likewise.
46313 * sunrpc/Makefile: Likewise.
46314 * io/Makefile: Likewise.
46315 * argp/Makefile: Likewise.
46316 * inet/Makefile: Likewise.
46317 * hesiod/Makefile: Likewise.
46318 * grp/Makefile: Likewise.
46319 * csu/Makefile: Likewise.
46320 * wctype/Makefile: Likewise.
46321 * crypt/Makefile: Likewise.
46322 * libio/Makefile: Likewise.
46323 * string/Makefile: Likewise.
46324 * nis/Makefile: Likewise.
46325 * resolv/Makefile: Likewise.
46326 * stdio-common/Makefile: Likewise.
46327 * wcsmbs/Makefile: Likewise.
46328 * dlfcn/Makefile: Likewise.
46329 * posix/Makefile: Likewise.
46330
46331 [BZ #6959]
46332 * timezone/Makefile: Don't install timezone files, just the programs
46333 and scripts.
46334
46335 2012-03-06 Ulrich Drepper <drepper@gmail.com>
46336
46337 * nss/databases.def: Add missing gshadow entry.
46338
46339 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
46340
46341 2012-03-06 Marek Polacek <polacek@redhat.com>
46342
46343 [BZ #13726]
46344 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
46345 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
46346 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
46347 * stdio-common/tst-long-dbl-fphex.c: New file.
46348
46349 2012-03-06 David S. Miller <davem@davemloft.net>
46350
46351 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
46352 (set_obp_int): New function.
46353 (get_obp_int): New function.
46354 (__get_clockfreq_via_dev_openprom): Likewise.
46355 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
46356 Avoid unused variable warnings on 'val' and use builtin_expect.
46357 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
46358 __builtin_expect.
46359 (INLINE_CLONE_SYSCALL): Likewise.
46360
46361 2012-03-05 David S. Miller <davem@davemloft.net>
46362
46363 * sysdeps/sparc/fpu/libm-test-ulps: Update.
46364
46365 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
46366
46367 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
46368
46369 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
46370 only for |x| >= 40.
46371 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
46372
46373 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
46374
46375 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
46376 Replace gettimeofday with __vdso_gettimeofday.
46377
46378 * sysdeps/unix/sysv/linux/x86_64/init-first.c
46379 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
46380 __vdso_clock_gettime and __vdso_getcpu.
46381
46382 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
46383 time with __vdso_time.
46384
46385 2012-03-05 Joseph Myers <joseph@codesourcery.com>
46386
46387 * manual/lang.texi (size_t): Note types to which size_t may be
46388 equivalent with the GNU C Library, but do not describe when
46389 differences between them are significant.
46390
46391 2012-03-05 Andreas Jaeger <aj@suse.de>
46392
46393 * sysdeps/i386/fpu/libm-test-ulps: Update.
46394
46395 2012-03-05 Joseph Myers <joseph@codesourcery.com>
46396
46397 [BZ #3976]
46398 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
46399 (__ieee754_pow): Save and restore rounding mode and use
46400 round-to-nearest for main computations.
46401 * math/libm-test.inc (pow_test_tonearest): New function.
46402 (pow_test_towardzero): Likewise.
46403 (pow_test_downward): Likewise.
46404 (pow_test_upward): Likewise.
46405 (main): Call the new functions.
46406 * sysdeps/i386/fpu/libm-test-ulps: Update.
46407 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46408
46409 [BZ #3976]
46410 * math/libm-test.inc (cosh_test_tonearest): New function.
46411 (cosh_test_towardzero): Likewise.
46412 (cosh_test_downward): Likewise.
46413 (cosh_test_upward): Likewise.
46414 (sinh_test_tonearest): Likewise.
46415 (sinh_test_towardzero): Likewise.
46416 (sinh_test_downward): Likewise.
46417 (sinh_test_upward): Likewise.
46418 (main): Call the new functions.
46419 * sysdeps/i386/fpu/libm-test-ulps: Update.
46420 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46421
46422 2012-03-05 Tom de Vries <tom@codesourcery.com>
46423
46424 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
46425 default stack guard is set in last bytes.
46426 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
46427
46428 2012-03-05 Kees Cook <keescook@chromium.org>
46429
46430 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
46431
46432 [BZ #13656]
46433 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
46434 possibly allocate from heap instead of stack.
46435 * stdio-common/bug-vfprintf-nargs.c: New file.
46436 * stdio-common/Makefile (tests): Add nargs overflow test.
46437
46438 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
46439
46440 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
46441
46442 2012-03-03 Marek Polacek <polacek@redhat.com>
46443
46444 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
46445 * math/math_private.h: Likewise.
46446 * stdlib/tst-strtod.c: Likewise.
46447 * sysdeps/i386/i486/bits/atomic.h: Likewise.
46448 * sysdeps/x86_64/bits/atomic.h: Likewise.
46449
46450 2012-03-02 David S. Miller <davem@davemloft.net>
46451
46452 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
46453 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
46454 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
46455 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
46456 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
46457 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
46458 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
46459 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
46460
46461 2012-03-02 Roland McGrath <roland@hack.frob.com>
46462
46463 [BZ #13792]
46464 * manual/examples/README: New file, says the example source files
46465 can be used under GPL>=2.
46466 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
46467 line containing just "*/".
46468 * manual/examples/add.c: Add copyright header (GPL>=2).
46469 * manual/examples/argp-ex1.c: Likewise.
46470 * manual/examples/argp-ex2.c: Likewise.
46471 * manual/examples/argp-ex3.c: Likewise.
46472 * manual/examples/argp-ex4.c: Likewise.
46473 * manual/examples/atexit.c: Likewise.
46474 * manual/examples/db.c: Likewise.
46475 * manual/examples/dir.c: Likewise.
46476 * manual/examples/dir2.c: Likewise.
46477 * manual/examples/execinfo.c: Likewise.
46478 * manual/examples/filecli.c: Likewise.
46479 * manual/examples/filesrv.c: Likewise.
46480 * manual/examples/fmtmsgexpl.c: Likewise.
46481 * manual/examples/genpass.c: Likewise.
46482 * manual/examples/inetcli.c: Likewise.
46483 * manual/examples/inetsrv.c: Likewise.
46484 * manual/examples/isockad.c: Likewise.
46485 * manual/examples/longopt.c: Likewise.
46486 * manual/examples/memopen.c: Likewise.
46487 * manual/examples/memstrm.c: Likewise.
46488 * manual/examples/mkfsock.c: Likewise.
46489 * manual/examples/mkisock.c: Likewise.
46490 * manual/examples/mygetpass.c: Likewise.
46491 * manual/examples/pipe.c: Likewise.
46492 * manual/examples/popen.c: Likewise.
46493 * manual/examples/rprintf.c: Likewise.
46494 * manual/examples/search.c: Likewise.
46495 * manual/examples/select.c: Likewise.
46496 * manual/examples/setjmp.c: Likewise.
46497 * manual/examples/sigh1.c: Likewise.
46498 * manual/examples/sigusr.c: Likewise.
46499 * manual/examples/stpcpy.c: Likewise.
46500 * manual/examples/strdupa.c: Likewise.
46501 * manual/examples/strftim.c: Likewise.
46502 * manual/examples/strncat.c: Likewise.
46503 * manual/examples/subopt.c: Likewise.
46504 * manual/examples/swapcontext.c: Likewise.
46505 * manual/examples/termios.c: Likewise.
46506 * manual/examples/testopt.c: Likewise.
46507 * manual/examples/testpass.c: Likewise.
46508 * manual/examples/timeval_subtract.c: Likewise.
46509
46510 [BZ #13792]
46511 * manual/time.texi (Elapsed Time): Move timeval_subtract example
46512 function to ...
46513 * manual/timeval_subtract.c.texi: ... here, new file.
46514
46515 2012-03-02 David S. Miller <davem@davemloft.net>
46516
46517 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
46518
46519 2012-03-02 Joseph Myers <joseph@codesourcery.com>
46520
46521 [BZ #3976]
46522 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
46523 (__sin): Save and restore rounding mode and use round-to-nearest
46524 for all computations.
46525 (__cos): Save and restore rounding mode and use round-to-nearest
46526 for all computations.
46527 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
46528 <fenv.h>.
46529 (tan): Save and restore rounding mode and use round-to-nearest for
46530 all computations.
46531 * math/libm-test.inc (cos_test_tonearest): New function.
46532 (cos_test_towardzero): Likewise.
46533 (cos_test_downward): Likewise.
46534 (cos_test_upward): Likewise.
46535 (sin_test_tonearest): Likewise.
46536 (sin_test_towardzero): Likewise.
46537 (sin_test_downward): Likewise.
46538 (sin_test_upward): Likewise.
46539 (tan_test_tonearest): Likewise.
46540 (tan_test_towardzero): Likewise.
46541 (tan_test_downward): Likewise.
46542 (tan_test_upward): Likewise.
46543 (main): Call the new functions.
46544 * sysdeps/i386/fpu/libm-test-ulps: Update.
46545 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46546
46547 [BZ #10135]
46548 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
46549 small n, then large n, before computing and testing k+n.
46550 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
46551 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
46552 Likewise.
46553 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
46554 Likewise.
46555 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
46556 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
46557 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
46558 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
46559 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
46560 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
46561 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
46562 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
46563 * math/libm-test.inc (scalbn_test): Add more tests.
46564 (scalbln_test): Likewise.
46565
46566 * manual/filesys.texi (mode_t): Describe constraints on size and
46567 signedness, not exact equivalence to a particular type.
46568 (ino_t): Likewise.
46569 (ino64_t): Likewise.
46570 (dev_t): Likewise.
46571 (nlink_t): Likewise.
46572 (blkcnt_t): Likewise.
46573 (blkcnt64_t): Likewise.
46574 * manual/llio.texi (off_t): Likewise.
46575
46576 [BZ #3976]
46577 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
46578 (__ieee754_exp): Save and restore rounding mode and use
46579 round-to-nearest for all computations.
46580 * math/libm-test.inc (exp_test_tonearest): New function.
46581 (exp_test_towardzero): Likewise.
46582 (exp_test_downward): Likewise.
46583 (exp_test_upward): Likewise.
46584 (main): Call the new functions.
46585 * sysdeps/i386/fpu/libm-test-ulps: Update.
46586 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46587
46588 2012-03-01 Chris Demetriou <cgd@google.com>
46589
46590 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
46591 have predictable order.
46592
46593 2012-03-01 David S. Miller <davem@davemloft.net>
46594
46595 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
46596
46597 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
46598 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
46599 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
46600 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
46601
46602 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
46603 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
46604 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
46605 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
46606 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
46607 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
46608 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
46609 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
46610 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
46611
46612 * sysdeps/sparc/fpu/libm-test-ulps: Update.
46613
46614 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
46615 * sysdeps/sparc/fpu/libm-test-ulps: to here.
46616 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
46617
46618 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
46619 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
46620 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
46621 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
46622 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
46623 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
46624 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
46625 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
46626 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
46627 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
46628 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
46629 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
46630 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
46631 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
46632 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
46633 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
46634 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
46635 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
46636 * sysdeps/sparc/elf/configure: Regenerated.
46637
46638 2012-03-01 Joseph Myers <joseph@codesourcery.com>
46639
46640 * configure.in (AS, LD): Require binutils 2.20 or later.
46641 * configure: Regenerated.
46642 * manual/install.texi (Tools for Compilation): Give binutils 2.20
46643 as required minimum version.
46644 * INSTALL: Regenerated.
46645
46646 [BZ #2541]
46647 [BZ #4108]
46648 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
46649 before squaring exponent.
46650 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
46651 bottom long double and 27 bits of top long double before squaring
46652 exponent.
46653 * math/libm-test.inc (erfc_test): Add more tests.
46654 * sysdeps/i386/fpu/libm-test-ulps: Update.
46655 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
46656 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46657
46658 2012-03-01 Kai Tietz <ktietz@redhat.com>
46659
46660 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
46661 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
46662 containing bit-fields.
46663 * soft-fp/extended.h (_FP_UNION_E): Likewise.
46664 * soft-fp/single.h (_FP_UNION_S): Likewise.
46665 * soft-fp/double.h (_FP_UNION_D): Likewise.
46666
46667 2012-02-29 Joseph Myers <joseph@codesourcery.com>
46668
46669 [BZ #13786]
46670 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
46671 not include ../strcmp.S.
46672 [USE_AS_STRNCASECMP_L]: Likewise.
46673 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
46674 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
46675 * sysdeps/i386/i686/multiarch/strncase_l-c.c
46676 (__strncasecmp_l_ia32): Define as alias to
46677 __strncasecmp_l_nonascii.
46678
46679 [BZ #5794]
46680 * math/libm-test.inc (expm1_test): Add test for bug 5794.
46681 * sysdeps/i386/fpu/libm-test-ulps: Update.
46682 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46683
46684 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
46685 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46686
46687 2012-02-29 Jeff Law <law@redhat.com>
46688
46689 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
46690 out of bounds read.
46691
46692 2012-02-29 Marek Polacek <polacek@redhat.com>
46693
46694 [BZ #13706]
46695 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
46696 * elf/Makefile: Add rules to run tst-unused-dep.out.
46697
46698 2012-02-28 David S. Miller <davem@davemloft.net>
46699
46700 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
46701 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
46702 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
46703 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
46704 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
46705 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
46706
46707 2012-02-29 Joseph Myers <joseph@codesourcery.com>
46708
46709 * math/libm-test.inc (llround_test): Move one test from
46710 lround_test. Use TEST_f_L in moved test.
46711 (lround_test): Move misplaced test to llround_test. Add testcase
46712 from bug 2561.
46713
46714 2012-02-28 Ulrich Drepper <drepper@gmail.com>
46715
46716 * sysdeps/x86_64/fpu/e_expf.S: New file.
46717 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
46718
46719 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
46720
46721 [BZ #13637]
46722 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
46723 of remain_len that may cause incomplete multi-byte character and
46724 false match.
46725 * posix/bug-regex33.c: New file.
46726 * posix/Makefile (tests): Add bug-regex33.
46727
46728 2012-02-28 Joseph Myers <joseph@codesourcery.com>
46729
46730 * manual/macros.texi: New file.
46731 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
46732 * manual/libc.texinfo: Include macros.texi.
46733 * manual/creatute.texi: Likewise.
46734 * manual/install.texi: Likewise.
46735 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
46736 @glibcadj{} in references to the GNU C Library.
46737 * manual/charset.texi: Likewise.
46738 * manual/conf.texi: Likewise.
46739 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
46740 when not using those macros.
46741 * manual/creature.texi: Likewise.
46742 * manual/crypt.texi: Likewise.
46743 * manual/errno.texi: Likewise.
46744 * manual/filesys.texi: Likewise.
46745 * manual/header.texi: Likewise.
46746 * manual/install.texi: Likewise.
46747 * manual/intro.texi: Likewise.
46748 * manual/io.texi: Likewise.
46749 * manual/job.texi: Likewise.
46750 * manual/lang.texi: Likewise.
46751 * manual/libc.texiinfo: Likewise.
46752 * manual/llio.texi: Likewise.
46753 * manual/locale.texi: Likewise.
46754 * manual/maint.texi: Likewise.
46755 * manual/math.texi: Likewise.
46756 * manual/memory.texi: Likewise.
46757 * manual/message.texi: Likewise.
46758 * manual/nss.texi: Likewise.
46759 * manual/pattern.texi: Likewise.
46760 * manual/process.texi: Likewise.
46761 * manual/resource.texi: Likewise.
46762 * manual/search.texi: Likewise.
46763 * manual/setjmp.texi: Likewise.
46764 * manual/signal.texi: Likewise.
46765 * manual/socket.texi: Likewise.
46766 * manual/startup.texi: Likewise.
46767 * manual/stdio.texi: Likewise.
46768 * manual/string.texi: Likewise.
46769 * manual/sysinfo.texi: Likewise.
46770 * manual/syslog.texi: Likewise.
46771 * manual/terminal.texi: Likewise.
46772 * manual/time.texi: Likewise.
46773 * manual/users.texi: Likewise.
46774 * INSTALL: Regenerated.
46775 * NOTES: Regenerated.
46776 * sysdeps/gnu/errlist.c: Regenerated.
46777
46778 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
46779
46780 * include/dirent.h: Include <dirstream.h> before
46781 <dirent/dirent.h>.
46782
46783 2012-02-28 David S. Miller <davem@davemloft.net>
46784
46785 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
46786 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
46787 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
46788 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
46789
46790 2012-02-27 David S. Miller <davem@davemloft.net>
46791
46792 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
46793 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
46794 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
46795 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
46796
46797 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
46798 frame pointer instead of stack pointer relative arg slot.
46799 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
46800 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
46801 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
46802
46803 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
46804
46805 [BZ #3992]
46806 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
46807
46808 2012-02-27 David S. Miller <davem@davemloft.net>
46809
46810 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
46811 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
46812 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
46813 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
46814 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
46815 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
46816 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
46817 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
46818
46819 2012-02-27 Joseph Myers <joseph@codesourcery.com>
46820
46821 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
46822 later. Allow versions 5-9.
46823 * configure: Regenerated.
46824 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
46825 required minimum version and 4.6 as recommended version. Do not
46826 mention bugs in GCC 2.7 and 2.8.
46827 * INSTALL: Regenerated.
46828
46829 2012-02-27 David S. Miller <davem@davemloft.net>
46830
46831 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
46832 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
46833 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
46834 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
46835 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
46836 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
46837 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
46838 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
46839
46840 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
46841 manipulate bits before adding and subtracting TWO112[sx].
46842 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
46843
46844 2012-02-27 Roland McGrath <roland@hack.frob.com>
46845
46846 [BZ #13775]
46847 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
46848 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
46849 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
46850 being in POSIX, because they are in 1003.1-2008.
46851
46852 * rt/tst-aio.c: Include <fcntl.h>.
46853 * rt/tst-aio7.c: Likewise.
46854 * rt/tst-aio64.c: Likewise.
46855
46856 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
46857
46858 2012-02-27 Joseph Myers <joseph@codesourcery.com>
46859
46860 * manual/install.texi (--with-headers): Describe headers as
46861 interface headers, not private headers.
46862 (Specific advice for GNU/Linux systems): Describe use of headers
46863 from "make headers_install", not private headers from older
46864 kernels.
46865 * INSTALL: Regenerated.
46866 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
46867 Change to 2.6.19.
46868 * sysdeps/unix/sysv/linux/configure: Regenerated.
46869
46870 * manual/llio.texi (fclean): Remove documentation.
46871
46872 * manual/Makefile (libc-texi-generated): New variable. Include
46873 version.texi.
46874 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
46875 $(libc-texi-generated), not duplicated list of files.
46876 (version.texi, stamp-version): New rules.
46877 (realclean): Remove $(libc-texi-generated), not individual files
46878 from that list. Do not remove dir-add.texinfo.
46879 * manual/libc.texinfo: Comment out uses of edition numbers and
46880 references to printed manual. Remove last-updated dates.
46881 (EDITION): Comment out.
46882 (ISBN): Likewise.
46883 (VERSION, UPDATED): Remove.
46884 (version.texi): Include.
46885
46886 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
46887
46888 * sysdeps/posix/spawni.c: Include <signal.h>.
46889 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
46890 * sysdeps/pthread/aio_fsync.c: Likewise.
46891
46892 2012-02-26 Ulrich Drepper <drepper@gmail.com>
46893
46894 * conform/Makefile (tests): Run only when not cross-compiling and
46895 when fast-check is not defined.
46896
46897 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
46898 * conform/data/limits.h-data: Fixes for POSIX2008.
46899 * conform/run-conformtest.sh: Run all tests.
46900 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
46901 headers.
46902 * include/bits/dlfcn.h: Likewise.
46903 * include/langinfo.h: Likewise.
46904 * include/monetary.h: Likewise.
46905 * include/sys/poll.h: Likewise.
46906
46907 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
46908 for __USE_GNU.
46909 * posix/spawn.h: Define __need_sigset_t.
46910 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
46911 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
46912 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
46913 to get sigevent_t only.
46914 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
46915 only for __USE_GNU.
46916 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
46917 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
46918 process_vm_writev only for __USE_GNU.
46919 * termios/termios.h: Declare tcgetsid also for POSIX2008.
46920
46921 * conform/Makefile: For now ignore errors from run-conformtest.
46922 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
46923 POSIX to avoid namespace pollution. Don't prepend headers.
46924 * conform/data/aio.h-data: Fixes for POSIX testing.
46925 * conform/data/fcntl.h-data: Likewise.
46926 * conform/data/glob.h-data: Likewise.
46927 * conform/data/grp.h-data: Likewise.
46928 * conform/data/pthread.h-data: Likewise.
46929 * conform/data/pwd.h-data: Likewise.
46930 * conform/data/signal.h-data: Likewise.
46931 * conform/data/spawn.h-data: Likewise.
46932 * conform/data/stdio.h-data: Likewise.
46933 * conform/data/stdlib.h-data: Likewise.
46934 * conform/data/stropts.h-data: Likewise.
46935 * conform/data/sys/mman.h-data: Likewise.
46936 * conform/data/sys/stat.h-data: Likewise.
46937 * conform/data/sys/types.h-data: Likewise.
46938 * conform/data/sys/wait.h-data: Likewise.
46939 * conform/data/time.h-data: Likewise.
46940 * conform/data/unistd.h-data: Likewise.
46941 * conform/data/utime.h-data: Likewise.
46942
46943 * io/sys/stat.h: fchmod was always in POSIX.
46944 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
46945 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
46946 * rt/aio.h: Define __need_timespec before including <time.h>.
46947 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
46948 struct. Add forward declaration of pthread_attr_t and use it in
46949 sigevent.
46950 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
46951 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
46952 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
46953 always remove CLK_TCK definition.
46954
46955 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
46956
46957 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
46958
46959 2012-02-25 Ulrich Drepper <drepper@gmail.com>
46960
46961 * conform/run-conformtest.sh: New file.
46962 * conform/Makefile: Run run-conformtest for tests.
46963 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
46964 support.
46965
46966 * conform/data/uchar.h-data: New file.
46967 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
46968 * conform/data/arpa/inet.h-data: Likewise.
46969 * conform/data/assert.h-data: Likewise.
46970 * conform/data/complex.h-data: Likewise.
46971 * conform/data/cpio.h-data: Likewise.
46972 * conform/data/ctype.h-data: Likewise.
46973 * conform/data/dirent.h-data: Likewise.
46974 * conform/data/dlfcn.h-data: Likewise.
46975 * conform/data/errno.h-data: Likewise.
46976 * conform/data/fcntl.h-data: Likewise.
46977 * conform/data/float.h-data: Likewise.
46978 * conform/data/fmtmsg.h-data: Likewise.
46979 * conform/data/fnmatch.h-data: Likewise.
46980 * conform/data/ftw.h-data: Likewise.
46981 * conform/data/glob.h-data: Likewise.
46982 * conform/data/grp.h-data: Likewise.
46983 * conform/data/iconv.h-data: Likewise.
46984 * conform/data/inttypes.h-data: Likewise.
46985 * conform/data/langinfo.h-data: Likewise.
46986 * conform/data/libgen.h-data: Likewise.
46987 * conform/data/limits.h-data: Likewise.
46988 * conform/data/locale.h-data: Likewise.
46989 * conform/data/math.h-data: Likewise.
46990 * conform/data/monetary.h-data: Likewise.
46991 * conform/data/mqueue.h-data: Likewise.
46992 * conform/data/ndbm.h-data: Likewise.
46993 * conform/data/net/if.h-data: Likewise.
46994 * conform/data/netdb.h-data: Likewise.
46995 * conform/data/netinet/in.h-data: Likewise.
46996 * conform/data/nl_types.h-data: Likewise.
46997 * conform/data/poll.h-data: Likewise.
46998 * conform/data/pthread.h-data: Likewise.
46999 * conform/data/pwd.h-data: Likewise.
47000 * conform/data/regex.h-data: Likewise.
47001 * conform/data/sched.h-data: Likewise.
47002 * conform/data/search.h-data: Likewise.
47003 * conform/data/semaphore.h-data: Likewise.
47004 * conform/data/setjmp.h-data: Likewise.
47005 * conform/data/signal.h-data: Likewise.
47006 * conform/data/spawn.h-data: Likewise.
47007 * conform/data/stdarg.h-data: Likewise.
47008 * conform/data/stdio.h-data: Likewise.
47009 * conform/data/stdlib.h-data: Likewise.
47010 * conform/data/string.h-data: Likewise.
47011 * conform/data/strings.h-data: Likewise.
47012 * conform/data/stropts.h-data: Likewise.
47013 * conform/data/sys/ipc.h-data: Likewise.
47014 * conform/data/sys/mman.h-data: Likewise.
47015 * conform/data/sys/msg.h-data: Likewise.
47016 * conform/data/sys/resource.h-data: Likewise.
47017 * conform/data/sys/select.h-data: Likewise.
47018 * conform/data/sys/sem.h-data: Likewise.
47019 * conform/data/sys/shm.h-data: Likewise.
47020 * conform/data/sys/socket.h-data: Likewise.
47021 * conform/data/sys/stat.h-data: Likewise.
47022 * conform/data/sys/statvfs.h-data: Likewise.
47023 * conform/data/sys/time.h-data: Likewise.
47024 * conform/data/sys/timeb.h-data: Likewise.
47025 * conform/data/sys/times.h-data: Likewise.
47026 * conform/data/sys/types.h-data: Likewise.
47027 * conform/data/sys/uio.h-data: Likewise.
47028 * conform/data/sys/un.h-data: Likewise.
47029 * conform/data/sys/utsname.h-data: Likewise.
47030 * conform/data/sys/wait.h-data: Likewise.
47031 * conform/data/syslog.h-data: Likewise.
47032 * conform/data/tar.h-data: Likewise.
47033 * conform/data/termios.h-data: Likewise.
47034 * conform/data/utime.h-data: Likewise.
47035 * conform/data/utmpx.h-data: Likewise.
47036 * conform/data/varargs.h-data: Likewise.
47037 * conform/data/wchar.h-data: Likewise.
47038 * conform/data/wctype.h-data: Likewise.
47039 * conform/data/wordexp.h-data: Likewise.
47040
47041 * include/stropts.h: New file.
47042 * include/uchar.h: New file.
47043 * include/aio.h: Changes to allow conformtest.pl to use the headers.
47044 * include/assert.h: Likewise.
47045 * include/ctype.h: Likewise.
47046 * include/dirent.h: Likewise.
47047 * include/dlfcn.h: Likewise.
47048 * include/fcntl.h: Likewise.
47049 * include/fnmatch.h: Likewise.
47050 * include/glob.h: Likewise.
47051 * include/grp.h: Likewise.
47052 * include/libio.h: Likewise.
47053 * include/locale.h: Likewise.
47054 * include/math.h: Likewise.
47055 * include/net/if.h: Likewise.
47056 * include/netdb.h: Likewise.
47057 * include/netinet/in.h: Likewise.
47058 * include/pthread.h: Likewise.
47059 * include/pwd.h: Likewise.
47060 * include/regex.h: Likewise.
47061 * include/sched.h: Likewise.
47062 * include/search.h: Likewise.
47063 * include/setjmp.h: Likewise.
47064 * include/signal.h: Likewise.
47065 * include/stdio.h: Likewise.
47066 * include/stdlib.h: Likewise.
47067 * include/string.h: Likewise.
47068 * include/sys/cdefs.h: Likewise.
47069 * include/sys/mman.h: Likewise.
47070 * include/sys/msg.h: Likewise.
47071 * include/sys/resource.h: Likewise.
47072 * include/sys/select.h: Likewise.
47073 * include/sys/socket.h: Likewise.
47074 * include/sys/stat.h: Likewise.
47075 * include/sys/statvfs.h: Likewise.
47076 * include/sys/time.h: Likewise.
47077 * include/sys/times.h: Likewise.
47078 * include/sys/uio.h: Likewise.
47079 * include/sys/utsname.h: Likewise.
47080 * include/sys/wait.h: Likewise.
47081 * include/termios.h: Likewise.
47082 * include/time.h: Likewise.
47083 * include/ulimit.h: Likewise.
47084 * include/unistd.h: Likewise.
47085 * include/utime.h: Likewise.
47086 * include/wchar.h: Likewise.
47087 * include/wctype.h: Likewise.
47088 * include/wordexp.h: Likewise.
47089
47090 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
47091
47092 * time/time.h: TIME_UTC must be a macro.
47093 Make timespec_get available for ISO C11 only as well.
47094
47095 2012-02-24 Ulrich Drepper <drepper@gmail.com>
47096
47097 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
47098 Reported by Peng Haitao <penght@cn.fujitsu.com>.
47099
47100 2012-02-24 Joseph Myers <joseph@codesourcery.com>
47101
47102 * configure.in: Use -o not -a in test for unsupported multi-arch.
47103
47104 2012-02-24 Joseph Myers <joseph@codesourcery.com>
47105
47106 * manual/texinfo.tex: Update to version 2012-01-19.16.
47107
47108 2012-02-24 Joseph Myers <joseph@codesourcery.com>
47109
47110 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
47111
47112 2012-02-24 Roland McGrath <roland@hack.frob.com>
47113
47114 [BZ #13738]
47115 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
47116 * manual/fdl-1.3.texi: New file.
47117 * manual/fdl-1.1.texi: File removed.
47118
47119 [BZ #13738]
47120 * manual/libc.texinfo (FDL_VERSION): New @set.
47121 Use it for mention of FDL in cover text.
47122 (Documentation License): Use it in @include file name.
47123
47124 2012-02-22 Joseph Myers <joseph@codesourcery.com>
47125 Roland McGrath <roland@hack.frob.com>
47126
47127 [BZ #5461]
47128 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
47129 (not LONG_LONG_MAX and LONG_LONG_MIN.
47130 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
47131 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
47132 name.
47133 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
47134
47135 2012-02-22 Joseph Myers <joseph@codesourcery.com>
47136
47137 [BZ #2547]
47138 [BZ #11365]
47139 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
47140 manipulate bits before adding and subtracting TWO23[sx].
47141 * math/libm-test.inc (nearbyint_test): Add more tests.
47142
47143 2012-02-22 Joseph Myers <joseph@codesourcery.com>
47144
47145 [BZ #2548]
47146 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
47147 bits before adding and subtracting TWO23[sx].
47148 * math/libm-test.inc (rint_test): Add more tests.
47149 (rint_test_tonearest): Likewise.
47150 (rint_test_towardzero): Likewise.
47151 (rint_test_downward): Likewise.
47152 (rint_test_upward: Likewise.
47153
47154 2012-02-22 Joseph Myers <joseph@codesourcery.com>
47155
47156 [BZ #10110]
47157 * include/stdc-predef.h: New file. Extracted from features.h.
47158 * include/features.h: Include stdc-predef.h.
47159 * Makefile (headers): Add stdc-predef.h.
47160 * CONFORMANCE (Compiler limitations): Update.
47161
47162 2012-02-22 Joseph Myers <joseph@codesourcery.com>
47163
47164 * manual/libc.texinfo (VERSION, UPDATED): Revert.
47165
47166 2012-02-21 David S. Miller <davem@davemloft.net>
47167
47168 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
47169 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
47170
47171 2012-02-20 David S. Miller <davem@davemloft.net>
47172
47173 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
47174 using a normal save/restore sequence, rather than allocating a
47175 dummy stack frame just to store a frame pointer and restore.
47176 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
47177
47178 2012-02-21 Joseph Myers <joseph@codesourcery.com>
47179
47180 * manual/install.texi: Fix stray word in line-wrapped comment.
47181
47182 2012-02-20 David S. Miller <davem@davemloft.net>
47183
47184 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
47185 both binutils and gcc support GOTDATA.
47186
47187 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
47188 "rd %pc" in the PIC register setup sequences.
47189
47190 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
47191 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
47192 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
47193 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
47194 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
47195 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
47196 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
47197 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
47198 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
47199 (SYSCALL_ERROR_HANDLER): Likewise.
47200 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
47201 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
47202 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
47203 (SYSCALL_ERROR_HANDLER): Likewise.
47204
47205 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
47206 (HAVE_GCC_GOTDATA): New.
47207 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
47208 relocation support in both binutils and gcc.
47209 * sysdeps/sparc/elf/configure: Regenerate.
47210
47211 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
47212 * sysdeps/sparc/sparc32/elf/configure: Delete.
47213 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
47214 * sysdeps/sparc/sparc64/elf/configure: Delete.
47215 * sysdeps/sparc/elf/configure.in: New file.
47216 * sysdeps/sparc/elf/configure: Generate.
47217
47218 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
47219 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
47220 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
47221 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
47222 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
47223
47224 2012-02-21 Joseph Myers <joseph@codesourcery.com>
47225
47226 * manual/install.texi: Do not mention specific glibc version
47227 numbers.
47228 * manual/libc.texinfo (VERSION, UPDATED): Update.
47229 (@copying): Use @copyright{} and range of years.
47230
47231 2012-02-21 Joseph Myers <joseph@codesourcery.com>
47232
47233 [BZ #13695]
47234 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
47235 [crti.S not in sysdirs] (generated): Do not append.
47236 [crti.S not in sysdirs] (omit-deps): Likewise.
47237 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
47238 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
47239 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
47240 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
47241 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
47242 Likewise.
47243 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
47244 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
47245 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
47246 * csu/defs.awk: Remove file.
47247 * sysdeps/generic/initfini.c: Likewise.
47248 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
47249 variable.
47250 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
47251 Likewise.
47252
47253 2012-02-20 Joseph Myers <joseph@codesourcery.com>
47254
47255 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
47256 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
47257 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
47258 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
47259 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
47260 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
47261 <bits/epoll.h>.
47262 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
47263 (__EPOLL_PACKED): Define to empty if not defined by
47264 <bits/epoll.h>.
47265 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
47266 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
47267 bits/epoll.h.
47268
47269 2012-02-20 Joseph Myers <joseph@codesourcery.com>
47270
47271 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
47272 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
47273 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
47274 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
47275 <bits/timerfd.h>.
47276 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
47277 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
47278 bits/timerfd.h.
47279
47280 2012-02-20 Joseph Myers <joseph@codesourcery.com>
47281
47282 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
47283 in C locale.
47284 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
47285 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
47286 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
47287 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47288
47289 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
47290
47291 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
47292 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
47293
47294 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
47295
47296 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
47297 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
47298 defined.
47299 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
47300 Likewise.
47301 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
47302 entry for 2.16.
47303
47304 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
47305
47306 * math/w_acos.c: Use non-signaling floating-point comparisons.
47307 * math/w_acosf.c: Likewise.
47308 * math/w_acosh.c: Likewise.
47309 * math/w_acoshf.c: Likewise.
47310 * math/w_acoshl.c: Likewise.
47311 * math/w_acosl.c: Likewise.
47312 * math/w_asin.c: Likewise.
47313 * math/w_asinf.c: Likewise.
47314 * math/w_asinl.c: Likewise.
47315 * math/w_atanh.c: Likewise.
47316 * math/w_atanhf.c: Likewise.
47317 * math/w_atanhl.c: Likewise.
47318 * math/w_exp2.c: Likewise.
47319 * math/w_exp2f.c: Likewise.
47320 * math/w_exp2l.c: Likewise.
47321 * math/w_j0.c: Likewise.
47322 * math/w_j0f.c: Likewise.
47323 * math/w_j0l.c: Likewise.
47324 * math/w_j1.c: Likewise.
47325 * math/w_j1f.c: Likewise.
47326 * math/w_j1l.c: Likewise.
47327 * math/w_jn.c: Likewise.
47328 * math/w_jnf.c: Likewise.
47329 * math/w_log.c: Likewise.
47330 * math/w_log10.c: Likewise.
47331 * math/w_log10f.c: Likewise.
47332 * math/w_log10l.c: Likewise.
47333 * math/w_log2.c: Likewise.
47334 * math/w_log2f.c: Likewise.
47335 * math/w_log2l.c: Likewise.
47336 * math/w_logf.c: Likewise.
47337 * math/w_logl.c: Likewise.
47338 * math/w_sqrt.c: Likewise.
47339 * math/w_sqrtf.c: Likewise.
47340 * math/w_sqrtl.c: Likewise.
47341 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
47342 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
47343 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
47344 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
47345 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
47346
47347 2012-02-19 Joseph Myers <joseph@codesourcery.com>
47348
47349 [BZ #9739]
47350 * manual/string.texi (strnlen): Use correct parameter name in
47351 equivalent expression.
47352
47353 2012-02-19 Joseph Myers <joseph@codesourcery.com>
47354
47355 [BZ #11174]
47356 * manual/users.texi (seteuid): Consistently use neweuid for
47357 argument name.
47358
47359 2012-02-19 Joseph Myers <joseph@codesourcery.com>
47360
47361 [BZ #13704]
47362 * manual/nss.texi (Services in the NSS configuration): Correct
47363 list of services in example configuration file.
47364
47365 2012-02-19 Nick Bowler <nbowler@draconx.ca>
47366
47367 [BZ #11322]
47368 * manual/arith.texi: Remove statements about negative zero
47369 behaving identically to zero.
47370
47371 2012-02-18 Joseph Myers <joseph@codesourcery.com>
47372
47373 [BZ #5993]
47374 * manual/install.texi: Do not document upgrading from libc5.
47375
47376 2012-02-18 Joseph Myers <joseph@codesourcery.com>
47377
47378 [BZ #4596]
47379 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
47380
47381 2012-02-18 David S. Miller <davem@davemloft.net>
47382
47383 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
47384 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
47385 %o7 across the call.
47386 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
47387 instead.
47388 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
47389 SETUP_PIC_REG_LEAF.
47390 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
47391 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
47392 * sysdeps/sparc/crtn.S: Likewise.
47393
47394 2012-02-17 Ulrich Drepper <drepper@gmail.com>
47395
47396 * aout/Makefile: Remove.
47397
47398 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
47399
47400 [BZ #13058]
47401 * manual/examples/argp-ex1.c (main): Format definition in GNU
47402 style.
47403 * manual/examples/argp-ex2.c (main): Likewise.
47404 * manual/examples/argp-ex3.c (main): Likewise.
47405 * manual/examples/argp-ex4.c (main): Likewise.
47406 * manual/examples/longopt.c (main): Use new-style prototype
47407 definition.
47408 * manual/examples/strncat.c (main): Specify return type and use
47409 (void) for arguments.
47410 * manual/examples/subopt.c (main): Use char **argv argument.
47411
47412 2012-02-17 Joseph Myers <joseph@codesourcery.com>
47413
47414 [BZ #5077]
47415 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
47416 rounding modes.
47417
47418 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
47419
47420 [BZ #6907]
47421 * manual/string.texi (strchr): Change when strchrnul is
47422 recommended.
47423
47424 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
47425
47426 [BZ #174]
47427 * manual/locale.texi (setlocale): Document LOCPATH.
47428
47429 2012-02-17 Joseph Myers <joseph@codesourcery.com>
47430
47431 [BZ #10210]
47432 * manual/process.texi (execle): Move @dots{} before last argument.
47433
47434 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
47435
47436 [BZ #12047]
47437 * manual/charset.texi (Generic Charset Conversion): Fix typo
47438 (LC_TYPE -> LC_CTYPE).
47439
47440 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
47441
47442 [BZ #5805]
47443 * manual/arith.texi (scalbn): Use @var{} on parameter names.
47444 (scalbnf): Likewise.
47445 (scalbnl): Likewise.
47446 (scalbln): Likewise.
47447 (scalblnf): Likewise.
47448 (scalblnl): Likewise.
47449 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
47450 (vwarnx): Likewise.
47451 (verr): Likewise.
47452 (verrx): Likewise.
47453 * manual/filesys.texi (telldir): Use braces around return type.
47454 * manual/llio.texi (mmap): Add space after comma.
47455 (mmap64): Likewise.
47456 * manual/math.texi (jn): Use @var{} on parameter names.
47457 (jnf): Likewise.
47458 (jnl): Likewise.
47459 (yn): Likewise.
47460 (ynf): Likewise.
47461 (ynl): Likewise.
47462 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
47463 line.
47464 * manual/resource.texi (ulimit): Use @dots{} instead of literal
47465 "...".
47466 (sched_get_priority_min): Remove semicolon on @deftypefun line.
47467 (sched_get_priority_max): Likewise.
47468 * manual/signal.texi (sigvec): Add space after comma.
47469 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
47470 names.
47471 (if_indextoname): Likewise.
47472 (if_freenameindex): Likewise.
47473 (sendto): Use ',' instead of '.' in prototype.
47474 * manual/startup.texi (syscall): Use @dots{} instead of literal
47475 "...".
47476 * manual/stdio.texi (__fpending): Separate initial words of
47477 paragraph from @deftypefun line.
47478 * manual/syslog.texi (syslog): Use @dots{} instead of literal
47479 "...".
47480 (vsyslog): Use @var{} on parameter names.
47481 * manual/terminal.texi (stty): Use @var{} on parameter names.
47482 * manual/users.texi (getutmp): Use @var{} on parameter names.
47483 (getutmpx): Likewise.
47484
47485 2012-02-17 Joseph Myers <joseph@codesourcery.com>
47486
47487 [BZ #6884]
47488 * manual/stdio.texi (fopen): Fix typos in description of
47489 ",ccs=STRING".
47490
47491 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
47492
47493 [BZ #4026]
47494 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
47495 get clock_id definition.
47496
47497 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
47498
47499 [BZ #4822]
47500 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
47501 (madvise): Cast every argument to void on its own.
47502
47503 2012-02-17 Joseph Myers <joseph@codesourcery.com>
47504
47505 [BZ #9902]
47506 * manual/startup.texi (Exit Status): Fix typo.
47507
47508 2012-02-17 Joseph Myers <joseph@codesourcery.com>
47509
47510 [BZ #10140]
47511 * manual/examples/argp-ex1.c: Include <stdlib.h>.
47512 * manual/examples/argp-ex2.c: Likewise.
47513 * manual/examples/argp-ex3.c: Likewise.
47514
47515 2012-02-16 Richard Henderson <rth@redhat.com>
47516
47517 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
47518 * sysdeps/s390/s390-32/initfini.c: Remove.
47519 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
47520 * sysdeps/s390/s390-64/initfini.c: Remove.
47521
47522 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
47523
47524 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
47525 compiler output for sysdeps/generic/initfini.c.
47526 * sysdeps/sh/elf/initfini.c: Remove file.
47527
47528 2012-02-16 David S. Miller <davem@davemloft.net>
47529
47530 [BZ #11494]
47531 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
47532
47533 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
47534 * sysdeps/sparc/crti.S: New file.
47535 * sysdeps/sparc/crtn.S: New file.
47536 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
47537 * sysdeps/sparc/sparc64/Makefile: Likewise.
47538
47539 2012-02-15 Mike Frysinger <vapier@gentoo.org>
47540
47541 [BZ #3335]
47542 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
47543
47544 2012-02-15 Roland McGrath <roland@hack.frob.com>
47545
47546 [BZ #4822]
47547 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
47548
47549 * mach/devstream.c (cookie_io_functions_t): Macro removed.
47550 (write, read, close): Likewise.
47551 Patch by Aurelien Jarno <aurelien@aurel32.net>.
47552
47553 2012-02-15 Joseph Myers <joseph@codesourcery.com>
47554
47555 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
47556 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
47557 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
47558 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
47559 <bits/signalfd.h>.
47560 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
47561 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
47562 bits/signalfd.h.
47563
47564 2012-02-14 Marek Polacek <polacek@redhat.com>
47565
47566 * sysdeps/x86_64/crti.S: New file.
47567 * sysdeps/x86_64/crtn.S: New file.
47568 * sysdeps/x86_64/elf/initfini.c: Remove file.
47569
47570 2012-02-13 Joseph Myers <joseph@codesourcery.com>
47571
47572 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
47573 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
47574 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
47575 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
47576 <bits/inotify.h>.
47577 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
47578 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
47579 bits/inotify.h.
47580
47581 2012-02-13 Joseph Myers <joseph@codesourcery.com>
47582
47583 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
47584 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
47585 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
47586 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
47587 <bits/eventfd.h>.
47588 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
47589 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
47590 bits/eventfd.h.
47591
47592 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
47593
47594 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
47595 __feraiseexcept instead of feraiseexcept.
47596
47597 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
47598 nanosleep invocations.
47599 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
47600 strings, and add error checking for a nanosleep invocations.
47601
47602 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
47603
47604 Replace FSF snail mail address with URLs, as per GNU coding standards.
47605 Most of the snail mail addresses were wrong anyway, and omitting
47606 them makes the source code easier to maintain. Almost all of the
47607 changes are to license notices and to locale LC_IDENTIFICATION
47608 addresses, except for this one:
47609 * manual/libc.texinfo: In "Published by", give the FSF's URL,
47610 not its snail mail address.
47611
47612 2012-02-09 Richard Henderson <rth@twiddle.net>
47613
47614 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
47615 of kernel-features.h.
47616
47617 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
47618
47619 2012-02-08 Marek Polacek <polacek@redhat.com>
47620
47621 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
47622 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
47623 * sysdeps/gnu/_G_config.h: Likewise.
47624 * sysdeps/generic/_G_config.h: Likewise.
47625
47626 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
47627
47628 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
47629 tests.
47630 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47631
47632 * sysdeps/powerpc/powerpc32/crti.S: New file.
47633 * sysdeps/powerpc/powerpc32/crtn.S: New file.
47634 * sysdeps/powerpc/powerpc64/crti.S: New file.
47635 * sysdeps/powerpc/powerpc64/crtn.S: New file.
47636
47637 * Makeconfig (have-initfini): Don't set.
47638 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
47639 * configure.in (nopic_initfini): Don't substitute.
47640 * config.h.in (HAVE_INITFINI): Don't #undef.
47641 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
47642 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
47643
47644 2012-02-08 Joseph Myers <joseph@codesourcery.com>
47645
47646 Support crti.S and crtn.S provided directly by architectures.
47647 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
47648 [crti.S in sysdirs] (omit-deps): Likewise.
47649 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
47650 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
47651 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
47652 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
47653 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
47654 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
47655 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
47656 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
47657 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
47658 compiler output for sysdeps/generic/initfini.c.
47659 * sysdeps/i386/elf/Makefile: Remove file.
47660 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
47661
47662 2012-02-07 Marek Polacek <polacek@redhat.com>
47663
47664 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
47665 * sysdeps/gnu/_G_config.h: Likewise.
47666 * sysdeps/mach/hurd/_G_config.h: Likewise.
47667
47668 2012-02-07 Marek Polacek <polacek@redhat.com>
47669
47670 * math/Makefile (tests): Add tst-CMPLX2.
47671 * math/tst-CMPLX2.c: New file.
47672
47673 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
47674
47675 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
47676
47677 * math/libm-test.inc (jn_test): Add missing L suffix.
47678
47679 2012-02-06 Marek Polacek <polacek@redhat.com>
47680
47681 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
47682 * sysdeps/i386/fpu/e_powf.S: Likewise.
47683 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
47684 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
47685 * sysdeps/i386/fpu/e_acosh.S: Likewise.
47686 * sysdeps/i386/fpu/e_pow.S: Likewise.
47687 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
47688 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
47689 * sysdeps/i386/fpu/s_expm1.S: Likewise.
47690 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
47691 * sysdeps/i386/fpu/e_log2.S: Likewise.
47692 * sysdeps/i386/fpu/e_log2l.S: Likewise.
47693 * sysdeps/i386/fpu/e_scalb.S: Likewise.
47694 * sysdeps/i386/fpu/e_powl.S: Likewise.
47695 * sysdeps/i386/fpu/s_log1p.S: Likewise.
47696 * sysdeps/i386/fpu/e_log10f.S: Likewise.
47697 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
47698 * sysdeps/i386/fpu/e_logl.S: Likewise.
47699 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
47700 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
47701 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
47702 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
47703 * sysdeps/i386/fpu/e_log2f.S: Likewise.
47704 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
47705 * sysdeps/i386/fpu/e_log.S: Likewise.
47706 * sysdeps/i386/fpu/s_cexp.S: Likewise.
47707 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
47708 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
47709 * sysdeps/i386/fpu/e_logf.S: Likewise.
47710 * sysdeps/i386/fpu/e_log10l.S: Likewise.
47711 * sysdeps/i386/fpu/e_atanh.S: Likewise.
47712 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
47713 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
47714 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
47715 * sysdeps/i386/fpu/e_log10.S: Likewise.
47716 * sysdeps/i386/fpu/s_frexp.S: Likewise.
47717 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
47718 * sysdeps/i386/fpu/s_asinh.S: Likewise.
47719 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
47720 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
47721 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
47722 * sysdeps/i386/asm-syntax.h: Likewise.
47723 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
47724 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
47725 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
47726 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
47727 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
47728 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
47729 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
47730 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
47731 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
47732 * sysdeps/powerpc/sysdep.h: Likewise.
47733 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
47734 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
47735
47736 2012-02-06 Joseph Myers <joseph@codesourcery.com>
47737
47738 [BZ #411]
47739 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
47740
47741 2012-02-06 Joseph Myers <joseph@codesourcery.com>
47742
47743 * sysdeps/i386/sysdep.h: Include <features.h>.
47744 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
47745 version.
47746
47747 2012-02-05 Joseph Myers <joseph@codesourcery.com>
47748
47749 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
47750 Define.
47751 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
47752 LOAD_PIC_REG_STR.
47753
47754 2012-02-03 Joseph Myers <joseph@codesourcery.com>
47755
47756 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
47757 (SETUP_PIC_REG): Use GET_PC_THUNK.
47758 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
47759 macro.
47760
47761 2012-02-03 Joseph Myers <joseph@codesourcery.com>
47762
47763 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
47764 for non-PIC compilation.
47765 (SETUP_PIC_REG): Add .p2align directive.
47766 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
47767 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
47768 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
47769 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
47770 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
47771 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
47772 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
47773 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
47774 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
47775 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
47776 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
47777 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
47778 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
47779 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
47780 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
47781 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
47782 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
47783 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
47784 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
47785 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
47786 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
47787 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
47788 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
47789 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
47790 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
47791 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
47792 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
47793 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
47794 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
47795 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
47796 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
47797 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
47798 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
47799 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
47800 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
47801 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
47802 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
47803 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
47804 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
47805 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
47806 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
47807
47808 2012-02-03 Joseph Myers <joseph@codesourcery.com>
47809
47810 * math/tst-CMPLX.c: Include <stdio.h>.
47811
47812 2012-01-31 Joseph Myers <joseph@codesourcery.com>
47813
47814 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
47815 float.
47816 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
47817 * sysdeps/sparc/bits/mathdef.h: Likewise.
47818
47819 2012-01-31 Marek Polacek <polacek@redhat.com>
47820
47821 * libio/libio.h: Don't define _PARAMS.
47822 * locale/programs/config.h: Don't define PARAMS.
47823 * stdlib/strtol_l.c: Likewise.
47824 (__strtol_l): Remove PARAMS from the prototype.
47825
47826 2012-01-31 Ulrich Drepper <drepper@gmail.com>
47827
47828 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
47829 names. Just use the correct names. Remove unnecessary wrapper
47830 functions.
47831 * malloc/arena.c: Likewise.
47832 * malloc/hooks.c: Likewise.
47833
47834 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
47835 ARENA_TEST says not to. Simplify test for creation of a new arena.
47836 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
47837
47838 2012-01-30 Ulrich Drepper <drepper@gmail.com>
47839
47840 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
47841 into tail calls.
47842 (update_get_addr): New function.
47843 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
47844 GET_ADDR_MODULE parameter.
47845
47846 2012-01-30 Joseph Myers <joseph@codesourcery.com>
47847
47848 * crypt/cert.c: Remove __STDC__ conditionals.
47849 * crypt/crypt-entry.c: Likewise.
47850 * crypt/crypt_util.c: Likewise.
47851 * libio/filedoalloc.c: Likewise.
47852 * libio/fileops.c: Likewise.
47853 * libio/genops.c: Likewise.
47854 * libio/iofclose.c: Likewise.
47855 * libio/iofdopen.c: Likewise.
47856 * libio/iofopen.c: Likewise.
47857 * libio/iofopen64.c: Likewise.
47858 * libio/iogetdelim.c: Likewise.
47859 * libio/iopopen.c: Likewise.
47860 * libio/obprintf.c: Likewise.
47861 * libio/oldfileops.c: Likewise.
47862 * libio/oldiofclose.c: Likewise.
47863 * libio/oldiofdopen.c: Likewise.
47864 * libio/oldiofopen.c: Likewise.
47865 * libio/oldiopopen.c: Likewise.
47866 * libio/wfiledoalloc.c: Likewise.
47867 * libio/wgenops.c: Likewise.
47868 * locale/programs/xmalloc.c: Likewise.
47869 * misc/syslog.c: Likewise.
47870 * stdio-common/xbug.c: Likewise.
47871 * string/memchr.c: Likewise.
47872 * string/memcmp.c: Likewise.
47873 * string/memrchr.c: Likewise.
47874 * string/rawmemchr.c: Likewise.
47875 * sysdeps/posix/getcwd.c: Likewise.
47876 * time/strftime_l.c: Likewise.
47877
47878 2012-01-30 Joseph Myers <joseph@codesourcery.com>
47879
47880 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
47881 * config.make.in (config-cflags-sse2avx): Define.
47882 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
47883 Fix typo.
47884
47885 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
47886
47887 * scripts/config.guess: Update from upstream config git repository.
47888 * scripts/config.sub: Likewise.
47889
47890 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
47891
47892 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
47893 (EM_NUM): Update.
47894 (R_TILEPRO_*, R_TILEGX_*): New macros.
47895
47896 * scripts/firstversions.awk: Fix bug in version range handling.
47897
47898 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
47899
47900 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
47901
47902 * include/sys/epoll.h: New file.
47903 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
47904 libc_hidden_def.
47905
47906 2012-01-28 Ulrich Drepper <drepper@gmail.com>
47907
47908 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
47909 Avoid unnecessary __WORDSIZE == 64 test.
47910 (fmaxf): Use VEX format if possible.
47911 (fmax): Likewise.
47912 (fminf): Likewise.
47913 (fmin): Likewise.
47914
47915 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
47916 * math/math_private.h: Remove libc_fegetround* and
47917 libc_fesetround*.
47918 * sysdeps/i386/configure.in: Check for -msse2avx.
47919 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
47920 also if SSE2AVX is defined.
47921 Remove libc_fegetround* and libc_fesetround*.
47922 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
47923 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
47924 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
47925 of HAS_YMM_USABLE.
47926 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
47927 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
47928 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
47929 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
47930 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
47931
47932 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
47933
47934 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
47935
47936 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
47937 size is not set.
47938 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
47939
47940 2012-01-27 Ulrich Drepper <drepper@gmail.com>
47941
47942 [BZ #13618]
47943 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
47944 relocation.
47945 * Makeconfig (libm): Define.
47946 * elf/Makefile: Add rules to build and run tst-relsort1.
47947 * elf/tst-relsort1.c: New file.
47948 * elf/tst-relsort1mod1.c: New file.
47949 * elf/tst-relsort1mod2.c: New file.
47950
47951 2012-01-27 Joseph Myers <joseph@codesourcery.com>
47952
47953 * math/s_ldexp.c: Remove __STDC__ conditionals.
47954 * math/s_ldexpf.c: Likewise.
47955 * math/s_ldexpl.c: Likewise.
47956 * math/s_nextafter.c: Likewise.
47957 * math/s_nexttowardf.c: Likewise.
47958 * math/s_significand.c: Likewise.
47959 * math/s_significandf.c: Likewise.
47960 * math/s_significandl.c: Likewise.
47961 * math/w_jnl.c: Likewise.
47962 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
47963 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
47964 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
47965 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
47966 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
47967 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
47968 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
47969 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
47970 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
47971 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
47972 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
47973 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
47974 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
47975 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
47976 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
47977 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
47978 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
47979 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
47980 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
47981 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
47982 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
47983 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
47984 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
47985 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
47986 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
47987 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
47988 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
47989 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
47990 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
47991 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
47992 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
47993 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
47994 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
47995 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
47996 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
47997 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
47998 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
47999 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
48000 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
48001 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
48002 * sysdeps/ieee754/k_standard.c: Likewise.
48003 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
48004 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
48005 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
48006 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
48007 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
48008 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
48009 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
48010 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
48011 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
48012 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
48013 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
48014 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
48015 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
48016 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
48017 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
48018 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
48019 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
48020 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
48021 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
48022 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
48023 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
48024 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
48025 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
48026 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
48027 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
48028 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
48029 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
48030 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
48031 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
48032 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
48033 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
48034 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
48035 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
48036 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
48037 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
48038 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
48039 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
48040 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
48041 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
48042 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
48043 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
48044 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
48045 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
48046 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
48047 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
48048 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
48049 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
48050 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
48051 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
48052 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
48053 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
48054 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
48055 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
48056 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
48057 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
48058 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
48059 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
48060 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
48061 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
48062 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
48063 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
48064 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
48065 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
48066 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
48067 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
48068 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
48069 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
48070 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
48071 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
48072 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
48073 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
48074 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
48075 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
48076 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
48077 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
48078 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
48079 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
48080 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
48081 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
48082 * sysdeps/ieee754/s_matherr.c: Likewise.
48083 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
48084 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
48085 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
48086 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
48087
48088 2012-01-26 Joseph Myers <joseph@codesourcery.com>
48089
48090 * crypt/md5.h: Remove __STDC__ conditionals.
48091 * libio/libioP.h: Likewise.
48092 * locale/programs/config.h: Likewise.
48093 * sysdeps/generic/sysdep.h: Likewise.
48094 * sysdeps/i386/asm-syntax.h: Likewise.
48095 * sysdeps/s390/asm-syntax.h: Likewise.
48096 * sysdeps/unix/sysdep.h: Likewise.
48097 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
48098 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
48099
48100 2012-01-26 Joseph Myers <joseph@codesourcery.com>
48101
48102 * libio/libio.h: Remove __STDC__ conditionals.
48103 * malloc/obstack.h: Likewise.
48104 * math/complex.h: Likewise.
48105 * math/math.h: Likewise.
48106 * sysdeps/generic/_G_config.h: Likewise.
48107 * sysdeps/gnu/_G_config.h: Likewise.
48108 * sysdeps/mach/hurd/_G_config.h: Likewise.
48109 * sysdeps/powerpc/bits/mathdef.h: Likewise.
48110 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
48111 * sysdeps/sparc/bits/mathdef.h: Likewise.
48112
48113 2012-01-26 Ulrich Drepper <drepper@gmail.com>
48114
48115 [BZ #13583]
48116 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
48117 Clean up HAS_* macros.
48118 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
48119 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
48120 possible.
48121 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
48122 HAS_AVX.
48123 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
48124 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
48125 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
48126 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
48127 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
48128
48129 2012-01-25 Joseph Myers <joseph@codesourcery.com>
48130
48131 * elf/tst-unique3.cc (gets): Remove declaration.
48132 * elf/tst-unique3lib.cc (gets): Likewise.
48133 * elf/tst-unique3lib2.cc (gets): Likewise.
48134 * elf/tst-unique4.cc (gets): Likewise.
48135
48136 2012-01-24 Ulrich Drepper <drepper@gmail.com>
48137
48138 * include/stdio.h: Add C++ protection. Add gets declarations and
48139 definitions.
48140 * debug/tst-chk1.c: Don't declare gets here.
48141 * stdio-common/tst-gets.c: Likewise.
48142
48143 2012-01-24 Joseph Myers <joseph@codesourcery.com>
48144
48145 * posix/glob: Remove directory.
48146
48147 2012-01-24 Joseph Myers <joseph@codesourcery.com>
48148
48149 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
48150
48151 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
48152
48153 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
48154 of the non-standard EPFNOSUPPORT.
48155
48156 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
48157
48158 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
48159 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
48160 ANYWHERE set to 1 only on KERN_NO_SPACE error.
48161
48162 2012-01-21 Ulrich Drepper <drepper@gmail.com>
48163
48164 * wcsmbs/uchar.h: Test __STDC_VERSION__.
48165
48166 2012-01-20 Ulrich Drepper <drepper@gmail.com>
48167
48168 * nscd/aicache.c (addhstaiX): Do not cache negative results of
48169 transient errors.
48170 * nscd/grpcache.c (cache_addgr): Likewise.
48171 * nscd/hstcache.c (cache_addhst): Likewise.
48172 * nscd/initgrcache.c (addinitgroupsX): Likewise.
48173 * nscd/pwdcache.c (cache_addpw): Likewise.
48174 * nscd/servicescache.c (cache_addserv): Likewise.
48175
48176 2012-01-16 Ulrich Drepper <drepper@gmail.com>
48177
48178 * malloc/malloc.c: Various cleanups.
48179 * malloc/hooks.c: Likewise.
48180
48181 * stdlib/Makefile (tests): Add bug-fmtmsg1.
48182 * stdlib/bug-fmtmsg1.c: New file.
48183
48184 * stdlib/fmtmsg.c (init): Add missing unlock.
48185 Patch by Peng Haitao <penght@cn.fujitsu.com>.
48186
48187 2012-01-12 Marek Polacek <polacek@redhat.com>
48188
48189 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
48190 and _GNU_SOURCE.
48191
48192 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
48193
48194 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
48195 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
48196 macro to ensure uniqueness of label name.
48197 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
48198 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
48199
48200 2012-01-11 Ulrich Drepper <drepper@gmail.com>
48201
48202 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
48203
48204 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
48205 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
48206 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
48207 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
48208
48209 2012-01-10 Ulrich Drepper <drepper@gmail.com>
48210
48211 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
48212
48213 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
48214 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
48215 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
48216
48217 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
48218
48219 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
48220 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
48221 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
48222 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
48223
48224 * math/bits/math-finite.h: Add ldexp support.
48225
48226 2012-01-10 Marek Polacek <polacek@redhat.com>
48227
48228 * locale/programs/localedef.h (show_archive_content): Add noreturn
48229 attribute.
48230
48231 2012-01-09 Ulrich Drepper <drepper@gmail.com>
48232
48233 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
48234
48235 2012-01-08 Ulrich Drepper <drepper@gmail.com>
48236
48237 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
48238
48239 * io/Makefile (headers): Add bits/poll2.h.
48240
48241 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
48242
48243 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
48244 typo #include statement.
48245
48246 2012-01-08 Ulrich Drepper <drepper@gmail.com>
48247
48248 * include/sys/cdefs.h: Define __attribute_alloc_size.
48249 * catgets/gencat.c: Add alloc_size attribute and apply consistently
48250 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
48251 * elf/pldd.c: Likewise.
48252 * iconv/iconv_charmap.c: Likewise.
48253 * iconv/iconvconfig.c: Likewise.
48254 * iconv/strtab.c: Likewise.
48255 * locale/programs/locale.c: Likewise.
48256 * locale/programs/localedef.h: Likewise.
48257 * locale/programs/simple-hash.c: Likewise.
48258 * nscd/nscd.h: Likewise.
48259 * nss/makedb.c: Likewise.
48260 * sysdeps/generic/ldconfig.h: Likewise.
48261 * locale/programs/localedef.c: Remove xmalloc prototype.
48262 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
48263
48264 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
48265
48266 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
48267 appropriate.
48268
48269 2012-01-08 Ulrich Drepper <drepper@gmail.com>
48270
48271 * math/Makefile (tests): Add tst-CMPLX.
48272 * math/tst-CMPLX.c: New file.
48273
48274 * math/complex.h (CMPLXL): Fix typo.
48275
48276 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
48277 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
48278 GLIBC_2.16.
48279 * debug/tst-chk1.c: Add poll and ppoll tests.
48280 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
48281 * include/sys/poll.h: Add hidden proto for ppoll.
48282 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
48283 * sysdeps/mach/hurd/ppoll.c: Likewise.
48284 * io/ppoll.c: Likewise.
48285 * debug/poll_chk.c: New file.
48286 * debug/ppoll_chk.c: New file.
48287 * include/bits/poll2.h: New file.
48288 * io/bits/poll2.h: New file.
48289
48290 [BZ #1350]
48291 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
48292
48293 * configure.in: static is always set to yes. Remove.
48294 * config.make.in: Don't set build-static.
48295 * Makeconfig: Remove use of build-static.
48296 * dlfcn/Makefile: Likewise.
48297 * elf/Makefile: Likewise.
48298 * math/Makefile: Likewise.
48299 * misc/Makefile: Likewise.
48300 * nptl/Makefile: Likewise.
48301 * sysdeps/mach/hurd/Makefile: Likewise.
48302
48303 * configure.in: PWD_P is not used anymore.
48304 * config.make.in: Remove PWD_P entry.
48305
48306 * configure.in: Remove last remnants of RANLIB.
48307 No need to check for signed size_t anymore.
48308 Don't set libc_commonpagesize and libc_relro_required here for Alpha
48309 and IA-64.
48310 Remove __builtin_expect test because we require at least gcc 3.4.
48311 * aclocal.m4: Likewise.
48312
48313 * wcsmbs/mbrtoc16.c: Implement using towc function.
48314 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
48315 * wcsmbs/wcsmbsload.c: Likewise.
48316 * iconv/gconv_simple.c: Likewise.
48317 * iconv/gconv_int.h: Likewise.
48318 * iconv/gconv_builtin.h: Likewise.
48319 * iconv/iconv_prog.c: Remove CHAR16 handling.
48320
48321 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
48322
48323 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
48324
48325 * configure.in: Remove --with-elf and --enable-bounded options.
48326 Dont set base_machine for ia64. More non-ELF conditions removed.
48327 Remove testing and setting of leading underscore information.
48328 * config.make.in (build-bounded): Set to no.
48329 * config.h.in: Remove NO_UNDERSCORES entry.
48330 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
48331 them.
48332 * csu/start.c: Remove !NO_UNDERSCORE code.
48333 * locale/localeinfo.h: Likewise.
48334 * sysdeps/generic/machine-gmon.h: Likewise.
48335 * sysdeps/generic/sysdep.h: Likewise.
48336 * sysdeps/i386/sysdep.h: Likewise.
48337 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
48338 * sysdeps/mach/sysdep.h: Likewise.
48339 * sysdeps/s390/s390-32/sysdep.h: Likewise.
48340 * sysdeps/s390/s390-64/sysdep.h: Likewise.
48341 * sysdeps/sh/sysdep.h: Likewise.
48342 * sysdeps/sparc/sparc32/alloca.S: Likewise.
48343 * sysdeps/unix/i386/sysdep.S: Likewise.
48344 * sysdeps/unix/sparc/start.c: Likewise.
48345 * sysdeps/unix/sparc/sysdep.S: Likewise.
48346 * sysdeps/unix/sparc/sysdep.h: Likewise.
48347 * sysdeps/unix/start.c: Likewise.
48348 * sysdeps/unix/x86_64/sysdep.S: Likewise.
48349 * sysdeps/x86_64/sysdep.h: Likewise.
48350
48351 2012-01-07 Ulrich Drepper <drepper@gmail.com>
48352
48353 [BZ #13553]
48354 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
48355 for non-gcc.
48356 * argp/argp-fmtstream.h: Use const instead __const.
48357 * argp/argp.h: Likewise.
48358 * assert/assert.h: Likewise.
48359 * bits/fenv.h: Likewise.
48360 * bits/sched.h: Likewise.
48361 * bits/sigset.h: Likewise.
48362 * bits/sigthread.h: Likewise.
48363 * catgets/nl_types.h: Likewise.
48364 * conform/data/pthread.h-data: Likewise.
48365 * crypt/crypt-private.h: Likewise.
48366 * crypt/crypt.h: Likewise.
48367 * crypt/crypt_util.c: Likewise.
48368 * ctype/ctype.h: Likewise.
48369 * debug/execinfo.h: Likewise.
48370 * debug/mbsnrtowcs_chk.c: Likewise.
48371 * debug/mbsrtowcs_chk.c: Likewise.
48372 * debug/wcsnrtombs_chk.c: Likewise.
48373 * debug/wcsrtombs_chk.c: Likewise.
48374 * debug/wcstombs_chk.c: Likewise.
48375 * dirent/dirent.h: Likewise.
48376 * dlfcn/dlfcn.h: Likewise.
48377 * elf/neededtest4.c: Likewise.
48378 * grp/grp.h: Likewise.
48379 * gshadow/gshadow.h: Likewise.
48380 * iconv/gconv.h: Likewise.
48381 * iconv/gconv_int.h: Likewise.
48382 * iconv/gconv_simple.c: Likewise.
48383 * iconv/iconv.h: Likewise.
48384 * iconv/loop.c: Likewise.
48385 * iconv/skeleton.c: Likewise.
48386 * include/aio.h: Likewise.
48387 * include/aliases.h: Likewise.
48388 * include/argz.h: Likewise.
48389 * include/arpa/inet.h: Likewise.
48390 * include/assert.h: Likewise.
48391 * include/dirent.h: Likewise.
48392 * include/dlfcn.h: Likewise.
48393 * include/execinfo.h: Likewise.
48394 * include/fcntl.h: Likewise.
48395 * include/fenv.h: Likewise.
48396 * include/glob.h: Likewise.
48397 * include/grp.h: Likewise.
48398 * include/libintl.h: Likewise.
48399 * include/mntent.h: Likewise.
48400 * include/netdb.h: Likewise.
48401 * include/pwd.h: Likewise.
48402 * include/rpc/netdb.h: Likewise.
48403 * include/sched.h: Likewise.
48404 * include/search.h: Likewise.
48405 * include/shadow.h: Likewise.
48406 * include/signal.h: Likewise.
48407 * include/stdio.h: Likewise.
48408 * include/stdlib.h: Likewise.
48409 * include/string.h: Likewise.
48410 * include/sys/socket.h: Likewise.
48411 * include/sys/stat.h: Likewise.
48412 * include/sys/statfs.h: Likewise.
48413 * include/sys/statvfs.h: Likewise.
48414 * include/sys/syslog.h: Likewise.
48415 * include/sys/time.h: Likewise.
48416 * include/sys/uio.h: Likewise.
48417 * include/time.h: Likewise.
48418 * include/unistd.h: Likewise.
48419 * include/utmp.h: Likewise.
48420 * include/wchar.h: Likewise.
48421 * include/wctype.h: Likewise.
48422 * inet/aliases.h: Likewise.
48423 * inet/arpa/inet.h: Likewise.
48424 * inet/netinet/ether.h: Likewise.
48425 * inet/netinet/in.h: Likewise.
48426 * intl/libintl.h: Likewise.
48427 * io/bits/fcntl2.h: Likewise.
48428 * io/fcntl.h: Likewise.
48429 * io/ftw.h: Likewise.
48430 * io/sys/poll.h: Likewise.
48431 * io/sys/stat.h: Likewise.
48432 * io/sys/statfs.h: Likewise.
48433 * io/sys/statvfs.h: Likewise.
48434 * io/utime.h: Likewise.
48435 * libio/bits/stdio.h: Likewise.
48436 * libio/bits/stdio2.h: Likewise.
48437 * libio/libio.h: Likewise.
48438 * libio/libioP.h: Likewise.
48439 * libio/stdio.h: Likewise.
48440 * locale/lc-ctype.c: Likewise.
48441 * locale/locale.h: Likewise.
48442 * login/utmp.h: Likewise.
48443 * malloc/arena.c: Likewise.
48444 * malloc/malloc.c: Likewise.
48445 * malloc/malloc.h: Likewise.
48446 * malloc/mcheck.c: Likewise.
48447 * malloc/mtrace.c: Likewise.
48448 * math/bits/mathcalls.h: Likewise.
48449 * math/fenv.h: Likewise.
48450 * math/math_private.h: Likewise.
48451 * misc/bits/error.h: Likewise.
48452 * misc/bits/syslog.h: Likewise.
48453 * misc/err.h: Likewise.
48454 * misc/error.h: Likewise.
48455 * misc/fstab.h: Likewise.
48456 * misc/mntent.h: Likewise.
48457 * misc/regexp.h: Likewise.
48458 * misc/search.h: Likewise.
48459 * misc/sgtty.h: Likewise.
48460 * misc/sys/mman.h: Likewise.
48461 * misc/sys/syslog.h: Likewise.
48462 * misc/sys/uio.h: Likewise.
48463 * misc/sys/xattr.h: Likewise.
48464 * misc/ttyent.h: Likewise.
48465 * nis/rpcsvc/ypclnt.h: Likewise.
48466 * nss/nss.h: Likewise.
48467 * posix/bits/unistd.h: Likewise.
48468 * posix/fnmatch.h: Likewise.
48469 * posix/glob.h: Likewise.
48470 * posix/sched.h: Likewise.
48471 * posix/spawn.h: Likewise.
48472 * posix/sys/wait.h: Likewise.
48473 * posix/unistd.h: Likewise.
48474 * posix/wordexp.h: Likewise.
48475 * pwd/pwd.h: Likewise.
48476 * resolv/netdb.h: Likewise.
48477 * resource/sys/resource.h: Likewise.
48478 * rt/aio.h: Likewise.
48479 * rt/bits/mqueue2.h: Likewise.
48480 * rt/mqueue.h: Likewise.
48481 * shadow/shadow.h: Likewise.
48482 * signal/signal.h: Likewise.
48483 * socket/send.c: Likewise.
48484 * socket/sendto.c: Likewise.
48485 * socket/sys/socket.h: Likewise.
48486 * stdio-common/printf.h: Likewise.
48487 * stdlib/bits/stdlib.h: Likewise.
48488 * stdlib/fmtmsg.h: Likewise.
48489 * stdlib/monetary.h: Likewise.
48490 * stdlib/stdlib.h: Likewise.
48491 * stdlib/ucontext.h: Likewise.
48492 * streams/stropts.h: Likewise.
48493 * string/argz.h: Likewise.
48494 * string/bits/string2.h: Likewise.
48495 * string/string.h: Likewise.
48496 * string/strings.h: Likewise.
48497 * sunrpc/rpc/auth.h: Likewise.
48498 * sunrpc/rpc/auth_des.h: Likewise.
48499 * sunrpc/rpc/clnt.h: Likewise.
48500 * sunrpc/rpc/netdb.h: Likewise.
48501 * sunrpc/rpc/pmap_clnt.h: Likewise.
48502 * sunrpc/rpc/xdr.h: Likewise.
48503 * sysdeps/generic/inttypes.h: Likewise.
48504 * sysdeps/generic/net/if.h: Likewise.
48505 * sysdeps/generic/sys/swap.h: Likewise.
48506 * sysdeps/gnu/net/if.h: Likewise.
48507 * sysdeps/gnu/utmpx.h: Likewise.
48508 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
48509 * sysdeps/i386/i486/bits/string.h: Likewise.
48510 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
48511 * sysdeps/s390/bits/string.h: Likewise.
48512 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
48513 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
48514 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
48515 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
48516 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
48517 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
48518 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
48519 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
48520 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
48521 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
48522 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
48523 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
48524 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
48525 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
48526 * sysdeps/unix/sysv/linux/readv.c: Likewise.
48527 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
48528 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
48529 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
48530 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
48531 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
48532 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
48533 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
48534 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
48535 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
48536 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
48537 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
48538 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
48539 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
48540 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
48541 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
48542 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
48543 * sysvipc/sys/ipc.h: Likewise.
48544 * sysvipc/sys/msg.h: Likewise.
48545 * sysvipc/sys/sem.h: Likewise.
48546 * sysvipc/sys/shm.h: Likewise.
48547 * termios/termios.h: Likewise.
48548 * time/sys/time.h: Likewise.
48549 * time/time.h: Likewise.
48550 * wcsmbs/bits/wchar2.h: Likewise.
48551 * wcsmbs/uchar.h: Likewise.
48552 * wcsmbs/wchar.h: Likewise.
48553 * wctype/wctype.h: Likewise.
48554
48555 [BZ #13551]
48556 * Makeconfig: Remove all but ELF support including AIX support.
48557 * Makerules: Likewise.
48558 * config.h.in: Likewise.
48559 * config.make.in: Likewise.
48560 * configure: Likewise.
48561 * configure.in: Likewise.
48562 * csu/Makefile: Likewise.
48563 * csu/version.c: Likewise.
48564 * debug/Makefile: Likewise.
48565 * dlfcn/Makefile: Likewise.
48566 * elf/Makefile: Likewise.
48567 * extra-lib.mk: Likewise.
48568 * iconv/Makefile: Likewise.
48569 * include/libc-symbols.h: Likewise.
48570 * include/shlib-compat.h: Likewise.
48571 * resolv/Makefile: Likewise.
48572 * resolv/res_libc.c: Likewise.
48573 * rt/Makefile: Likewise.
48574 * sysdeps/i386/asm-syntax.h: Likewise.
48575 * sysdeps/i386/sysdep.h: Likewise.
48576 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
48577 * sysdeps/mach/sysdep.h: Likewise.
48578 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
48579 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
48580 * sysdeps/s390/asm-syntax.h: Likewise.
48581 * sysdeps/s390/s390-32/sysdep.h: Likewise.
48582 * sysdeps/s390/s390-64/sysdep.h: Likewise.
48583 * sysdeps/sh/sysdep.h: Likewise.
48584 * sysdeps/unix/sparc/sysdep.h: Likewise.
48585 * sysdeps/wordsize-32/divdi3.c: Likewise.
48586 * sysdeps/x86_64/sysdep.h: Likewise.
48587
48588 * argp/Versions: Remove _argp_unlock_xxx.
48589
48590 [BZ #13559]
48591 * abilist/ld.abilist: Update. Adjust for removal of tls option.
48592 * abilist/libBrokenLocale.abilist: Likewise.
48593 * abilist/libanl.abilist: Likewise.
48594 * abilist/libc.abilist: Likewise.
48595 * abilist/libcrypt.abilist: Likewise.
48596 * abilist/libdl.abilist: Likewise.
48597 * abilist/libm.abilist: Likewise.
48598 * abilist/libnsl.abilist: Likewise.
48599 * abilist/libpthread.abilist: Likewise.
48600 * abilist/libresolv.abilist: Likewise.
48601 * abilist/librt.abilist: Likewise.
48602 * abilist/libthread_db.abilist: Likewise.
48603 * abilist/libutil.abilist: Likewise.
48604 * abilist/libnss_db.abilist: New file.
48605
48606 * scripts/abilist.awk: Add support for indirect functions.
48607
48608 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
48609
48610 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
48611
48612 * shlib-versions: Remove entries for ports architectures.
48613
48614 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
48615 files in ports.
48616 * elf/stackguard-macros.h: Remove support for IA-64.
48617 * elf/tst-auditmod1.c: Likewise.
48618 * sysdeps/generic/ldsodefs.h: Likewise.
48619
48620 * sysdeps/unix/sysv/linux/configure.in: Ports should define
48621 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
48622 configure files.
48623
48624 [BZ #13552]
48625 * configure.in: Remove --enable-omitfp support.
48626 * FAQ.in: Adjust.
48627 * config.make.in: Likewise.
48628 * Makeconfig: Likewise.
48629 * manual/install.texi: Likewise.
48630
48631 In case anyone cares, the IA-64 architecture could move to ports.
48632 * sysdeps/ia64/*: Removed.
48633 * sysdeps/unix/sysv/linux/ia64/*: Removed.
48634 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
48635
48636 [BZ #13555]
48637 * configure.in: Remove entries for unsupported architectures.
48638
48639 [BZ #13533]
48640 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
48641 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
48642 routines.
48643 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
48644 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
48645 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
48646 fall back to using wcrtomb.
48647 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
48648 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
48649 renaming.
48650 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
48651 * wcsmbs/tst-c16c32-1.c: New file.
48652
48653 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
48654 local variable.
48655
48656 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
48657
48658 * elf/tst-unique3.cc: Add explicit declaration of gets.
48659 * elf/tst-unique3lib.cc: Likewise.
48660 * elf/tst-unique3lib2.cc: Likewise.
48661 * elf/tst-unique4.cc: Likewise.
48662
48663 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
48664
48665 2012-01-06 Joseph Myers <joseph@codesourcery.com>
48666
48667 [BZ #13566]
48668 * assert/assert.h (static_assert): Don't define for C++.
48669 * libio/stdio.h (gets): Do declare for C++ <= C++11.
48670 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
48671
48672 2012-01-03 Ulrich Drepper <drepper@gmail.com>
48673
48674 * iconv/loop.c (single loop): Fix assertion in storing of
48675 remaining bytes.
48676
48677 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
48678
48679 2012-01-01 Ulrich Drepper <drepper@gmail.com>
48680
48681 * posix/getconf.c: Update copyright year.
48682 * nss/getent.c: Likewise.
48683 * nss/makedb.c: Likewise.
48684 * iconv/iconvconfig.c: Likewise.
48685 * iconv/iconv_prog.c: Likewise.
48686 * elf/ldconfig.c: Likewise.
48687 * elf/pldd.c: Likewise.
48688 * elf/sotruss.ksh: Likewise.
48689 * catgets/gencat.c: Likewise.
48690 * csu/version.c: Likewise.
48691 * elf/ldd.bash.in: Likewise.
48692 * elf/sprof.c (print_version): Likewise.
48693 * locale/programs/locale.c: Likewise.
48694 * locale/programs/localedef.c: Likewise.
48695 * login/programs/pt_chown.c: Likewise.
48696 * nscd/nscd.c (print_version): Likewise.
48697 * debug/xtrace.sh: Likewise.
48698 * malloc/memusage.sh: Likewise.
48699 * malloc/mtrace.pl: Likewise.
48700 * debug/catchsegv.sh: Likewise.
48701
48702 2011-12-30 Jakub Jelinek <jakub@redhat.com>
48703
48704 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
48705 pure attribute.
48706
48707 2011-12-24 Ulrich Drepper <drepper@gmail.com>
48708
48709 [BZ #13533]
48710 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
48711 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
48712 transformations.
48713 * iconv/gconv_int.h: Likewise.
48714 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
48715 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
48716 from libc for GLIBC_2.16.
48717 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
48718 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
48719 * wcsmbs/uchar.h: Really define mbstate_t.
48720 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
48721 * wcsmbs/c16rtomb.c: New file.
48722 * wcsmbs/mbrtoc16.c: New file.
48723 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
48724 for C/POSIX locale.
48725 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
48726 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
48727
48728 * wcsmbs/wchar.h: Add missing __restrict.
48729
48730 2011-12-23 Ulrich Drepper <drepper@gmail.com>
48731
48732 [BZ #13532]
48733 * time/Makefile (routines): Add timespec_get.
48734 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
48735 * time/time.h: Define TIME_UTC and declare timespec_get. Define
48736 timespec for ISO C11.
48737 * time/timespec_get.c: New file.
48738 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
48739 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
48740
48741 [BZ #13531]
48742 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
48743 * stdlib/stdlib.h: Declare aligned_alloc.
48744 * Versions.def: Add GLIBC_2.16 for libc.
48745 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
48746
48747 [BZ 13527]
48748 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
48749 ISO C11.
48750
48751 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
48752 code.
48753
48754 [BZ #13528]
48755 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
48756
48757 [BZ #13529]
48758 * assert/assert.h (static_assert): Define.
48759
48760 * version.h: Update for 2.16 development version.
48761
48762 [BZ #13526]
48763 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
48764 _ISOC11_SOURCE.
48765
48766 * version.h (RELEASE): Bump for 2.15 release.
48767 * include/features.h (__GLIBC_MINOR__): Bump to 15.
48768
48769 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
48770 Patch by Marek Polacek <mpolacek@redhat.com>.
48771
48772 * bits/byteswap.h: Protect long long constants with __extension__.
48773 * sysdeps/i386/bits/byteswap.h: Likewise.
48774 * sysdeps/ia64/bits/byteswap.h: Likewise.
48775 * sysdeps/s390/bits/byteswap.h: Likewise.
48776 * sysdeps/x86_64/bits/byteswap.h: Likewise.
48777
48778 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
48779
48780 [BZ #13540]
48781 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
48782 destination buffer.
48783 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
48784
48785 2011-12-23 Marek Polacek <polacek@redhat.com>
48786
48787 * elf/dl-addr.c (determine_info): Add inline keyword.
48788 * elf/tst-auditmod4b.c (check_avx): Likewise.
48789 * elf/tst-auditmod6b.c (check_avx): Likewise.
48790 * elf/tst-auditmod6c.c (check_avx): Likewise.
48791 * elf/tst-auditmod7b.c (check_avx): Likewise.
48792
48793 2011-12-23 Ulrich Drepper <drepper@gmail.com>
48794
48795 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
48796 !__SSE_MATH__.
48797
48798 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
48799
48800 [BZ #13540]
48801 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
48802 processing for last bytes.
48803
48804 2011-08-06 Bruno Haible <bruno@clisp.org>
48805
48806 [BZ #13061]
48807 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
48808 U+0385, not to U+1FEE.
48809
48810 [BZ #13062]
48811 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
48812 entry for U+00A5 U+0301.
48813
48814 2011-12-22 Ulrich Drepper <drepper@gmail.com>
48815
48816 [BZ #13166]
48817 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
48818 buffer for the output is too small.
48819
48820 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
48821 optimization.
48822
48823 [BZ #13185]
48824 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
48825 SSE flags if possible.
48826
48827 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
48828
48829 [BZ #13540]
48830 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
48831 processing for last bytes.
48832
48833 2011-12-22 Joseph Myers <joseph@codesourcery.com>
48834
48835 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
48836 (syscall-list-default-options, syscall-list-default-condition)
48837 (syscall-list-includes): Define.
48838 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
48839 list of ABIs and options and #if conditions for each ABI. Do not
48840 handle common syscalls between ABIs specially.
48841 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
48842 Remove.
48843 (syscall-list-variants, syscall-list-32bit-options)
48844 (syscall-list-32bit-condition, syscall-list-64bit-options)
48845 (syscall-list-64bit-condition): Define.
48846 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
48847 (syscall-list-variants, syscall-list-32bit-options)
48848 (syscall-list-32bit-condition, syscall-list-64bit-options)
48849 (syscall-list-64bit-condition): Define.
48850 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
48851 Remove.
48852 (syscall-list-variants, syscall-list-32bit-options)
48853 (syscall-list-32bit-condition, syscall-list-64bit-options)
48854 (syscall-list-64bit-condition): Define.
48855 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
48856 Remove.
48857 (syscall-list-variants, syscall-list-32bit-options)
48858 (syscall-list-32bit-condition, syscall-list-64bit-options)
48859 (syscall-list-64bit-condition): Define.
48860
48861 2011-12-22 Ulrich Drepper <drepper@gmail.com>
48862
48863 * locale/iso-639.def: Add brx entry.
48864
48865 [BZ #13328]
48866 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
48867 Proposed by Mariusz_Cukr <marcukr@op.pl>.
48868
48869 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
48870 __feraiseexcept_renamed.
48871
48872 2011-12-21 Ulrich Drepper <drepper@gmail.com>
48873
48874 [BZ #13538]
48875 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
48876 EPOLLET with unsigned values.
48877 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
48878 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
48879
48880 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
48881 to large cancellation.
48882 * math/s_cacoshf.c: Likewise.
48883 * math/s_cacoshl.c: Likewise.
48884
48885 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
48886
48887 [BZ #13305]
48888 [BZ #12786]
48889 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
48890 * math/s_cacoshf.c: Likewise.
48891 * math/s_cacoshl.c: Likewise.
48892
48893 2011-12-21 Ulrich Drepper <drepper@gmail.com>
48894
48895 [BZ #13439]
48896 * iconv/gconv.h: Define __GCONV_SWAP.
48897 * iconvdata/unicode.c: The swap bit must be stored in __flags.
48898 * iconvdata/utf-16.c: Likewise.
48899 * iconvdata/utf-32.c: Likewise.
48900
48901 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
48902
48903 [BZ #13524]
48904 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
48905 numerator after shifting it by one limb.
48906
48907 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
48908
48909 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
48910 under [__USE_EXTERN_INLINES].
48911
48912 2011-12-17 Ulrich Drepper <drepper@gmail.com>
48913
48914 [BZ #13446]
48915 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
48916
48917 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
48918
48919 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
48920 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
48921 optimized code.
48922 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
48923 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
48924 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
48925 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
48926 for strncasecmp/strncasecmp_l compilation.
48927 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
48928 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
48929
48930 2011-12-08 Marek Polacek <mpolacek@redhat.com>
48931
48932 [BZ #13484]
48933 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
48934 of __asm__.
48935
48936 2011-12-17 Ulrich Drepper <drepper@gmail.com>
48937
48938 [BZ #13506]
48939 * time/tzfile.c (__tzfile_read): Check values from file header.
48940
48941 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
48942
48943 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
48944 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
48945 * powerpc/powerpc32/dl-start.S: Likewise.
48946 * powerpc/powerpc32/elf/start.S: Likewise.
48947 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
48948 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
48949 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
48950 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
48951 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
48952 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
48953 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
48954 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
48955 * powerpc/powerpc32/fpu/s_round.S: Likewise.
48956 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
48957 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
48958 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
48959 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
48960 * powerpc/powerpc32/memset.S: Likewise.
48961 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
48962 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
48963 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
48964 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
48965 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
48966 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
48967 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
48968 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
48969 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
48970 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
48971 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
48972 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
48973 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
48974
48975 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
48976
48977 * math/libm-test.inc: Added more nearbyint tests.
48978 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
48979 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
48980 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
48981 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
48982
48983 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
48984
48985 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
48986 FD_CLOEXEC.
48987
48988 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
48989
48990 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
48991 Add wcscpy-ssse3 wcscpy-c.
48992 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
48993 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
48994 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
48995 * sysdeps/x86_64/wcschr.S: New file.
48996 * sysdeps/x86_64/wcsrchr.S: New file.
48997 * string/test-strcmp.c: Remove checking of wcscmp function for
48998 wrong alignments.
48999 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
49000 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
49001 wcsrchr-sse2 wcsrchr-c.
49002 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
49003 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
49004 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
49005 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
49006 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
49007 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
49008 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
49009 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
49010 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
49011 * wcsmbc/wcschr.c (WCSCHR): New macro.
49012
49013 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
49014
49015 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
49016 * wcsmbs/test-wcsrchr.c: New file.
49017 * string/test-strrchr.c: Add wcsrchr support.
49018 (WIDE): New macro.
49019 * wcsmbs/test-wcscpy.c: New file.
49020 * string/test-strcpy.c: Add wcscpy support.
49021 (WIDE): New macro.
49022
49023 2011-12-10 Ulrich Drepper <drepper@gmail.com>
49024
49025 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
49026 the inner loop.
49027
49028 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
49029
49030 [BZ #13472]
49031 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
49032
49033 2011-12-04 Ulrich Drepper <drepper@gmail.com>
49034
49035 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
49036 Minor optimizations.
49037
49038 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
49039 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
49040 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
49041
49042 2011-12-03 Ulrich Drepper <drepper@gmail.com>
49043
49044 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
49045 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
49046 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
49047 for gcc to avoid warnings.
49048 * inet/Makefile (tests): Add tst-checks.
49049 * inet/tst-checks.c: New file.
49050
49051 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
49052 warning.
49053
49054 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
49055 __wmemcmp_sse2.
49056
49057 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
49058 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
49059
49060 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
49061
49062 2011-12-02 Ulrich Drepper <drepper@gmail.com>
49063
49064 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
49065 problem.
49066
49067 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
49068
49069 2011-11-29 Joseph Myers <joseph@codesourcery.com>
49070
49071 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
49072 conditional on GCC version.
49073 (__arch_compare_and_exchange_val_8_acq)
49074 (__arch_compare_and_exchange_val_16_acq)
49075 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
49076 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
49077 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
49078
49079 2011-12-02 Joseph Myers <joseph@codesourcery.com>
49080
49081 * sysdeps/sh/backtrace.c: New file.
49082
49083 2011-12-02 Andreas Schwab <schwab@redhat.com>
49084
49085 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
49086 parenthesis.
49087
49088 2011-12-01 Andreas Schwab <schwab@redhat.com>
49089
49090 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
49091 falling back to utime.
49092
49093 2011-11-30 Andreas Schwab <schwab@redhat.com>
49094
49095 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
49096 expectations for float.
49097
49098 2011-11-29 Andreas Schwab <schwab@redhat.com>
49099
49100 * locale/weight.h (findidx): Add parameter len.
49101 * locale/weightwc.h (findidx): Likewise.
49102 * posix/fnmatch_loop.c (FCT): Adjust caller.
49103 * posix/regcomp.c (build_equiv_class): Likewise.
49104 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
49105 * posix/regexec.c (check_node_accept_bytes): Likewise.
49106 * string/strcoll_l.c (STRCOLL): Likewise.
49107 * string/strxfrm_l.c (STRXFRM): Likewise.
49108
49109 2011-11-17 Ulrich Drepper <drepper@gmail.com>
49110
49111 * Makefile.in: Remove CVSOPT handling.
49112 * configure.in: Remove use of AC_REVISION.
49113 * iconvdata/Makefile (distribute): No need to filter out CVS.
49114 * scripts/list-sources.sh: Remove CVS, subversion and monotone
49115 handling.
49116
49117 2011-11-16 Andreas Schwab <schwab@redhat.com>
49118
49119 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
49120 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
49121 [USE_AS_STRNCASECMP_L]: Likewise.
49122 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
49123 NO_TLS_DIRECT_SEG_REFS.
49124 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
49125 Fix argument offsets for non-PIC.
49126 [USE_AS_STRNCASECMP_L]: Likewise.
49127 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
49128 NO_TLS_DIRECT_SEG_REFS.
49129
49130 2011-11-15 Ulrich Drepper <drepper@gmail.com>
49131
49132 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
49133 O_CLOEXEC.
49134 * locale/loadlocale.c (_nl_load_locale): Likewise.
49135
49136 2011-11-15 Andreas Schwab <schwab@redhat.com>
49137
49138 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
49139 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
49140 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
49141 (SYSCALL_GETTIME): Set errno on error.
49142
49143 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
49144 count references to noai6ai_cached.
49145
49146 2011-11-15 Ulrich Drepper <drepper@gmail.com>
49147
49148 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
49149
49150 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
49151 FD_CLOEXEC for /proc/self/maps.
49152
49153 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
49154 FD_CLOEXEC for /proc/meminfo.
49155
49156 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
49157 gai.conf.
49158
49159 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
49160 FD_CLOEXEC for given file.
49161
49162 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
49163
49164 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
49165 FD_CLOEXEC for /etc/hosts.
49166 (_gethtent): Likewise.
49167
49168 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
49169
49170 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
49171 cancellation and set FD_CLOEXEC for /etc/netgroup.
49172
49173 * nss/nss_files/files-key.c (search): Don't allow cancellation when
49174 reading /etc/publickey.
49175
49176 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
49177 allow cancellation when reading /etc/group.
49178
49179 * nss/nss_files/files-alias.c (internal_setent): Don't allow
49180 cancellation.
49181 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
49182
49183 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
49184 when using data file.
49185
49186 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
49187
49188 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
49189 (write_nis_obj): Use "c" and "e" in fopen.
49190
49191 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
49192
49193 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
49194
49195 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
49196
49197 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
49198
49199 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
49200 locale.alias.
49201
49202 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
49203
49204 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
49205
49206 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
49207
49208 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
49209 file parsing and set FD_CLOEXEC.
49210
49211 2011-11-14 Ulrich Drepper <drepper@gmail.com>
49212
49213 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
49214
49215 2011-11-14 Andreas Schwab <schwab@redhat.com>
49216
49217 * malloc/arena.c (arena_get2): Don't call reused_arena when
49218 _int_new_arena failed.
49219
49220 2011-11-14 Ulrich Drepper <drepper@gmail.com>
49221
49222 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
49223 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
49224 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
49225 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
49226 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
49227 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
49228 to compile strcasecmp and strncasecmp.
49229 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
49230 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
49231
49232 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
49233
49234 2011-11-13 Ulrich Drepper <drepper@gmail.com>
49235
49236 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
49237 locale-defines.sym to gen-as-const-headers.
49238 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
49239 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
49240 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
49241 to compile strcasecmp and strncasecmp.
49242 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
49243 strcasecmp_l and strncasecmp_l.
49244 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
49245 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
49246 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
49247 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
49248 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
49249 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
49250 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
49251 * sysdeps/i386/i686/multiarch/strncase.S: New file.
49252 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
49253 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
49254 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
49255
49256 2011-11-12 Ulrich Drepper <drepper@gmail.com>
49257
49258 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
49259 result of SYSDEP_GETTIME_CPU to retval.
49260 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
49261 parameter list to macro. Remove trailing semicolon. Adjust users.
49262
49263 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
49264 variable.
49265
49266 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
49267 mantissa words.
49268 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
49269
49270 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
49271 from unused variable.
49272
49273 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
49274 DWARF definitions.
49275 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
49276 for assembling.
49277
49278 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
49279 over namespaces.
49280
49281 * sunrpc/rpc_prot.c (rejected): Fix case value.
49282
49283 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
49284 unsigned long long int to avoid warnings in shift.
49285
49286 * posix/regex_internal.c (re_string_reconstruct): Actually use result
49287 of use of trans.
49288 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
49289 variable tmp.
49290
49291 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
49292 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
49293 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
49294
49295 * nis/nis_table.c (nis_list): Use variable of correct type for
49296 result of __follow_path call.
49297
49298 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
49299
49300 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
49301 of math functions ceil, trunc, floor, round, and sqrt, when
49302 avaliable on the platform.
49303 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
49304 name clash.
49305 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
49306 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
49307 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
49308
49309 2011-10-30 Marek Polacek <mpolacek@redhat.com>
49310
49311 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
49312 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
49313
49314 2011-11-11 Roland McGrath <roland@hack.frob.com>
49315
49316 * include/unistd.h: Fix __readlink return type.
49317 Reported by Chris Metcalf <cmetcalf@tilera.com>.
49318
49319 2011-11-11 Ulrich Drepper <drepper@gmail.com>
49320
49321 * stdlib/ucontext.h: Undo last change for makecontext.
49322
49323 2011-11-11 Andreas Schwab <schwab@redhat.com>
49324
49325 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
49326
49327 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
49328 * setjmp/setjmp.h: Mark functions as non-leaf.
49329 * setjmp/bits/setjmp2.h: Likewise.
49330 * stdlib/ucontext.h: Likewise.
49331
49332 2011-11-10 Andreas Schwab <schwab@redhat.com>
49333
49334 * malloc/arena.c (_int_new_arena): Don't increment narenas.
49335 (reused_arena): Don't check arena limit.
49336 (arena_get2): Atomically check arena limit.
49337
49338 2011-11-08 Ulrich Drepper <drepper@gmail.com>
49339
49340 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
49341 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
49342
49343 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
49344 instructions.
49345
49346 2011-11-07 Andreas Schwab <schwab@redhat.com>
49347
49348 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
49349 handler when locking.
49350
49351 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
49352 Fix size of allocated buffer.
49353
49354 2011-11-04 Andreas Schwab <schwab@redhat.com>
49355
49356 [BZ #10103]
49357 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
49358 declarations for long double functions.
49359 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
49360
49361 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
49362
49363 2011-11-03 Andreas Schwab <schwab@redhat.com>
49364
49365 * nscd/nscd.c (main): Don't start AVC thread until credentials are
49366 installed.
49367
49368 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
49369 is disabled.
49370
49371 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
49372
49373 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
49374
49375 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
49376
49377 * include/alloca.h (stackinfo_alloca_round): Define.
49378 (extend_alloca): Use it.
49379 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
49380 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
49381 here.
49382
49383 * scripts/check-local-headers.sh: Ignore libaudit.h.
49384
49385 * nscd/Makefile (extra-objs): Make recursively expanded.
49386
49387 2011-11-01 Ulrich Drepper <drepper@gmail.com>
49388
49389 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
49390 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
49391
49392 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
49393 * posix/tst-rfc3484-2.c: Likewise.
49394 * posix/tst-rfc3484-3.c: Likewise.
49395
49396 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
49397 process_vm_writev.
49398 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
49399 process_vm_writev.
49400 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
49401 process_vm_writev from libc using GLIBC_2.15 version.
49402
49403 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
49404
49405 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
49406
49407 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
49408 stack usage.
49409
49410 2011-10-31 Ulrich Drepper <drepper@gmail.com>
49411
49412 [BZ #13367]
49413 * nss/getent.c (initgroups_keys): Show error message in case no group
49414 names are given.
49415
49416 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
49417 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
49418 __bump_nl_timestamp.
49419 * nscd/connections (nscd_init): When host database is served open
49420 netlink socket and request notification about configuration changes.
49421 (main_loop_poll): Track netlink file descriptor and bump timestamp
49422 in case data becomes available.
49423 (main_loop_epoll): Likewise.
49424 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
49425 (database_pers_head): Add extra_data fileds.
49426 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
49427 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
49428 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
49429 Adjust caller.
49430 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
49431 in6ai data, call __free_in6ai.
49432 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
49433 Add -DHAVE_NETLINK.
49434 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
49435 interface information. Reuse previous data if netlink timestamp
49436 is not changed.
49437 (__bump_nl_timestamp): New function.
49438 (__free_in6ai): New function.
49439
49440 2011-10-30 Ulrich Drepper <drepper@gmail.com>
49441
49442 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
49443 close_not_cancel_no_status here.
49444 (__check_pf): Reorganize code a bit to not call close twice if OOM.
49445
49446 2011-10-29 Ulrich Drepper <drepper@gmail.com>
49447
49448 [BZ #13276]
49449 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
49450 return value.
49451
49452 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
49453 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
49454 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
49455
49456 2011-07-03 Andreas Jaeger <aj@suse.de>
49457
49458 [BZ #10709]
49459 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
49460 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
49461 * math/libm-test.inc (sin_test): Add test case.
49462
49463 2011-10-29 Ulrich Drepper <drepper@gmail.com>
49464
49465 [BZ #13337]
49466 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
49467 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
49468
49469 * elf/chroot_canon.c (chroot_canon): Cleanups.
49470
49471 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
49472
49473 [BZ #13335]
49474 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
49475 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
49476
49477 * string/test-strchr.c: Make usable for strchrnul testing.
49478 * string/test-strchrnul.c: New file.
49479 * string/Makefile (strop-tests): Add strchrnul.
49480
49481 * po/it.po: Update from translation team.
49482 * po/es.po: Likewise.
49483
49484 2011-10-28 Ulrich Drepper <drepper@gmail.com>
49485
49486 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
49487 the three constants needed as parameters. Drop the others.
49488 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
49489 __m128i_strloadu_tolower.
49490 Create and initialize variable zero and use it in all the places
49491 where _mm_setzero_si128 was used.
49492
49493 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
49494 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
49495 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
49496 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
49497 anymore.
49498 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
49499 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
49500 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
49501 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
49502 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
49503 __mpranred, __mptan.
49504 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
49505 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
49506 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
49507 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
49508 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
49509 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
49510 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
49511 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
49512 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
49513
49514 2011-10-28 Andreas Schwab <schwab@redhat.com>
49515
49516 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
49517 redefine if SHARED.
49518 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
49519
49520 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
49521 wide char related routines to wcsmbs subdir.
49522
49523 2011-10-27 Andreas Schwab <schwab@redhat.com>
49524
49525 [BZ #13344]
49526 * misc/sys/cdefs.h (__THROWNL): Define.
49527 * posix/unistd.h: Use __THREADNL instead of __THREAD
49528 for memory synchronization functions.
49529
49530 2011-10-26 Roland McGrath <roland@hack.frob.com>
49531
49532 [BZ #13349]
49533 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
49534 doesn't exist.
49535 * manual/stdio.texi (Obstack Streams): Node removed.
49536
49537 2011-10-26 Andreas Schwab <schwab@redhat.com>
49538
49539 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
49540 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
49541 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
49542
49543 * math/math_private.h (math_force_eval): Allow non-addressable
49544 arguments.
49545 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
49546
49547 2011-10-25 Ulrich Drepper <drepper@gmail.com>
49548
49549 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
49550 file is not needed.
49551
49552 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
49553 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
49554 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
49555 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
49556 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
49557 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
49558 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
49559 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
49560 Add AVX variants.
49561 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
49562 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
49563 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
49564 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
49565 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
49566 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
49567 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
49568 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
49569 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
49570 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
49571 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
49572 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
49573 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
49574 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
49575 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
49576 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
49577 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
49578 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
49579 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
49580
49581 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
49582 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
49583
49584 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
49585 place. Use VEX encoding when compiling for AVX.
49586
49587 2011-10-25 Andreas Schwab <schwab@redhat.com>
49588
49589 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
49590 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
49591
49592 * string/test-strchr.c (do_test): Don't generate NUL bytes.
49593
49594 2011-10-25 Ulrich Drepper <drepper@gmail.com>
49595
49596 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
49597 useless if() expression.
49598 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
49599 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
49600 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
49601 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
49602 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
49603 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
49604 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
49605 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
49606 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
49607 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
49608 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
49609 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
49610 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
49611 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
49612 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
49613 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
49614 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
49615 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
49616 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
49617
49618 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
49619
49620 2011-10-25 Andreas Schwab <schwab@redhat.com>
49621
49622 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
49623 condition.
49624 * elf/dl-fini.c (_dl_sort_fini): Likewise.
49625
49626 2011-10-25 Ulrich Drepper <drepper@gmail.com>
49627
49628 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
49629 .text section. Avoid duplicate constants.
49630 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
49631 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
49632 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
49633 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
49634 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
49635 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
49636 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
49637 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
49638 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
49639 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
49640 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
49641 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
49642 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
49643 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
49644 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
49645 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
49646 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
49647 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
49648 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
49649 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
49650 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
49651 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
49652 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
49653 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
49654 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
49655 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
49656 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
49657 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
49658 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
49659 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
49660 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
49661 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
49662 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
49663 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
49664 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
49665 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
49666 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
49667 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
49668 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
49669 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
49670 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
49671 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
49672 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
49673 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
49674 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
49675
49676 2011-10-24 Ulrich Drepper <drepper@gmail.com>
49677
49678 * sysdeps/x86_64/dla.h: Move to ...
49679 * sysdeps/x86_64/fpu/dla.h: ...here.
49680 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
49681 situations. Use __builtin_fma only for gcc 4.6 and up.
49682
49683 * config.make.in: Add have-mfma4 entry.
49684 * configure.in: Substitute libc_cv_cc_fma4.
49685 * math/Makefile (dbl-only-routines): Add sincostab.
49686 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
49687 Use __sincostab not sincos.
49688 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
49689 name is a macro.
49690 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
49691 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
49692 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
49693 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
49694 using __copysign.
49695 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
49696 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
49697 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
49698 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
49699 and __inv.
49700 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
49701 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
49702 __copysign.
49703 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
49704 define aliases when function name is a macro.
49705 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
49706 sysdeps/ieee754/dbl-64/sincos.tbl.
49707 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
49708 fma4-enabled routines.
49709 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
49710 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
49711 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
49712 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
49713 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
49714 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
49715 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
49716 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
49717 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
49718 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
49719 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
49720 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
49721 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
49722 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
49723 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
49724 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
49725 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
49726 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
49727 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
49728 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
49729 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
49730 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
49731 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
49732 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
49733 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
49734 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
49735 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
49736 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
49737 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
49738 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
49739
49740 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
49741 rename.
49742 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
49743 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
49744 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
49745 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
49746 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
49747 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
49748 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
49749 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
49750
49751 2011-10-24 Andreas Schwab <schwab@redhat.com>
49752
49753 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
49754
49755 2011-10-23 Ulrich Drepper <drepper@gmail.com>
49756
49757 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
49758
49759 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
49760 prediction.
49761 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
49762
49763 * string/strnlen.c: Don't define STRNLEN, reverse logic.
49764 Remove unused variable magic_bits.
49765 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
49766
49767 * string/strnlen.c: Define and use STRNLEN macro.
49768 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
49769 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
49770 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
49771 * wcsmbs/wcslen.c: Define and use WCSLEN.
49772 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
49773 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
49774 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
49775 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
49776 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
49777 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
49778 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
49779
49780 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
49781
49782 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
49783 strnlen-sse2-no-bsf.
49784 Rename strlen-no-bsf to strlen-sse2-no-bsf.
49785 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
49786 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
49787 Add strnlen support.
49788 (USE_AS_STRNLEN): New macro.
49789 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
49790 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
49791 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
49792 * sysdeps/x86_64/wcslen.S: New file.
49793
49794 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
49795
49796 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
49797 XMM-moves are used for copying on small sizes.
49798
49799 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
49800
49801 * wcsmbs/Makefile (strop-tests): Add wcschr.
49802 * wcsmbs/test-wcschr.c: New file.
49803 * string/test-strchr.c: Update.
49804 Add wcschr support.
49805 (WIDE): New macro.
49806
49807 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
49808
49809 * wcsmbs/Makefile (strop-tests): Add wcslen.
49810 * wcsmbs/test-wcslen.c: New file.
49811 * string/test-strlen.c: Update.
49812 Add wcslen support.
49813 (WIDE): New macro.
49814
49815 2011-10-23 Ulrich Drepper <drepper@gmail.com>
49816
49817 * po/it.po: Update from translation team.
49818
49819 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
49820
49821 * sysdeps/x86_64/wcscmp.S: Update.
49822 Fix wrong comparison semantics.
49823 wcscmp shall use signed comparison not unsigned.
49824 Don't use substraction to avoid overflow bug.
49825 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
49826 * wcsmbc/wcscmp.c: Likewise.
49827 * string/test-strcmp.c: Likewise.
49828 Add new tests to check cases with negative values.
49829
49830 2011-10-23 Ulrich Drepper <drepper@gmail.com>
49831
49832 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
49833 * sysdeps/x86_64/dla.h: ...here. New file.
49834 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
49835 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
49836 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
49837 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
49838 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
49839 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
49840 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
49841 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
49842 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
49843
49844 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
49845
49846 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
49847 __ynl_finite aliases.
49848
49849 2011-10-22 Ulrich Drepper <drepper@gmail.com>
49850
49851 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
49852
49853 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
49854 define DLA_FMA.
49855 [DLA_FMA] (EMULV): Use DLA_FMA.
49856 [DLA_FMA] (MUL12): Use EMULV.
49857 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
49858 that are not needed.
49859 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
49860 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
49861 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
49862 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
49863 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
49864 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
49865 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
49866
49867 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
49868
49869 * math/s_nan.c: Undef __nan.
49870 * math/s_nanf.c: Undef __nanf.
49871 * math/s_nanl.c: Undef __nanl.
49872 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
49873 "math_private.h".
49874
49875 2011-10-22 Ulrich Drepper <drepper@gmail.com>
49876
49877 * math/s_catan.c: Add branch predictions.
49878 * math/s_catanf.c: Likewise.
49879 * math/s_catanh.c: Likewise.
49880 * math/s_catanhf.c: Likewise.
49881 * math/s_catanhl.c: Likewise.
49882 * math/s_catanl.c: Likewise.
49883 * math/s_cexp.c: Likewise.
49884 * math/s_cexpf.c: Likewise.
49885 * math/s_cexpl.c: Likewise.
49886 * math/s_clog.c: Likewise.
49887 * math/s_clog10.c: Likewise.
49888 * math/s_clog10f.c: Likewise.
49889 * math/s_clog10l.c: Likewise.
49890 * math/s_clogf.c: Likewise.
49891 * math/s_clogl.c: Likewise.
49892 * math/s_csqrt.c: Likewise.
49893 * math/s_csqrtf.c: Likewise.
49894 * math/s_csqrtl.c: Likewise.
49895 * math/s_ctanf.c: Likewise.
49896 * math/s_ctanh.c: Likewise.
49897 * math/s_ctanhf.c: Likewise.
49898 * math/s_ctanhl.c: Likewise.
49899 * math/s_ctanl.c: Likewise.
49900
49901 * math/math_private.h: Define __nan, __nanf, __nanl.
49902 * math/s_cacosh.c: Include <math_private.h>.
49903 * math/s_cacoshl.c: Likewise.
49904 * math/s_casinh.c: Likewise.
49905 * math/s_casinhf.c: Likewise.
49906 * math/s_casinhl.c: Likewise.
49907 * math/s_ccos.c: Rely entire on ccosh.
49908 * math/s_ccosf.c: Rely entire on ccoshf.
49909 * math/s_ccosl.c: Rely entirely on ccoshl.
49910 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
49911 Remove tests for FE_INVALID.
49912 * math/s_ccoshf.c: Likewise.
49913 * math/s_ccoshl.c: Likewise.
49914 * math/s_csin.c: Likewise.
49915 * math/s_csinf.c: Likewise.
49916 * math/s_csinh.c Likewise.
49917 * math/s_csinhf.c: Likewise.
49918 * math/s_csinhl.c: Likewise.
49919 * math/s_csinl.c: Likewise.
49920 * math/s_ctan.c: Likewise.
49921 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
49922 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
49923 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
49924
49925 2011-10-21 Ulrich Drepper <drepper@gmail.com>
49926
49927 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
49928 compilation problems.
49929
49930 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
49931 __builtin_expect.
49932
49933 2011-10-20 Ulrich Drepper <drepper@gmail.com>
49934
49935 * sysdeps/i386/configure.in: Test for -mfma4 option.
49936 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
49937 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
49938 COMMON_CPUID_INDEX_80000001.
49939 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
49940 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
49941 use it if FMA3 is not supported.
49942 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
49943
49944 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
49945 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
49946
49947 2011-10-20 Andreas Schwab <schwab@redhat.com>
49948
49949 [BZ #12892]
49950 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
49951 it would create a cycle with a link time dependency.
49952
49953 2011-10-19 Ulrich Drepper <drepper@gmail.com>
49954
49955 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
49956 instruction.
49957 * string/Makefile (strop-tests): Add rawmemchr.
49958 * string/test-rawmemchr.c: New file.
49959
49960 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
49961 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
49962 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
49963 when compiling str{,n}casecmp and when AVX is available. Hook up
49964 new optimized code in initializers.
49965
49966 2011-10-19 Andreas Schwab <schwab@redhat.com>
49967
49968 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
49969 __feraiseexcept instead of feraiseexcept.
49970
49971 2011-10-18 Ulrich Drepper <drepper@gmail.com>
49972
49973 * math/math_private.h: Define defaults for libc_fetestexcept and
49974 libc_feupdateenv.
49975 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
49976 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
49977 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
49978 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
49979 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
49980 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
49981 libc_fetestexcept and libc_feupdateenv.
49982
49983 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
49984 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
49985 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
49986 * sysdeps/x86_64/fpu/math_private.h: Define special version of
49987 libc_feholdexcept_setround.
49988
49989 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
49990 Add s_nearbyint-c and s_nearbyintf-c.
49991 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
49992 nearbyintf inlines.
49993 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
49994 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
49995 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
49996 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
49997
49998 * math/math_private.h: Define defaults for libc_fegetround,
49999 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
50000 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
50001 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
50002 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
50003 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
50004 standard functions.
50005 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
50006 Remove comments and hacks for old compiler versions.
50007 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
50008 libc_fegetround, libc_fesetround, libc_feholdexcept, and
50009 libc_feholdexceptl.
50010
50011 2011-10-18 Andreas Schwab <schwab@redhat.com>
50012
50013 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
50014 (__feraiseexcept_renamed): Add __NTH.
50015 (feraiseexcept): Add __NTH. Rename local variables to fix
50016 namespace violations.
50017
50018 2011-10-17 Ulrich Drepper <drepper@gmail.com>
50019
50020 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
50021
50022 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
50023
50024 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
50025 recently added interfaces.
50026 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
50027
50028 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
50029 about macro parameter expansion.
50030
50031 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
50032 __NO_MATH_INLINES is defined. Cleanups.
50033
50034 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
50035 and __floorf is target has SSE4.1.
50036 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
50037 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
50038 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
50039 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
50040
50041 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
50042 name.
50043 (floorf): Likewise.
50044
50045 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
50046
50047 2011-10-17 Andreas Schwab <schwab@redhat.com>
50048
50049 * misc/sys/cdefs.h: Fix last change.
50050
50051 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
50052 database lookup.
50053
50054 2011-10-16 Ulrich Drepper <drepper@gmail.com>
50055
50056 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
50057
50058 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
50059 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
50060 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
50061 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
50062 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
50063 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
50064 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
50065 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
50066 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
50067 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
50068 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
50069 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
50070 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
50071 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
50072 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
50073 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
50074 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
50075 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
50076 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
50077 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
50078 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
50079 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
50080
50081 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
50082 ceil, ceilf, floor, floorf.
50083
50084 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
50085 Perform IRELATIVE relocations last.
50086
50087 * elf/do-rel.h: Add another parameter nrelative, replacing the
50088 local variable with the same name. Change name of the function
50089 to end in Rel or Rela (uppercase).
50090 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
50091 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
50092 elf_dynamic_do_##reloc function.
50093
50094 2011-10-15 Ulrich Drepper <drepper@gmail.com>
50095
50096 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
50097 is sufficient, at least on modern CPUs.
50098
50099 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
50100
50101 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
50102 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
50103
50104 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
50105 __expl_finite.
50106 * math/bits/math-finite.h: Add entries for exp.
50107 * math/e_expl.c: Add __*_finite alias.
50108 * sysdeps/i386/fpu/e_exp.S: Likewise.
50109 * sysdeps/i386/fpu/e_expf.S: Likewise.
50110 * sysdeps/i386/fpu/e_expl.c: Likewise.
50111 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
50112 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
50113 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
50114 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
50115 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
50116 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
50117 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
50118
50119 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
50120 is sufficient, at least on modern CPUs.
50121
50122 * ctype/ctype-info.c (__ctype_init): Define.
50123 * include/ctype.h (__ctype_init): Declare.
50124 (__ctype_b_loc): The variable is always initialized.
50125 (__ctype_toupper_loc): Likewise.
50126 (__ctype_tolower_loc): Likewise.
50127 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
50128 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
50129
50130 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
50131
50132 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
50133
50134 * configure.in: Also look in $cxxmachine/include for C++ system
50135 headers.
50136
50137 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
50138
50139 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
50140 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
50141 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
50142 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
50143 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
50144 (USE_AS_WMEMCMP): New macro.
50145 Fixing indents.
50146 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
50147 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
50148 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
50149 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
50150 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
50151 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
50152 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
50153 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
50154 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
50155 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
50156 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
50157 (USE_AS_WMEMCMP): New macro.
50158 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
50159 * sysdeps/string/test-memcmp.c: Update.
50160 Fix simple_wmemcmp.
50161 Add new tests.
50162 * wcsmbs/wmemcmp.c: Update.
50163 (WMEMCMP): New macro.
50164 Fix overflow bug.
50165
50166 2011-10-12 Andreas Jaeger <aj@suse.de>
50167
50168 [BZ #13268]
50169 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
50170
50171 2011-10-15 Ulrich Drepper <drepper@gmail.com>
50172
50173 * libio/iofwide.c (do_length): Avoid warning.
50174
50175 * ctype/ctype.h (__isctype_f): Add missing __THROW.
50176
50177 2011-10-14 Ulrich Drepper <drepper@gmail.com>
50178
50179 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
50180
50181 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
50182 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
50183 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
50184 * sysdeps/i386/i686/fpu/e_log.S: New file.
50185 * sysdeps/i386/i686/fpu/e_logf.S: New file.
50186 * sysdeps/i386/i686/fpu/e_logl.S: New file.
50187
50188 * ctype/ctype.h: Add support for inlined isXXX functions when
50189 compiling C++ code.
50190
50191 2011-10-14 Andreas Schwab <schwab@redhat.com>
50192
50193 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
50194
50195 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
50196
50197 2011-10-13 Roland McGrath <roland@hack.frob.com>
50198
50199 [BZ #13291]
50200 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
50201
50202 2011-10-13 Andreas Schwab <schwab@redhat.com>
50203
50204 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
50205 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
50206 feraiseexcept.
50207
50208 * sysdeps/x86_64/memrchr.S: Check for zero size.
50209
50210 * string/stratcliff.c: Add memrchr tests.
50211
50212 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
50213
50214 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
50215 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
50216 rawmemchr-sse2 rawmemchr-sse2-bsf.
50217 * sysdeps/i386/i686/multiarch/memchr.S: New file.
50218 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
50219 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
50220 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
50221 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
50222 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
50223 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
50224 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
50225 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
50226 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
50227 * string/memrchr.c (MEMRCHR): New macro.
50228
50229 2011-10-12 Ulrich Drepper <drepper@gmail.com>
50230
50231 Add integration with gcc's -ffinite-math-only and optimize wrapper
50232 functions in libm.
50233 * Versions.def: Define GLIBC_2.15 version for libm.
50234 * math/Makefile (headers): Add bits/math-finite.h.
50235 * math/bits/math-finite.h: New file.
50236 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
50237 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
50238 * math/e_acoshl.c: Add __*_finite alias.
50239 * math/e_acosl.c: Likewise.
50240 * math/e_asinl.c: Likewise.
50241 * math/e_atan2l.c: Likewise.
50242 * math/e_atanhl.c: Likewise.
50243 * math/e_coshl.c: Likewise.
50244 * math/e_exp10.c: Likewise.
50245 * math/e_exp10f.c: Likewise.
50246 * math/e_exp10l.c: Likewise.
50247 * math/e_exp2l.c: Likewise.
50248 * math/e_fmodl.c: Likewise.
50249 * math/e_gammal_r.c: Likewise.
50250 * math/e_hypotl.c: Likewise.
50251 * math/e_j0l.c: Likewise.
50252 * math/e_j1l.c: Likewise.
50253 * math/e_jnl.c: Likewise.
50254 * math/e_lgammal_r.c: Likewise.
50255 * math/e_log10l.c: Likewise.
50256 * math/e_log2l.c: Likewise.
50257 * math/e_logl.c: Likewise.
50258 * math/e_powl.c: Likewise.
50259 * math/e_sinhl.c: Likewise.
50260 * math/e_sqrtl.c: Likewise.
50261 * math/e_scalb.c: Completely rewritten and optimized.
50262 * math/e_scalbf.c: Likewise.
50263 * math/e_scalbl.c: Likewise.
50264 * math/w_acos.c: Likewise.
50265 * math/w_acosf.c: Likewise.
50266 * math/w_acosl.c: Likewise.
50267 * math/w_acosh.c: Likewise.
50268 * math/w_acoshf.c: Likewise.
50269 * math/w_acoshl.c: Likewise.
50270 * math/w_asin.c: Likewise.
50271 * math/w_asinf.c: Likewise.
50272 * math/w_asinl.c: Likewise.
50273 * math/w_atan2.c: Likewise.
50274 * math/w_atan2f.c: Likewise.
50275 * math/w_atan2l.c: Likewise.
50276 * math/w_atanh.c: Likewise.
50277 * math/w_atanhf.c: Likewise.
50278 * math/w_atanhl.c: Likewise.
50279 * math/w_exp10.c: Likewise.
50280 * math/w_exp10f.c: Likewise.
50281 * math/w_exp10l.c: Likewise.
50282 * math/w_fmod.c: Likewise.
50283 * math/w_fmodf.c: Likewise.
50284 * math/w_fmodl.c: Likewise.
50285 * math/w_j0.c: Likewise.
50286 * math/w_j0f.c: Likewise.
50287 * math/w_j0l.c: Likewise.
50288 * math/w_j1.c: Likewise.
50289 * math/w_j1f.c: Likewise.
50290 * math/w_j1l.c: Likewise.
50291 * math/w_jn.c: Likewise.
50292 * math/w_jnf.c: Likewise.
50293 * math/w_log.c: Likewise.
50294 * math/w_logf.c: Likewise.
50295 * math/w_logl.c: Likewise.
50296 * math/w_log10.c: Likewise.
50297 * math/w_log10f.c: Likewise.
50298 * math/w_log10l.c: Likewise.
50299 * math/w_log2.c: Likewise.
50300 * math/w_log2f.c: Likewise.
50301 * math/w_log2l.c: Likewise.
50302 * math/w_pow.c: Likewise.
50303 * math/w_powf.c: Likewise.
50304 * math/w_powl.c: Likewise.
50305 * math/w_remainder.c: Likewise.
50306 * math/w_remainderf.c: Likewise.
50307 * math/w_remainderl.c: Likewise.
50308 * math/w_scalb.c: Likewise.
50309 * math/w_scalbf.c: Likewise.
50310 * math/w_scalbl.c: Likewise.
50311 * math/w_sqrt.c: Likewise.
50312 * math/w_sqrtf.c: Likewise.
50313 * math/w_sqrtl.c: Likewise.
50314 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
50315 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
50316 used.
50317 * math/math_private.h: Declare __kernel_standard_f.
50318 * math/w_cosh.c: Remove cruft and optimize a bit.
50319 * math/w_coshf.c: Likewise.
50320 * math/w_coshl.c: Likewise.
50321 * math/w_exp2.c: Likewise.
50322 * math/w_exp2f.c: Likewise.
50323 * math/w_exp2l.c: Likewise.
50324 * math/w_hypot.c: Likewise.
50325 * math/w_hypotf.c: Likewise.
50326 * math/w_hypotl.c: Likewise.
50327 * math/w_lgamma.c: Likewise.
50328 * math/w_lgamma_r.c: Likewise.
50329 * math/w_lgammaf.c: Likewise.
50330 * math/w_lgammaf_r.c: Likewise.
50331 * math/w_lgammal.c: Likewise.
50332 * math/w_lgammal_r.c: Likewise.
50333 * math/w_sinh.c: Likewise.
50334 * math/w_sinhf.c: Likewise.
50335 * math/w_sinhl.c: Likewise.
50336 * math/w_tgamma.c: Likewise.
50337 * math/w_tgammaf.c: Likewise.
50338 * math/w_tgammal.c: Likewise.
50339 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
50340 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
50341 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
50342 Minor optimizations. Pretty printing. Remove cruft.
50343 * sysdeps/i386/fpu/e_acosf.S: Likewise.
50344 * sysdeps/i386/fpu/e_acosh.S: Likewise.
50345 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
50346 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
50347 * sysdeps/i386/fpu/e_acosl.c: Likewise.
50348 * sysdeps/i386/fpu/e_asin.S: Likewise.
50349 * sysdeps/i386/fpu/e_asinf.S: Likewise.
50350 * sysdeps/i386/fpu/e_atan2.S: Likewise.
50351 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
50352 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
50353 * sysdeps/i386/fpu/e_atanh.S: Likewise.
50354 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
50355 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
50356 * sysdeps/i386/fpu/e_exp10.S: Likewise.
50357 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
50358 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
50359 * sysdeps/i386/fpu/e_exp2.S: Likewise.
50360 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
50361 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
50362 * sysdeps/i386/fpu/e_fmod.S: Likewise.
50363 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
50364 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
50365 * sysdeps/i386/fpu/e_hypot.S: Likewise.
50366 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
50367 * sysdeps/i386/fpu/e_log.S: Likewise.
50368 * sysdeps/i386/fpu/e_log10.S: Likewise.
50369 * sysdeps/i386/fpu/e_log10f.S: Likewise.
50370 * sysdeps/i386/fpu/e_log10l.S: Likewise.
50371 * sysdeps/i386/fpu/e_log2.S: Likewise.
50372 * sysdeps/i386/fpu/e_log2f.S: Likewise.
50373 * sysdeps/i386/fpu/e_log2l.S: Likewise.
50374 * sysdeps/i386/fpu/e_logf.S: Likewise.
50375 * sysdeps/i386/fpu/e_logl.S: Likewise.
50376 * sysdeps/i386/fpu/e_pow.S: Likewise.
50377 * sysdeps/i386/fpu/e_powf.S: Likewise.
50378 * sysdeps/i386/fpu/e_powl.S: Likewise.
50379 * sysdeps/i386/fpu/e_remainder.S: Likewise.
50380 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
50381 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
50382 * sysdeps/i386/fpu/e_scalb.S: Likewise.
50383 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
50384 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
50385 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
50386 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
50387 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
50388 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
50389 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
50390 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
50391 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
50392 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
50393 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
50394 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
50395 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
50396 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
50397 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
50398 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
50399 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
50400 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
50401 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
50402 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
50403 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
50404 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
50405 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
50406 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
50407 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
50408 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
50409 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
50410 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
50411 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
50412 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
50413 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
50414 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
50415 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
50416 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
50417 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
50418 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
50419 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
50420 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
50421 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
50422 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
50423 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
50424 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
50425 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
50426 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
50427 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
50428 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
50429 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
50430 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
50431 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
50432 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
50433 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
50434 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
50435 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
50436 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
50437 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
50438 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
50439 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
50440 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
50441 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
50442 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
50443 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
50444 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
50445 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
50446 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
50447 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
50448 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
50449 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
50450 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
50451 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
50452 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
50453 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
50454 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
50455 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
50456 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
50457 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
50458 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
50459 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
50460 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
50461 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
50462 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
50463 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
50464 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
50465 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
50466 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
50467 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
50468 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
50469 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
50470 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
50471 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
50472 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
50473 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
50474 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
50475 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
50476 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
50477 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
50478 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
50479 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
50480 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
50481 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
50482 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
50483 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
50484 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
50485 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
50486 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
50487 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
50488 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
50489 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
50490 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
50491 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
50492 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
50493 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
50494 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
50495 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
50496 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
50497 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
50498 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
50499 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
50500 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
50501 (__isnanf): Likewise.
50502 (__isinf_ns): Likewise.
50503 (__isinf_nsf): Likewise.
50504 (__finite): Likewise.
50505 (__finitef): Likewise.
50506 (__ieee754_sqrt): Define as macro.
50507 (__ieee754_sqrtf): Define as macro.
50508 (__ieee754_sqrtl): Define as macro.
50509 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
50510 inlined copy.
50511 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
50512 __FINITE_MATH_ONLY__ consistent.
50513 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
50514
50515 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
50516
50517 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
50518 of rawmemchr.
50519
50520 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
50521
50522 2011-10-09 Ulrich Drepper <drepper@gmail.com>
50523
50524 * po/ja.po: Update from translation team.
50525
50526 2011-10-08 Roland McGrath <roland@hack.frob.com>
50527
50528 * locale/programs/locarchive.c (prepare_address_space): New function.
50529 (create_archive, enlarge_archive, open_archive): Use it.
50530
50531 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
50532 inside [SHARED], where it is used.
50533
50534 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
50535
50536 * nss/getent.c (netgroup_keys): Remove unused variable.
50537 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
50538
50539 2011-10-08 Ulrich Drepper <drepper@gmail.com>
50540
50541 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
50542 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
50543 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
50544 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
50545 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
50546 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
50547 * math/Makefile (libm-calls): Add s_isinf_ns.
50548 * math/divtc3.c: Use __isinf_nsl instead of isinf.
50549 * math/multc3.c: Likewise.
50550 * math/s_casin.c: Likewise.
50551 * math/s_casinf.c: Likewise.
50552 * math/s_casinl.c: Likewise.
50553 * math/s_ccos.c: Likewise.
50554 * math/s_ccosf.c: Likewise.
50555 * math/s_ccosl.c: Likewise.
50556 * math/s_ctan.c: Likewise.
50557 * math/s_ctanf.c: Likewise.
50558 * math/s_ctanh.c: Likewise.
50559 * math/s_ctanhf.c: Likewise.
50560 * math/s_ctanhl.c: Likewise.
50561 * math/s_ctanl.c: Likewise.
50562 * math/w_fmod.c: Likewise.
50563 * math/w_fmodf.c: Likewise.
50564 * math/w_fmodl.c: Likewise.
50565 * math/w_remainder.c: Likewise.
50566 * math/w_remainderf.c: Likewise.
50567 * math/w_remainderl.c: Likewise.
50568 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
50569 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
50570 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
50571 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
50572 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
50573 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
50574 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
50575 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
50576
50577 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
50578 of the number.
50579 * stdio-common/printf_fphex.c: Likewise.
50580 * stdio-common/printf_size.c: Likewise.
50581
50582 * math/e_exp10.c: Include math_private.h using <...> not "...".
50583 * math/e_exp10f.c: Likewise.
50584 * math/e_exp10l.c: Likewise.
50585 * math/e_exp2l.c: Likewise.
50586 * math/e_j0l.c: Likewise.
50587 * math/e_j1l.c: Likewise.
50588 * math/e_jnl.c: Likewise.
50589 * math/e_lgammal_r.c: Likewise.
50590 * math/e_rem_pio2l.c: Likewise.
50591 * math/e_scalb.c: Likewise.
50592 * math/e_scalbf.c: Likewise.
50593 * math/e_scalbl.c: Likewise.
50594 * math/k_cosl.c: Likewise.
50595 * math/k_sinl.c: Likewise.
50596 * math/k_tanl.c: Likewise.
50597 * math/s_cacoshf.c: Likewise.
50598 * math/s_catan.c: Likewise.
50599 * math/s_catanf.c: Likewise.
50600 * math/s_catanh.c: Likewise.
50601 * math/s_catanhf.c: Likewise.
50602 * math/s_catanhl.c: Likewise.
50603 * math/s_catanl.c: Likewise.
50604 * math/s_ccosh.c: Likewise.
50605 * math/s_ccoshf.c: Likewise.
50606 * math/s_ccoshl.c: Likewise.
50607 * math/s_cexp.c: Likewise.
50608 * math/s_cexpf.c: Likewise.
50609 * math/s_cexpl.c: Likewise.
50610 * math/s_clog.c: Likewise.
50611 * math/s_clog10.c: Likewise.
50612 * math/s_clog10f.c: Likewise.
50613 * math/s_clog10l.c: Likewise.
50614 * math/s_clogf.c: Likewise.
50615 * math/s_clogl.c: Likewise.
50616 * math/s_csin.c: Likewise.
50617 * math/s_csinf.c: Likewise.
50618 * math/s_csinh.c: Likewise.
50619 * math/s_csinhf.c: Likewise.
50620 * math/s_csinhl.c: Likewise.
50621 * math/s_csinl.c: Likewise.
50622 * math/s_csqrt.c: Likewise.
50623 * math/s_csqrtf.c: Likewise.
50624 * math/s_csqrtl.c: Likewise.
50625 * math/s_ctan.c: Likewise.
50626 * math/s_ctanf.c: Likewise.
50627 * math/s_ctanh.c: Likewise.
50628 * math/s_ctanhf.c: Likewise.
50629 * math/s_ctanhl.c: Likewise.
50630 * math/s_ctanl.c: Likewise.
50631 * math/s_ldexp.c: Likewise.
50632 * math/s_ldexpf.c: Likewise.
50633 * math/s_ldexpl.c: Likewise.
50634 * math/s_significand.c: Likewise.
50635 * math/s_significandf.c: Likewise.
50636 * math/s_significandl.c: Likewise.
50637 * math/w_acos.c: Likewise.
50638 * math/w_acosf.c: Likewise.
50639 * math/w_acosh.c: Likewise.
50640 * math/w_acoshf.c: Likewise.
50641 * math/w_acoshl.c: Likewise.
50642 * math/w_acosl.c: Likewise.
50643 * math/w_asin.c: Likewise.
50644 * math/w_asinf.c: Likewise.
50645 * math/w_asinl.c: Likewise.
50646 * math/w_atan2.c: Likewise.
50647 * math/w_atan2f.c: Likewise.
50648 * math/w_atan2l.c: Likewise.
50649 * math/w_atanh.c: Likewise.
50650 * math/w_atanhf.c: Likewise.
50651 * math/w_atanhl.c: Likewise.
50652 * math/w_cosh.c: Likewise.
50653 * math/w_coshf.c: Likewise.
50654 * math/w_coshl.c: Likewise.
50655 * math/w_dremf.c: Likewise.
50656 * math/w_exp10.c: Likewise.
50657 * math/w_exp10f.c: Likewise.
50658 * math/w_exp10l.c: Likewise.
50659 * math/w_exp2.c: Likewise.
50660 * math/w_exp2f.c: Likewise.
50661 * math/w_fmod.c: Likewise.
50662 * math/w_fmodf.c: Likewise.
50663 * math/w_fmodl.c: Likewise.
50664 * math/w_hypot.c: Likewise.
50665 * math/w_hypotf.c: Likewise.
50666 * math/w_hypotl.c: Likewise.
50667 * math/w_j0.c: Likewise.
50668 * math/w_j0f.c: Likewise.
50669 * math/w_j0l.c: Likewise.
50670 * math/w_j1.c: Likewise.
50671 * math/w_j1f.c: Likewise.
50672 * math/w_j1l.c: Likewise.
50673 * math/w_jn.c: Likewise.
50674 * math/w_jnf.c: Likewise.
50675 * math/w_jnl.c: Likewise.
50676 * math/w_lgamma.c: Likewise.
50677 * math/w_lgamma_r.c: Likewise.
50678 * math/w_lgammaf.c: Likewise.
50679 * math/w_lgammaf_r.c: Likewise.
50680 * math/w_lgammal.c: Likewise.
50681 * math/w_lgammal_r.c: Likewise.
50682 * math/w_log.c: Likewise.
50683 * math/w_log10.c: Likewise.
50684 * math/w_log10f.c: Likewise.
50685 * math/w_log10l.c: Likewise.
50686 * math/w_log2.c: Likewise.
50687 * math/w_log2f.c: Likewise.
50688 * math/w_log2l.c: Likewise.
50689 * math/w_logf.c: Likewise.
50690 * math/w_logl.c: Likewise.
50691 * math/w_pow.c: Likewise.
50692 * math/w_powf.c: Likewise.
50693 * math/w_powl.c: Likewise.
50694 * math/w_remainder.c: Likewise.
50695 * math/w_remainderf.c: Likewise.
50696 * math/w_remainderl.c: Likewise.
50697 * math/w_scalb.c: Likewise.
50698 * math/w_scalbf.c: Likewise.
50699 * math/w_scalbl.c: Likewise.
50700 * math/w_sinh.c: Likewise.
50701 * math/w_sinhf.c: Likewise.
50702 * math/w_sinhl.c: Likewise.
50703 * math/w_sqrt.c: Likewise.
50704 * math/w_sqrtf.c: Likewise.
50705 * math/w_sqrtl.c: Likewise.
50706 * math/w_tgamma.c: Likewise.
50707 * math/w_tgammaf.c: Likewise.
50708 * math/w_tgammal.c: Likewise.
50709
50710 * po/ja.po: Update from translation team.
50711
50712 2011-09-29 Andreas Jaeger <aj@suse.de>
50713
50714 [BZ #13179]
50715 * sunrpc/netname.c (netname2host): Fix logic.
50716
50717 [BZ #6779]
50718 [BZ #6783]
50719 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
50720 correctly.
50721 * math/w_remainder.c (__remainder): Likewise.
50722 * math/w_remainderf.c (__remainderf): Likewise.
50723 * math/libm-test.inc (remainder_test): Add test cases.
50724
50725 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
50726
50727 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
50728 sdiv_qrnnd.
50729
50730 2011-10-07 Ulrich Drepper <drepper@gmail.com>
50731
50732 * string/test-memcmp.c: Avoid unncessary #defines.
50733 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
50734
50735 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
50736
50737 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
50738 Use new sse2 version for core i3 - i7 as it's faster
50739 than sse42 version.
50740 (bit_Prefer_PMINUB_for_stringop): New.
50741 * sysdeps/x86_64/rawmemchr.S: Update.
50742 Replace with faster SSE2 version.
50743 * sysdeps/x86_64/memrchr.S: New file.
50744 * sysdeps/x86_64/memchr.S: Update.
50745 Replace with faster SSE2 version.
50746
50747 2011-09-12 Marek Polacek <mpolacek@redhat.com>
50748
50749 * elf/dl-load.c (lose): Add cast to avoid warning.
50750
50751 2011-10-07 Ulrich Drepper <drepper@gmail.com>
50752
50753 * po/ca.po: Update from translation team.
50754
50755 * inet/getnetgrent_r.c: Hook up nscd.
50756 * nscd/Makefile (routines): Add nscd_netgroup.
50757 (nscd-modules): Add netgroupcache.
50758 (CFLAGS-netgroupcache.c): Define.
50759 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
50760 (cache_search): Add const to second parameter.
50761 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
50762 INNETGR.
50763 (dbs): Add netgrdb entry.
50764 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
50765 (verify_persistent_db): Handle netgrdb.
50766 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
50767 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
50768 GETFDNETGR.
50769 (netgroup_response_header): Define.
50770 (innetgroup_response_header): Define.
50771 (datahead): Add netgroup_response_header and innetgroup_response_header
50772 elements.
50773 * nscd/nscd.conf: Add entries for netgroup cache.
50774 * nscd/nscd.h (dbtype): Add netgrdb.
50775 (_PATH_NSCD_NETGROUP_DB): Define.
50776 (netgroup_iov_disabled): Declare.
50777 (xmalloc, xcalloc, xrealloc): Move declarations here.
50778 (cache_search): Adjust prototype.
50779 Add netgroup-related prototypes.
50780 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
50781 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
50782 (__nscd_innetgr): Declare.
50783 * nscd/selinux.c (perms): Use access_vector_t as element type and
50784 add netgroup-related initializers.
50785 * nscd/netgroupcache.c: New file.
50786 * nscd/nscd_netgroup.c: New file.
50787 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
50788 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
50789 For four parameters use innetgr.
50790 * nss/nss_files/files-init.c: Add definition and callback for netgr.
50791 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
50792 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
50793 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
50794
50795 * nscd/connections.c (register_traced_file): Don't register file
50796 for disabled databases.
50797
50798 2011-10-06 Ulrich Drepper <drepper@gmail.com>
50799
50800 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
50801
50802 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
50803 from tree and freeing node.
50804
50805 2011-09-25 Jiri Olsa <jolsa@redhat.com>
50806
50807 * nss/nsswitch.c (__nss_database_lookup): Handle
50808 nss_parse_service_list out of memory case.
50809
50810 2011-09-15 Jiri Olsa <jolsa@redhat.com>
50811
50812 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
50813 out of memory case.
50814
50815 2011-10-04 Andreas Schwab <schwab@redhat.com>
50816
50817 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
50818 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
50819 pass it down.
50820 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
50821 elf_machine_rela, elf_machine_lazy_rel.
50822 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
50823 (ELF_DYNAMIC_DO_REL): Likewise.
50824 (ELF_DYNAMIC_DO_RELA): Likewise.
50825 (ELF_DYNAMIC_RELOCATE): Likewise.
50826 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
50827 to ELF_DYNAMIC_DO_REL.
50828 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
50829 (dl_main): In trace mode always set __RTLD_NOIFUNC.
50830 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
50831 elf_machine_rela.
50832 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
50833 skip_ifunc, don't call ifunc function if non-zero.
50834 (elf_machine_rela): Likewise.
50835 (elf_machine_lazy_rel): Likewise.
50836 (elf_machine_lazy_rela): Likewise.
50837 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
50838 (elf_machine_lazy_rel): Likewise.
50839 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
50840 Likewise.
50841 (elf_machine_lazy_rel): Likewise.
50842 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
50843 Likewise.
50844 (elf_machine_lazy_rel): Likewise.
50845 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
50846 (elf_machine_lazy_rel): Likewise.
50847 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
50848 (elf_machine_lazy_rel): Likewise.
50849 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
50850 (elf_machine_lazy_rel): Likewise.
50851 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
50852 (elf_machine_lazy_rel): Likewise.
50853 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
50854 (elf_machine_lazy_rel): Likewise.
50855 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
50856 (elf_machine_lazy_rel): Likewise.
50857
50858 2011-09-28 Ulrich Drepper <drepper@gmail.com>
50859
50860 * nss/nss_files/files-init.c (_nss_files_init): Use static
50861 initialization for all the *_traced_file variables.
50862
50863 2011-09-28 Andreas Schwab <schwab@redhat.com>
50864
50865 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
50866
50867 2011-09-27 Roland McGrath <roland@hack.frob.com>
50868
50869 [BZ #13226]
50870 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
50871
50872 2011-09-27 Andreas Schwab <schwab@redhat.com>
50873
50874 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
50875 Reread the line before reparsing it.
50876
50877 2011-09-26 Andreas Schwab <schwab@redhat.com>
50878
50879 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
50880
50881 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
50882 Maxim Kuvyrkov <maxim@codesourcery.com>
50883 Joseph Myers <joseph@codesourcery.com>
50884
50885 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
50886 if needed for __stack_chk_guard.
50887
50888 2011-09-19 Roland McGrath <roland@hack.frob.com>
50889
50890 * sysdeps/posix/spawni.c (script_execute): Always define it.
50891 It will be optimized away if unused.
50892 (maybe_script_execute): New function.
50893 (__spawni): Call it.
50894
50895 * Makerules: Don't include tls.make.
50896 (config-tls): Always set to thread.
50897 * tls.make.c: File removed.
50898
50899 2011-09-19 Mike Frysinger <vapier@gentoo.org>
50900
50901 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
50902 * config.make.in (CPPFLAGS-config): New substituted variable.
50903
50904 2011-09-15 Ulrich Drepper <drepper@gmail.com>
50905
50906 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
50907
50908 [BZ #13192]
50909 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
50910 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
50911
50912 2011-09-15 Roland McGrath <roland@hack.frob.com>
50913
50914 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
50915 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
50916 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
50917 (CALL_FAIL): Likewise.
50918 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
50919 (CALL_FAIL): Macro removed.
50920 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
50921
50922 2011-09-15 Ulrich Drepper <drepper@gmail.com>
50923
50924 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
50925 for __FINITE_MATH_ONLY__ == 1.
50926
50927 2011-09-15 Andreas Schwab <schwab@redhat.com>
50928
50929 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
50930 __ieee754_sqrt instead of sqrt.
50931 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
50932 __ieee754_sqrtf instead of sqrtf.
50933 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
50934 __floorf instead of floorf.
50935 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
50936 __floorf, __truncf instead of floorf, truncf.
50937
50938 2011-09-14 Ulrich Drepper <drepper@gmail.com>
50939
50940 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
50941
50942 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
50943 __extern_always_inline.
50944 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
50945 32-bit.
50946
50947 2011-09-14 Andreas Schwab <schwab@redhat.com>
50948
50949 * elf/rtld.c (dl_main): Also relocate in dependency order when
50950 doing symbol dependency testing.
50951
50952 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
50953
50954 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
50955 Always define `refsym'.
50956
50957 2011-09-13 Andreas Schwab <schwab@redhat.com>
50958
50959 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
50960 (__FD_ELT): Renamed from __FDELT.
50961 * misc/bits/select2.h (__FD_ELT): Likewise.
50962 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
50963 __FD_MASK instead of __FDELT, __FDMASK.
50964 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
50965 Likewise.
50966 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
50967 Likewise.
50968
50969 * elf/Makefile (gen-ldd): Fix pattern.
50970
50971 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
50972 (init_tls): Likewise.
50973
50974 2011-09-12 Ulrich Drepper <drepper@gmail.com>
50975
50976 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
50977
50978 2011-09-12 Andreas Schwab <schwab@redhat.com>
50979
50980 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
50981 `struct cmsghdr *' instead of `void *'.
50982 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
50983 Likewise.
50984
50985 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
50986
50987 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
50988 if non-absolute.
50989 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
50990 ldd_rewrite_script.
50991
50992 2011-09-11 Ulrich Drepper <drepper@gmail.com>
50993
50994 * configure.in: Remove --with-tls option.
50995 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
50996 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
50997 out in case it is missing.
50998 * sysdeps/ia64/elf/configure.in: Likewise.
50999 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
51000 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
51001 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
51002 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
51003 * sysdeps/sh/elf/configure.in: Likewise.
51004 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
51005 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
51006 * sysdeps/x86_64/elf/configure.in: Likewise.
51007 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
51008 * sysdeps/mach/hurd/tls.h: Likewise.
51009
51010 [BZ #13067]
51011 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
51012
51013 [BZ #13090]
51014 * configure.in: Fix use of AC_INIT.
51015
51016 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
51017
51018 2011-09-10 Ulrich Drepper <drepper@gmail.com>
51019
51020 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
51021 __set_errno.
51022 * malloc/hooks.c: Likewise.
51023
51024 [BZ #11929]
51025 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
51026 variables statically.
51027 (narenas): Initialize.
51028 (list_lock): Initialize.
51029 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
51030 initializtion of main_arena and list_lock. Small cleanups.
51031 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
51032 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
51033 Add initializers to main_arena and mp_.
51034 (malloc_state): Remove pagesize member. Change all users to use
51035 GLRO(dl_pagesize).
51036
51037 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
51038 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
51039 is always initialized.
51040
51041 * malloc/malloc.c: Removed unused configurations and dead code.
51042 * malloc/arena.c: Likewise.
51043 * malloc/hooks.c: Likewise.
51044 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
51045
51046 * include/tls.h: Removed. USE___THREAD must always be defined.
51047 * bits/libc-tsd.h: Don't handle !USE___THREAD.
51048 * elf/dl-libc.c: Likewise.
51049 * elf/dl-tsd.c: Likewise.
51050 * include/errno.h: Likewise.
51051 * include/netdb.h: Likewise.
51052 * include/resolv.h: Likewise.
51053 * inet/herrno-loc.c: Likewise.
51054 * inet/herrno.c: Likewise.
51055 * malloc/arena.c: Likewise.
51056 * malloc/hooks.c: Likewise.
51057 * malloc/malloc.c: Likewise.
51058 * resolv/res-state.c: Likewise.
51059 * resolv/res_libc.c: Likewise.
51060 * sysdeps/i386/dl-machine.h: Likewise.
51061 * sysdeps/ia64/dl-machine.h: Likewise.
51062 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
51063 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
51064 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
51065 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
51066 * sysdeps/sh/dl-machine.h: Likewise.
51067 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
51068 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
51069 * sysdeps/unix/i386/sysdep.S: Likewise.
51070 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
51071 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
51072 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
51073 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
51074 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
51075 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
51076 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
51077 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
51078 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
51079 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
51080 * sysdeps/unix/x86_64/sysdep.S: Likewise.
51081 * sysdeps/x86_64/dl-machine.h: Likewise.
51082 * tls.make.c: Likewise.
51083
51084 * configure.in: Remove --with-__thread option. Make tests for
51085 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
51086 tls_model attribute fail if no support is available. Remove
51087 USE_IN_LIBIO.
51088 * Makeconfig: Adjust for dropped configure option. All features are
51089 now mandatory.
51090 * Makerules: Likewise.
51091 * Versions.def: Likewise.
51092 * argp/argp-fmtstream.c: Likewise.
51093 * argp/argp-fmtstream.h: Likewise.
51094 * argp/argp-help.c: Likewise.
51095 * assert/assert.c: Likewise.
51096 * config.h.in: Likewise.
51097 * config.make.in: Likewise.
51098 * configure: Likewise.
51099 * configure.in: Likewise.
51100 * csu/Versions: Likewise.
51101 * csu/init.c: Likewise.
51102 * elf/tst-audit2.c: Likewise.
51103 * elf/tst-tls10.c: Likewise.
51104 * elf/tst-tls10.h: Likewise.
51105 * elf/tst-tls11.c: Likewise.
51106 * elf/tst-tls12.c: Likewise.
51107 * elf/tst-tls14.c: Likewise.
51108 * elf/tst-tlsmod11.c: Likewise.
51109 * elf/tst-tlsmod12.c: Likewise.
51110 * elf/tst-tlsmod13.c: Likewise.
51111 * elf/tst-tlsmod13a.c: Likewise.
51112 * elf/tst-tlsmod14a.c: Likewise.
51113 * elf/tst-tlsmod15b.c: Likewise.
51114 * elf/tst-tlsmod16a.c: Likewise.
51115 * elf/tst-tlsmod16b.c: Likewise.
51116 * elf/tst-tlsmod7.c: Likewise.
51117 * elf/tst-tlsmod8.c: Likewise.
51118 * elf/tst-tlsmod9.c: Likewise.
51119 * gmon/gmon.c: Likewise.
51120 * grp/fgetgrent_r.c: Likewise.
51121 * grp/putgrent.c: Likewise.
51122 * hurd/fopenport.c: Likewise.
51123 * include/libc-symbols.h: Likewise.
51124 * include/tls.h: Likewise.
51125 * intl/gettextP.h: Likewise.
51126 * intl/loadinfo.h: Likewise.
51127 * locale/global-locale.c: Likewise.
51128 * locale/localeinfo.h: Likewise.
51129 * mach/devstream.c: Likewise.
51130 * malloc/arena.c: Likewise.
51131 * malloc/set-freeres.c: Likewise.
51132 * misc/err.c: Likewise.
51133 * misc/getttyent.c: Likewise.
51134 * misc/mntent_r.c: Likewise.
51135 * posix/getopt.c: Likewise.
51136 * posix/wordexp.c: Likewise.
51137 * pwd/fgetpwent_r.c: Likewise.
51138 * resolv/Versions: Likewise.
51139 * resolv/res_hconf.c: Likewise.
51140 * shadow/fgetspent_r.c: Likewise.
51141 * shadow/putspent.c: Likewise.
51142 * stdio-common/printf_fphex.c: Likewise.
51143 * stdio-common/tmpfile.c: Likewise.
51144 * stdlib/abort.c: Likewise.
51145 * stdlib/fmtmsg.c: Likewise.
51146 * sunrpc/auth_unix.c: Likewise.
51147 * sunrpc/clnt_perr.c: Likewise.
51148 * sunrpc/clnt_tcp.c: Likewise.
51149 * sunrpc/clnt_udp.c: Likewise.
51150 * sunrpc/clnt_unix.c: Likewise.
51151 * sunrpc/openchild.c: Likewise.
51152 * sunrpc/svc_simple.c: Likewise.
51153 * sunrpc/svc_tcp.c: Likewise.
51154 * sunrpc/svc_udp.c: Likewise.
51155 * sunrpc/svc_unix.c: Likewise.
51156 * sunrpc/xdr.c: Likewise.
51157 * sunrpc/xdr_array.c: Likewise.
51158 * sunrpc/xdr_rec.c: Likewise.
51159 * sunrpc/xdr_ref.c: Likewise.
51160 * sunrpc/xdr_stdio.c: Likewise.
51161
51162 2011-09-09 Ulrich Drepper <drepper@gmail.com>
51163
51164 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
51165
51166 2011-07-03 Andreas Jaeger <aj@suse.de>
51167
51168 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
51169 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
51170 regenerate with gen-libm-tests.pl.
51171
51172 2010-05-12 Petr Baudis <pasky@suse.cz>
51173
51174 [BZ #11589]
51175 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
51176 around j0() zero points by switching to j1().
51177 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
51178 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
51179 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
51180 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
51181
51182 2011-09-09 Ulrich Drepper <drepper@gmail.com>
51183
51184 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
51185 instead of 0.
51186 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
51187 instead of 0.
51188 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
51189 Patch in part by Pavel Roskin <proski@gnu.org>.
51190
51191 [BZ #13138]
51192 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
51193 realloc.
51194 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
51195 Free memory block if necessary.
51196
51197 [BZ #12847]
51198 * libio/genops.c (INTDEF): For string streams the _lock pointer can
51199 be NULL. Don't lock in this case.
51200
51201 2011-09-09 Roland McGrath <roland@hack.frob.com>
51202
51203 * elf/elf.h (ELFOSABI_GNU): New macro.
51204 (ELFOSABI_LINUX): Define to that.
51205
51206 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
51207
51208 * string/strncat.c (strncat): Undef the symbol in case it has been
51209 defined in bits/string.h.
51210
51211 2011-09-09 Ulrich Drepper <drepper@gmail.com>
51212
51213 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
51214
51215 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
51216 link map.
51217
51218 2011-08-17 Andreas Jaeger <aj@suse.de>
51219
51220 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
51221
51222 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
51223 Ian Lance Taylor <iant@google.com>
51224
51225 * math/libm-test.inc (lround_test): New testcase.
51226 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
51227
51228 2011-09-08 Ulrich Drepper <drepper@gmail.com>
51229
51230 * Makefile: Remove support for automatic cvs check-ins.
51231 * Makerules: Likewise.
51232 * config.make.in: Likewise.
51233 * configure.in: Likewise.
51234 * intl/Makefile: Likewise.
51235 * locale/Makefile: Likewise.
51236 * po/Makefile: Likewise.
51237 * posix/Makefile: Likewise.
51238 * sysdeps/gnu/Makefile: Likewise.
51239 * sysdeps/mach/hurd/Makefile: Likewise.
51240 * sysdeps/sparc/sparc32/Makefile: Likewise.
51241
51242 [BZ #13118]
51243 * posix/Makefile (bug-regex32-ENV): Define.
51244 Patch by John Stanley <jpsinthemix@verizon.net>.
51245
51246 * misc/Makefile (headers): Add bits/select2.h.
51247 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
51248 * misc/bits/select2.h: New file.
51249 * include/bits/select2.h: New file.
51250 * debug/Makefile (routines): Add fdelt_chk.
51251 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
51252 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
51253 FD_ISSET.
51254 * debug/fdelt_chk.c: New file.
51255
51256 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
51257 * wcsmbs/test-wmemcmp.c: Likewise.
51258 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
51259 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
51260
51261 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
51262
51263 * string/Makefile (strop-tests): Add memcmp.
51264 * string/test-wmemcmp.c: New file.
51265 * string/test-memcmp.c: Add wmemcmp support.
51266
51267 2011-09-08 Roland McGrath <roland@hack.frob.com>
51268
51269 [BZ #13153]
51270 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
51271 2011-07-19 change.
51272
51273 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
51274 garbage value in a __mach_port_mod_refs call in the cases of the
51275 task-self and thread-self ports.
51276
51277 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
51278
51279 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
51280
51281 2011-09-08 Andreas Schwab <schwab@redhat.com>
51282
51283 * elf/dl-load.c (lose): Check for non-null L.
51284
51285 2011-09-07 Ulrich Drepper <drepper@gmail.com>
51286
51287 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
51288
51289 * elf/dl-libc.c (dlerror_run): Pass back error code from
51290 dl_catch_error.
51291
51292 [BZ #13123]
51293 * elf/dl-load.c (lose): Free l_origin if it is valid.
51294
51295 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
51296 names.
51297 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
51298 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
51299 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
51300 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
51301 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
51302 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
51303
51304 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
51305
51306 * sysdeps/powerpc/fpu/e_hypot.c: New file.
51307 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
51308 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
51309 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
51310 * sysdeps/powerpc/fpu/k_cosf.c: New file.
51311 * sysdeps/powerpc/fpu/k_sinf.c: New file.
51312 * sysdeps/powerpc/fpu/s_cosf.c: New file.
51313 * sysdeps/powerpc/fpu/s_sinf.c: New file.
51314 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
51315 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
51316
51317 2011-08-15 Alan Modra <amodra@gmail.com>
51318
51319 [BZ #13092]
51320 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
51321 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
51322 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
51323 ppc_mcount to static-only-routines.
51324 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
51325 __mcount_internal.
51326 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
51327 __mcount_internal with usual JUMPTARGET. Remove useless nop.
51328
51329 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
51330
51331 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
51332 for finite and infinity parameters.
51333
51334 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
51335
51336 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
51337 and add nop instructions for throughput optimization.
51338 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
51339
51340 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
51341
51342 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
51343 aligned copy for power7 with vector-scalar instructions.
51344 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
51345
51346 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
51347
51348 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
51349 AVX check.
51350
51351 2011-09-07 Andreas Schwab <schwab@redhat.com>
51352
51353 [BZ #13144]
51354 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
51355 last change.
51356
51357 2011-09-07 Ulrich Drepper <drepper@gmail.com>
51358
51359 * sysdeps/unix/sysv/linux/x86_64/init-first.c
51360 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
51361 syscall wrapper around clock_gettime in __vdso_clock_gettime.
51362 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
51363 clock_gettime.
51364
51365 2011-09-06 Ulrich Drepper <drepper@gmail.com>
51366
51367 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
51368 Forgot to demangle the pointer.
51369
51370 * sysdeps/i386/sysdep.h: Define atom_text_section.
51371 * sysdeps/x86_64/sysdep.h: Likewise.
51372 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
51373 section with atom_text_section.
51374 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
51375 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
51376 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
51377 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
51378 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
51379
51380 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
51381 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
51382 already be defined. Change to take two parameters and don't assign
51383 result to variable. Adjust all users.
51384 Define INTERNAL_GETTIME if not already defined.
51385 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
51386 call.
51387 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
51388 HAVE_CLOCK_GETTIME_VSYSCALL.
51389 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
51390
51391 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
51392 gettimeofday vsyscall, just use time.
51393
51394 2011-09-06 Andreas Schwab <schwab@redhat.com>
51395
51396 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
51397 <errno.h>.
51398
51399 2011-09-06 Ulrich Drepper <drepper@gmail.com>
51400
51401 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
51402 syscall on x86-64.
51403 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
51404 syscall.
51405 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
51406 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
51407 syscall if possible.
51408
51409 2011-09-05 Ulrich Drepper <drepper@gmail.com>
51410
51411 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
51412 e_ident. Don't pass to find_mapsXX.
51413 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
51414
51415 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
51416
51417 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
51418 strchr-sse2-no-bsf strrchr-sse2-no-bsf
51419 * sysdeps/x86_64/multiarch/strchr.S: Update.
51420 Check bit_slow_BSF bit.
51421 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
51422 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
51423 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
51424
51425 2011-09-05 Ulrich Drepper <drepper@gmail.com>
51426
51427 [BZ #13134]
51428 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
51429 before glibc 2.15.
51430 (tryshell): Define.
51431 (__spawni): Change last parameter to be flag. Test
51432 SPAWN_XFLAGS_USE_PATH flag to use path or not.
51433 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
51434 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
51435 * posix/spawni.c: Likewise.
51436 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
51437 * posix/spawnp.c: Likewise. Change normal version to use
51438 SPAWN_XFLAGS_USE_PATH.
51439 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
51440 SPAWN_XFLAGS_TRY_SHELL.
51441
51442 [BZ #13150]
51443 * posix/glob.h: Remove gcc 1.x support.
51444
51445 [BZ #13068]
51446 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
51447
51448 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
51449
51450 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
51451 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
51452 strrchr-sse2-bsf
51453 * sysdeps/i386/i686/multiarch/strchr.S: New file.
51454 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
51455 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
51456 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
51457 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
51458 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
51459
51460 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
51461
51462 * sysdeps/x86_64/wcscmp.S: New file.
51463
51464 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
51465 wcscmp-c wcscmp-sse2
51466 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
51467 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
51468 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
51469 * wcsmbs/wcscmp.c: Allow renaming.
51470
51471 2011-09-05 David S. Miller <davem@davemloft.net>
51472
51473 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
51474 stack slot, rather than the struct return pointer slot.
51475 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
51476 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
51477 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
51478 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
51479
51480 2011-09-05 Ulrich Drepper <drepper@gmail.com>
51481
51482 * po/ja.po: Update from translation team.
51483
51484 [BZ #13144]
51485 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
51486 kernel in 64-bit binaries.
51487
51488 2011-09-01 David S. Miller <davem@davemloft.net>
51489
51490 * elf/elf.h (HWCAP_SPARC_*): Move to..
51491 * sysdeps/sparc/sysdep.h: this new file and add new values.
51492 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
51493 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
51494 _DL_HWCAP_COUNT to 24.
51495 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
51496 entries.
51497 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
51498 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
51499 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
51500 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
51501 instead of magic constants.
51502 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
51503
51504 2011-08-31 David S. Miller <davem@davemloft.net>
51505
51506 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
51507 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
51508 Reimplement to do errno handling inline.
51509 (SYSCALL_ERROR_HANDLER): New macro.
51510 (__SYSCALL_STRING): Do not do errno handling in asm.
51511 (__CLONE_SYSCALL_STRING): Delete.
51512 (__INTERNAL_SYSCALL_STRING): Delete.
51513 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
51514 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
51515 (PSEUDO): Reimplement to do errno handling inline.
51516 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
51517 (SYSCALL_ERROR_HANDLER): New macro.
51518 (__SYSCALL_STRING): Do not do errno handling in asm.
51519 (__CLONE_SYSCALL_STRING): Delete.
51520 (__INTERNAL_SYSCALL_STRING): Delete.
51521 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
51522 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
51523 i386.
51524 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
51525 (inline_syscall*): Add 'err' argument.
51526 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
51527 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
51528 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
51529 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
51530
51531 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
51532 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
51533
51534 2011-08-30 Andreas Schwab <schwab@redhat.com>
51535
51536 * elf/rtld.c (dl_main): Relocate objects in dependency order.
51537
51538 2011-08-29 Jiri Olsa <jolsa@redhat.com>
51539
51540 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
51541 directive.
51542
51543 2011-08-24 David S. Miller <davem@davemloft.net>
51544
51545 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
51546
51547 2011-08-24 Andreas Schwab <schwab@redhat.com>
51548
51549 * elf/Makefile: Add rules to build and run unload8 test.
51550 * elf/unload8.c: New file.
51551 * elf/unload8mod1.c: New file.
51552 * elf/unload8mod1x.c: New file.
51553 * elf/unload8mod2.c: New file.
51554 * elf/unload8mod3.c: New file.
51555
51556 * elf/dl-close.c (_dl_close_worker): Reset private search list if
51557 it wasn't used.
51558
51559 2011-08-23 David S. Miller <davem@davemloft.net>
51560
51561 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
51562 subtract stack bias.
51563 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
51564 %sp not %fp in calculations.
51565 (_JMPBUF_UNWINDS_ADJ): Likewise.
51566
51567 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
51568 (aio_suspend): Call it to force an exception region around the
51569 AIO_MISC_WAIT() invocation.
51570
51571 2011-08-23 Andreas Schwab <schwab@redhat.com>
51572
51573 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
51574 backslash.
51575
51576 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
51577
51578 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
51579 protection macro.
51580 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
51581 and <dl-machine.h>.
51582 (Elf64_FuncDesc): Remove.
51583
51584 2011-08-22 David S. Miller <davem@davemloft.net>
51585
51586 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
51587 sigaltstack check, add missing cfi directives.
51588 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
51589 missing cfi directives, and sigaltstack handling.
51590
51591 2011-08-16 Andreas Schwab <schwab@redhat.com>
51592
51593 [BZ #11724]
51594 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
51595 object is seen twice.
51596 * elf/dl-fini.c (_dl_sort_fini): Likewise.
51597
51598 * elf/Makefile (distribute): Add tst-initorder2.c.
51599 (tests): Add tst-initorder2.
51600 (modules-names): Add tst-initorder2a tst-initorder2b
51601 tst-initorder2c tst-initorder2d. Add rules to build them.
51602 ($(objpfx)tst-initorder2.out): New rule.
51603 * elf/tst-initorder2.c: New file.
51604 * elf/tst-initorder2.exp: New file.
51605
51606 2011-08-22 Andreas Schwab <schwab@redhat.com>
51607
51608 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
51609
51610 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
51611 dependencies back to end of function.
51612
51613 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
51614 $(elfobjdir)/ld.so.
51615
51616 2011-08-21 Ulrich Drepper <drepper@gmail.com>
51617
51618 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
51619 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
51620 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
51621 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
51622 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
51623 of __vdso_gettimeofday.
51624 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
51625 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
51626 attribute_hidden.
51627 (_libc_vdso_platform_setup): Remove initialization of
51628 __vdso_gettimeofday and __vdso_time.
51629
51630 2011-08-20 Ulrich Drepper <drepper@gmail.com>
51631
51632 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
51633 and fgetc_unlocked.
51634 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
51635 getc_unlocked.
51636
51637 * elf/dl-open.c (add_to_global): Report additions to the global scope
51638 for LD_DEBUG=scopes.
51639 (dl_open_worker): Also print scope of newly loaded dependencies.
51640 (_dl_show_scope): Indicate if there is no scope.
51641
51642 [BZ #13114]
51643 * stdio-common/Makefile (tests): Add bug24.
51644 * stdio-common/bug24.c: New file.
51645
51646 2011-08-19 Andreas Jaeger <aj@suse.de>
51647
51648 [BZ #13114]
51649 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
51650 non-existant file when using close-on-exec mode.
51651
51652 2011-08-20 Ulrich Drepper <drepper@gmail.com>
51653
51654 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
51655 the very first instruction.
51656
51657 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
51658 the CFI state in the end.
51659 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
51660 inclusion of dl-trampoline.h.
51661 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
51662
51663 2011-08-19 Andreas Schwab <schwab@redhat.com>
51664
51665 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
51666 expectations for long double.
51667
51668 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
51669 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
51670
51671 2011-08-14 David S. Miller <davem@davemloft.net>
51672
51673 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
51674 artificual limit depends upon the system page size.
51675
51676 2011-08-17 Ulrich Drepper <drepper@gmail.com>
51677
51678 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
51679 * resolv/Makefile: Define CFLAGS-libresolv.
51680
51681 2011-08-17 Andreas Schwab <schwab@redhat.com>
51682
51683 * nss/makedb.c (compute_tables): Make variables used in nested
51684 function static.
51685
51686 2011-08-17 Ulrich Drepper <drepper@gmail.com>
51687
51688 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
51689 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
51690 if buffer was too small.
51691
51692 * elf/pldd.c (main): Attach to all threads in the process.
51693 Rewrite /proc handling to use *at functions.
51694
51695 2011-08-16 Ulrich Drepper <drepper@gmail.com>
51696
51697 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
51698 specifies first scope to show.
51699 (dl_open_worker): Update callers. Move printing scope of new
51700 object to before the relocation.
51701 * elf/rtld.c (dl_main): Update _dl_show_scope call.
51702 * sysdeps/generic/ldsodefs.h: Update declaration.
51703
51704 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
51705 string for the scope number.
51706
51707 2011-08-14 Ulrich Drepper <drepper@gmail.com>
51708
51709 * nscd/servicescache.c (cache_addserv): Make sure written is always
51710 initialized.
51711
51712 2011-08-14 Roland McGrath <roland@hack.frob.com>
51713
51714 * sysdeps/i386/i486/bits/atomic.h
51715 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
51716 statement expression, so as to suppress "set but not used" warning.
51717 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
51718
51719 * string/strncat.c (STRNCAT): Use prototype definition.
51720
51721 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
51722 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
51723 -Iprograms here.
51724 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
51725 (localedef-modules): Add localedef.
51726 (locale-modules): Add locale.
51727
51728 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
51729 * elf/rtld.c (dl_main): Invert order of assignment in last change,
51730 to avoid a warning.
51731
51732 2011-08-14 David S. Miller <davem@davemloft.net>
51733
51734 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
51735 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
51736
51737 2011-08-13 Ulrich Drepper <drepper@gmail.com>
51738
51739 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
51740 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
51741 * elf/rtld.c (dl_main): Set l_name of vDSO.
51742 Call _dl_show_scope when DL_DEBUG_SCOPES.
51743 (process_dl_debug): Recognize scopes flag and also set it for all.
51744 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
51745 Declare _dl_show_scope.
51746
51747 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
51748 (do_dlopen): Pass caller_dlopen to dl_open.
51749 (__libc_dlopen_mode): Initialize caller_dlopen.
51750
51751 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
51752 of libc. Make tolower call locale-independent. Optimize a bit by
51753 using isdigit instead of isalnum.
51754 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
51755
51756 2011-08-12 Ulrich Drepper <drepper@gmail.com>
51757
51758 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
51759 was a dependency or dynamically loaded.
51760
51761 2011-08-11 Ulrich Drepper <drepper@gmail.com>
51762
51763 * intl/l10nflist.c: Allow architecture-specific pop function.
51764 * sysdeps/x86_64/l10nflist.c: New file.
51765
51766 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
51767 classification.
51768
51769 2011-08-10 Andreas Schwab <schwab@redhat.com>
51770
51771 * include/dirent.h: Add libc_hidden_proto for scandirat and
51772 scandirat64. Don't declare __scandirat64.
51773 * dirent/scandirat.c: Add libc_hidden_def.
51774 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
51775 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
51776
51777 2011-08-10 David S. Miller <davem@davemloft.net>
51778
51779 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
51780 enum.
51781 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
51782 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
51783 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
51784
51785 2011-08-09 Ulrich Drepper <drepper@gmail.com>
51786
51787 * Versions.def [libc]: Add GLIBC_2.15.
51788 * dirent/Makefile (routines): Add scandirat and scandirat64.
51789 * dirent/Versions [libc]: Export scandirat and scandirat64 for
51790 GLIBC_2.15.
51791 * dirent/dirent.h: Declare scandirat and scandirat64.
51792 * dirent/scandirat.c: New file.
51793 * dirent/scandirat64.c: New file.
51794 * sysdeps/wordsize-64/scandirat.c: New file.
51795 * sysdeps/wordsize-64/scandirat64.c: New file.
51796 * dirent/opendir.c: Define opendirat.
51797 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
51798 using scandirat.
51799 * dirent/scandir64.c: Adjust for scandir.c change.
51800 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
51801 __scandirat64, and __scandir_cancel_handler.
51802 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
51803 additional parameter and use openat instead of open (outside of ld.so).
51804 Add new __opendir as wrapper around __opendirat.
51805 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
51806 here without requiring old scandirat implementation.
51807
51808 2011-08-08 Ulrich Drepper <drepper@gmail.com>
51809
51810 * dirent/scandir.c (cancel_handler): Renamed to
51811 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
51812 defined. Adjust users.
51813 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
51814 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
51815
51816 2011-08-04 Ulrich Drepper <drepper@gmail.com>
51817
51818 * string/test-string.h (IMPL): Use __STRING to expand name and then
51819 stringify it.
51820
51821 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
51822 of cleanups.
51823
51824 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
51825
51826 * string/Makefile: Update.
51827 (strop-tests): Append strncat.
51828 * string/test-wcscmp.c: New file.
51829 New comprehensive test for wcscmp.
51830 * string/test-strcmp.c: Update.
51831 (WIDE): New define.
51832
51833 2011-07-22 Andreas Schwab <schwab@redhat.com>
51834
51835 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
51836 line.
51837
51838 2011-07-26 Andreas Schwab <schwab@redhat.com>
51839
51840 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
51841 encoding to ACE if AI_IDN.
51842
51843 2011-08-01 Jakub Jelinek <jakub@redhat.com>
51844
51845 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
51846 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
51847
51848 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
51849
51850 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
51851 Fix overflow bug in strncat.
51852 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
51853
51854 * string/test-strncat.c: Update.
51855 Add new tests for checking overflow bugs.
51856
51857 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
51858
51859 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
51860 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
51861 * sysdeps/i386/i686/multiarch/strcat.S: New file.
51862 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
51863 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
51864 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
51865 * sysdeps/i386/i686/multiarch/strncat.S: New file.
51866 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
51867 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
51868
51869 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
51870 (USE_AS_STRCAT): Define.
51871 Add strcat and strncat support.
51872 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
51873
51874 2011-07-25 Andreas Schwab <schwab@redhat.com>
51875
51876 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
51877 __n bigger than INT_MAX+1.
51878 (__strncmp_g): Likewise.
51879
51880 2011-07-23 Ulrich Drepper <drepper@gmail.com>
51881
51882 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
51883 * libio/stido.h: Likewise.
51884
51885 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
51886 (AF_NFC): Define.
51887 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
51888 (AF_NFC): Define.
51889
51890 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
51891 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
51892 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
51893 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
51894 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
51895
51896 [BZ #13021]
51897 * scripts/test-installation.pl: Don't expect libnss_test1 to be
51898 installed.
51899
51900 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
51901 typo.
51902 (_dl_x86_64_save_sse): Likewise.
51903
51904 2011-07-22 Ulrich Drepper <drepper@gmail.com>
51905
51906 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
51907 OSXSAVE.
51908 (_dl_x86_64_save_sse): Likewise.
51909
51910 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
51911
51912 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
51913
51914 2011-07-21 Andreas Schwab <schwab@redhat.com>
51915
51916 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
51917 change.
51918 (_dl_x86_64_save_sse): Use correct AVX check.
51919
51920 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
51921
51922 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
51923 bug in strncpy/strncat.
51924 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
51925
51926 2011-07-21 Ulrich Drepper <drepper@gmail.com>
51927
51928 * string/tester.c (test_strcat): Add tests for different alignments
51929 of source and destination.
51930 (test_strncat): Likewise.
51931
51932 2011-07-20 Ulrich Drepper <drepper@gmail.com>
51933
51934 [BZ #12852]
51935 * posix/glob.c (glob): Check passed in values before using them in
51936 expressions to avoid some overflows.
51937 (glob_in_dir): Likewise.
51938
51939 [BZ #13007]
51940 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
51941 check for AVX enablement so that we don't crash with old kernels and
51942 new hardware.
51943 * elf/tst-audit4.c: Add same checks here.
51944 * elf/tst-audit6.c: Likewise.
51945
51946 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
51947
51948 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
51949
51950 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
51951
51952 2011-07-20 Ulrich Drepper <drepper@gmail.com>
51953
51954 * po/cs.po: Update from translation team.
51955 * po/bg.po: Likewise.
51956
51957 2011-07-12 Marek Polacek <mpolacek@redhat.com>
51958
51959 * misc/sys/cdefs.h: Add support for const attribute.
51960 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
51961 to gnu_dev_{major,minor,makedev} functions.
51962
51963 2011-07-20 Marek Polacek <mpolacek@redhat.com>
51964
51965 * intl/dcigettext.c (get_output_charset): Add missing bracket.
51966
51967 2011-07-20 Andreas Schwab <schwab@redhat.com>
51968
51969 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
51970 strlen results.
51971
51972 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
51973
51974 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
51975 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
51976 register in order to avoid conflicts with the soft frame pointer
51977 being held in r11 when necessary.
51978 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
51979 (INTERNAL_VSYSCALL_NCS): Likewise.
51980
51981 2011-07-14 Marek Polacek <mpolacek@redhat.com>
51982
51983 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
51984 * elf/dl-fini.c (_dl_fini): Adjust caller.
51985 * elf/dl-close.c (_dl_close_worker): Likewise.
51986 * sysdeps/generic/ldsodefs.h: Adjust declaration.
51987
51988 2011-07-15 Marek Polacek <mpolacek@redhat.com>
51989
51990 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
51991 "aux_cache->nlibs < 0".
51992
51993 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
51994 in the reload-count case.
51995
51996 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
51997
51998 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
51999 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
52000 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
52001 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
52002 * sysdeps/x86_64/multiarch/strcat.S: New file.
52003 * sysdeps/x86_64/multiarch/strncat.S: New file.
52004 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
52005 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
52006 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
52007 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
52008 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
52009 (USE_AS_STRCAT): Define.
52010 Add strcat and strncat support.
52011 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
52012 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
52013 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
52014 * string/strncat.c: Update.
52015 (USE_AS_STRNCAT): Define.
52016 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
52017 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
52018 and i7.
52019 * sysdeps/x86_64/multiarch/init-arch.h
52020 (bit_Prefer_PMINUB_for_stringop): New.
52021 (index_Prefer_PMINUB_for_stringop): Likewise.
52022 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
52023 bit_Prefer_PMINUB_for_stringop.
52024
52025 2011-07-19 Ulrich Drepper <drepper@gmail.com>
52026
52027 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
52028 buffer64.
52029 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
52030 of casting of buffer.
52031 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
52032 buffer32 and buffer64.
52033 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
52034 writes instead of casting of buffer.
52035 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
52036 buffer32.
52037 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
52038 casting of buffer.
52039
52040 2011-07-19 Andreas Schwab <schwab@redhat.com>
52041
52042 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
52043
52044 2011-07-19 Ulrich Drepper <drepper@gmail.com>
52045
52046 * nscd/nscd.c (termination_handler): Don't do anything for a database
52047 if it has not yet been initialized.
52048
52049 2011-07-18 Ulrich Drepper <drepper@gmail.com>
52050
52051 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
52052
52053 2011-07-15 Marek Polacek <mpolacek@redhat.com>
52054
52055 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
52056
52057 2011-07-18 Ulrich Drepper <drepper@gmail.com>
52058
52059 * po/nl.po: Update from translation team.
52060 * po/sv.po: Likewise.
52061
52062 2011-07-16 Roland McGrath <roland@hack.frob.com>
52063
52064 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
52065 now disallowed by GCC.
52066
52067 * configure.in (use-default-link): Default to yes if a test -shared
52068 link meets our qualifications.
52069 * configure: Regenerated.
52070
52071 * config.make.in (output-format): New variable.
52072 * configure.in: Check for ld --print-output-format support.
52073 * configure: Regenerated.
52074 * Makerules ($(common-objpfx)format.lds)
52075 [$(output-format) != unknown]: Just use $(output-format),
52076 instead of the linker-script munging.
52077
52078 2011-07-14 Roland McGrath <roland@hack.frob.com>
52079
52080 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
52081 of $(common-objpfx)shlib.lds.
52082 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
52083
52084 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
52085 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
52086
52087 * configure.in (-z relro check): Adjust test code to add a large
52088 writable data section after it.
52089 * configure: Regenerated.
52090
52091 2011-07-11 Roland McGrath <roland@hack.frob.com>
52092
52093 * configure.in (-z relro check): Fix test code to make the variable
52094 truly const.
52095 * configure: Regenerated.
52096
52097 2011-07-11 Ulrich Drepper <drepper@gmail.com>
52098
52099 * nscd/nscd.h (struct traced_file): Define.
52100 (struct database_dyn): Remove inotify_descr, reset_res, and filename
52101 elements. Add traced_files.
52102 (inotify_fd): Declare.
52103 (register_traced_file): Declare.
52104 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
52105 (inotify_fd): Export.
52106 (resolv_conf_descr): Remove.
52107 (nscd_init): Move inotify descriptor creation to main.
52108 Don't register files for notification here.
52109 (register_traced_file): New function.
52110 (invalidate_cache): Don't use reset_res to determine whether to call
52111 res_init, go through the list of registered files.
52112 (main_loop_poll): The inotify descriptors are now stored in the
52113 structures for the traced files.
52114 (main_loop_epoll): Likewise
52115 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
52116 to __nss_disable_nscd.
52117 * nscd/cache.c (prune_cache): There is no single inotify descriptor
52118 for a database anymore. Check the records for all the registered
52119 files instead.
52120 * nss/Makefile (libnss_files-routines): Add files-init.
52121 (libnss_db-routines): Add db-init.
52122 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
52123 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
52124 * nss/nss_db/db-init.c: New file.
52125 * nss/nss_files/files-init.c: New file.
52126 * nss/nsswitch.c (nss_load_library): New function. Broken out of
52127 __nss_lookup_function.
52128 (__nss_lookup_function): Call nss_load_library.
52129 (nss_load_all_libraries): New function.
52130 (__nss_disable_nscd): Take parameter with callback function for files
52131 to register. Set is_nscd. Load all the DSOs for the NSS modules
52132 used for the cached services.
52133 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
52134 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
52135 options for features to all the files in nscd.
52136
52137 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
52138
52139 2011-07-10 Roland McGrath <roland@hack.frob.com>
52140
52141 * csu/elf-init.c (__libc_csu_init): Comment typo.
52142
52143 2011-07-09 Ulrich Drepper <drepper@gmail.com>
52144
52145 * po/pl.po: Update from translation team.
52146 * po/ja.po: Likewise.
52147 * po/ru.po: Likewise.
52148 * po/ko.po: Likewise.
52149 * po/fr.po: Likewise.
52150
52151 2011-07-09 Roland McGrath <roland@hack.frob.com>
52152
52153 * configure.in (.ctors/.dtors header and trailer check):
52154 Use an empirical test on a built program.
52155 * configure: Regenerated.
52156
52157 * configure.in (-z relro check): Use an empirical test on a built DSO.
52158 Detect, but do not require, on ia64.
52159 * configure: Regenerated.
52160
52161 * configure.in (READELF): Find it with AC_CHECK_TOOL.
52162 Update tests that use readelf to use $READELF instead.
52163 * configure: Regenerated.
52164
52165 2011-07-08 Ulrich Drepper <drepper@gmail.com>
52166
52167 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
52168 if the result is not used.
52169
52170 2011-07-05 Andreas Jaeger <aj@suse.de>
52171
52172 [BZ#9696]
52173 * stdlib/tst-strtod.c: Add testcase.
52174
52175 2011-07-07 Ulrich Drepper <drepper@gmail.com>
52176
52177 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
52178 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
52179 The latter has a higher limit. Take additional parameter to pass to
52180 the new function.
52181 (__pathconf): Pass file to __statfs_link_max.
52182 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
52183 __statfs_link_max.
52184 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
52185 __statfs_link_max.
52186
52187 [BZ #12868]
52188 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
52189 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
52190 Handle Lustre.
52191 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
52192 (__statfs_filesize_max): Likewise.
52193 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
52194
52195 2011-07-05 Andreas Jaeger <aj@suse.de>
52196
52197 * resolv/res_comp.c (dn_skipname): Remove unused variable.
52198
52199 2011-07-06 Marek Polacek <mpolacek@redhat.com>
52200
52201 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
52202 `status' variable.
52203 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
52204 Likewise.
52205
52206 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
52207
52208 * Makefile (strop-tests): Add strncat.
52209 * string/test-strncat.c: New file.
52210
52211 2011-06-30 Marek Polacek <mpolacek@redhat.com>
52212
52213 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
52214
52215 2011-06-21 Andreas Jaeger <aj@suse.de>
52216
52217 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
52218 Copy rule from iconvdata/Makefile.
52219
52220 2011-07-06 Ulrich Drepper <drepper@gmail.com>
52221
52222 [BZ #12922]
52223 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
52224 but no long options are defined, just return 'W'.
52225
52226 2011-06-22 Marek Polacek <mpolacek@redhat.com>
52227
52228 [BZ #9696]
52229 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
52230
52231 2011-07-06 Ulrich Drepper <drepper@gmail.com>
52232
52233 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
52234 netgroups to read.
52235 (innetgr): Likewise.
52236
52237 2011-07-05 Roland McGrath <roland@hack.frob.com>
52238
52239 * config.make.in (install_root): Default to $(DESTDIR).
52240
52241 2011-07-05 Ulrich Drepper <drepper@gmail.com>
52242
52243 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
52244
52245 2011-07-02 Roland McGrath <roland@hack.frob.com>
52246
52247 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
52248
52249 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
52250 containing directory rather than embedding absolute directory names.
52251
52252 * scripts/check-local-headers.sh: Rewritten using awk.
52253 Match by word, not by line. Print error messages for matches.
52254 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
52255
52256 * Makerules [shlib-lds-flags empty]:
52257 ($(common-objpfx)libc_pic.opts): New target.
52258 ($(common-objpfx)libc_pic.os.clean): New target.
52259 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
52260
52261 * config.make.in (OBJCOPY): New variable.
52262 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
52263 * configure: Regenerated.
52264
52265 * config.make.in (use-default-link): New variable.
52266 * configure.in (use_default_link): Grok --with-default-link to set it.
52267 * configure: Regenerated.
52268 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
52269 (shlib-lds, shlib-lds-flags): Define to empty.
52270
52271 * Makerules (shlib-lds): New variable.
52272 (shlib-lds-flags): New variable.
52273 (build-shlib, build-moduile, build-module-asneeded): Use it.
52274 ($(common-objpfx)libc.so): Use $(shlib-lds).
52275 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
52276 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
52277
52278 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
52279 DT_FLAGS/DT_FLAGS_1 with zero flags.
52280
52281 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
52282 linker script munging.
52283
52284 2011-07-02 Ulrich Drepper <drepper@gmail.com>
52285
52286 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
52287 as 128-bit value.
52288 * crypt/sha512.c (sha512_process_block): Perform total addition using
52289 128-bit if possible.
52290 (__sha512_finish_ctx): Likewise.
52291 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
52292 as 64-bit value.
52293 * crypt/sha256.c (SWAP64): Define.
52294 (sha256_process_block): Perform total addition using 64-bit if
52295 possible.
52296 (__sha256_finish_ctx): Likewise.
52297
52298 2011-07-01 Ulrich Drepper <drepper@gmail.com>
52299
52300 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
52301 * nscd/initgrcache.c (addinitgroupsX): Likewise.
52302 * nscd/hstcache.c (cache_addhst): Likewise.
52303 * nscd/grpcache.c (cache_addgr): Likewise.
52304 * nscd/aicache.c (addhstaiX): Likewise
52305 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
52306
52307 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
52308
52309 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
52310 * nscd/initgrcache.c (addinitgroupsX): Likewise.
52311 * nscd/hstcache.c (cache_addhst): Likewise.
52312 * nscd/grpcache.c (cache_addgr): Likewise.
52313 * nscd/aicache.c (addhstaiX): Likewise
52314
52315 2011-07-01 Andreas Schwab <schwab@redhat.com>
52316
52317 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
52318 domain only when needed.
52319
52320 2011-06-30 Andreas Schwab <schwab@redhat.com>
52321
52322 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
52323 is always restored.
52324
52325 2011-06-29 Ulrich Drepper <drepper@gmail.com>
52326
52327 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
52328 are re-adding the entry.
52329 * nscd/servicescache.c (cache_addserv): Likewise.
52330
52331 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
52332
52333 * sysdeps/generic/dl-irel.h: fix protection against multiple
52334 inclusions.
52335 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
52336
52337 2011-06-28 Ulrich Drepper <drepper@gmail.com>
52338
52339 [BZ #12935]
52340 * malloc/memusage.sh: Fix quoting in message.
52341 * debug/xtrace.sh: Likewise.
52342
52343 * configure.in: Remove support for --experimental-malloc option, make
52344 it the default.
52345 * config.make.in: Likewise.
52346 * malloc/Makefile: Likewise.
52347
52348 2011-06-27 Andreas Schwab <schwab@redhat.com>
52349
52350 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
52351 two-byte characters.
52352
52353 2011-06-27 Roland McGrath <roland@hack.frob.com>
52354
52355 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
52356 AC_CACHE_CHECK invocation.
52357 * configure: Regenerated.
52358
52359 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
52360
52361 2011-06-27 Ulrich Drepper <drepper@gmail.com>
52362
52363 [BZ #12350]
52364 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
52365 bit from old_res_options.
52366
52367 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
52368
52369 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
52370 value type for setfct.
52371
52372 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
52373
52374 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
52375 __gettimeofday instead of gettimeofday.
52376
52377 2011-06-26 Ulrich Drepper <drepper@gmail.com>
52378
52379 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
52380
52381 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
52382
52383 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
52384
52385 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
52386 info.
52387
52388 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
52389
52390 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
52391 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
52392 strcpy-sse2-unaligned strncpy-sse2-unaligned
52393 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
52394 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
52395 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
52396 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
52397 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
52398 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
52399 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
52400 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
52401 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
52402 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
52403 (STRCPY): Support SSE2 and SSSE3 versions.
52404
52405 2011-06-24 Ulrich Drepper <drepper@gmail.com>
52406
52407 [BZ #12874]
52408 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
52409 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
52410 kernels which artificially limit size of requests.
52411
52412 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
52413
52414 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
52415 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
52416 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
52417 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
52418 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
52419 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
52420 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
52421 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
52422 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
52423 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
52424 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
52425 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
52426 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
52427 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
52428 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
52429 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
52430 Enable unaligned load optimization for Intel Core i3, i5 and i7
52431 processors.
52432 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
52433 Define.
52434 (index_Fast_Unaligned_Load): Define.
52435 (HAS_FAST_UNALIGNED_LOAD): Define.
52436
52437 2011-06-23 Marek Polacek <mpolacek@redhat.com>
52438
52439 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
52440
52441 2011-06-22 Ulrich Drepper <drepper@gmail.com>
52442
52443 [BZ #12907]
52444 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
52445 until it is clear that the information is realy needed.
52446 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
52447
52448 2011-06-22 Andreas Schwab <schwab@redhat.com>
52449
52450 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
52451
52452 2011-06-22 Ulrich Drepper <drepper@gmail.com>
52453
52454 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
52455 /sys/devices/system/cpu/online if it is usable.
52456
52457 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
52458 reading the information from the /proc filesystem to once a second.
52459
52460 2011-06-21 Andreas Jaeger <aj@suse.de>
52461
52462 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
52463 NULL after inclusion of kernel headers.
52464
52465 2011-06-21 Ulrich Drepper <drepper@gmail.com>
52466
52467 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
52468 calls to internal_setent.
52469
52470 [BZ #12885]
52471 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
52472 addresses using gethostbyname4_r ignore IPv4 addresses.
52473
52474 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
52475 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
52476
52477 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
52478
52479 2011-06-20 David S. Miller <davem@davemloft.net>
52480
52481 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
52482 inclusions.
52483 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
52484
52485 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
52486 (elf_irel): Use it.
52487 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
52488 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
52489 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
52490 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
52491 * sysdeps/x86_64/dl-irel.h: Likewise.
52492
52493 * elf/dl-runtime.c: Use elf_ifunc_invoke.
52494 * elf/dl-sym.c: Likewise.
52495
52496 2011-06-15 Ulrich Drepper <drepper@gmail.com>
52497
52498 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
52499 need to dereference resplen2.
52500
52501 2011-06-14 Andreas Schwab <schwab@redhat.com>
52502
52503 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
52504
52505 2011-06-15 Ulrich Drepper <drepper@gmail.com>
52506
52507 * Makeconfig: Define vardbdir and inst_vardbdir.
52508 * nss/Makefile: Add rules to install db-Makefile.
52509
52510 * nss/nss_db/db-XXX.c: Cleanup.
52511
52512 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
52513 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
52514 GLIBC_PRIVATE.
52515 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
52516 * nss/makedb.c: Implement -g option to specify that value strings
52517 are generated and should not be added to table iterated over for
52518 get*ent calls.
52519 * nss/nss_db/db-initgroups.c: New file.
52520
52521 * nss/getent.c: Add support for initgroups lookups through getgrouplist
52522 interface.
52523
52524 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
52525 (internal_getgrouplist): Adjust to name change.
52526 Update use_initgroups_entry if this is not the first call.
52527 * nss/databases.def: Add initgroups entry.
52528
52529 * nss/makedb.c (compute_tables): Check result of multiple hash table
52530 sizes to minimize maximum chain length.
52531
52532 2011-06-14 Ulrich Drepper <drepper@gmail.com>
52533
52534 * Versions.def: Add entry for libnss_db.
52535 * shlib-versions: Likewise.
52536 * nss/Makefile: Add rules to build libnss_db.
52537 * nss/Versions: Add libnss_db information. Organize libnss_files
52538 entries better.
52539 * nss/db-Makefile: Add gshadow support. Change rules for the new
52540 makedb progra. Some minor improvements to generate smaller files.
52541 * nss/nss_db/nss_db.h: Move NSS database header data structures to
52542 here from...
52543 * nss/makedb.c: ...here.
52544 Improve database format to be smaller and require less memory at
52545 runtime.
52546 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
52547 db anymore.
52548 * nss/nss_db/db-netgrp.c: Likewise.
52549 * nss/nss_db/db-open.c: Likewise.
52550 * nss/nss_files/flies-XXX.x: Adjust comments.
52551 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
52552 * nss/nss_files/files-grp.c: Likewise.
52553 * nss/nss_files/files-hosts.c: Likewise.
52554 * nss/nss_files/files-network.c: Likewise.
52555 * nss/nss_files/files-proto.c: Likewise.
52556 * nss/nss_files/files-pwd.c: Likewise.
52557 * nss/nss_files/files-rpc.c: Likewise.
52558 * nss/nss_files/files-service.c: Likewise.
52559 * nss/nss_files/files-sgrp.c: Likewise.
52560 * nss/nss_files/files-spwd.c: Likewise.
52561 * nss/nss_db/db-alias.c: Removed.
52562 * nss/nss_db/dummy-db.h: Removed.
52563
52564 2011-06-02 Ulrich Drepper <drepper@gmail.com>
52565
52566 * nss/makedb.c: Rewritten to not use database library.
52567 * nss/Makefile: Update to build new makedb program.
52568
52569 2011-06-14 Andreas Jaeger <aj@suse.de>
52570
52571 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
52572 memset declaration.
52573
52574 2011-06-10 Andreas Schwab <schwab@redhat.com>
52575
52576 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
52577 tmpbuf.
52578
52579 2011-06-10 Roland McGrath <roland@hack.frob.com>
52580
52581 * Makerules (shlib.lds): Fail if the linker script comes out empty.
52582 * elf/Makefile ($(objpfx)ld.so): Likewise.
52583
52584 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
52585 Don't list ld.so twice in dependencies.
52586
52587 * posix/bug-regex31.c: Include <stdlib.h>.
52588
52589 * nscd/hstcache.c (cache_addhst): Remove unused variable.
52590
52591 * nis/nss_compat/compat-spwd.c
52592 (getspent_next_nss_netgr): Remove unused variable.
52593 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
52594
52595 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
52596 nonmembers" output to use the right array.
52597
52598 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
52599
52600 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
52601
52602 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
52603 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
52604 * catgets/gencat.c (read_input_file): Likewise.
52605 * locale/programs/locarchive.c (enlarge_archive): Likewise.
52606
52607 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
52608 variable definition inside #if's controlling its use.
52609
52610 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
52611
52612 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
52613
52614 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
52615
52616 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
52617 unreachable code.
52618
52619 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
52620
52621 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
52622 * configure: Regenerated.
52623
52624 * Makerules: Revert last change.
52625 * elf/Makefile: Likewise.
52626
52627 2011-06-09 Roland McGrath <roland@hack.frob.com>
52628
52629 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
52630 * elf/Makefile ($(objpfx)librtld.os): Likewise.
52631 (reloc-link): Likewise.
52632
52633 2011-06-09 Ulrich Drepper <drepper@gmail.com>
52634
52635 * elf/Makefile: Add rules to build pldd.
52636 * elf/pldd.c: New file.
52637 * elf/pldd-xx.c: New file.
52638
52639 2011-06-07 Ulrich Drepper <drepper@gmail.com>
52640
52641 * version.h: Update for 2.15 development version.
52642
52643 2011-06-07 David S. Miller <davem@davemloft.net>
52644
52645 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
52646 ifuncs.
52647 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
52648 elf_machine_lazy_rel): Likewise.
52649 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
52650 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
52651 elf_machine_lazy_rel): Likewise.
52652 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
52653 dl_hwcap via passed in argument.
52654 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
52655 Likewise.
52656
52657 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
52658
52659 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
52660
52661 2011-06-06 Roland McGrath <roland@hack.frob.com>
52662
52663 [BZ #12849]
52664 * manual/fdl-1.1.texi: New file, verbatim from:
52665 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
52666 * manual/lgpl-2.1.texi: New file, verbatim from:
52667 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
52668 * manual/Makefile (licenses): New variable, list those new file names.
52669 (texis): Use it.
52670 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
52671
52672 * manual/fdl.texi: File removed.
52673 * manual/lesser.texi: File removed.
52674 * manual/libc.texinfo (Copying, Documentation License):
52675 Use new @include file names, put @appendix directive before @include.
52676
52677 2011-06-04 Jakub Jelinek <jakub@redhat.com>
52678
52679 [BZ #12841]
52680 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
52681 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
52682 (mq_open): Add __NTH.
52683
52684 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
52685
52686 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
52687 Assume Intel Core i3/i5/i7 processor if AVX is available.
52688
52689 2011-05-31 Ulrich Drepper <drepper@gmail.com>
52690
52691 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
52692 typo.
52693
52694 2011-05-31 Andreas Schwab <schwab@redhat.com>
52695
52696 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
52697 memory. Use alloca_account. Fix memory leak when retrying.
52698
52699 2011-05-31 Ulrich Drepper <drepper@gmail.com>
52700
52701 * version.h (RELEASE): Bump for 2.14 release.
52702 * include/features.h (__GLIBC_MINOR__): Bump to 14.
52703
52704 * config.make.in (RANLIB): Remove entry.
52705
52706 2011-05-30 Ulrich Drepper <drepper@gmail.com>
52707
52708 * po/Makefile (po-sed-cmd): Add ksh to extensions.
52709 (libc.pot): Work around missing support for .ksh extension in xgettext.
52710
52711 [BZ #12684]
52712 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
52713 if both request failed.
52714 (send_dg): In case of server errors clear resplen or *resplen2.
52715
52716 [BZ #12454]
52717 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
52718 when there are multiple maps.
52719 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
52720 (_dl_fini): Remove test here.
52721
52722 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
52723
52724 2011-05-29 Ulrich Drepper <drepper@gmail.com>
52725
52726 [BZ #12350]
52727 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
52728 bit from old_res_options.
52729 (gaih_inet): Likewise.
52730
52731 [BZ #11099]
52732 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
52733 as signed.
52734
52735 * resolv/res_init.c (res_setoptions): Make the code more compact.
52736
52737 [BZ #11558]
52738 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
52739 set RES_USEVC.
52740
52741 [BZ #11634]
52742 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
52743
52744 * malloc/malloc.h: Mark malloc hook variables as deprecated.
52745
52746 [BZ #11781]
52747 * malloc/malloc.h: Declare malloc hook variables as volatile.
52748
52749 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
52750 in last patch.
52751
52752 [BZ #11799]
52753 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
52754 raise in the comment.
52755 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
52756 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
52757 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
52758
52759 2011-05-28 Ulrich Drepper <drepper@gmail.com>
52760
52761 [BZ #12811]
52762 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
52763 grow the buffers more if it already has to be sufficient.
52764 (build_wcs_upper_buffer): Likewise.
52765 * posix/regexec.c (check_matching): Likewise.
52766 (clean_state_log_if_needed): Likewise.
52767 (extend_buffers): Don't enlarge buffers beyond size of the input
52768 buffer.
52769 Patches mostly by Emil Wojak <emil@wojak.eu>.
52770 * posix/bug-regex32.c: New file.
52771 * posix/Makefile (tests): Add bug-regex32.
52772
52773 * locale/findlocale.c (_nl_find_locale): Return right away if
52774 _nl_explode_name failed.
52775 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
52776
52777 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
52778
52779 * debug/xtrace.sh: Unify messages.
52780 * malloc/memusage.sh: Likewise.
52781
52782 [BZ #12813]
52783 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
52784 time symbol from vDSO. Substitute with vsyscall if not available.
52785 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
52786 __vdso_time.
52787
52788 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
52789 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
52790 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
52791 Add sendmmsg and internal_sendmmsg.
52792 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
52793 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
52794 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
52795
52796 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
52797 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
52798 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
52799
52800 2011-05-27 Ulrich Drepper <drepper@gmail.com>
52801
52802 [BZ #12813]
52803 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
52804 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
52805 available.
52806 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
52807 __vdso_getcpu.
52808
52809 [BZ #12814]
52810 * iconvdata/Makefile (tests): Add bug-iconv9.
52811 * iconvdata/bug-iconv9.c: New file.
52812
52813 2011-05-27 Andreas Schwab <schwab@redhat.com>
52814
52815 [BZ #12814]
52816 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
52817
52818 2011-05-25 Jakub Jelinek <jakub@redhat.com>
52819
52820 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
52821 (struct user_regs_struct): Change intcs field back to cs.
52822
52823 2011-05-25 Ulrich Drepper <drepper@gmail.com>
52824
52825 * po/ja.po: Update from translation team.
52826
52827 2011-05-23 Ulrich Drepper <drepper@gmail.com>
52828
52829 [BZ #12795]
52830 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
52831 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
52832
52833 2011-05-20 Andreas Schwab <schwab@redhat.com>
52834
52835 * stdlib/longlong.h: Update from GCC.
52836
52837 2011-05-23 Andreas Schwab <schwab@redhat.com>
52838
52839 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
52840 parameter name.
52841 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
52842 Add parameter name.
52843 (__sysconf): Pass it down.
52844
52845 2011-05-22 Ulrich Drepper <drepper@gmail.com>
52846
52847 [BZ #12671]
52848 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
52849 some situations.
52850 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
52851 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
52852 add in in __libc_use_alloca calls. Adjust callers.
52853 (glob): Use malloc in some situations.
52854
52855 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
52856 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
52857 pltexit.
52858
52859 2011-05-21 Ulrich Drepper <drepper@gmail.com>
52860
52861 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
52862 and CLOCK_BOOTTIME_ALARM.
52863
52864 [BZ #12782]
52865 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
52866 is returned.
52867
52868 * string/_strerror.c (__strerror_r): Print negative errors as signed
52869 numbers.
52870
52871 [BZ #12777]
52872 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
52873 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
52874 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
52875
52876 * configure.in: Fix typo in redirection and correct removal of test
52877 files in two cases.
52878
52879 [BZ #12788]
52880 * locale/setlocale.c (new_composite_name): Fix test to check for
52881 identical name of all categories.
52882
52883 [BZ #12792]
52884 * libio/filedoalloc.c (local_isatty): New function.
52885 (_IO_file_doallocate): Use local_isatty.
52886 * stdio-common/perror.c (perror): In case a new stream is used
52887 forward the stream error.
52888 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
52889 error flag.
52890
52891 2011-05-20 Ulrich Drepper <drepper@gmail.com>
52892
52893 [BZ #11869]
52894 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
52895 alloca.
52896 * include/alloca.h (extend_alloca_account): Define.
52897
52898 [BZ #11857]
52899 * posix/regex.h: Fix comments with documentation of user-accessible
52900 fields after compilation and describe correct free'ing of pattern
52901 after re_compile_pattern.
52902 Patch by Reuben Thomas <rrt@sc3d.org>.
52903
52904 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
52905
52906 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
52907 and -mno-altivec to prevent the compiler from using Altivec and/or
52908 VSX instructions when the corresponding registers are not available.
52909
52910 2011-05-19 Andreas Schwab <schwab@redhat.com>
52911
52912 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
52913
52914 2011-05-19 Ulrich Drepper <drepper@gmail.com>
52915
52916 * libio/freopen.c (freopen): Use __dup2, not dup2.
52917 * libio/freopen64.c (freopen64): Likewise.
52918
52919 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
52920
52921 [BZ #12775]
52922 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
52923 * math/Makefile (tests): Add test-powl.
52924 (CFLAGS-test-powl.c): Define.
52925 * math/test-powl.c: New file.
52926
52927 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
52928
52929 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
52930
52931 2011-05-17 Ulrich Drepper <drepper@gmail.com>
52932
52933 [BZ #11837]
52934 * iconvdata/gb18030.c: Update to GB18020-2005.
52935
52936 2011-05-16 Ulrich Drepper <drepper@gmail.com>
52937
52938 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
52939 RE_SYNTAX_POSIX_AWK): Update to match recent development.
52940 Patch by Aharon Robbins <arnold@skeeve.com>.
52941
52942 [BZ #11892]
52943 * stdlib/putenv.c (putenv): Don't always create copy of the variable
52944 on the stack.
52945
52946 [BZ #11895]
52947 * misc/pselect.c (__pselect): Handle timeout value errors hidden
52948 through underflows.
52949
52950 [BZ #12766]
52951 * misc/error.c (error_at_line): Ensure file_name and old_file_name
52952 point to strings before performing equality test for error_one_per_line
52953 mode.
52954
52955 [BZ #11697]
52956 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
52957
52958 [BZ #11820]
52959 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
52960 (struct user_fpregs_struct): Avoid __uint*_t types.
52961
52962 [BZ #6420]
52963 * malloc/mtrace.c (tr_where): Add additional parameter to point to
52964 symbol info. Use it instead of calling _dl_addr locally.
52965 (lock_and_info): New function.
52966 (tr_freehook): Call lock_and_info and pass symbol info as additional
52967 parameter to tr_where.
52968 (tr_mallochook): Likewise.
52969 (tr_reallochook): Likewise.
52970 (tr_memalignhook): Likewise.
52971
52972 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
52973 used and couldn't be at all thread-safe.
52974
52975 2011-05-15 Ulrich Drepper <drepper@gmail.com>
52976
52977 * libio/freopen.c (freopen): Don't close old file descriptor
52978 before the new one is opened. Instead dup the new file descriptor
52979 to the old one after the new stream is created.
52980 * libio/freopen64.c (freopen64): Likewise.
52981 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
52982 * libio/fileops.c (_IO_new_file_close_it): Handle new
52983 _IO_FLAGS2_NOCLOSE flag.
52984 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
52985 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
52986 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
52987 _IO_FLAGS2_NOCLOSE flag.
52988 * include/unistd.h: Add hidden_proto for dup3.
52989 Define __have_dup3.
52990 * io/dup3.c: Define hidden symbol.
52991 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
52992
52993 [BZ #7101]
52994 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
52995 when an incomplete long option is used.
52996 * posix/tst-getopt_long1.c: New file.
52997 * posix/Makefile (tests): Add tst-getopt_long1.
52998
52999 [BZ #10138]
53000 * scripts/config.guess: Update from autoconf-2.68.
53001 * scripts/config.sub: Likewise.
53002
53003 [BZ #10157]
53004 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
53005 tests into ...
53006 (has_cpuclock): ...this. New function.
53007 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
53008 macro here based on has_cpuclock code.
53009
53010 [BZ #10149]
53011 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
53012 First byte (not low byte) is now always NUL.
53013 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
53014
53015 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
53016 Use non-cancelable interfaces.
53017
53018 [BZ #9809]
53019 * locale/iso-639.def: Add entry for Sorani.
53020
53021 [BZ #11901]
53022 * include/stdlib.h: Move include protection to the right place.
53023 Define abort_msg_s. Declare __abort_msg with it.
53024 * stdlib/abort.c (__abort_msg): Adjust type.
53025 * assert/assert.c (__assert_fail_base): New function. Majority
53026 of code from __assert_fail. Allocate memory for __abort_msg with
53027 mmap.
53028 (__assert_fail): Now call __assert_fail_base.
53029 * assert/assert-perr.c: Remove bulk of implementation. Use
53030 __assert_fail_base.
53031 * include/assert.hL Declare __assert_fail_base.
53032 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
53033 mmap.
53034 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
53035
53036 2011-05-14 Ulrich Drepper <drepper@gmail.com>
53037
53038 [BZ #11952]
53039 [BZ #12453]
53040 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
53041 until all modules are registered in the DTV.
53042 * elf/Makefile: Add rules to build and run tst-tls19.
53043 * elf/tst-tls19.c: New file.
53044 * elf/tst-tls19mod1.c: New file.
53045 * elf/tst-tls19mod2.c: New file.
53046 * elf/tst-tls19mod3.c: New file.
53047 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
53048
53049 [BZ #12083]
53050 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
53051 correctly.
53052
53053 [BZ #12601]
53054 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
53055 two-byte sequence errors.
53056 * iconvdata/Makefile (tests): Add bug-iconv8.
53057 * iconvdata/bug-iconv8.c: New file.
53058
53059 [BZ #12626]
53060 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
53061 buf2 definition.
53062
53063 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
53064
53065 [BZ #12432]
53066 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
53067 (dummy_getcfa): New function.
53068 (init): Get _Unwind_GetCFA address, use dummy if not found.
53069 (backtrace_helper): In recursion check, also check whether CFA changes.
53070 (__backtrace): Completely initialize arg.
53071
53072 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
53073 storing incomplete byte sequence in state object. Avoid testing for
53074 guaranteed too small input if we know there is enough data available.
53075
53076 2011-05-11 Andreas Schwab <schwab@redhat.com>
53077
53078 * Makeconfig (+link-pie): Indent.
53079 * Rules (binaries-pie): Define if $(have-fpie) and
53080 $(build-shared).
53081 (binaries-shared): Also filter out $(binaries-pie).
53082 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
53083 * nscd/Makefile (others-pie): Add nscd.
53084 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
53085 ($(objpfx)nscd): Remove command override.
53086 * login/Makefile (others-pie): Add pt_chown.
53087 ($(objpfx)pt_chown): Remove command override.
53088 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
53089 remove command overrides.
53090
53091 2011-05-13 Ulrich Drepper <drepper@gmail.com>
53092
53093 * libio/tst_putwc.c: Fix error messages.
53094
53095 [BZ #12724]
53096 * libio/fileops.c (_IO_new_file_close_it): Always flush when
53097 currently writing and seek to current position when not.
53098 * libio/Makefile (tests): Add bug-fclose1.
53099 * libio/bug-fclose1.c: New file.
53100
53101 2011-05-12 Ulrich Drepper <drepper@gmail.com>
53102
53103 [BZ #12511]
53104 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
53105 don't set DF_1_NODELETE here.
53106 (do_lookup_x): When entering new entry test for copy relocation
53107 and if necessary set DF_1_NODELETE flag.
53108 * elf/tst-unique4.cc: New file.
53109 * elf/tst-unique4.h: New file.
53110 * elf/tst-unique4lib.cc: New file.
53111 * elf/Makefile: Add rules to build and run tst-unique4.
53112 Patch by Piotr Bury <pbury@goahead.com>.
53113
53114 2011-05-11 Ulrich Drepper <drepper@gmail.com>
53115
53116 [BZ #12052]
53117 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
53118
53119 [BZ #12625]
53120 * misc/mntent_r.c (addmntent): Flush the stream after the output
53121
53122 [BZ #12393]
53123 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
53124 (is_trusted_path_normalize): Skip initial colon. Append slash
53125 to empty buffer. Duplicate is_trusted_path code but allow
53126 constructed patch to be prefix.
53127 (is_dst): Allow $ORIGIN followed by /.
53128 (_dl_dst_substitute): Correct clearing of check_for_trusted.
53129 Correct testing of result of is_trusted_path_normalize
53130 (decompose_rpath): Fix warning.
53131
53132 2011-05-10 Ulrich Drepper <drepper@gmail.com>
53133
53134 [BZ #11257]
53135 * grp/initgroups.c (internal_getgrouplist): When we found the service
53136 list through the initgroups entry in nsswitch.conf do not always
53137 continue on a successful lookup. Don't always use the
53138 __nss_group_database value if it is set.
53139 * nss/nsswitch.conf (initgroups): Change action for successful db
53140 lookup to continue for compatibility.
53141
53142 2011-05-09 Ulrich Drepper <drepper@gmail.com>
53143
53144 [BZ #11532]
53145 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
53146 and CP774 modules.
53147 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
53148 and CP774 modules.
53149 * iconvdata/tst-tables.sh: Likewise.
53150 * iconvdata/cp770.c: New file.
53151 * iconvdata/cp771.c: New file.
53152 * iconvdata/cp772.c: New file.
53153 * iconvdata/cp773.c: New file.
53154 * iconvdata/cp774.c: New file.
53155 * iconvdata/testdata/CP770: New file.
53156 * iconvdata/testdata/CP770..UTF8: New file.
53157 * iconvdata/testdata/CP771: New file.
53158 * iconvdata/testdata/CP771..UTF8: New file.
53159 * iconvdata/testdata/CP772: New file.
53160 * iconvdata/testdata/CP772..UTF8: New file.
53161 * iconvdata/testdata/CP773: New file.
53162 * iconvdata/testdata/CP773..UTF8: New file.
53163 * iconvdata/testdata/CP774: New file.
53164 * iconvdata/testdata/CP774..UTF8: New file.
53165
53166 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
53167 END CHARMAP line.
53168 * iconvdata/gen-8bit-gap.sh: Likewise.
53169 * iconvdata/gen-8bit.sh: Likewise.
53170
53171 * locale/iso-639.def: Add ary entry.
53172
53173 [BZ #11258]
53174 * locale/C-translit.h.in: Add U20A1 transliteration.
53175
53176 [BZ #12178]
53177 * locale/iso-639.def: Add wae entry.
53178 Patch by Kevin Bortis <bortis@translate-wae.ch>.
53179
53180 [BZ #12545]
53181 * locale/programs/localedef.c (construct_output_path): Use ssize_t
53182 for n.
53183
53184 [BZ #12711]
53185 * locale/C-translit.h.in: Add entry for U20B9.
53186 Patch by pravin.d.s@gmail.com.
53187
53188 2011-05-08 Ulrich Drepper <drepper@gmail.com>
53189
53190 [BZ #12713]
53191 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
53192 ENAMETOOLONG use generic getcwd.
53193 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
53194 in rtld. Use *stat64.
53195 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
53196 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
53197 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
53198 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
53199 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
53200 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
53201 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
53202 __fstatat64 macros.
53203 * include/dirent.h: Add libc_hidden_proto for rewinddir.
53204 * dirent/rewinddir.c: Add libc_hidden_def.
53205 * sysdeps/mach/hurd/rewinddir.c: Likewise.
53206 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
53207
53208 * include/dirent.h (__alloc_dir): Add flags parameter.
53209 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
53210 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
53211 __alloc_dir.
53212 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
53213 from fdopendir if O_CLOEXEC is already set.
53214
53215 2011-03-15 Alan Modra <amodra@gmail.com>
53216
53217 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
53218 l_tls_firstbyte_offset non-zero. Save padding offset in
53219 l_tls_firstbyte_offset for later use.
53220 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
53221 freeing static tls block.
53222
53223 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
53224
53225 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
53226 where #ifdef was intended. The intent is to prevent ARG_MAX from
53227 being defined by the kernel headers.
53228
53229 2011-05-07 Ulrich Drepper <drepper@gmail.com>
53230
53231 [BZ #12734]
53232 * resolv/resolv.h: Define RES_NOTLDQUERY.
53233 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
53234 no-tld-query and set RES_NOTLDQUERY.
53235 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
53236 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
53237 modern BIND to search name as TLD unless forbidden.
53238
53239 2011-05-07 Petr Baudis <pasky@suse.cz>
53240 Ulrich Drepper <drepper@gmail.com>
53241
53242 [BZ #12393]
53243 * elf/dl-load.c (fillin_rpath): Move trusted path check...
53244 (is_trusted_path): ...to here.
53245 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
53246 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
53247 using is_trusted_path_normalize() in setuid scripts.
53248
53249 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
53250
53251 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
53252 __BEGIN/__END_DECLS.
53253
53254 2011-05-06 Ulrich Drepper <drepper@gmail.com>
53255
53256 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
53257 NSS_STATUS_NOTFOUND if no record was found.
53258
53259 2011-05-05 Andreas Schwab <schwab@redhat.com>
53260
53261 * sunrpc/Makefile (headers): Add rpc/netdb.h.
53262 (headers-not-in-tirpc): Remove rpc/netdb.h
53263 * resolv/netdb.h: Revert last change.
53264
53265 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
53266
53267 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
53268 circular dependency between libgcc.a and libc.a.
53269
53270 2011-05-05 Andreas Schwab <schwab@redhat.com>
53271
53272 * resolv/netdb.h: Don't include <rpc/netdb.h>.
53273 * nis/Makefile: Don't install rpcsvc/*.
53274 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
53275 instead of <rpc/types.h>.
53276 (MAXHOSTNAMELEN): Define.
53277
53278 2011-05-03 Andreas Schwab <schwab@redhat.com>
53279
53280 * elf/ldconfig.c (add_dir): Don't crash on empty path.
53281
53282 2011-04-28 Maciej Babinski <mbabinski@google.com>
53283
53284 [BZ #12714]
53285 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
53286 gethostbyname4_r when IPv6 results are possible.
53287
53288 2011-05-02 Ulrich Drepper <drepper@gmail.com>
53289
53290 [BZ #12723]
53291 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
53292 _PC_PIPE_BUF handling.
53293
53294 2011-04-30 Bruno Haible <bruno@clisp.org>
53295
53296 [BZ #12717]
53297 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
53298 * resolv/netdb.h (getnameinfo): Change type of flags parameter
53299 to 'int'.
53300 * inet/getnameinfo.c (getnameinfo): Likewise.
53301
53302 2011-04-29 Ulrich Drepper <drepper@gmail.com>
53303
53304 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
53305 to groups setting in database lookup.
53306 * nss/nsswitch.conf: Add initgroups entry.
53307
53308 2011-04-22 Ulrich Drepper <drepper@gmail.com>
53309
53310 [BZ #12685]
53311 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
53312 mode string.
53313 Patch by Eric Blake <eblake@redhat.com>.
53314
53315 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
53316
53317 * sunrpc/Makefile (need-export-routines): Add svc_run.
53318 (routines): Remove svc_run.
53319 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
53320 * sunrpc/clnt_perr.c (clnt_perrno): Export.
53321 * sunrpc/svc_run.c (svc_run): Likewise.
53322 * sunrpc/svc_udp.c (svcudp_create): Likewise.
53323
53324 2011-04-21 Ulrich Drepper <drepper@gmail.com>
53325
53326 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
53327 problem in reallocation in last patch.
53328
53329 2011-04-20 Ulrich Drepper <drepper@gmail.com>
53330
53331 * sunrpc/Makefile: Move inclusion of Rules.
53332
53333 2011-04-19 Ulrich Drepper <drepper@gmail.com>
53334
53335 * nss/nss_files/files-initgroups.c: New file.
53336 * nss/Makefile (libnss_files-routines): Add files-initgroups.
53337 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
53338 _nss_files_initgroups_dyn.
53339
53340 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
53341
53342 * elf/elf.h (R_ARM_IRELATIVE): Define.
53343
53344 2011-04-19 Ulrich Drepper <drepper@gmail.com>
53345
53346 * po/ru.po: Update from translation team.
53347
53348 2011-04-17 Ulrich Drepper <drepper@gmail.com>
53349
53350 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
53351 dependencies.
53352
53353 2011-02-06 Mike Frysinger <vapier@gentoo.org>
53354
53355 [BZ #12653]
53356 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
53357 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
53358 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
53359 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
53360 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
53361
53362 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
53363
53364 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
53365 differing bytes.
53366 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
53367 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
53368 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
53369
53370 2011-04-17 Ulrich Drepper <drepper@gmail.com>
53371
53372 [BZ #12420]
53373 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
53374 storing it.
53375 * stdlib/bug-getcontext.c: New file.
53376 * stdlib/Makefile: Add rules to build and run bug-getcontext.
53377
53378 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
53379
53380 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
53381 instructions into .machine "z9-109".
53382 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
53383 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
53384
53385 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
53386
53387 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
53388 between environment variables and auxiliary vector.
53389
53390 2011-04-16 Ulrich Drepper <drepper@gmail.com>
53391
53392 * Makefile: Add rules to build linkobj/libc.so.
53393 * include/libc-symbols.h: Define libc_hidden_nolink.
53394 * include/rpc/auth.h: Mark functions which are to be hidden.
53395 * include/rpc/auth_des.h: Likewise.
53396 * include/rpc/auth_unix.h: Likewise.
53397 * include/rpc/clnt.h: Likewise.
53398 * include/rpc/des_crypt.h: Likewise.
53399 * include/rpc/key_prot.h: Likewise.
53400 * include/rpc/pmap_clnt.h: Likewise.
53401 * include/rpc/pmap_prot.h: Likewise.
53402 * include/rpc/pmap_rmt.h: Likewise.
53403 * include/rpc/rpc_msg.h: Likewise.
53404 * include/rpc/svc.h: Likewise.
53405 * include/rpc/svc_auth.h: Likewise.
53406 * include/rpc/xdr.h: Likewise.
53407 * nis/Makefile: Link all DSOs against linkobj/libc.so.
53408 * nss/Makefile: Likewise.
53409 * sunrpc/Makefile: Don't install headers. Build library with normal
53410 entry points. Don't build rpcinfo. Link RPC tests appropriately.
53411 * sunrpc/auth_des.c: Hide exported symbols by default, export some
53412 for the compat linking library. Remove use of INTDEF/INTUSE.
53413 * sunrpc/auth_none.c: Likewise.
53414 * sunrpc/auth_unix.c: Likewise.
53415 * sunrpc/authdes_prot.c: Likewise.
53416 * sunrpc/authuxprot.c: Likewise.
53417 * sunrpc/clnt_gen.c: Likewise.
53418 * sunrpc/clnt_perr.c: Likewise.
53419 * sunrpc/clnt_raw.c: Likewise.
53420 * sunrpc/clnt_simp.c: Likewise.
53421 * sunrpc/clnt_tcp.c: Likewise.
53422 * sunrpc/clnt_udp.c: Likewise.
53423 * sunrpc/clnt_unix.c: Likewise.
53424 * sunrpc/des_crypt.c: Likewise.
53425 * sunrpc/des_soft.c: Likewise.
53426 * sunrpc/get_myaddr.c: Likewise.
53427 * sunrpc/key_call.c: Likewise.
53428 * sunrpc/key_prot.c: Likewise.
53429 * sunrpc/netname.c: Likewise.
53430 * sunrpc/pm_getmaps.c: Likewise.
53431 * sunrpc/pm_getport.c: Likewise.
53432 * sunrpc/pmap_clnt.c: Likewise.
53433 * sunrpc/pmap_prot.c: Likewise.
53434 * sunrpc/pmap_prot2.c: Likewise.
53435 * sunrpc/pmap_rmt.c: Likewise.
53436 * sunrpc/publickey.c: Likewise.
53437 * sunrpc/rpc_cmsg.c: Likewise.
53438 * sunrpc/rpc_common.c: Likewise.
53439 * sunrpc/rpc_dtable.c: Likewise.
53440 * sunrpc/rpc_prot.c: Likewise.
53441 * sunrpc/rpc_thread.c: Likewise.
53442 * sunrpc/rtime.c: Likewise.
53443 * sunrpc/svc.c: Likewise.
53444 * sunrpc/svc_auth.c: Likewise.
53445 * sunrpc/svc_authux.c: Likewise.
53446 * sunrpc/svc_raw.c: Likewise.
53447 * sunrpc/svc_run.c: Likewise.
53448 * sunrpc/svc_simple.c: Likewise.
53449 * sunrpc/svc_tcp.c: Likewise.
53450 * sunrpc/svc_udp.c: Likewise.
53451 * sunrpc/svc_unix.c: Likewise.
53452 * sunrpc/svcauth_des.c: Likewise.
53453 * sunrpc/xcrypt.c: Likewise.
53454 * sunrpc/xdr.c: Likewise.
53455 * sunrpc/xdr_array.c: Likewise.
53456 * sunrpc/xdr_float.c: Likewise.
53457 * sunrpc/xdr_intXX_t.c: Likewise.
53458 * sunrpc/xdr_mem.c: Likewise.
53459 * sunrpc/xdr_rec.c: Likewise.
53460 * sunrpc/xdr_ref.c: Likewise.
53461 * sunrpc/xdr_sizeof.c: Likewise.
53462 * sunrpc/xdr_stdio.c: Likewise.
53463
53464 2011-04-10 Ulrich Drepper <drepper@gmail.com>
53465
53466 [BZ #12650]
53467 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
53468 * sysdeps/ia64/dl-tls.h: Likewise.
53469 * sysdeps/powerpc/dl-tls.h: Likewise.
53470 * sysdeps/s390/dl-tls.h: Likewise.
53471 * sysdeps/sh/dl-tls.h: Likewise.
53472 * sysdeps/sparc/dl-tls.h: Likewise.
53473 * sysdeps/x86_64/dl-tls.h: Likewise.
53474 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
53475
53476 2011-03-14 Andreas Schwab <schwab@redhat.com>
53477
53478 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
53479 rpath element also skip the following colon.
53480 (expand_dynamic_string_token): Add is_path parameter and pass
53481 down to DL_DST_REQUIRED and _dl_dst_substitute.
53482 (decompose_rpath): Call expand_dynamic_string_token with
53483 non-zero is_path. Ignore empty rpaths.
53484 (_dl_map_object_from_fd): Call expand_dynamic_string_token
53485 with zero is_path.
53486
53487 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
53488
53489 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
53490 Make cancelable.
53491
53492 2011-04-09 Ulrich Drepper <drepper@gmail.com>
53493
53494 [BZ #12655]
53495 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
53496 Patch by Filipe David Manana <fdmanana@apache.org>.
53497
53498 2011-04-07 Andreas Schwab <schwab@redhat.com>
53499
53500 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
53501 Maintain aligned stack.
53502 (CHECK_RSP): Remove unused macro.
53503
53504 2011-04-03 Ulrich Drepper <drepper@gmail.com>
53505
53506 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
53507 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
53508
53509 2011-04-02 Ulrich Drepper <drepper@gmail.com>
53510
53511 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
53512
53513 * include/features.h: Mention __USE_XOPEN2K8 in comment.
53514
53515 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
53516
53517 [BZ #12518]
53518 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
53519 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
53520 * sysdeps/x86_64/memmove.c: New file.
53521 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
53522 (memcpy): Renamed to ...
53523 (__new_memcpy): This.
53524 (memcpy): Provide GLIBC_2_14 memcpy.
53525 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
53526 (memcpy): Provide GLIBC_2_2_5 memcpy.
53527
53528 2011-04-01 Ulrich Drepper <drepper@gmail.com>
53529
53530 [BZ #12631]
53531 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
53532
53533 2011-03-30 Andreas Schwab <schwab@redhat.com>
53534
53535 * misc/syncfs.c: New file.
53536 * misc/Makefile (routines): Add syncfs.
53537 * posix/unistd.h: Declare syncfs.
53538 * sysdeps/unix/syscalls.list: Add syncfs.
53539
53540 2011-04-01 Andreas Schwab <schwab@redhat.com>
53541
53542 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
53543 open_by_handle_at.
53544 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
53545 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
53546 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
53547 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
53548 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
53549 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
53550 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
53551
53552 2011-04-01 Ulrich Drepper <drepper@gmail.com>
53553
53554 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
53555 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
53556 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
53557 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
53558 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
53559 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
53560 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
53561
53562 * io/Makefile: Compile fallocate.c, fallocate64.c, and
53563 sync_file_range.c with -fexceptions.
53564 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
53565 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
53566 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
53567 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
53568 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
53569 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
53570 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
53571 sync_file_range as cancellation point
53572 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
53573 now a wrapper around __call_sync_file_range with cancellation handling.
53574 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
53575 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
53576 function name to __call_sync_file_range.
53577 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
53578 Add call_sync_file_range.
53579
53580 2011-04-01 Andreas Schwab <schwab@redhat.com>
53581
53582 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
53583 bits/timex.h.
53584
53585 2011-04-01 Ulrich Drepper <drepper@gmail.com>
53586
53587 * iconv/iconv.h: Fix typo in comment.
53588 * io/fcntl.h: Likewise.
53589 * libio/stdio.h: Likewise.
53590 * posix/spawn.h: Likewise.
53591 * posix/unistd.h: Likewise.
53592 * stdlib/stdlib.h: Likewise.
53593 * time/time.h: Likewise.
53594 * wcsmbs/wchar.h: Likewise.
53595
53596 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
53597 open_by_handle): Add.
53598 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
53599 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
53600 Augment a few comments.
53601 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
53602 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
53603 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
53604 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
53605 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
53606 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
53607 open_by_handle.
53608
53609 * io/fcntl.h (AT_EMPTY_PATH): Define.
53610
53611 2011-03-30 Ulrich Drepper <drepper@gmail.com>
53612
53613 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
53614 * sysdeps/unix/sysv/linux/bits/time.h: New file.
53615 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
53616 to...
53617 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
53618 * Versions.def: Add GLIBC_2.14.
53619 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
53620 Export.
53621
53622 2011-03-22 Ulrich Drepper <drepper@gmail.com>
53623
53624 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
53625 round counter.
53626 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
53627
53628 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
53629
53630 [BZ #12597]
53631 * string/test-strncmp.c (do_page_test): New function.
53632 (check2): Likewise.
53633 (test_main): Call check2.
53634 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
53635
53636 2011-03-20 Ulrich Drepper <drepper@gmail.com>
53637
53638 [BZ #12587]
53639 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
53640 Handle cache information in CPU leaf 4.
53641 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
53642
53643 2011-03-18 Ulrich Drepper <drepper@gmail.com>
53644
53645 [BZ #12583]
53646 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
53647 character representation.
53648 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
53649
53650 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
53651
53652 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
53653 END(__isnan) to END(__isnanf) to match function entry point/label
53654 EALIGN(__isnanf,...).
53655
53656 2011-03-10 Jakub Jelinek <jakub@redhat.com>
53657
53658 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
53659
53660 2011-03-10 Ulrich Drepper <drepper@gmail.com>
53661
53662 [BZ #12510]
53663 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
53664 copy from the symbol referenced in the relocation to initialize the
53665 used variable.
53666 Patch by Piotr Bury <pbury@goahead.com>.
53667 * elf/Makefile: Add rules to build and tst-unique3.
53668 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
53669 * elf/tst-unique3.cc: New file.
53670 * elf/tst-unique3.h: New file.
53671 * elf/tst-unique3lib.cc: New file.
53672 * elf/tst-unique3lib2.cc: New file.
53673
53674 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
53675
53676 2011-03-10 Mike Frysinger <vapier@gentoo.org>
53677
53678 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
53679 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
53680 to _start.
53681
53682 2011-03-06 Ulrich Drepper <drepper@gmail.com>
53683
53684 * elf/dl-load.c (_dl_map_object): If we are looking for the first
53685 to-be-loaded object along a path to loader is ld.so.
53686
53687 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
53688 Ulrich Drepper <drepper@gmail.com>
53689
53690 * sysdeps/x86_64/memset.S: After aligning destination, code
53691 branches to different locations depending on the value of
53692 misalignment, when multiarch is enabled. Fix this.
53693
53694 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
53695
53696 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
53697 Set _x86_64_preferred_memory_instruction for AMD processsors.
53698 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
53699 Set bit_Prefer_SSE_for_memop for AMD processors.
53700
53701 2011-03-04 Ulrich Drepper <drepper@gmail.com>
53702
53703 * libio/fmemopen.c (fmemopen): Optimize a bit.
53704
53705 2011-03-03 Andreas Schwab <schwab@redhat.com>
53706
53707 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
53708
53709 2011-03-03 Roland McGrath <roland@redhat.com>
53710
53711 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
53712
53713 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
53714
53715 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
53716 __bzero_ultra1 instead of __memset_ultra1.
53717
53718 2011-02-23 Andreas Schwab <schwab@redhat.com>
53719 Ulrich Drepper <drepper@gmail.com>
53720
53721 [BZ #12509]
53722 * include/link.h (struct link_map): Add l_orig_initfini.
53723 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
53724 returning unsuccessfully.
53725 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
53726 close of a file loaded at startup, restore the original l_initfini
53727 list.
53728 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
53729 list, store the pointer.
53730 * elf/Makefile ($(objpfx)noload-mem): New rule.
53731 (noload-ENV): Define.
53732 (tests): Add $(objpfx)noload-mem.
53733 * elf/noload.c: Include <memcheck.h>.
53734 (main): Call mtrace. Close all opened handles.
53735
53736 2011-02-17 Andreas Schwab <schwab@redhat.com>
53737
53738 [BZ #12454]
53739 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
53740 dependencies are missing.
53741
53742 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
53743
53744 Fix __if_freereq crash: Unlike the generic version which uses free,
53745 Hurd needs munmap.
53746 * sysdeps/mach/hurd/ifreq.h: New file.
53747
53748 2011-01-27 Petr Baudis <pasky@suse.cz>
53749 Ulrich Drepper <drepper@gmail.com>
53750
53751 [BZ 12445]#
53752 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
53753 to extend_alloca().
53754 * stdio-common/bug23.c: New file.
53755 * stdio-common/Makefile (tests): Add bug23.
53756
53757 2010-09-28 Andreas Schwab <schwab@redhat.com>
53758 Ulrich Drepper <drepper@gmail.com>
53759
53760 [BZ #12489]
53761 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
53762 before performing relro protection. At old place add assertion
53763 to make sure nothing changed.
53764
53765 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
53766 Glauber de Oliveira Costa <glommer@gmail.com>
53767
53768 * elf/elf.h: Add new ARM TLS relocs.
53769
53770 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
53771
53772 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
53773 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
53774 cast from r3.
53775 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
53776 'tests' variable.
53777 * sysdeps/wordsize-64/tst-writev.c: New file.
53778
53779 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
53780
53781 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
53782 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
53783 insns in _dl_start to prevent a TOC reference before relocs are
53784 resolved.
53785
53786 2011-02-15 Ulrich Drepper <drepper@gmail.com>
53787
53788 [BZ #12469]
53789 * Makeconfig: Remove RANLIB definition.
53790 * Makerules: Don't use RANLIB.
53791 * aclocal.m4: Remove ranlib test.
53792 * configure.in: No need to check for ranlib.
53793 * elf/rtld-Rules: Don't use RANLIB.
53794
53795 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
53796
53797 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
53798 protection macro.
53799 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
53800 inclusion protection macro.
53801
53802 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
53803 SIGRTMIN and SIGRTMAX and print information in that case only when
53804 SIGRTMIN is defined.
53805
53806 2011-02-11 Jakub Jelinek <jakub@redhat.com>
53807
53808 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
53809 arginfo fn returning -1.
53810
53811 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
53812 and thousands string is zero terminated.
53813
53814 2011-02-03 Andreas Schwab <schwab@redhat.com>
53815
53816 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
53817 sysdeps/unix/sysv/linux/bits/socket.h.
53818
53819 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
53820
53821 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
53822 (__CPU_COUNT): Remove old macros.
53823 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
53824 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
53825 (__CPU_ALLOC, __CPU_FREE): Add macros.
53826 (__sched_cpualloc, __sched_cpufree): Add declarations.
53827
53828 2011-02-05 Ulrich Drepper <drepper@gmail.com>
53829
53830 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
53831 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
53832 * nscd/aicache.c (addhstaiX): Return timeout of added value.
53833 (readdhstai): Return value of addhstaiX call.
53834 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
53835 (addgrbyX): Return value returned by cache_addgr.
53836 (readdgrbyname): Return value returned by addgrbyX.
53837 (readdgrbygid): Likewise.
53838 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
53839 (addpwbyX): Return value returned by cache_addpw.
53840 (readdpwbyname): Return value returned by addhstbyX.
53841 (readdpwbyuid): Likewise.
53842 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
53843 (addservbyX): Return value returned by cache_addserv.
53844 (readdservbyname): Return value returned by addservbyX:
53845 (readdservbyport): Likewise.
53846 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
53847 (addhstbyX): Return value returned by cache_addhst.
53848 (readdhstbyname): Return value returned by addhstbyX.
53849 (readdhstbyaddr): Likewise.
53850 (readdhstbynamev6): Likewise.
53851 (readdhstbyaddrv6): Likewise.
53852 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
53853 (readdinitgroups): Return value returned by addinitgroupsX.
53854 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
53855 (prune_cache): Keep track of timeout value of re-added entries.
53856 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
53857 * nscd/nscd.h: Adjust prototypes of readd* functions.
53858
53859 2011-02-04 Roland McGrath <roland@redhat.com>
53860
53861 * nis/nis_server.c (nis_servstate): Use the right name for 0.
53862 (nis_stats): Likewise.
53863 * nis/nis_modify.c (nis_modify): Likewise.
53864 * nis/nis_remove.c (nis_remove): Likewise.
53865 * nis/nis_add.c (nis_add): Likewise.
53866
53867 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
53868
53869 * posix/fnmatch_loop.c: Add some consts.
53870
53871 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
53872
53873 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
53874
53875 [BZ #12460]
53876 * config.make.in (config-cflags-novzeroupper): Define.
53877 * configure.in: Substitute libc_cv_cc_novzeroupper.
53878 * elf/Makefile (AVX-CFLAGS): Define.
53879 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
53880 (CFLAGS-tst-auditmod4a.c): Likewise.
53881 (CFLAGS-tst-auditmod4b.c): Likewise.
53882 (CFLAGS-tst-auditmod6b.c): Likewise.
53883 (CFLAGS-tst-auditmod6c.c): Likewise.
53884 (CFLAGS-tst-auditmod7b.c): Likewise.
53885 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
53886
53887 2011-02-02 Ulrich Drepper <drepper@gmail.com>
53888
53889 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
53890 function to the callback.
53891 Patch partly by Jiri Olsa <jolsa@redhat.com>.
53892
53893 2011-02-02 Andreas Schwab <schwab@redhat.com>
53894
53895 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
53896 of errno.
53897
53898 2011-01-19 Ulrich Drepper <drepper@gmail.com>
53899
53900 [BZ #11724]
53901 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
53902 of constructors.
53903 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
53904 of destructors.
53905 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
53906
53907 [BZ #11724]
53908 * elf/Makefile: Add rules to build and run new test.
53909 * elf/tst-initorder.c: New file.
53910 * elf/tst-initorder.exp: New file.
53911 * elf/tst-initordera1.c: New file.
53912 * elf/tst-initordera2.c: New file.
53913 * elf/tst-initordera3.c: New file.
53914 * elf/tst-initordera4.c: New file.
53915 * elf/tst-initorderb1.c: New file.
53916 * elf/tst-initorderb2.c: New file.
53917 * elf/tst-order-a1.c: New file.
53918 * elf/tst-order-a2.c: New file.
53919 * elf/tst-order-a3.c: New file.
53920 * elf/tst-order-a4.c: New file.
53921 * elf/tst-order-b1.c: New file.
53922 * elf/tst-order-b2.c: New file.
53923 * elf/tst-order-main.c: New file.
53924 New test case by George Gensure <werkt0@gmail.com>.
53925
53926 2010-10-01 Andreas Schwab <schwab@redhat.com>
53927
53928 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
53929 decoding ACE if AI_CANONIDN.
53930
53931 2011-01-18 Ulrich Drepper <drepper@gmail.com>
53932
53933 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
53934
53935 2011-01-17 Ulrich Drepper <drepper@gmail.com>
53936
53937 * version.h (RELEASE): Bump for 2.13 release.
53938 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
53939
53940 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
53941
53942 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
53943 MADV_NOHUGEPAGE.
53944 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
53945 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
53946 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
53947 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
53948 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
53949 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
53950
53951 * posix/getconf.c: Update copyright year.
53952 * catgets/gencat.c: Likewise.
53953 * csu/version.c: Likewise.
53954 * debug/catchsegv.sh: Likewise.
53955 * debug/xtrace.sh: Likewise.
53956 * elf/ldconfig.c: Likewise.
53957 * elf/ldd.bash.in: Likewise.
53958 * elf/sprof.c (print_version): Likewise.
53959 * iconv/iconv_prog.c: Likewise.
53960 * iconv/iconvconfig.c: Likewise.
53961 * locale/programs/locale.c: Likewise.
53962 * locale/programs/localedef.c: Likewise.
53963 * malloc/memusage.sh: Likewise.
53964 * malloc/mtrace.pl: Likewise.
53965 * nscd/nscd.c (print_version): Likewise.
53966 * nss/getent.c: Likewise.
53967
53968 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
53969 PF_CAIF, and PF_ALG.
53970 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
53971
53972 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
53973
53974 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
53975 (modules-names): Use them.
53976 (ifunc-test-modules, ifunc-pie-tests): Define.
53977 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
53978 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
53979 (test-extras): Likewise.
53980 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
53981 $(compile-command.c).
53982 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
53983 (all-built-dso): Define.
53984 (check-textrel.out, check-execstack.out): Depend on it.
53985
53986 * configure.in: Don't override --enable-multi-arch.
53987
53988 2011-01-15 Ulrich Drepper <drepper@gmail.com>
53989
53990 [BZ #6812]
53991 * nscd/hstcache.c (tryagain): Define.
53992 (cache_addhst): Return tryagain not notfound for temporary errors.
53993 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
53994 failed.
53995
53996 2011-01-14 Ulrich Drepper <drepper@gmail.com>
53997
53998 [BZ #10563]
53999 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
54000 to make the syscall.
54001 * sysdeps/unix/sysv/linux/setgroups.c: New file.
54002
54003 [BZ #12378]
54004 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
54005 and fall back to matching as normal character if the string ends before
54006 the matching ']' is found. This is what POSIX requires.
54007 * posix/testfnm.c: Adjust test result.
54008 * posix/globtest.sh: Adjust test result. Add new test.
54009 * posix/tst-fnmatch.input: Likewise.
54010 * posix/tst-fnmatch2.c: Add new test.
54011
54012 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
54013
54014 * elf/Makefile (check-execstack): Revert last change. Depend on
54015 check-execstack.h.
54016 (check-execstack.h): New target.
54017 (generated): Add check-execstack.h.
54018 * elf/check-execstack.c: Include "check-execstack.h".
54019 (main): Revert last change.
54020 (handle_file): Return zero if GNU_STACK is absent and
54021 DEFAULT_STACK_PERMS doesn't include PF_X.
54022
54023 2011-01-13 Ulrich Drepper <drepper@gmail.com>
54024
54025 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
54026 in child fails because the descriptor is already closed.
54027 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
54028 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
54029 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
54030
54031 [BZ #12397]
54032 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
54033 syscall.
54034
54035 [BZ #10484]
54036 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
54037 temporary buffer used to handle multi lookups locally.
54038 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
54039
54040 2011-01-12 Ulrich Drepper <drepper@gmail.com>
54041
54042 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
54043 loader is ld.so.
54044
54045 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
54046
54047 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
54048 alignment for SSE2.
54049
54050 2011-01-12 Ulrich Drepper <drepper@gmail.com>
54051
54052 [BZ #12394]
54053 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
54054 characters. When rounding increased number of integer digits recompute
54055 number of groups.
54056 * stdio-common/tst-grouping.c: New file.
54057 * stdio-common/Makefile: Add rules to build and run tst-grouping.
54058
54059 2011-01-09 Ulrich Drepper <drepper@gmail.com>
54060
54061 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
54062 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
54063
54064 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
54065 void.
54066 * bits/select.h: Likewise.
54067
54068 2011-01-08 Ulrich Drepper <drepper@gmail.com>
54069
54070 * po/ja.po: Update from translation team.
54071
54072 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
54073
54074 [BZ #11155]
54075 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
54076 implementation just like for lxstat, fxstatat, et al.
54077
54078 2010-12-27 Jim Meyering <meyering@redhat.com>
54079
54080 [BZ #12348]
54081 * posix/regexec.c (build_trtable): Return failure indication upon
54082 calloc failure. Otherwise, re_search_internal could infloop on OOM.
54083
54084 2010-12-25 Ulrich Drepper <drepper@gmail.com>
54085
54086 [BZ #12201]
54087 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
54088 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
54089 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
54090 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
54091
54092 [BZ #12207]
54093 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
54094
54095 [BZ #12204]
54096 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
54097 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
54098
54099 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
54100
54101 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
54102 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
54103 script has SORT_BY_INIT_PRIORITY.
54104 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
54105 NO_CTORS_DTORS_SECTIONS is defined.
54106 * elf/soinit.c: Likewise.
54107 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
54108 NO_CTORS_DTORS_SECTIONS is defined.
54109 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
54110 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
54111 * sysdeps/sh/init-first.c: Likewise.
54112 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
54113
54114 2010-12-24 Ulrich Drepper <drepper@gmail.com>
54115
54116 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
54117 always use the slow path.
54118
54119 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
54120
54121 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
54122 similar rule which adds the sysdep directories to the header search in
54123 order to pick up the correct platform stackinfo.h.
54124 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
54125 perform test if it is, otherwise return successfully without testing.
54126 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
54127 DEFAULT_STACK_PERMS define in stackinfo.h.
54128 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
54129 defined in stackinfo.h.
54130 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
54131 DEFAULT_STACK_PERMS defined in stackinfo.h.
54132 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
54133 * sysdeps/ia64/stackinfo.h: Likewise.
54134 * sysdeps/s390/stackinfo.h: Likewise.
54135 * sysdeps/sh/stackinfo.h: Likewise.
54136 * sysdeps/sparc/stackinfo.h: Likewise.
54137 * sysdeps/x86_64/stackinfo.h: Likewise.
54138 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
54139 PF_X for powerpc64. Retain PF_X for powerpc32.
54140
54141 2010-12-19 Ulrich Drepper <drepper@gmail.com>
54142
54143 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
54144 accurately.
54145 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
54146 GETDENTS_64BIT_ALIGNED.
54147
54148 2010-12-14 Ulrich Drepper <dreper@gmail.com>
54149
54150 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
54151
54152 2010-12-10 Andreas Schwab <schwab@redhat.com>
54153
54154 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
54155 _GNU_SOURCE.
54156
54157 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
54158 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
54159 Remove __restrict.
54160 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
54161 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
54162
54163 2010-12-09 Ulrich Drepper <drepper@gmail.com>
54164
54165 [BZ #11655]
54166 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
54167 are initialized.
54168
54169 2010-12-09 Jakub Jelinek <jakub@redhat.com>
54170
54171 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
54172
54173 2010-12-03 Ulrich Drepper <drepper@gmail.com>
54174
54175 * po/it.po: Update from translation team.
54176
54177 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
54178
54179 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
54180 unused codes.
54181
54182 2010-11-30 Ulrich Drepper <drepper@gmail.com>
54183
54184 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
54185
54186 2010-11-24 Andreas Schwab <schwab@redhat.com>
54187
54188 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
54189 specially.
54190 (gaih_getanswer_slice): Likewise.
54191
54192 2010-10-20 Jakub Jelinek <jakub@redhat.com>
54193
54194 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
54195
54196 2010-05-31 Petr Baudis <pasky@suse.cz>
54197
54198 [BZ #11149]
54199 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
54200 silently even in the chroot mode.
54201
54202 2010-11-22 Ulrich Drepper <drepper@gmail.com>
54203
54204 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
54205 last patch a bit. Pretty printing
54206
54207 2010-05-31 Petr Baudis <pasky@suse.cz>
54208
54209 [BZ #10085]
54210 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
54211 initialization of skip_initgroups_dyn.
54212
54213 2010-11-19 Ulrich Drepper <drepper@gmail.com>
54214
54215 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
54216 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
54217
54218 2010-11-16 Ulrich Drepper <drepper@gmail.com>
54219
54220 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
54221
54222 2010-11-11 Andreas Schwab <schwab@redhat.com>
54223
54224 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
54225 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
54226 (tst-fnmatch-ENV): Set MALLOC_TRACE.
54227 ($(objpfx)tst-fnmatch-mem): New rule.
54228 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
54229 * posix/tst-fnmatch.c (main): Call mtrace.
54230
54231 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
54232
54233 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
54234 Support Intel processor model 6 and model 0x2c.
54235
54236 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
54237
54238 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
54239 signed comparison.
54240
54241 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
54242
54243 [BZ #12205]
54244 * string/test-strncasecmp.c (check_result): New function.
54245 (do_one_test): Use it.
54246 (check1): New function.
54247 (test_main): Use it.
54248 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
54249 Support strcasecmp and strncasecmp.
54250
54251 2010-11-08 Ulrich Drepper <drepper@gmail.com>
54252
54253 [BZ #12194]
54254 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
54255 * sysdeps/x86_64/bits/byteswap.h: Likewise.
54256
54257 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
54258
54259 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
54260 IFUNC support.
54261 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
54262 memset-x86-64.
54263 * sysdeps/x86_64/multiarch/bzero.S: New file.
54264 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
54265 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
54266 * sysdeps/x86_64/multiarch/memset.S: New file.
54267 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
54268 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
54269 Set bit_Prefer_SSE_for_memop for Intel processors.
54270 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
54271 Define.
54272 (index_Prefer_SSE_for_memop): Define.
54273 (HAS_PREFER_SSE_FOR_MEMOP): Define.
54274
54275 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
54276
54277 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
54278 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
54279
54280 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
54281
54282 [BZ #12191]
54283 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
54284 (__x86_64_raw_data_cache_size_half): Likewise.
54285 (__x86_64_raw_shared_cache_size): Likewise.
54286 (__x86_64_raw_shared_cache_size_half): Likewise.
54287
54288 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
54289 (__x86_64_raw_data_cache_size_half): Likewise.
54290 (__x86_64_raw_shared_cache_size): Likewise.
54291 (__x86_64_raw_shared_cache_size_half): Likewise.
54292 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
54293 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
54294 and __x86_64_raw_shared_cache_size_half. Round
54295 __x86_64_data_cache_size_half, __x86_64_data_cache_size
54296 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
54297 to multiple of 256 bytes.
54298
54299 2010-11-03 Ulrich Drepper <drepper@gmail.com>
54300
54301 [BZ #12167]
54302 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
54303 of inacessible symlinks. Verify result of symlink before returning it.
54304 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
54305 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
54306
54307 2010-10-28 Erich Ritz <erichritz@gmail.com>
54308
54309 * math/math.h (isinf): Fix typo in comment.
54310
54311 2010-11-01 Ulrich Drepper <drepper@gmail.com>
54312
54313 * po/da.po: Update from translation team.
54314
54315 2010-10-26 Ulrich Drepper <drepper@gmail.com>
54316
54317 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
54318 is added to the list.
54319
54320 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
54321 Ulrich Drepper <drepper@gmail.com>
54322
54323 * elf/dl-object.c (_dl_new_object): Don't append the new object to
54324 the global list here. Move code to...
54325 (_dl_add_to_namespace_list): ...here. New function.
54326 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
54327 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
54328 * elf/dl-load.c (lose): Don't remove the element from the list.
54329 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
54330 (_dl_map_object): Likewise.
54331
54332 2010-10-25 Ulrich Drepper <drepper@gmail.com>
54333
54334 [BZ #12159]
54335 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
54336 into all bytes of SSE register.
54337 Patch by Richard Li <richardpku@gmail.com>.
54338
54339 2010-10-24 Ulrich Drepper <drepper@gmail.com>
54340
54341 [BZ #12140]
54342 * malloc/malloc.c (_int_free): Fill correct number of bytes when
54343 perturbing.
54344
54345 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
54346
54347 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
54348 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
54349 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
54350 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
54351 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
54352 submachine.
54353 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
54354
54355 2010-10-22 Andreas Schwab <schwab@redhat.com>
54356
54357 * include/dlfcn.h (__RTLD_SECURE): Define.
54358 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
54359 mode & __RTLD_SECURE instead.
54360 (open_path): Rename preloaded parameter to secure.
54361 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
54362 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
54363 * elf/dl-deps.c (openaux): Likewise.
54364 * elf/rtld.c (struct map_args): Remove is_preloaded.
54365 (map_doit): Don't use it.
54366 (dl_main): Likewise.
54367 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
54368 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
54369
54370 2010-09-09 Andreas Schwab <schwab@redhat.com>
54371
54372 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
54373 (sysd-rules-targets): Remove duplicates.
54374 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
54375 rtld-%.$o dependency.
54376
54377 2010-10-18 Andreas Schwab <schwab@redhat.com>
54378
54379 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
54380 _dl_map_object do it.
54381
54382 2010-10-19 Ulrich Drepper <drepper@gmail.com>
54383
54384 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
54385 fast fma builtins, define the macros in the C99 standard.
54386 (FP_FAST_FMAF): Likewise.
54387 (FP_FAST_FMAL): Likewise.
54388 * sysdeps/x86_64/bits/mathdef.h: Likewise.
54389
54390 * bits/mathdef.h: Update copyright year.
54391 * sysdeps/powerpc/bits/mathdef.h: Likewise.
54392
54393 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
54394
54395 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
54396 builtins, define the macros in the C99 standard.
54397 (FP_FAST_FMAF): Likewise.
54398 (FP_FAST_FMAL): Likewise.
54399 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
54400 multiply/add.
54401 (FP_FAST_FMAF): Likewise.
54402
54403 2010-10-15 Jakub Jelinek <jakub@redhat.com>
54404
54405 [BZ #3268]
54406 * math/libm-test.inc (fma_test): Some new testcases.
54407 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
54408 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
54409 y and infinite z. Do multiplication by C already in long double.
54410 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
54411 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
54412 y and infinite z. Do bitwise or of inexact bit into u.d.
54413 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
54414 * sysdeps/i386/fpu/s_fmaf.S: Removed.
54415 * sysdeps/i386/fpu/s_fma.S: Removed.
54416 * sysdeps/i386/fpu/s_fmal.S: Removed.
54417
54418 2010-10-16 Jakub Jelinek <jakub@redhat.com>
54419
54420 [BZ #3268]
54421 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
54422 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
54423 computation is not scheduled after fetestexcept. Fix value
54424 of minimum denormal long double.
54425
54426 2010-10-14 Jakub Jelinek <jakub@redhat.com>
54427
54428 [BZ #3268]
54429 * math/libm-test.inc (fma_test): Add some more tests.
54430 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
54431 correctly.
54432
54433 2010-10-15 Andreas Schwab <schwab@redhat.com>
54434
54435 * scripts/data/localplt-s390-linux-gnu.data: New file.
54436 * scripts/data/localplt-s390x-linux-gnu.data: New file.
54437
54438 2010-10-13 Jakub Jelinek <jakub@redhat.com>
54439
54440 [BZ #3268]
54441 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
54442 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
54443 instead of dbl-64.
54444 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
54445 inlines.
54446 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
54447 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
54448 if one of x and y is very large and the other is subnormal.
54449 * sysdeps/s390/fpu/s_fmaf.c: New file.
54450 * sysdeps/s390/fpu/s_fma.c: New file.
54451 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
54452 * sysdeps/powerpc/fpu/s_fma.S: New file.
54453 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
54454 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
54455 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
54456
54457 2010-10-12 Jakub Jelinek <jakub@redhat.com>
54458
54459 [BZ #3268]
54460 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
54461 fma tests.
54462 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
54463 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
54464 * sysdeps/i386/i686/multiarch/s_fma.c: Include
54465 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
54466 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
54467 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
54468 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
54469
54470 2010-10-12 Ulrich Drepper <drepper@redhat.com>
54471
54472 [BZ #12078]
54473 * posix/regcomp.c (parse_branch): One more memory leak plugged.
54474 * posix/bug-regex31.input: Add test case.
54475
54476 2010-10-11 Ulrich Drepper <drepper@gmail.com>
54477
54478 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
54479 * posix/bug-regex31.input: New file.
54480
54481 [BZ #12078]
54482 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
54483 (parse_sub_exp): Fix last change, use postorder.
54484
54485 * posix/bug-regex31.c: New file.
54486 * posix/Makefile: Add rules to build and run bug-regex31.
54487
54488 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
54489
54490 [BZ #12078]
54491 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
54492
54493 [BZ #12108]
54494 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
54495 to have entries in sys_siglist.
54496
54497 [BZ #12093]
54498 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
54499 be NULL.
54500
54501 2010-10-07 Jakub Jelinek <jakub@redhat.com>
54502
54503 [BZ #3268]
54504 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
54505 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
54506 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
54507 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
54508 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
54509 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
54510 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
54511 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
54512 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
54513 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
54514 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
54515 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
54516 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
54517 * math/ftestexcept.c (fetestexcept): Likewise.
54518 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
54519 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
54520 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
54521 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
54522 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
54523 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
54524 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
54525
54526 2010-10-11 Ulrich Drepper <drepper@gmail.com>
54527
54528 [BZ #12107]
54529 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
54530 newline.
54531
54532 2010-10-06 Ulrich Drepper <drepper@gmail.com>
54533
54534 * string/bug-strstr1.c: New file.
54535 * string/Makefile: Add rules to build and run bug-strstr1.
54536
54537 2010-10-05 Eric Blake <eblake@redhat.com>
54538
54539 [BZ #12092]
54540 * string/str-two-way.h (two_way_long_needle): Always clear memory
54541 when skipping input due to the shift table.
54542
54543 2010-10-03 Ulrich Drepper <drepper@gmail.com>
54544
54545 [BZ #12005]
54546 * malloc/mcheck.c: Handle large requests.
54547
54548 [BZ #12077]
54549 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
54550 for strncmp and strncasecmp.
54551 * string/stratcliff.c: Add tests for strcmp and strncmp.
54552 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
54553
54554 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
54555
54556 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
54557 __set_fpscr.
54558
54559 2010-09-30 Andreas Jaeger <aj@suse.de>
54560
54561 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
54562 (CGROUP_SUPER_MAGIC): Define.
54563 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
54564 Handle btrfs and cgroup file systems.
54565 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
54566 Likewise.
54567
54568 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
54569
54570 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
54571 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
54572
54573 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
54574
54575 [BZ #12067]
54576 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
54577 trying to locate the ELF header.
54578
54579 2010-09-27 Andreas Schwab <schwab@redhat.com>
54580
54581 [BZ #11611]
54582 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
54583 Mask out sign-bit copies when constructing f_fsid.
54584
54585 2010-09-24 Petr Baudis <pasky@suse.cz>
54586
54587 * debug/stack_chk_fail_local.c: Add missing licence exception.
54588 * debug/warning-nop.c: Likewise.
54589
54590 2010-09-15 Joseph Myers <joseph@codesourcery.com>
54591
54592 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
54593 implementing getdents64 using getdents syscall, set d_type if
54594 __ASSUME_GETDENTS32_D_TYPE.
54595
54596 2010-09-16 Andreas Schwab <schwab@redhat.com>
54597
54598 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
54599 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
54600
54601 2010-09-21 Ulrich Drepper <drepper@redhat.com>
54602
54603 [BZ #12037]
54604 * posix/unistd.h: Undo change of feature selection for ftruncate from
54605 2010-01-11.
54606
54607 2010-09-20 Ulrich Drepper <drepper@redhat.com>
54608
54609 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
54610 detection.
54611
54612 2010-09-20 Andreas Schwab <schwab@redhat.com>
54613
54614 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
54615 fanotify_mark.
54616 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
54617
54618 2010-09-14 Andreas Schwab <schwab@redhat.com>
54619
54620 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
54621 variables after CHECK_SP call.
54622 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
54623
54624 2010-09-13 Andreas Schwab <schwab@redhat.com>
54625 Ulrich Drepper <drepper@redhat.com>
54626
54627 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
54628 re-relocationg ld.so.
54629 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
54630 _dl_init_paths call.
54631 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
54632 here anymore.
54633
54634 2010-09-14 Ulrich Drepper <drepper@redhat.com>
54635
54636 * resolv/res_init.c (__res_vinit): Count the default server we added.
54637
54638 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
54639 Ulrich Drepper <drepper@redhat.com>
54640
54641 [BZ #11968]
54642 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
54643 (____longjmp_chk): Use %ebx for saving value across system call.
54644 Add unwind info.
54645
54646 2010-09-06 Andreas Schwab <schwab@redhat.com>
54647
54648 * manual/Makefile: Don't mix pattern rules with normal rules.
54649
54650 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
54651
54652 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
54653 operation.
54654 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
54655 * libio/iofopncook.c (_IO_cookie_init): Likewise.
54656 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
54657 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
54658 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
54659 Likewise.
54660
54661 2010-09-04 Ulrich Drepper <drepper@redhat.com>
54662
54663 [BZ #11979]
54664 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
54665 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
54666
54667 2010-09-02 Ulrich Drepper <drepper@redhat.com>
54668
54669 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
54670 * sysdeps/x86_64/addmul_1.S: Likewise.
54671 * sysdeps/x86_64/lshift.S: Likewise.
54672 * sysdeps/x86_64/mul_1.S: Likewise.
54673 * sysdeps/x86_64/rshift.S: Likewise.
54674 * sysdeps/x86_64/sub_n.S: Likewise.
54675 * sysdeps/x86_64/submul_1.S: Likewise.
54676
54677 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
54678
54679 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
54680 Define __sched_param instead of SCHED_* and sched_param when
54681 <bits/sched.h> is included with __need_schedparam defined.
54682 * bits/sched.h [__need_schedparam]
54683 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
54684 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
54685 (__defined_schedparam): Define to 1.
54686 (__sched_param): New structure, identical to sched_param.
54687 (__need_schedparam): Undefine.
54688
54689 2010-08-31 Mike Frysinger <vapier@gentoo.org>
54690
54691 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
54692 (epoll_create1): Declare.
54693
54694 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
54695
54696 2010-08-31 Andreas Schwab <schwab@redhat.com>
54697
54698 [BZ #7066]
54699 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
54700 shifting retval into place.
54701
54702 2010-09-01 Ulrich Drepper <drepper@redhat.com>
54703
54704 * nis/rpcsvc/nis.h: Update copyright notice.
54705 * nis/rpcsvc/nis.x: Likewise.
54706 * nis/rpcsvc/nis_callback.h: Likewise.
54707 * nis/rpcsvc/nis_callback.x: Likewise.
54708 * nis/rpcsvc/nis_object.x: Likewise.
54709 * nis/rpcsvc/nis_tags.h: Likewise.
54710 * nis/rpcsvc/yp.h: Likewise.
54711 * nis/rpcsvc/yp.x: Likewise.
54712 * nis/rpcsvc/ypupd.h: Likewise.
54713 * nis/yp_xdr.c: Likewise.
54714 * nis/ypupdate_xdr.c: Likewise.
54715
54716 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
54717 mainly the body of pmap_getport. Add parameters to specify timeouts.
54718 (pmap_getport): Use __libc_rpc_getport.
54719 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
54720 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
54721 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
54722
54723 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
54724
54725 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
54726 fanotify_mark.
54727
54728 2010-08-27 Roland McGrath <roland@redhat.com>
54729
54730 * sysdeps/i386/i686/multiarch/Makefile
54731 (CFLAGS-varshift.c): New variable.
54732
54733 2010-08-27 Ulrich Drepper <drepper@redhat.com>
54734
54735 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
54736 * sysdeps/i386/i686/multiarch/varshift.c: New file.
54737
54738 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
54739
54740 * sysdeps/x86_64/strlen.S: Minimal code improvement.
54741
54742 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
54743
54744 * sysdeps/x86_64/strlen.S: Unroll the loop.
54745 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
54746 strlen-sse2 strlen-sse2-bsf.
54747 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
54748 __strlen_no_bsf if bit_Slow_BSF is set.
54749 (__strlen_sse42): Removed.
54750 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
54751 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
54752
54753 2010-08-25 Roland McGrath <roland@redhat.com>
54754
54755 * sysdeps/x86_64/multiarch/varshift.S: File removed.
54756 * sysdeps/x86_64/multiarch/varshift.c: New file.
54757 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
54758 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
54759 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
54760 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
54761
54762 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
54763
54764 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
54765 strlen-sse2 strlen-sse2-bsf.
54766 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
54767 __strlen_sse2_bsf if bit_Slow_BSF is unset.
54768 (__strlen_sse2): Removed.
54769 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
54770 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
54771 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
54772 bit_Slow_BSF for Atom.
54773 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
54774 (index_Slow_BSF): Define.
54775 (HAS_SLOW_BSF): Define.
54776
54777 2010-08-25 Ulrich Drepper <drepper@redhat.com>
54778
54779 [BZ #10851]
54780 * resolv/res_init.c (__res_vinit): When no server address at all
54781 is given default to loopback.
54782
54783 2010-08-24 Roland McGrath <roland@redhat.com>
54784
54785 * configure.in: Remove config-name.h generation.
54786 * configure: Regenerated.
54787 * config-name.in: File removed.
54788 * scripts/config-uname.sh: New file.
54789 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
54790 ($(objdir)config-name.h): New target.
54791
54792 * sunrpc/rpc_parse.h: Avoid nested comment.
54793
54794 2010-08-24 Richard Henderson <rth@redhat.com>
54795 Ulrich Drepper <drepper@redhat.com>
54796 H.J. Lu <hongjiu.lu@intel.com>
54797
54798 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
54799 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
54800 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
54801 Replace _mm_srli_si128 with __m128i_shift_right. Replace
54802 _mm_alignr_epi8 with _mm_loadu_si128.
54803 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
54804 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
54805 (__m128i_shift_right): Removed.
54806 * sysdeps/i386/i686/multiarch/varshift.h: New file.
54807 * sysdeps/i386/i686/multiarch/varshift.S: New file.
54808 * sysdeps/x86_64/multiarch/varshift.h: New file.
54809 * sysdeps/x86_64/multiarch/varshift.S: New file.
54810
54811 2010-08-21 Mike Frysinger <vapier@gentoo.org>
54812
54813 * configure.in: Move assembler checks to before sysdep dir checking.
54814
54815 2010-08-20 Petr Baudis <pasky@suse.cz>
54816
54817 * LICENSES: Sync the sunrpc license.
54818
54819 2010-08-19 Ulrich Drepper <drepper@redhat.com>
54820
54821 * sunrpc/auth_des.c: Update copyright notice once again.
54822 * sunrpc/auth_none.c: Likewise.
54823 * sunrpc/auth_unix.c: Likewise.
54824 * sunrpc/authdes_prot.c: Likewise.
54825 * sunrpc/authuxprot.c: Likewise.
54826 * sunrpc/bindrsvprt.c: Likewise.
54827 * sunrpc/clnt_gen.c: Likewise.
54828 * sunrpc/clnt_perr.c: Likewise.
54829 * sunrpc/clnt_raw.c: Likewise.
54830 * sunrpc/clnt_simp.c: Likewise.
54831 * sunrpc/clnt_tcp.c: Likewise.
54832 * sunrpc/clnt_udp.c: Likewise.
54833 * sunrpc/clnt_unix.c: Likewise.
54834 * sunrpc/des_crypt.c: Likewise.
54835 * sunrpc/des_soft.c: Likewise.
54836 * sunrpc/get_myaddr.c: Likewise.
54837 * sunrpc/getrpcport.c: Likewise.
54838 * sunrpc/key_call.c: Likewise.
54839 * sunrpc/key_prot.c: Likewise.
54840 * sunrpc/openchild.c: Likewise.
54841 * sunrpc/pm_getmaps.c: Likewise.
54842 * sunrpc/pm_getport.c: Likewise.
54843 * sunrpc/pmap_clnt.c: Likewise.
54844 * sunrpc/pmap_prot.c: Likewise.
54845 * sunrpc/pmap_prot2.c: Likewise.
54846 * sunrpc/pmap_rmt.c: Likewise.
54847 * sunrpc/rpc/auth.h: Likewise.
54848 * sunrpc/rpc/auth_unix.h: Likewise.
54849 * sunrpc/rpc/clnt.h: Likewise.
54850 * sunrpc/rpc/des_crypt.h: Likewise.
54851 * sunrpc/rpc/key_prot.h: Likewise.
54852 * sunrpc/rpc/netdb.h: Likewise.
54853 * sunrpc/rpc/pmap_clnt.h: Likewise.
54854 * sunrpc/rpc/pmap_prot.h: Likewise.
54855 * sunrpc/rpc/pmap_rmt.h: Likewise.
54856 * sunrpc/rpc/rpc.h: Likewise.
54857 * sunrpc/rpc/rpc_des.h: Likewise.
54858 * sunrpc/rpc/rpc_msg.h: Likewise.
54859 * sunrpc/rpc/svc.h: Likewise.
54860 * sunrpc/rpc/svc_auth.h: Likewise.
54861 * sunrpc/rpc/types.h: Likewise.
54862 * sunrpc/rpc/xdr.h: Likewise.
54863 * sunrpc/rpc_clntout.c: Likewise.
54864 * sunrpc/rpc_cmsg.c: Likewise.
54865 * sunrpc/rpc_common.c: Likewise.
54866 * sunrpc/rpc_cout.c: Likewise.
54867 * sunrpc/rpc_dtable.c: Likewise.
54868 * sunrpc/rpc_hout.c: Likewise.
54869 * sunrpc/rpc_main.c: Likewise.
54870 * sunrpc/rpc_parse.c: Likewise.
54871 * sunrpc/rpc_parse.h: Likewise.
54872 * sunrpc/rpc_prot.c: Likewise.
54873 * sunrpc/rpc_sample.c: Likewise.
54874 * sunrpc/rpc_scan.c: Likewise.
54875 * sunrpc/rpc_scan.h: Likewise.
54876 * sunrpc/rpc_svcout.c: Likewise.
54877 * sunrpc/rpc_tblout.c: Likewise.
54878 * sunrpc/rpc_util.c: Likewise.
54879 * sunrpc/rpc_util.h: Likewise.
54880 * sunrpc/rpcinfo.c: Likewise.
54881 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
54882 * sunrpc/rpcsvc/key_prot.x: Likewise.
54883 * sunrpc/rpcsvc/klm_prot.x: Likewise.
54884 * sunrpc/rpcsvc/mount.x: Likewise.
54885 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
54886 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
54887 * sunrpc/rpcsvc/rex.x: Likewise.
54888 * sunrpc/rpcsvc/rstat.x: Likewise.
54889 * sunrpc/rpcsvc/rusers.x: Likewise.
54890 * sunrpc/rpcsvc/sm_inter.x: Likewise.
54891 * sunrpc/rpcsvc/spray.x: Likewise.
54892 * sunrpc/rpcsvc/yppasswd.x: Likewise.
54893 * sunrpc/rtime.c: Likewise.
54894 * sunrpc/svc.c: Likewise.
54895 * sunrpc/svc_auth.c: Likewise.
54896 * sunrpc/svc_authux.c: Likewise.
54897 * sunrpc/svc_raw.c: Likewise.
54898 * sunrpc/svc_run.c: Likewise.
54899 * sunrpc/svc_simple.c: Likewise.
54900 * sunrpc/svc_tcp.c: Likewise.
54901 * sunrpc/svc_udp.c: Likewise.
54902 * sunrpc/svc_unix.c: Likewise.
54903 * sunrpc/svcauth_des.c: Likewise.
54904 * sunrpc/xcrypt.c: Likewise.
54905 * sunrpc/xdr.c: Likewise.
54906 * sunrpc/xdr_array.c: Likewise.
54907 * sunrpc/xdr_float.c: Likewise.
54908 * sunrpc/xdr_mem.c: Likewise.
54909 * sunrpc/xdr_rec.c: Likewise.
54910 * sunrpc/xdr_ref.c: Likewise.
54911 * sunrpc/xdr_sizeof.c: Likewise.
54912 * sunrpc/xdr_stdio.c: Likewise.
54913
54914 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
54915 handling.
54916
54917 2010-08-19 Andreas Schwab <schwab@redhat.com>
54918
54919 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
54920
54921 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
54922
54923 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
54924 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
54925 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
54926 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
54927 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
54928 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
54929 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
54930 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
54931 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
54932 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
54933 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
54934 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
54935 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
54936 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
54937
54938 2010-07-26 Anton Blanchard <anton@samba.org>
54939
54940 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
54941 * malloc/arena.c (heap_trim): Likewise.
54942
54943 2010-08-16 Ulrich Drepper <drepper@redhat.com>
54944
54945 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
54946 here. Not...
54947 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
54948 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
54949
54950 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
54951
54952 * sysdeps/i386/elf/Makefile: New file.
54953
54954 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
54955
54956 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
54957 from fanotify_init.
54958 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
54959 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
54960
54961 2010-08-15 Ulrich Drepper <drepper@redhat.com>
54962
54963 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
54964 of strncasecmp_l.
54965 * sysdeps/multiarch/strcmp.S: Likewise.
54966
54967 2010-08-14 Ulrich Drepper <drepper@redhat.com>
54968
54969 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
54970 strncase_l-nonascii.
54971 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
54972 Add strncase_l-ssse3.
54973 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
54974 * sysdeps/x86_64/strcmp.S: Likewise.
54975 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
54976 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
54977 * sysdeps/x86_64/strncase.S: New file.
54978 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
54979 * sysdeps/x86_64/strncase_l.S: New file.
54980 * string/Makefile (strop-tests): Add strncasecmp.
54981 * string/test-strncasecmp.c: New file.
54982
54983 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
54984 warning.
54985
54986 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
54987 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
54988
54989 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
54990
54991 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
54992
54993 2010-08-12 Ulrich Drepper <drepper@redhat.com>
54994
54995 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
54996 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
54997 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
54998
54999 2010-05-01 Alan Modra <amodra@gmail.com>
55000
55001 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
55002 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
55003 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
55004 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
55005 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
55006 tidying. Don't tail-call __sigjmp_save for static lib.
55007 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
55008 save location.
55009 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
55010 (CALL_MCOUNT): Add eh info, and nop after bl.
55011 (TAIL_CALL_SYSCALL_ERROR): New macro.
55012 (PSEUDO_RET): Use it.
55013 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
55014 Correct save location of integer regs and cr.
55015 (_dl_profile_resolve): Correct cr save location. Delete nops
55016 after bl when SHARED. Reduce cfi size a little by better
55017 placement of cfi directives.
55018 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
55019 make a stack frame. Instead use parm save area as a temp.
55020 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
55021 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
55022 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
55023 Don't make a stack frame for parent, use parm save area.
55024 Increase child stack frame to 112 bytes. Don't save unused reg,
55025 and adjust reg usage. Set up cfi on error recovery and
55026 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
55027 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
55028 (__makecontext): Add dummy nop after jump to exit.
55029 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
55030 Use correct parm save area and cr save, reduce stack frame.
55031 Correct cfi for possible PSEUDO_RET frame setup.
55032 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
55033 Branch to local label emitted by PSEUDO_RET rather than
55034 __syscall_error.
55035
55036 2010-08-12 Andreas Schwab <schwab@redhat.com>
55037
55038 [BZ #11904]
55039 * locale/programs/locale.c (print_assignment): New function.
55040 (show_locale_vars): Use it.
55041
55042 2010-08-11 Ulrich Drepper <drepper@redhat.com>
55043
55044 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
55045 field.
55046 (struct statfs64): Likewise.
55047 (_STATFS_F_FLAGS): Define.
55048 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
55049 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
55050 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
55051 (ST_VALID): Define locally.
55052 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
55053 __statvfs_getflags, use the provided value.
55054 * sysdeps/unix/sysv/linux/kernel-features.h: Define
55055 __ASSUME_STATFS_F_FLAGS.
55056
55057 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
55058
55059 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
55060 Add sys/fanotify.h.
55061 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
55062 fanotify_mask for GLIBC_2.13.
55063 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
55064 fanotify_init and fanotify_mark.
55065 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
55066 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
55067
55068 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
55069 Add prlimit.
55070 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
55071 prlimit64 for GLIBC_2.13.
55072 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
55073 prlimit64.
55074 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
55075 syscall.
55076 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
55077 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
55078 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
55079 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
55080 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
55081 add prlimit alias.
55082 * sysdeps/unix/sysv/linux/prlimit.c: New file.
55083
55084 [BZ #11903]
55085 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
55086 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
55087
55088 * nss/Makefile: Add rules to build and run tst-nss-test1.
55089 * shlib-versions: Add entry for libnss_test1.
55090 * nss/nss_test1.c: New file.
55091 * nss/tst-nss-test1.c: New file.
55092
55093 * nss/nsswitch.c (__nss_database_custom): Define new variable.
55094 (__nss_configure_lookup): Set appropriate entry in
55095 __nss_configure_lookup to true.
55096 * nss/nsswitch.h: Define enum with indeces of databases in
55097 databases and __nss_database_custom arrays. Declare
55098 __nss_database_custom.
55099 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
55100 to avoid using nscd when custom rules are installed.
55101 * nss/getXXbyYY_r.c: Likewise.
55102 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
55103
55104 * nss/nss_files/files-parse.c: Whitespace fixes.
55105
55106 2010-08-09 Ulrich Drepper <drepper@redhat.com>
55107
55108 [BZ #11883]
55109 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
55110 * posix/fnmatch_loop.c: Likewise.
55111
55112 2010-07-17 Andi Kleen <ak@linux.intel.com>
55113
55114 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
55115 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
55116 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
55117 * Versions.def [GLIBC_2.13]: Add.
55118
55119 2010-08-06 Ulrich Drepper <drepper@redhat.com>
55120
55121 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
55122 Also fail if tpwd after pwuid call is NULL.
55123
55124 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
55125
55126 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
55127 when converting to ms.
55128
55129 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
55130
55131 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
55132 EOPNOTSUPP errors with ENOTTY.
55133 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
55134 EOPNOTSUPP errors with ENOTTY.
55135
55136 2010-07-31 Ulrich Drepper <drepper@redhat.com>
55137
55138 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
55139 Add strcasecmp_l-ssse3.
55140 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
55141 strcasecmp.
55142 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
55143 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
55144 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
55145
55146 2010-07-30 Ulrich Drepper <drepper@redhat.com>
55147
55148 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
55149
55150 * string/Makefile (strop-tests): Add strcasecmp.
55151 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
55152 strcasecmp_l-nonascii.
55153 (gen-as-const-headers): Add locale-defines.sym.
55154 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
55155 * sysdeps/x86_64/strcasecmp.S: New file.
55156 * sysdeps/x86_64/strcasecmp_l.S: New file.
55157 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
55158 * sysdeps/x86_64/locale-defines.sym: New file.
55159 * string/test-strcasecmp.c: New file.
55160
55161 * string/test-strcasestr.c: Test both ends of the range of characters.
55162 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
55163
55164 2010-07-29 Roland McGrath <roland@redhat.com>
55165
55166 [BZ #11856]
55167 * manual/locale.texi (Yes-or-No Questions): Fix example code.
55168
55169 2010-07-27 Ulrich Drepper <drepper@redhat.com>
55170
55171 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
55172 for ld.so.
55173
55174 2010-07-27 Andreas Schwab <schwab@redhat.com>
55175
55176 * manual/memory.texi (Malloc Tunable Parameters): Document
55177 M_PERTURB.
55178
55179 2010-07-26 Roland McGrath <roland@redhat.com>
55180
55181 [BZ #11840]
55182 * configure.in (-fgnu89-inline check): Set and substitute
55183 gnu89_inline, not libc_cv_gnu89_inline.
55184 * configure: Regenerated.
55185 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
55186
55187 2010-07-26 Ulrich Drepper <drepper@redhat.com>
55188
55189 * string/test-strnlen.c: New file.
55190 * string/Makefile (strop-tests): Add strnlen.
55191 * string/tester.c (test_strnlen): Add a few more test cases.
55192 * string/tst-strlen.c: Better error reporting.
55193
55194 * sysdeps/x86_64/strnlen.S: New file.
55195
55196 2010-07-24 Ulrich Drepper <drepper@redhat.com>
55197
55198 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
55199 lower-latency instructions.
55200
55201 2010-07-23 Ulrich Drepper <drepper@redhat.com>
55202
55203 * string/test-strcasestr.c: New file.
55204 * string/test-strstr.c: New file.
55205 * string/Makefile (strop-tests): Add strstr and strcasestr.
55206 * string/str-two-way.h: Don't undefine MAX.
55207 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
55208
55209 2010-07-21 Andreas Schwab <schwab@redhat.com>
55210
55211 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
55212 strcasestr-nonascii.
55213 (CFLAGS-strcasestr-nonascii.c): Define.
55214 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
55215 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
55216 Remove unused attribute.
55217
55218 2010-07-20 Roland McGrath <roland@redhat.com>
55219
55220 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
55221 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
55222 ld.so.cache was broken. With it, there is no way to disable dsocaps
55223 like LD_HWCAP_MASK can disable hwcaps.
55224
55225 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
55226
55227 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
55228
55229 2010-07-16 Ulrich Drepper <drepper@redhat.com>
55230
55231 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
55232 call in strcasestr.
55233 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
55234 __strcasestr_sse42_nonascii.
55235 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
55236 strcasestr-nonascii.c.
55237 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
55238
55239 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
55240
55241 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
55242 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
55243 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
55244 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
55245
55246 2010-07-09 Ulrich Drepper <drepper@redhat.com>
55247
55248 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
55249 fcntl.
55250
55251 2010-07-06 Andreas Schwab <schwab@redhat.com>
55252
55253 [BZ #11577]
55254 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
55255 dl_signal_cerror.
55256
55257 2010-07-06 Ulrich Drepper <drepper@redhat.com>
55258
55259 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
55260 _PC_PIPE_BUF using F_GETPIPE_SZ.
55261
55262 2010-07-05 Roland McGrath <roland@redhat.com>
55263
55264 * manual/arith.texi (Rounding Functions): Fix rint description
55265 implicit in round description.
55266
55267 2010-07-02 Ulrich Drepper <drepper@redhat.com>
55268
55269 * elf/Makefile: Fix linking for a few tests to make recent linker
55270 happy.
55271
55272 2010-06-30 Andreas Schwab <schwab@redhat.com>
55273
55274 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
55275 $(common-objpfx)libc_nonshared.a.
55276
55277 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
55278
55279 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
55280 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
55281 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
55282 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
55283 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
55284 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
55285 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
55286 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
55287 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
55288 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
55289 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
55290 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
55291 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
55292 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
55293 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
55294 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
55295 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
55296 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
55297 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
55298 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
55299 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
55300 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
55301 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
55302 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
55303 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
55304 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
55305 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
55306 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
55307 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
55308 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
55309 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
55310 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
55311 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
55312 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
55313 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
55314 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
55315 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
55316 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
55317 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
55318 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
55319 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
55320 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
55321 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
55322 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
55323 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
55324 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
55325 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
55326 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
55327
55328 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
55329
55330 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
55331 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
55332 * string/memmove.c (memmove): Renamed to ...
55333 (MEMMOVE): ...this. Default to memmove.
55334 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
55335 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
55336 (END_CHK): Define.
55337 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
55338 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
55339 mempcpy-ssse3-back memmove-ssse3-back.
55340 * sysdeps/x86_64/multiarch/bcopy.S: New file .
55341 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
55342 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
55343 * sysdeps/x86_64/multiarch/memcpy.S: New file.
55344 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
55345 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
55346 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
55347 * sysdeps/x86_64/multiarch/memmove.c: New file.
55348 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
55349 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
55350 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
55351 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
55352 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
55353 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
55354 Define.
55355 (index_Fast_Copy_Backward): Define.
55356 (HAS_ARCH_FEATURE): Define.
55357 (HAS_FAST_REP_STRING): Define.
55358 (HAS_FAST_COPY_BACKWARD): Define.
55359
55360 2010-06-21 Andreas Schwab <schwab@redhat.com>
55361
55362 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
55363 Restore proper fallback handling.
55364
55365 2010-06-19 Ulrich Drepper <drepper@redhat.com>
55366
55367 [BZ #11701]
55368 * posix/group_member.c (__group_member): Correct checking loop.
55369
55370 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
55371 OOM in getpwuid_r correctly. Return error number when the caller
55372 should return, otherwise -1.
55373 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
55374 call returning > 0 value.
55375 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
55376
55377 2010-06-07 Andreas Schwab <schwab@redhat.com>
55378
55379 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
55380 libc_nonshared.a from targets in modules-names.
55381
55382 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
55383
55384 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
55385 requires it.
55386
55387 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
55388
55389 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
55390 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
55391 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
55392 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
55393
55394 2010-06-02 Andreas Schwab <schwab@redhat.com>
55395
55396 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
55397
55398 2010-06-14 Ulrich Drepper <drepper@redhat.com>
55399
55400 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
55401 and F_GETPIPE_SZ.
55402 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
55403 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
55404 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
55405 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
55406 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
55407 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
55408
55409 2010-06-14 Roland McGrath <roland@redhat.com>
55410
55411 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
55412
55413 2010-06-07 Jakub Jelinek <jakub@redhat.com>
55414
55415 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
55416 __REDIRECT followed by __THROW.
55417 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
55418 * posix/getopt.h (getopt): Likewise.
55419
55420 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
55421
55422 * hurd/lookup-at.c (__file_name_lookup_at): Accept
55423 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
55424 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
55425 in AT_FLAGS.
55426 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
55427 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
55428
55429 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
55430
55431 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
55432
55433 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
55434
55435 [BZ #11640]
55436 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
55437 Properly check family and model.
55438
55439 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
55440
55441 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
55442
55443 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
55444
55445 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
55446
55447 2010-05-21 Ulrich Drepper <drepper@redhat.com>
55448
55449 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
55450 symbol reference.
55451
55452 2010-05-19 Andreas Schwab <schwab@redhat.com>
55453
55454 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
55455 symbol reference.
55456
55457 2010-05-21 Andreas Schwab <schwab@redhat.com>
55458
55459 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
55460 and internal_recvmmsg.
55461 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
55462 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
55463 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
55464 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
55465
55466 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
55467 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
55468 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
55469
55470 2010-05-20 Andreas Schwab <schwab@redhat.com>
55471
55472 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
55473
55474 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
55475
55476 POWER7 optimizations.
55477 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
55478 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
55479
55480 2010-05-19 Ulrich Drepper <drepper@redhat.com>
55481
55482 * version.h: Update for 2.13 development version.
55483
55484 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
55485
55486 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
55487 exceptions. Return 0.
55488
55489 2010-05-07 Roland McGrath <roland@redhat.com>
55490
55491 * elf/ldconfig.c (main): Add a const.
55492
55493 2010-05-06 Ulrich Drepper <drepper@redhat.com>
55494
55495 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
55496 (args_options): Add no-idn option.
55497 (ahosts_keys_int): Add idn_flags to ai_flags.
55498 (parse_option): Handle 'i' option to clear idn_flags.
55499
55500 * malloc/malloc.c (_int_free): Possible race in the most recently
55501 added check. Only act on the data if no current modification
55502 happened.
55503
55504 See ChangeLog.17 for earlier changes.
This page took 2.416631 seconds and 6 git commands to generate.